Update all imports from neo-go to tutus-chain
- Updated 3839 import statements in .go files - Updated all go.mod and go.sum files - Updated yml and md documentation files - Module path: github.com/tutus-one/tutus-chain
This commit is contained in:
parent
62bd7bb153
commit
5598ed7d85
|
|
@ -3352,7 +3352,7 @@ Changes specific to neo-go:
|
||||||
* we no longer provide bootstrapping 6k block dump for private networks, you
|
* we no longer provide bootstrapping 6k block dump for private networks, you
|
||||||
have 30000000 GAS right in the genesis block and it's not hard to make use
|
have 30000000 GAS right in the genesis block and it's not hard to make use
|
||||||
of it (see
|
of it (see
|
||||||
[neo-go-sc-wrkshp](https://github.com/nspcc-dev/neo-go-sc-wrkshp) for an
|
[neo-go-sc-wrkshp](https://github.com/tutus-one/tutus-chain-sc-wrkshp) for an
|
||||||
example of how to use it)
|
example of how to use it)
|
||||||
* we have a conversion tool for your old Neo 2 wallets (`wallet convert`
|
* we have a conversion tool for your old Neo 2 wallets (`wallet convert`
|
||||||
command), so you can reuse keys on Neo 3 networks
|
command), so you can reuse keys on Neo 3 networks
|
||||||
|
|
@ -3363,6 +3363,6 @@ Changes specific to neo-go:
|
||||||
## Older versions
|
## Older versions
|
||||||
|
|
||||||
Please refer to the [master-2.x branch
|
Please refer to the [master-2.x branch
|
||||||
CHANGELOG](https://github.com/nspcc-dev/neo-go/tree/master-2.x/CHANGELOG.md)
|
CHANGELOG](https://github.com/tutus-one/tutus-chain/tree/master-2.x/CHANGELOG.md)
|
||||||
for versions prior to 0.90.0 (that are Neo 2 compatible, unlike 0.90.0+ that
|
for versions prior to 0.90.0 (that are Neo 2 compatible, unlike 0.90.0+ that
|
||||||
are Neo 3 compatible).
|
are Neo 3 compatible).
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
First, thank you for contributing! We love and encourage pull requests from everyone. Please
|
First, thank you for contributing! We love and encourage pull requests from everyone. Please
|
||||||
follow the guidelines:
|
follow the guidelines:
|
||||||
|
|
||||||
1. Check open [issues](https://github.com/nspcc-dev/neo-go/issues) and
|
1. Check open [issues](https://github.com/tutus-one/tutus-chain/issues) and
|
||||||
[pull requests](https://github.com/nspcc-dev/neo-go/pulls) for existing discussions.
|
[pull requests](https://github.com/tutus-one/tutus-chain/pulls) for existing discussions.
|
||||||
1. Open an issue first to discuss a new feature or enhancement.
|
1. Open an issue first to discuss a new feature or enhancement.
|
||||||
1. Write tests and make sure the test suite passes locally and on CI.
|
1. Write tests and make sure the test suite passes locally and on CI.
|
||||||
1. When optimizing something, write benchmarks and attach the results:
|
1. When optimizing something, write benchmarks and attach the results:
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/query"
|
"github.com/tutus-one/tutus-chain/cli/query"
|
||||||
"github.com/nspcc-dev/neo-go/cli/server"
|
"github.com/tutus-one/tutus-chain/cli/server"
|
||||||
"github.com/nspcc-dev/neo-go/cli/smartcontract"
|
"github.com/tutus-one/tutus-chain/cli/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/cli/util"
|
"github.com/tutus-one/tutus-chain/cli/util"
|
||||||
"github.com/nspcc-dev/neo-go/cli/vm"
|
"github.com/tutus-one/tutus-chain/cli/vm"
|
||||||
"github.com/nspcc-dev/neo-go/cli/wallet"
|
"github.com/tutus-one/tutus-chain/cli/wallet"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package app_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/internal/versionutil"
|
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCLIVersion(t *testing.T) {
|
func TestCLIVersion(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/random"
|
"github.com/tutus-one/tutus-chain/internal/random"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/random"
|
"github.com/tutus-one/tutus-chain/internal/random"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"flag"
|
"flag"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"golang.org/x/term"
|
"golang.org/x/term"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/app"
|
"github.com/tutus-one/tutus-chain/cli/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -14,15 +14,15 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/internal/versionutil"
|
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
|
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,13 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
|
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
|
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"flag"
|
"flag"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/app"
|
"github.com/tutus-one/tutus-chain/cli/app"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -15,20 +15,20 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/input"
|
"github.com/tutus-one/tutus-chain/cli/input"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
|
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/pool"
|
"github.com/nspcc-dev/neofs-sdk-go/pool"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/user"
|
"github.com/nspcc-dev/neofs-sdk-go/user"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/context"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/context"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitAndSave creates an incompletely signed transaction which can be used
|
// InitAndSave creates an incompletely signed transaction which can be used
|
||||||
|
|
|
||||||
|
|
@ -10,19 +10,19 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm"
|
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
|
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,25 +11,25 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/random"
|
"github.com/tutus-one/tutus-chain/internal/random"
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
|
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/gas"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/notary"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/notary"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm"
|
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
|
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/server"
|
"github.com/tutus-one/tutus-chain/cli/server"
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dboper"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
|
||||||
)
|
)
|
||||||
|
|
||||||
type dump []blockDump
|
type dump []blockDump
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/block"
|
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -12,24 +12,24 @@ import (
|
||||||
"slices"
|
"slices"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/consensus"
|
"github.com/tutus-one/tutus-chain/pkg/consensus"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core"
|
"github.com/tutus-one/tutus-chain/pkg/core"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/block"
|
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/chaindump"
|
"github.com/tutus-one/tutus-chain/pkg/core/chaindump"
|
||||||
corestate "github.com/nspcc-dev/neo-go/pkg/core/stateroot"
|
corestate "github.com/tutus-one/tutus-chain/pkg/core/stateroot"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/network"
|
"github.com/tutus-one/tutus-chain/pkg/network"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/metrics"
|
"github.com/tutus-one/tutus-chain/pkg/services/metrics"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/notary"
|
"github.com/tutus-one/tutus-chain/pkg/services/notary"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/oracle"
|
"github.com/tutus-one/tutus-chain/pkg/services/oracle"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/rpcsrv"
|
"github.com/tutus-one/tutus-chain/pkg/services/rpcsrv"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/stateroot"
|
"github.com/tutus-one/tutus-chain/pkg/services/stateroot"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"go.uber.org/zap/zapcore"
|
"go.uber.org/zap/zapcore"
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@ import (
|
||||||
|
|
||||||
"go.uber.org/zap/zapcore"
|
"go.uber.org/zap/zapcore"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
|
||||||
|
|
@ -12,26 +12,26 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/smartcontract"
|
"github.com/tutus-one/tutus-chain/cli/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/internal/random"
|
"github.com/tutus-one/tutus-chain/internal/random"
|
||||||
"github.com/nspcc-dev/neo-go/internal/testchain"
|
"github.com/tutus-one/tutus-chain/internal/testchain"
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/internal/versionutil"
|
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/interop/storage"
|
"github.com/tutus-one/tutus-chain/pkg/core/interop/storage"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
|
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
@ -117,7 +117,7 @@ func TestContractBindings(t *testing.T) {
|
||||||
srcPath := filepath.Join(ctrPath, "main.go")
|
srcPath := filepath.Join(ctrPath, "main.go")
|
||||||
require.NoError(t, os.WriteFile(srcPath, []byte(`package testcontract
|
require.NoError(t, os.WriteFile(srcPath, []byte(`package testcontract
|
||||||
import(
|
import(
|
||||||
alias "github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
|
alias "github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||||
)
|
)
|
||||||
type MyPair struct {
|
type MyPair struct {
|
||||||
Key int
|
Key int
|
||||||
|
|
@ -174,9 +174,9 @@ func Blocks() []*alias.Block {
|
||||||
package testcontract
|
package testcontract
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
|
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
|
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/neogointernal"
|
"github.com/tutus-one/tutus-chain/pkg/interop/neogointernal"
|
||||||
"myimport.com/testcontract"
|
"myimport.com/testcontract"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -227,7 +227,7 @@ func updateGoMod(dir, moduleName, neoGoPath string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
replacementPath := filepath.Join(wd, neoGoPath)
|
replacementPath := filepath.Join(wd, neoGoPath)
|
||||||
updatedData = append(updatedData, "\nreplace github.com/nspcc-dev/neo-go/pkg/interop => "+replacementPath+" \n"...)
|
updatedData = append(updatedData, "\nreplace github.com/tutus-one/tutus-chain/pkg/interop => "+replacementPath+" \n"...)
|
||||||
|
|
||||||
if err := os.WriteFile(goModPath, updatedData, os.ModePerm); err != nil {
|
if err := os.WriteFile(goModPath, updatedData, os.ModePerm); err != nil {
|
||||||
return fmt.Errorf("failed to write updated go.mod: %w", err)
|
return fmt.Errorf("failed to write updated go.mod: %w", err)
|
||||||
|
|
@ -250,7 +250,7 @@ func TestDynamicWrapper(t *testing.T) {
|
||||||
helperContract := `package testcontract
|
helperContract := `package testcontract
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
verify "myimport.com/testcontract/bindings"
|
verify "myimport.com/testcontract/bindings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/binding"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/rpcbinding"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/rpcbinding"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -157,12 +157,12 @@ package wrapper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/heyitsme/mycontract"
|
"github.com/heyitsme/mycontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
|
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/iterator"
|
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
|
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/neogointernal"
|
"github.com/tutus-one/tutus-chain/pkg/interop/neogointernal"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hash contains contract hash in big-endian form.
|
// Hash contains contract hash in big-endian form.
|
||||||
|
|
@ -245,11 +245,11 @@ package wrapper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/heyitsme/mycontract"
|
"github.com/heyitsme/mycontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
|
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/iterator"
|
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
|
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Contract represents the MyContract smart contract.
|
// Contract represents the MyContract smart contract.
|
||||||
|
|
@ -364,8 +364,8 @@ func TestGenerateValidPackageName(t *testing.T) {
|
||||||
package myspacecontract
|
package myspacecontract
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
|
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/neogointernal"
|
"github.com/tutus-one/tutus-chain/pkg/interop/neogointernal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hash contains contract hash in big-endian form.
|
// Hash contains contract hash in big-endian form.
|
||||||
|
|
@ -390,9 +390,9 @@ func Get() int {
|
||||||
package myspacecontract
|
package myspacecontract
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"math/big"
|
"math/big"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
package nft
|
package nft
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NEP22Contract is an alias for nep22.Contract.
|
// NEP22Contract is an alias for nep22.Contract.
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
package nft
|
package nft
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hash contains contract hash.
|
// Hash contains contract hash.
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,14 @@ package nft
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,14 @@ package nft
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ package structs
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ package structs
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ package structs
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
package royalty
|
package royalty
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"math/big"
|
"math/big"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
package royalty
|
package royalty
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"math/big"
|
"math/big"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@ import (
|
||||||
"crypto/elliptic"
|
"crypto/elliptic"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@ import (
|
||||||
"crypto/elliptic"
|
"crypto/elliptic"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ package types
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ package types
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ package verify
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hash contains contract hash.
|
// Hash contains contract hash.
|
||||||
|
|
|
||||||
|
|
@ -9,24 +9,24 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/compiler"
|
"github.com/tutus-one/tutus-chain/pkg/compiler"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/management"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/management"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/binding"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm"
|
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
@ -72,7 +72,7 @@ const (
|
||||||
// %s is parsed to be the smartContractName.
|
// %s is parsed to be the smartContractName.
|
||||||
smartContractTmpl = `package %s
|
smartContractTmpl = `package %s
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
var notificationName string
|
var notificationName string
|
||||||
|
|
||||||
|
|
@ -452,7 +452,7 @@ func initSmartContract(ctx *cli.Context) error {
|
||||||
go 1.24
|
go 1.24
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/nspcc-dev/neo-go/pkg/interop ` + ver + `
|
github.com/tutus-one/tutus-chain/pkg/interop ` + ver + `
|
||||||
)`)
|
)`)
|
||||||
if err := os.WriteFile(filepath.Join(basePath, "go.mod"), gm, 0644); err != nil {
|
if err := os.WriteFile(filepath.Join(basePath, "go.mod"), gm, 0644); err != nil {
|
||||||
return cli.Exit(err, 1)
|
return cli.Exit(err, 1)
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/random"
|
"github.com/tutus-one/tutus-chain/internal/random"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
@ -40,7 +40,7 @@ func TestInitSmartContract(t *testing.T) {
|
||||||
require.Equal(t,
|
require.Equal(t,
|
||||||
`package `+contractName+`
|
`package `+contractName+`
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
var notificationName string
|
var notificationName string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
package deploy
|
package deploy
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/cli/smartcontract/testdata/deploy/sub"
|
"github.com/tutus-one/tutus-chain/cli/smartcontract/testdata/deploy/sub"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
|
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/iterator"
|
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
var key = "key"
|
var key = "key"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package sub
|
package sub
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||||
|
|
||||||
var Key = "sub"
|
var Key = "sub"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
package gastoken
|
package gastoken
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hash contains contract hash.
|
// Hash contains contract hash.
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
package invalid1
|
package invalid1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Notify1 emits a correctly typed event.
|
// Notify1 emits a correctly typed event.
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
package invalid2
|
package invalid2
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Notify1 emits a correctly typed event.
|
// Notify1 emits a correctly typed event.
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
package invalid3
|
package invalid3
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Notify1 emits a correctly typed event.
|
// Notify1 emits a correctly typed event.
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,13 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,13 @@ package nextoken
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"math/big"
|
"math/big"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ package nonnepxxcontractwithiterators
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hash contains contract hash.
|
// Hash contains contract hash.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid1
|
package invalid1
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
func Main() {
|
func Main() {
|
||||||
runtime.Notify("Non declared event")
|
runtime.Notify("Non declared event")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid2
|
package invalid2
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
func Main() {
|
func Main() {
|
||||||
runtime.Notify("SomeEvent", "p1", "p2")
|
runtime.Notify("SomeEvent", "p1", "p2")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid3
|
package invalid3
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
func Main() {
|
func Main() {
|
||||||
runtime.Notify("SomeEvent", "p1", 5)
|
runtime.Notify("SomeEvent", "p1", 5)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid4
|
package invalid4
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
type SomeStruct1 struct {
|
type SomeStruct1 struct {
|
||||||
Field1 int
|
Field1 int
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid5
|
package invalid5
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
type NamedStruct struct {
|
type NamedStruct struct {
|
||||||
SomeInt int
|
SomeInt int
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid6
|
package invalid6
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
type SomeStruct struct {
|
type SomeStruct struct {
|
||||||
Field int
|
Field int
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package invalid7
|
package invalid7
|
||||||
|
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
|
|
||||||
type SomeStruct struct {
|
type SomeStruct struct {
|
||||||
Field int
|
Field int
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name: "Notifications"
|
name: "Notifications"
|
||||||
sourceurl: https://github.com/nspcc-dev/neo-go/
|
sourceurl: https://github.com/tutus-one/tutus-chain/
|
||||||
events:
|
events:
|
||||||
- name: "! complicated name %$#"
|
- name: "! complicated name %$#"
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name: "Notifications"
|
name: "Notifications"
|
||||||
sourceurl: https://github.com/nspcc-dev/neo-go/
|
sourceurl: https://github.com/tutus-one/tutus-chain/
|
||||||
events:
|
events:
|
||||||
- name: "! complicated name %$#"
|
- name: "! complicated name %$#"
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name: "Notifications"
|
name: "Notifications"
|
||||||
sourceurl: https://github.com/nspcc-dev/neo-go/
|
sourceurl: https://github.com/tutus-one/tutus-chain/
|
||||||
events:
|
events:
|
||||||
- name: "! complicated name %$#"
|
- name: "! complicated name %$#"
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package structs
|
package structs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Main() {
|
func Main() {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
name: Test royalty
|
name: Test royalty
|
||||||
sourceurl: https://github.com/nspcc-dev/neo-go/
|
sourceurl: https://github.com/tutus-one/tutus-chain/
|
||||||
supportedstandards: ["NEP-24-Payable"]
|
supportedstandards: ["NEP-24-Payable"]
|
||||||
events:
|
events:
|
||||||
- name: RoyaltiesTransferred
|
- name: RoyaltiesTransferred
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package royalty
|
package royalty
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/native/std"
|
"github.com/tutus-one/tutus-chain/pkg/interop/native/std"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RoyaltiesTransferred notifies about royalty payment. This method is called by marketplace
|
// RoyaltiesTransferred notifies about royalty payment. This method is called by marketplace
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
name: "Types"
|
name: "Types"
|
||||||
sourceurl: https://github.com/nspcc-dev/neo-go/
|
sourceurl: https://github.com/tutus-one/tutus-chain/
|
||||||
safemethods: ["contract", "block", "transaction", "struct"]
|
safemethods: ["contract", "block", "transaction", "struct"]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package structs
|
package structs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
|
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/native/management"
|
"github.com/tutus-one/tutus-chain/pkg/interop/native/management"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Internal struct {
|
type Internal struct {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
name: "Types"
|
name: "Types"
|
||||||
sourceurl: https://github.com/nspcc-dev/neo-go/
|
sourceurl: https://github.com/tutus-one/tutus-chain/
|
||||||
safemethods: ["bool", "int", "bytes", "string", "any", "hash160", "hash256", "publicKey", "signature", "bools", "ints", "bytess", "strings", "hash160s", "hash256s", "publicKeys", "signatures", "aAAStrings", "maps", "crazyMaps", "anyMaps", "unnamedStructs", "unnamedStructsX"]
|
safemethods: ["bool", "int", "bytes", "string", "any", "hash160", "hash256", "publicKey", "signature", "bools", "ints", "bytess", "strings", "hash160s", "hash256s", "publicKeys", "signatures", "aAAStrings", "maps", "crazyMaps", "anyMaps", "unnamedStructs", "unnamedStructsX"]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Bool(b bool) bool {
|
func Bool(b bool) bool {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ overrides:
|
||||||
call.args: '[]any'
|
call.args: '[]any'
|
||||||
call.f: any
|
call.f: any
|
||||||
call.method: string
|
call.method: string
|
||||||
call.scriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
call.scriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
callWithToken: any
|
callWithToken: any
|
||||||
callWithToken.args: '[]any'
|
callWithToken.args: '[]any'
|
||||||
callWithToken.flags: int
|
callWithToken.flags: int
|
||||||
|
|
@ -20,40 +20,40 @@ overrides:
|
||||||
checkWitness.hashOrKey: '[]byte'
|
checkWitness.hashOrKey: '[]byte'
|
||||||
createMultisigAccount: '[]byte'
|
createMultisigAccount: '[]byte'
|
||||||
createMultisigAccount.m: int
|
createMultisigAccount.m: int
|
||||||
createMultisigAccount.pubs: '[]github.com/nspcc-dev/neo-go/pkg/interop.PublicKey'
|
createMultisigAccount.pubs: '[]github.com/tutus-one/tutus-chain/pkg/interop.PublicKey'
|
||||||
createStandardAccount: '[]byte'
|
createStandardAccount: '[]byte'
|
||||||
createStandardAccount.pub: github.com/nspcc-dev/neo-go/pkg/interop.PublicKey
|
createStandardAccount.pub: github.com/tutus-one/tutus-chain/pkg/interop.PublicKey
|
||||||
currentHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
|
currentHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
|
||||||
currentIndex: int
|
currentIndex: int
|
||||||
currentSigners: '[]github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.TransactionSigner'
|
currentSigners: '[]github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.TransactionSigner'
|
||||||
equals: bool
|
equals: bool
|
||||||
equals.b: any
|
equals.b: any
|
||||||
gasLeft: int
|
gasLeft: int
|
||||||
getAddressVersion: int
|
getAddressVersion: int
|
||||||
getBlock: '*github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.Block'
|
getBlock: '*github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.Block'
|
||||||
getBlock.indexOrHash: any
|
getBlock.indexOrHash: any
|
||||||
getCallFlags: any
|
getCallFlags: any
|
||||||
getCallingScriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
getCallingScriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
getEntryScriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
getEntryScriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
getExecutingScriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
getExecutingScriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
getInvocationCounter: int
|
getInvocationCounter: int
|
||||||
getNetwork: int
|
getNetwork: int
|
||||||
getNotifications: '[][]any'
|
getNotifications: '[][]any'
|
||||||
getNotifications.h: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
getNotifications.h: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
getRandom: int
|
getRandom: int
|
||||||
getScriptContainer: '*github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.Transaction'
|
getScriptContainer: '*github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.Transaction'
|
||||||
getTime: int
|
getTime: int
|
||||||
getTransaction: '*github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.Transaction'
|
getTransaction: '*github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.Transaction'
|
||||||
getTransaction.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
|
getTransaction.hash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
|
||||||
getTransactionFromBlock: '*github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.Transaction'
|
getTransactionFromBlock: '*github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.Transaction'
|
||||||
getTransactionFromBlock.indexOrHash: any
|
getTransactionFromBlock.indexOrHash: any
|
||||||
getTransactionFromBlock.txIndex: int
|
getTransactionFromBlock.txIndex: int
|
||||||
getTransactionHeight: int
|
getTransactionHeight: int
|
||||||
getTransactionHeight.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
|
getTransactionHeight.hash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
|
||||||
getTransactionSigners: '[]github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.TransactionSigner'
|
getTransactionSigners: '[]github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.TransactionSigner'
|
||||||
getTransactionSigners.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
|
getTransactionSigners.hash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
|
||||||
getTransactionVMState: int
|
getTransactionVMState: int
|
||||||
getTransactionVMState.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
|
getTransactionVMState.hash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
|
||||||
getTrigger: int
|
getTrigger: int
|
||||||
loadScript: any
|
loadScript: any
|
||||||
loadScript.args: '[]any'
|
loadScript.args: '[]any'
|
||||||
|
|
@ -64,11 +64,11 @@ overrides:
|
||||||
notify.name: string
|
notify.name: string
|
||||||
onNEP11Payment.amount: int
|
onNEP11Payment.amount: int
|
||||||
onNEP11Payment.data: any
|
onNEP11Payment.data: any
|
||||||
onNEP11Payment.from: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
onNEP11Payment.from: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
onNEP11Payment.token: '[]byte'
|
onNEP11Payment.token: '[]byte'
|
||||||
onNEP17Payment.amount: int
|
onNEP17Payment.amount: int
|
||||||
onNEP17Payment.data: any
|
onNEP17Payment.data: any
|
||||||
onNEP17Payment.from: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
|
onNEP17Payment.from: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
|
||||||
opcode0NoReturn.op: string
|
opcode0NoReturn.op: string
|
||||||
opcode1: any
|
opcode1: any
|
||||||
opcode1NoReturn.arg: any
|
opcode1NoReturn.arg: any
|
||||||
|
|
@ -123,7 +123,7 @@ overrides:
|
||||||
syscall4.arg3: any
|
syscall4.arg3: any
|
||||||
syscall4.arg4: any
|
syscall4.arg4: any
|
||||||
syscall4.name: string
|
syscall4.name: string
|
||||||
toBlockSR: '*github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.BlockSR'
|
toBlockSR: '*github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.BlockSR'
|
||||||
verify: bool
|
verify: bool
|
||||||
namedtypes:
|
namedtypes:
|
||||||
ledger.Block:
|
ledger.Block:
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package testdata
|
package testdata
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop"
|
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Verify() bool {
|
func Verify() bool {
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,14 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/input"
|
"github.com/tutus-one/tutus-chain/cli/input"
|
||||||
"github.com/nspcc-dev/neo-go/cli/paramcontext"
|
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/block"
|
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/client"
|
"github.com/nspcc-dev/neofs-sdk-go/client"
|
||||||
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/object"
|
"github.com/nspcc-dev/neofs-sdk-go/object"
|
||||||
|
|
|
||||||
|
|
@ -5,17 +5,17 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/waiter"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
|
"github.com/tutus-one/tutus-chain/pkg/vm/opcode"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,13 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
vmcli "github.com/nspcc-dev/neo-go/cli/vm"
|
vmcli "github.com/tutus-one/tutus-chain/cli/vm"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
|
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm"
|
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/paramcontext"
|
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||||
"github.com/nspcc-dev/neo-go/cli/query"
|
"github.com/tutus-one/tutus-chain/cli/query"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ package util
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/paramcontext"
|
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/waiter"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/block"
|
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
|
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/client"
|
"github.com/nspcc-dev/neofs-sdk-go/client"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/container"
|
"github.com/nspcc-dev/neofs-sdk-go/container"
|
||||||
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/server"
|
"github.com/tutus-one/tutus-chain/cli/server"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core"
|
"github.com/tutus-one/tutus-chain/pkg/core"
|
||||||
gio "github.com/nspcc-dev/neo-go/pkg/io"
|
gio "github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
|
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/client"
|
"github.com/nspcc-dev/neofs-sdk-go/client"
|
||||||
"github.com/nspcc-dev/neofs-sdk-go/object"
|
"github.com/nspcc-dev/neofs-sdk-go/object"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
|
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,31 +19,31 @@ import (
|
||||||
|
|
||||||
"github.com/chzyer/readline"
|
"github.com/chzyer/readline"
|
||||||
"github.com/kballard/go-shellquote"
|
"github.com/kballard/go-shellquote"
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/paramcontext"
|
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/compiler"
|
"github.com/tutus-one/tutus-chain/pkg/compiler"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core"
|
"github.com/tutus-one/tutus-chain/pkg/core"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/interop"
|
"github.com/tutus-one/tutus-chain/pkg/core/interop"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/core/interop/runtime"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native"
|
"github.com/tutus-one/tutus-chain/pkg/core/native"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/bigint"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/bigint"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/callflag"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm"
|
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"go.uber.org/zap/zapcore"
|
"go.uber.org/zap/zapcore"
|
||||||
|
|
|
||||||
|
|
@ -19,29 +19,29 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/chzyer/readline"
|
"github.com/chzyer/readline"
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/paramcontext"
|
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||||
"github.com/nspcc-dev/neo-go/internal/basicchain"
|
"github.com/tutus-one/tutus-chain/internal/basicchain"
|
||||||
"github.com/nspcc-dev/neo-go/internal/random"
|
"github.com/tutus-one/tutus-chain/internal/random"
|
||||||
"github.com/nspcc-dev/neo-go/internal/versionutil"
|
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/compiler"
|
"github.com/tutus-one/tutus-chain/pkg/compiler"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/interop/interopnames"
|
"github.com/tutus-one/tutus-chain/pkg/core/interop/interopnames"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dboper"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/io"
|
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neotest"
|
"github.com/tutus-one/tutus-chain/pkg/neotest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neotest/chain"
|
"github.com/tutus-one/tutus-chain/pkg/neotest/chain"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/callflag"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm"
|
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/emit"
|
"github.com/tutus-one/tutus-chain/pkg/vm/emit"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
|
"github.com/tutus-one/tutus-chain/pkg/vm/opcode"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -374,9 +374,9 @@ func prepareLoadgoSrc(t *testing.T, tmpDir, src string) string {
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
goMod := []byte(`module test.example/kek
|
goMod := []byte(`module test.example/kek
|
||||||
require (
|
require (
|
||||||
github.com/nspcc-dev/neo-go/pkg/interop v0.0.0
|
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||||
)
|
)
|
||||||
replace github.com/nspcc-dev/neo-go/pkg/interop => ` + filepath.Join(wd, "../../pkg/interop") + `
|
replace github.com/tutus-one/tutus-chain/pkg/interop => ` + filepath.Join(wd, "../../pkg/interop") + `
|
||||||
go 1.24`)
|
go 1.24`)
|
||||||
require.NoError(t, os.WriteFile(filepath.Join(tmpDir, "go.mod"), goMod, os.ModePerm))
|
require.NoError(t, os.WriteFile(filepath.Join(tmpDir, "go.mod"), goMod, os.ModePerm))
|
||||||
return filename
|
return filename
|
||||||
|
|
@ -532,7 +532,7 @@ func TestLoad(t *testing.T) {
|
||||||
|
|
||||||
t.Run("check calling flags", func(t *testing.T) {
|
t.Run("check calling flags", func(t *testing.T) {
|
||||||
srcAllowNotify := `package kek
|
srcAllowNotify := `package kek
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
func Main() int {
|
func Main() int {
|
||||||
runtime.Log("Hello, world!")
|
runtime.Log("Hello, world!")
|
||||||
return 1
|
return 1
|
||||||
|
|
@ -550,8 +550,8 @@ func TestLoad(t *testing.T) {
|
||||||
t.Run("check signers", func(t *testing.T) {
|
t.Run("check signers", func(t *testing.T) {
|
||||||
srcCheckWitness := `package kek
|
srcCheckWitness := `package kek
|
||||||
import (
|
import (
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/interop/lib/address"
|
"github.com/tutus-one/tutus-chain/pkg/interop/lib/address"
|
||||||
)
|
)
|
||||||
func Main() bool {
|
func Main() bool {
|
||||||
var owner = address.ToHash160("` + ownerAddress + `")
|
var owner = address.ToHash160("` + ownerAddress + `")
|
||||||
|
|
@ -654,7 +654,7 @@ func TestLoad(t *testing.T) {
|
||||||
func TestLoad_RunWithCALLT(t *testing.T) {
|
func TestLoad_RunWithCALLT(t *testing.T) {
|
||||||
// Our smart compiler will generate CALLT instruction for the following StdLib call:
|
// Our smart compiler will generate CALLT instruction for the following StdLib call:
|
||||||
src := `package kek
|
src := `package kek
|
||||||
import "github.com/nspcc-dev/neo-go/pkg/interop/native/std"
|
import "github.com/tutus-one/tutus-chain/pkg/interop/native/std"
|
||||||
func Main() int {
|
func Main() int {
|
||||||
return std.Atoi("123", 10)
|
return std.Atoi("123", 10)
|
||||||
}`
|
}`
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/chzyer/readline"
|
"github.com/chzyer/readline"
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
|
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/paramcontext"
|
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/waiter"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,15 +8,15 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/hash"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/hash"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/context"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/context"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
|
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,19 +7,19 @@ import (
|
||||||
"slices"
|
"slices"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,26 +8,26 @@ import (
|
||||||
"slices"
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
|
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/gas"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neptoken"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neptoken"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,18 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math/big"
|
"math/big"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
|
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/gas"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,20 +11,20 @@ import (
|
||||||
"slices"
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nspcc-dev/neo-go/cli/cmdargs"
|
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||||
"github.com/nspcc-dev/neo-go/cli/flags"
|
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||||
"github.com/nspcc-dev/neo-go/cli/input"
|
"github.com/tutus-one/tutus-chain/cli/input"
|
||||||
"github.com/nspcc-dev/neo-go/cli/options"
|
"github.com/tutus-one/tutus-chain/cli/options"
|
||||||
"github.com/nspcc-dev/neo-go/cli/txctx"
|
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
|
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract/scparser"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract/scparser"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -1050,7 +1050,7 @@ func newAccountFromWIF(w io.Writer, wif string, scrypt keys.ScryptParams, label
|
||||||
acc, err := wallet.NewAccountFromEncryptedWIF(wif, phrase, scrypt)
|
acc, err := wallet.NewAccountFromEncryptedWIF(wif, phrase, scrypt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// If password from wallet config wasn't OK then retry with the user input,
|
// If password from wallet config wasn't OK then retry with the user input,
|
||||||
// see the https://github.com/nspcc-dev/neo-go/issues/2883#issuecomment-1399923088.
|
// see the https://github.com/tutus-one/tutus-chain/issues/2883#issuecomment-1399923088.
|
||||||
if pass == nil {
|
if pass == nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,14 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/chzyer/readline"
|
"github.com/chzyer/readline"
|
||||||
"github.com/nspcc-dev/neo-go/internal/testcli"
|
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/config"
|
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/hash"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/hash"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
|
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
|
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/util"
|
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||||
"github.com/nspcc-dev/neo-go/pkg/wallet"
|
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -32,17 +32,17 @@ a dialect of Go rather than a complete port of the language:
|
||||||
is supported; type assertion panics if value can't be asserted to the desired type, therefore
|
is supported; type assertion panics if value can't be asserted to the desired type, therefore
|
||||||
it's up to the programmer whether assert can be performed successfully.
|
it's up to the programmer whether assert can be performed successfully.
|
||||||
* type aliases including the built-in `any` alias are supported.
|
* type aliases including the built-in `any` alias are supported.
|
||||||
* generics are not supported, but eventually will be (at least, partially), ref. https://github.com/nspcc-dev/neo-go/issues/2376.
|
* generics are not supported, but eventually will be (at least, partially), ref. https://github.com/tutus-one/tutus-chain/issues/2376.
|
||||||
* `~` token is not supported
|
* `~` token is not supported
|
||||||
* `comparable` is not supported
|
* `comparable` is not supported
|
||||||
* arrays (`[4]byte`) are not supported (https://github.com/nspcc-dev/neo-go/issues/3524)
|
* arrays (`[4]byte`) are not supported (https://github.com/tutus-one/tutus-chain/issues/3524)
|
||||||
* `min()` and `max()` are supported for integer types only.
|
* `min()` and `max()` are supported for integer types only.
|
||||||
* `for` loop variables are treated in pre-Go 1.22 way: a single instance is created for the whole loop
|
* `for` loop variables are treated in pre-Go 1.22 way: a single instance is created for the whole loop
|
||||||
|
|
||||||
## VM API (interop layer)
|
## VM API (interop layer)
|
||||||
Compiler translates interop function calls into Neo VM syscalls or (for custom
|
Compiler translates interop function calls into Neo VM syscalls or (for custom
|
||||||
functions) into Neo VM instructions. [Refer to
|
functions) into Neo VM instructions. [Refer to
|
||||||
pkg.go.dev](https://pkg.go.dev/github.com/nspcc-dev/neo-go/pkg/interop)
|
pkg.go.dev](https://pkg.go.dev/github.com/tutus-one/tutus-chain/pkg/interop)
|
||||||
for full API documentation. In general it provides the same level of
|
for full API documentation. In general it provides the same level of
|
||||||
functionality as Neo .net Framework library.
|
functionality as Neo .net Framework library.
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ export GOROOT=/usr/lib64/go/1.15
|
||||||
```
|
```
|
||||||
|
|
||||||
The best way to create a new contract is to use `contract init` command. This will
|
The best way to create a new contract is to use `contract init` command. This will
|
||||||
create an example source file, a config file and `go.mod` with `github.com/nspcc-dev/neo-go/pkg/interop` dependency.
|
create an example source file, a config file and `go.mod` with `github.com/tutus-one/tutus-chain/pkg/interop` dependency.
|
||||||
```
|
```
|
||||||
$ ./bin/neo-go contract init --name MyAwesomeContract
|
$ ./bin/neo-go contract init --name MyAwesomeContract
|
||||||
$ cd MyAwesomeContract
|
$ cd MyAwesomeContract
|
||||||
|
|
@ -315,7 +315,7 @@ Any non-byte slice `[]T`| `Array`
|
||||||
`interop.Signature` | `Signature`
|
`interop.Signature` | `Signature`
|
||||||
anything else | `Any`
|
anything else | `Any`
|
||||||
|
|
||||||
`interop.*` types are defined as aliases in `github.com/nspcc-dev/neo-go/pkg/interop` module
|
`interop.*` types are defined as aliases in `github.com/tutus-one/tutus-chain/pkg/interop` module
|
||||||
with the sole purpose of correct manifest generation.
|
with the sole purpose of correct manifest generation.
|
||||||
|
|
||||||
As an example, consider `Transfer` event from `NEP-17` standard:
|
As an example, consider `Transfer` event from `NEP-17` standard:
|
||||||
|
|
|
||||||
|
|
@ -34,12 +34,12 @@ No additional packages are needed for NeoGo CN.
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
Download NeoGo binary [from
|
Download NeoGo binary [from
|
||||||
Github](https://github.com/nspcc-dev/neo-go/releases) or use [Docker
|
Github](https://github.com/tutus-one/tutus-chain/releases) or use [Docker
|
||||||
image](https://hub.docker.com/r/nspccdev/neo-go). It has everything included,
|
image](https://hub.docker.com/r/nspccdev/neo-go). It has everything included,
|
||||||
no additional plugins needed.
|
no additional plugins needed.
|
||||||
|
|
||||||
Take an appropriate (mainnet/testnet) configuration [from the
|
Take an appropriate (mainnet/testnet) configuration [from the
|
||||||
repository](https://github.com/nspcc-dev/neo-go/tree/master/config) and save
|
repository](https://github.com/tutus-one/tutus-chain/tree/master/config) and save
|
||||||
it in some directory (we'll assume that it's available in the same directory as
|
it in some directory (we'll assume that it's available in the same directory as
|
||||||
neo-go binary).
|
neo-go binary).
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue