Skip to content

Commit

Permalink
Updated repository links.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeatGS committed Sep 9, 2023
1 parent b3776ae commit 76be49e
Show file tree
Hide file tree
Showing 438 changed files with 1,769 additions and 1,747 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can download and install **Go** from the official guide from the [Go website

After all the dependencies are installed and the $PATH is set, open a terminal and run:
```shell
git clone https://github.com/neatio-network/neatio.git && cd neatio && make neatio
git clone https://github.com/nio-net/neatio.git && cd neatio && make neatio
```
That's it!

2 changes: 1 addition & 1 deletion chain/accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"io"

"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
)

type ABI struct {
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

"reflect"

"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
)

const jsondata = `
Expand Down
10 changes: 5 additions & 5 deletions chain/accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"io"
"io/ioutil"

"github.com/neatio-network/neatio/chain/accounts"
"github.com/neatio-network/neatio/chain/accounts/keystore"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/chain/accounts"
"github.com/nio-net/neatio/chain/accounts/keystore"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
)

func NewTransactor(keyin io.Reader, passphrase string) (*TransactOpts, error) {
Expand Down
6 changes: 3 additions & 3 deletions chain/accounts/abi/bind/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"errors"
"math/big"

"github.com/neatio-network/neatio"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/common"
)

var (
Expand Down
12 changes: 6 additions & 6 deletions chain/accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"fmt"
"math/big"

"github.com/neatio-network/neatio"
"github.com/neatio-network/neatio/chain/accounts/abi"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/neatio-network/neatio/utilities/event"
"github.com/nio-net/neatio"
"github.com/nio-net/neatio/chain/accounts/abi"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/event"
)

type SignerFn func(types.Signer, common.Address, *types.Transaction) (*types.Transaction, error)
Expand Down
16 changes: 8 additions & 8 deletions chain/accounts/abi/bind/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
"strings"
"testing"

"github.com/neatio-network/neatio"
"github.com/neatio-network/neatio/chain/accounts/abi"
"github.com/neatio-network/neatio/chain/accounts/abi/bind"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/common/hexutil"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/neatio-network/neatio/utilities/rlp"
"github.com/nio-net/neatio"
"github.com/nio-net/neatio/chain/accounts/abi"
"github.com/nio-net/neatio/chain/accounts/abi/bind"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common/hexutil"
"github.com/nio-net/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/rlp"
)

type mockCaller struct {
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"text/template"
"unicode"

"github.com/neatio-network/neatio/chain/accounts/abi"
"github.com/neatio-network/neatio/chain/log"
"github.com/nio-net/neatio/chain/accounts/abi"
"github.com/nio-net/neatio/chain/log"
)

type Lang int
Expand Down
126 changes: 63 additions & 63 deletions chain/accounts/abi/bind/bind_test.go

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions chain/accounts/abi/bind/template.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package bind

import "github.com/neatio-network/neatio/chain/accounts/abi"
import "github.com/nio-net/neatio/chain/accounts/abi"

type tmplData struct {
Package string
Expand Down Expand Up @@ -59,12 +59,12 @@ import (
"math/big"
"strings"
ethereum "github.com/neatio-network/neatio"
"github.com/neatio-network/neatio/chain/accounts/abi"
"github.com/neatio-network/neatio/chain/accounts/abi/bind"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/event"
ethereum "github.com/nio-net/neatio"
"github.com/nio-net/neatio/chain/accounts/abi"
"github.com/nio-net/neatio/chain/accounts/abi/bind"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/event"
)
Expand Down
6 changes: 3 additions & 3 deletions chain/accounts/abi/bind/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"math/big"
"reflect"

"github.com/neatio-network/neatio/chain/accounts/abi"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/chain/accounts/abi"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
)

func makeTopics(query ...[]interface{}) ([][]common.Hash, error) {
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/bind/topics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"reflect"
"testing"

"github.com/neatio-network/neatio/chain/accounts/abi"
"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/chain/accounts/abi"
"github.com/nio-net/neatio/utilities/common"
)

func TestMakeTopics(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions chain/accounts/abi/bind/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"time"

"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/chain/log"
"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/chain/log"
"github.com/nio-net/neatio/utilities/common"
)

func WaitMined(ctx context.Context, b DeployBackend, tx *types.Transaction) (*types.Receipt, error) {
Expand Down
6 changes: 3 additions & 3 deletions chain/accounts/abi/bind/util_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package bind_test

import (
"github.com/neatio-network/neatio/chain/accounts/abi/bind"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/chain/accounts/abi/bind"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
)

var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
)

type Event struct {
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"testing"

"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion chain/accounts/abi/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/crypto"
)

type Method struct {
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/numbers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"math/big"
"reflect"

"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/common/math"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common/math"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/abi/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"math/big"
"reflect"

"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/common/math"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common/math"
)

func packBytesSlice(bytes []byte, l int) []byte {
Expand Down
2 changes: 1 addition & 1 deletion chain/accounts/abi/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
)

func TestPack(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion chain/accounts/abi/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/davecgh/go-spew/spew"
"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
)

type typeWithoutStringer Type
Expand Down
2 changes: 1 addition & 1 deletion chain/accounts/abi/unpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"math/big"
"reflect"

"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion chain/accounts/abi/unpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"testing"

"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions chain/accounts/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package accounts
import (
"math/big"

"github.com/neatio-network/neatio"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/event"
"github.com/nio-net/neatio"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/event"
)

type Account struct {
Expand Down
8 changes: 4 additions & 4 deletions chain/accounts/keystore/account_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"sync"
"time"

"github.com/neatio-network/neatio/chain/accounts"
"github.com/neatio-network/neatio/chain/log"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatlib/set-go"
"github.com/nio-net/neatio/chain/accounts"
"github.com/nio-net/neatio/chain/log"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/set"
)

const minReloadInterval = 2 * time.Second
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/keystore/account_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

"github.com/cespare/cp"
"github.com/davecgh/go-spew/spew"
"github.com/neatio-network/neatio/chain/accounts"
"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/chain/accounts"
"github.com/nio-net/neatio/utilities/common"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/keystore/file_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"sync"
"time"

"github.com/neatio-network/neatio/chain/log"
set "github.com/neatlib/set-go"
"github.com/nio-net/neatio/chain/log"
set "github.com/nio-net/set"
)

type fileCache struct {
Expand Down
6 changes: 3 additions & 3 deletions chain/accounts/keystore/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"strings"
"time"

"github.com/neatio-network/neatio/chain/accounts"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/chain/accounts"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
"github.com/pborman/uuid"
)

Expand Down
10 changes: 5 additions & 5 deletions chain/accounts/keystore/keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import (
"sync"
"time"

"github.com/neatio-network/neatio/chain/accounts"
"github.com/neatio-network/neatio/chain/core/types"
"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/neatio-network/neatio/utilities/event"
"github.com/nio-net/neatio/chain/accounts"
"github.com/nio-net/neatio/chain/core/types"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/event"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion chain/accounts/keystore/keystore1.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keystore

import (
"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
)

func KeyFileName(keyAddr common.Address) string {
Expand Down
8 changes: 4 additions & 4 deletions chain/accounts/keystore/keystore_passphrase.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"io/ioutil"
"path/filepath"

"github.com/neatio-network/neatio/utilities/common"
"github.com/neatio-network/neatio/utilities/common/math"
"github.com/neatio-network/neatio/utilities/crypto"
"github.com/neatio-network/neatio/utilities/crypto/randentropy"
"github.com/nio-net/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common/math"
"github.com/nio-net/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/crypto/randentropy"
"github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt"
Expand Down
4 changes: 2 additions & 2 deletions chain/accounts/keystore/keystore_passphrase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"io/ioutil"
"testing"

"github.com/neatio-network/neatio/utilities/crypto"
"github.com/nio-net/neatio/utilities/crypto"

"github.com/neatio-network/neatio/utilities/common"
"github.com/nio-net/neatio/utilities/common"
)

const (
Expand Down

0 comments on commit 76be49e

Please sign in to comment.