diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-26 10:48:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:38 +0800 |
commit | 21cbe9d5b1630be351329a5715fd599030a00122 (patch) | |
tree | d595b8cceb54662497d44b102b6ddbbd60ec0a01 /contracts/chequebook | |
parent | 2ba220653fdf945844896458821808f2edd8f4af (diff) | |
download | go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.gz go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.zst go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.zip |
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'contracts/chequebook')
-rw-r--r-- | contracts/chequebook/api.go | 2 | ||||
-rw-r--r-- | contracts/chequebook/cheque.go | 16 | ||||
-rw-r--r-- | contracts/chequebook/cheque_test.go | 12 | ||||
-rw-r--r-- | contracts/chequebook/contract/chequebook.go | 12 | ||||
-rw-r--r-- | contracts/chequebook/gencode.go | 10 |
5 files changed, 26 insertions, 26 deletions
diff --git a/contracts/chequebook/api.go b/contracts/chequebook/api.go index fb7080308..14b2e9606 100644 --- a/contracts/chequebook/api.go +++ b/contracts/chequebook/api.go @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/dexon-foundation/dexon/common" ) const Version = "1.0" diff --git a/contracts/chequebook/cheque.go b/contracts/chequebook/cheque.go index 53eb093a6..26e8b2bdf 100644 --- a/contracts/chequebook/cheque.go +++ b/contracts/chequebook/cheque.go @@ -36,14 +36,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/services/swap/swap" + "github.com/dexon-foundation/dexon/accounts/abi/bind" + "github.com/dexon-foundation/dexon/common" + "github.com/dexon-foundation/dexon/common/hexutil" + "github.com/dexon-foundation/dexon/contracts/chequebook/contract" + "github.com/dexon-foundation/dexon/core/types" + "github.com/dexon-foundation/dexon/crypto" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/swarm/services/swap/swap" ) // TODO(zelig): watch peer solvency and notify of bouncing cheques diff --git a/contracts/chequebook/cheque_test.go b/contracts/chequebook/cheque_test.go index 4bd2e176b..5e3ec782b 100644 --- a/contracts/chequebook/cheque_test.go +++ b/contracts/chequebook/cheque_test.go @@ -24,12 +24,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/dexon-foundation/dexon/accounts/abi/bind" + "github.com/dexon-foundation/dexon/accounts/abi/bind/backends" + "github.com/dexon-foundation/dexon/common" + "github.com/dexon-foundation/dexon/contracts/chequebook/contract" + "github.com/dexon-foundation/dexon/core" + "github.com/dexon-foundation/dexon/crypto" ) var ( diff --git a/contracts/chequebook/contract/chequebook.go b/contracts/chequebook/contract/chequebook.go index 3129b811c..4dd0cc03a 100644 --- a/contracts/chequebook/contract/chequebook.go +++ b/contracts/chequebook/contract/chequebook.go @@ -7,12 +7,12 @@ import ( "math/big" "strings" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + ethereum "github.com/dexon-foundation/dexon" + "github.com/dexon-foundation/dexon/accounts/abi" + "github.com/dexon-foundation/dexon/accounts/abi/bind" + "github.com/dexon-foundation/dexon/common" + "github.com/dexon-foundation/dexon/core/types" + "github.com/dexon-foundation/dexon/event" ) // ChequebookABI is the input ABI used to generate the binding from. diff --git a/contracts/chequebook/gencode.go b/contracts/chequebook/gencode.go index ddfe8d151..d4aad6cb4 100644 --- a/contracts/chequebook/gencode.go +++ b/contracts/chequebook/gencode.go @@ -25,11 +25,11 @@ import ( "io/ioutil" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/dexon-foundation/dexon/accounts/abi/bind" + "github.com/dexon-foundation/dexon/accounts/abi/bind/backends" + "github.com/dexon-foundation/dexon/contracts/chequebook/contract" + "github.com/dexon-foundation/dexon/core" + "github.com/dexon-foundation/dexon/crypto" ) var ( |