diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-26 10:48:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:49 +0800 |
commit | d056357e4999c6c70c8b8e85a9e4f533895ed6c2 (patch) | |
tree | be9f205d2ed8c73d2130b47f01fed2670c1b4d64 /contracts/chequebook | |
parent | 953e13b21b0aae335ef655a1907a8883f1ba7be2 (diff) | |
download | go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.gz go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.bz2 go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.lz go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.xz go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.zst go-tangerine-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.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 ( |