aboutsummaryrefslogtreecommitdiffstats
path: root/contracts
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-26 10:48:31 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:49 +0800
commitd056357e4999c6c70c8b8e85a9e4f533895ed6c2 (patch)
treebe9f205d2ed8c73d2130b47f01fed2670c1b4d64 /contracts
parent953e13b21b0aae335ef655a1907a8883f1ba7be2 (diff)
downloaddexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar
dexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.gz
dexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.bz2
dexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.lz
dexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.xz
dexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.tar.zst
dexon-d056357e4999c6c70c8b8e85a9e4f533895ed6c2.zip
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'contracts')
-rw-r--r--contracts/chequebook/api.go2
-rw-r--r--contracts/chequebook/cheque.go16
-rw-r--r--contracts/chequebook/cheque_test.go12
-rw-r--r--contracts/chequebook/contract/chequebook.go12
-rw-r--r--contracts/chequebook/gencode.go10
-rw-r--r--contracts/ens/contract/ens.go12
-rw-r--r--contracts/ens/contract/fifsregistrar.go8
-rw-r--r--contracts/ens/contract/publicresolver.go12
-rw-r--r--contracts/ens/ens.go10
-rw-r--r--contracts/ens/ens_test.go12
10 files changed, 53 insertions, 53 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 (
diff --git a/contracts/ens/contract/ens.go b/contracts/ens/contract/ens.go
index 8827071af..203205983 100644
--- a/contracts/ens/contract/ens.go
+++ b/contracts/ens/contract/ens.go
@@ -6,12 +6,12 @@ package contract
import (
"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"
)
// ENSABI is the input ABI used to generate the binding from.
diff --git a/contracts/ens/contract/fifsregistrar.go b/contracts/ens/contract/fifsregistrar.go
index a08380adf..82e1cc43e 100644
--- a/contracts/ens/contract/fifsregistrar.go
+++ b/contracts/ens/contract/fifsregistrar.go
@@ -6,10 +6,10 @@ package contract
import (
"strings"
- "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/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"
)
// FIFSRegistrarABI is the input ABI used to generate the binding from.
diff --git a/contracts/ens/contract/publicresolver.go b/contracts/ens/contract/publicresolver.go
index c567d5884..9a6180c21 100644
--- a/contracts/ens/contract/publicresolver.go
+++ b/contracts/ens/contract/publicresolver.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"
)
// PublicResolverABI is the input ABI used to generate the binding from.
diff --git a/contracts/ens/ens.go b/contracts/ens/ens.go
index b1841ab17..28822d80d 100644
--- a/contracts/ens/ens.go
+++ b/contracts/ens/ens.go
@@ -23,11 +23,11 @@ package ens
import (
"strings"
- "github.com/ethereum/go-ethereum/accounts/abi/bind"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/contracts/ens/contract"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/crypto"
+ "github.com/dexon-foundation/dexon/accounts/abi/bind"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/contracts/ens/contract"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/crypto"
)
var (
diff --git a/contracts/ens/ens_test.go b/contracts/ens/ens_test.go
index cd64fbf15..d231c1918 100644
--- a/contracts/ens/ens_test.go
+++ b/contracts/ens/ens_test.go
@@ -20,12 +20,12 @@ import (
"math/big"
"testing"
- "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/ens/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/ens/contract"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/crypto"
)
var (