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:
Tutus Development 2025-12-19 14:28:17 +00:00
parent 62bd7bb153
commit 5598ed7d85
785 changed files with 3993 additions and 3993 deletions

View File

@ -3352,7 +3352,7 @@ Changes specific to neo-go:
* 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
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)
* we have a conversion tool for your old Neo 2 wallets (`wallet convert`
command), so you can reuse keys on Neo 3 networks
@ -3363,6 +3363,6 @@ Changes specific to neo-go:
## Older versions
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
are Neo 3 compatible).

View File

@ -3,8 +3,8 @@
First, thank you for contributing! We love and encourage pull requests from everyone. Please
follow the guidelines:
1. Check open [issues](https://github.com/nspcc-dev/neo-go/issues) and
[pull requests](https://github.com/nspcc-dev/neo-go/pulls) for existing discussions.
1. Check open [issues](https://github.com/tutus-one/tutus-chain/issues) and
[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. Write tests and make sure the test suite passes locally and on CI.
1. When optimizing something, write benchmarks and attach the results:

View File

@ -5,13 +5,13 @@ import (
"os"
"runtime"
"github.com/nspcc-dev/neo-go/cli/query"
"github.com/nspcc-dev/neo-go/cli/server"
"github.com/nspcc-dev/neo-go/cli/smartcontract"
"github.com/nspcc-dev/neo-go/cli/util"
"github.com/nspcc-dev/neo-go/cli/vm"
"github.com/nspcc-dev/neo-go/cli/wallet"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/tutus-one/tutus-chain/cli/query"
"github.com/tutus-one/tutus-chain/cli/server"
"github.com/tutus-one/tutus-chain/cli/smartcontract"
"github.com/tutus-one/tutus-chain/cli/util"
"github.com/tutus-one/tutus-chain/cli/vm"
"github.com/tutus-one/tutus-chain/cli/wallet"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/urfave/cli/v2"
)

View File

@ -3,9 +3,9 @@ package app_test
import (
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/internal/versionutil"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/internal/versionutil"
"github.com/tutus-one/tutus-chain/pkg/config"
)
func TestCLIVersion(t *testing.T) {

View File

@ -5,13 +5,13 @@ import (
"fmt"
"strings"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/urfave/cli/v2"
)

View File

@ -4,11 +4,11 @@ import (
"strings"
"testing"
"github.com/nspcc-dev/neo-go/internal/random"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/internal/random"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/stretchr/testify/require"
)

View File

@ -5,8 +5,8 @@ import (
"fmt"
"strings"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/urfave/cli/v2"
)

View File

@ -5,9 +5,9 @@ import (
"io"
"testing"
"github.com/nspcc-dev/neo-go/internal/random"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/internal/random"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v2"
)

View File

@ -4,7 +4,7 @@ import (
"flag"
"strings"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"github.com/urfave/cli/v2"
)

View File

@ -5,7 +5,7 @@ import (
"io"
"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/urfave/cli/v2"
)

View File

@ -7,8 +7,8 @@ import (
"os"
"syscall"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"golang.org/x/term"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/nspcc-dev/neo-go/cli/app"
"github.com/tutus-one/tutus-chain/cli/app"
)
func main() {

View File

@ -14,15 +14,15 @@ import (
"strings"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/internal/versionutil"
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/internal/versionutil"
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"github.com/stretchr/testify/require"
)

View File

@ -10,13 +10,13 @@ import (
"strings"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/stretchr/testify/require"
)

View File

@ -4,9 +4,9 @@ import (
"flag"
"testing"
"github.com/nspcc-dev/neo-go/cli/app"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/tutus-one/tutus-chain/cli/app"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v2"
)

View File

@ -15,20 +15,20 @@ import (
"strings"
"time"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/input"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/io"
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/input"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/io"
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/nspcc-dev/neofs-sdk-go/pool"
"github.com/nspcc-dev/neofs-sdk-go/user"
"github.com/urfave/cli/v2"

View File

@ -5,7 +5,7 @@ import (
"testing"
"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/urfave/cli/v2"

View File

@ -5,10 +5,10 @@ import (
"fmt"
"os"
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/context"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/context"
"github.com/tutus-one/tutus-chain/pkg/wallet"
)
// InitAndSave creates an incompletely signed transaction which can be used

View File

@ -10,19 +10,19 @@ import (
"strings"
"text/tabwriter"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm"
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm"
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
"github.com/urfave/cli/v2"
)

View File

@ -11,25 +11,25 @@ import (
"testing"
"time"
"github.com/nspcc-dev/neo-go/internal/random"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/gas"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/notary"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/internal/random"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/notary"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/stretchr/testify/require"
)

View File

@ -6,9 +6,9 @@ import (
"strconv"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)

View File

@ -10,10 +10,10 @@ import (
"testing"
"time"
"github.com/nspcc-dev/neo-go/cli/server"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/cli/server"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)

View File

@ -6,8 +6,8 @@ import (
"os"
"path/filepath"
"github.com/nspcc-dev/neo-go/pkg/core/storage"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dboper"
"github.com/tutus-one/tutus-chain/pkg/core/storage"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
)
type dump []blockDump

View File

@ -5,10 +5,10 @@ import (
"os"
"path/filepath"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/core/block"
"github.com/nspcc-dev/neo-go/pkg/io"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/core/block"
"github.com/tutus-one/tutus-chain/pkg/io"
"github.com/urfave/cli/v2"
)

View File

@ -6,9 +6,9 @@ import (
"strconv"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)

View File

@ -12,24 +12,24 @@ import (
"slices"
"syscall"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
"github.com/nspcc-dev/neo-go/pkg/consensus"
"github.com/nspcc-dev/neo-go/pkg/core"
"github.com/nspcc-dev/neo-go/pkg/core/block"
"github.com/nspcc-dev/neo-go/pkg/core/chaindump"
corestate "github.com/nspcc-dev/neo-go/pkg/core/stateroot"
"github.com/nspcc-dev/neo-go/pkg/core/storage"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/io"
"github.com/nspcc-dev/neo-go/pkg/network"
"github.com/nspcc-dev/neo-go/pkg/services/metrics"
"github.com/nspcc-dev/neo-go/pkg/services/notary"
"github.com/nspcc-dev/neo-go/pkg/services/oracle"
"github.com/nspcc-dev/neo-go/pkg/services/rpcsrv"
"github.com/nspcc-dev/neo-go/pkg/services/stateroot"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
"github.com/tutus-one/tutus-chain/pkg/consensus"
"github.com/tutus-one/tutus-chain/pkg/core"
"github.com/tutus-one/tutus-chain/pkg/core/block"
"github.com/tutus-one/tutus-chain/pkg/core/chaindump"
corestate "github.com/tutus-one/tutus-chain/pkg/core/stateroot"
"github.com/tutus-one/tutus-chain/pkg/core/storage"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/io"
"github.com/tutus-one/tutus-chain/pkg/network"
"github.com/tutus-one/tutus-chain/pkg/services/metrics"
"github.com/tutus-one/tutus-chain/pkg/services/notary"
"github.com/tutus-one/tutus-chain/pkg/services/oracle"
"github.com/tutus-one/tutus-chain/pkg/services/rpcsrv"
"github.com/tutus-one/tutus-chain/pkg/services/stateroot"
"github.com/urfave/cli/v2"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

View File

@ -10,10 +10,10 @@ import (
"go.uber.org/zap/zapcore"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v2"
"gopkg.in/yaml.v3"

View File

@ -12,26 +12,26 @@ import (
"strings"
"testing"
"github.com/nspcc-dev/neo-go/cli/smartcontract"
"github.com/nspcc-dev/neo-go/internal/random"
"github.com/nspcc-dev/neo-go/internal/testchain"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/internal/versionutil"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core/interop/storage"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/smartcontract"
"github.com/tutus-one/tutus-chain/internal/random"
"github.com/tutus-one/tutus-chain/internal/testchain"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/internal/versionutil"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core/interop/storage"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)
@ -117,7 +117,7 @@ func TestContractBindings(t *testing.T) {
srcPath := filepath.Join(ctrPath, "main.go")
require.NoError(t, os.WriteFile(srcPath, []byte(`package testcontract
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 {
Key int
@ -174,9 +174,9 @@ func Blocks() []*alias.Block {
package testcontract
import (
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
"github.com/nspcc-dev/neo-go/pkg/interop/neogointernal"
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
"github.com/tutus-one/tutus-chain/pkg/interop/neogointernal"
"myimport.com/testcontract"
)
@ -227,7 +227,7 @@ func updateGoMod(dir, moduleName, neoGoPath string) error {
}
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 {
return fmt.Errorf("failed to write updated go.mod: %w", err)
@ -250,7 +250,7 @@ func TestDynamicWrapper(t *testing.T) {
helperContract := `package testcontract
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop"
verify "myimport.com/testcontract/bindings"
)

View File

@ -6,10 +6,10 @@ import (
"os"
"strings"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/binding"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/rpcbinding"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/rpcbinding"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/urfave/cli/v2"
"gopkg.in/yaml.v3"
)

View File

@ -9,10 +9,10 @@ import (
"strings"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/stretchr/testify/require"
)
@ -157,12 +157,12 @@ package wrapper
import (
"github.com/heyitsme/mycontract"
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
"github.com/nspcc-dev/neo-go/pkg/interop/iterator"
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
"github.com/nspcc-dev/neo-go/pkg/interop/neogointernal"
"github.com/nspcc-dev/neo-go/pkg/interop/storage"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
"github.com/tutus-one/tutus-chain/pkg/interop/neogointernal"
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
)
// Hash contains contract hash in big-endian form.
@ -245,11 +245,11 @@ package wrapper
import (
"github.com/heyitsme/mycontract"
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
"github.com/nspcc-dev/neo-go/pkg/interop/iterator"
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
"github.com/nspcc-dev/neo-go/pkg/interop/storage"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
)
// Contract represents the MyContract smart contract.
@ -364,8 +364,8 @@ func TestGenerateValidPackageName(t *testing.T) {
package myspacecontract
import (
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
"github.com/nspcc-dev/neo-go/pkg/interop/neogointernal"
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
"github.com/tutus-one/tutus-chain/pkg/interop/neogointernal"
)
// Hash contains contract hash in big-endian form.
@ -390,9 +390,9 @@ func Get() int {
package myspacecontract
import (
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/util"
"math/big"
)

View File

@ -5,13 +5,13 @@ import (
"fmt"
"os"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/urfave/cli/v2"
)

View File

@ -4,9 +4,9 @@ import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/util"
"gopkg.in/yaml.v3"
)

View File

@ -4,11 +4,11 @@
package nft
import (
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
"github.com/tutus-one/tutus-chain/pkg/util"
)
// NEP22Contract is an alias for nep22.Contract.

View File

@ -4,11 +4,11 @@
package nft
import (
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
"github.com/tutus-one/tutus-chain/pkg/util"
)
// Hash contains contract hash.

View File

@ -6,14 +6,14 @@ package nft
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
)

View File

@ -6,14 +6,14 @@ package nft
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep22"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep24"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep31"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
)

View File

@ -6,11 +6,11 @@ package structs
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -6,11 +6,11 @@ package structs
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -6,10 +6,10 @@ package structs
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"unicode/utf8"
)

View File

@ -4,8 +4,8 @@
package royalty
import (
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/util"
"math/big"
)

View File

@ -4,8 +4,8 @@
package royalty
import (
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/util"
"math/big"
)

View File

@ -7,12 +7,12 @@ import (
"crypto/elliptic"
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -7,12 +7,12 @@ import (
"crypto/elliptic"
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -6,12 +6,12 @@ package types
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -6,12 +6,12 @@ package types
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -6,11 +6,11 @@ package verify
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
)
// Hash contains contract hash.

View File

@ -9,24 +9,24 @@ import (
"path/filepath"
"strings"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/compiler"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/management"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/binding"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/compiler"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/management"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/urfave/cli/v2"
"gopkg.in/yaml.v3"
)
@ -72,7 +72,7 @@ const (
// %s is parsed to be the smartContractName.
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
@ -452,7 +452,7 @@ func initSmartContract(ctx *cli.Context) error {
go 1.24
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 {
return cli.Exit(err, 1)

View File

@ -5,9 +5,9 @@ import (
"os"
"testing"
"github.com/nspcc-dev/neo-go/internal/random"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/internal/random"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v2"
"gopkg.in/yaml.v3"
@ -40,7 +40,7 @@ func TestInitSmartContract(t *testing.T) {
require.Equal(t,
`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

View File

@ -1,12 +1,12 @@
package deploy
import (
"github.com/nspcc-dev/neo-go/cli/smartcontract/testdata/deploy/sub"
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/contract"
"github.com/nspcc-dev/neo-go/pkg/interop/iterator"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/nspcc-dev/neo-go/pkg/interop/storage"
"github.com/tutus-one/tutus-chain/cli/smartcontract/testdata/deploy/sub"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
)
var key = "key"

View File

@ -1,6 +1,6 @@
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"

View File

@ -4,8 +4,8 @@
package gastoken
import (
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
"github.com/tutus-one/tutus-chain/pkg/util"
)
// Hash contains contract hash.

View File

@ -2,8 +2,8 @@
package invalid1
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
)
// Notify1 emits a correctly typed event.

View File

@ -2,8 +2,8 @@
package invalid2
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
)
// Notify1 emits a correctly typed event.

View File

@ -2,8 +2,8 @@
package invalid3
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
)
// Notify1 emits a correctly typed event.

View File

@ -7,13 +7,13 @@ import (
"errors"
"fmt"
"github.com/google/uuid"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
"unicode/utf8"
)

View File

@ -6,13 +6,13 @@ package nextoken
import (
"errors"
"fmt"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"math/big"
)

View File

@ -5,10 +5,10 @@ package nonnepxxcontractwithiterators
import (
"github.com/google/uuid"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
)
// Hash contains contract hash.

View File

@ -1,6 +1,6 @@
package invalid1
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
func Main() {
runtime.Notify("Non declared event")

View File

@ -1,6 +1,6 @@
package invalid2
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
func Main() {
runtime.Notify("SomeEvent", "p1", "p2")

View File

@ -1,6 +1,6 @@
package invalid3
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
func Main() {
runtime.Notify("SomeEvent", "p1", 5)

View File

@ -1,6 +1,6 @@
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 {
Field1 int

View File

@ -1,6 +1,6 @@
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 {
SomeInt int

View File

@ -1,6 +1,6 @@
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 {
Field int

View File

@ -1,6 +1,6 @@
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 {
Field int

View File

@ -1,5 +1,5 @@
name: "Notifications"
sourceurl: https://github.com/nspcc-dev/neo-go/
sourceurl: https://github.com/tutus-one/tutus-chain/
events:
- name: "! complicated name %$#"
parameters:

View File

@ -1,5 +1,5 @@
name: "Notifications"
sourceurl: https://github.com/nspcc-dev/neo-go/
sourceurl: https://github.com/tutus-one/tutus-chain/
events:
- name: "! complicated name %$#"
parameters:

View File

@ -1,5 +1,5 @@
name: "Notifications"
sourceurl: https://github.com/nspcc-dev/neo-go/
sourceurl: https://github.com/tutus-one/tutus-chain/
events:
- name: "! complicated name %$#"
parameters:

View File

@ -1,8 +1,8 @@
package structs
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
)
func Main() {

View File

@ -1,5 +1,5 @@
name: Test royalty
sourceurl: https://github.com/nspcc-dev/neo-go/
sourceurl: https://github.com/tutus-one/tutus-chain/
supportedstandards: ["NEP-24-Payable"]
events:
- name: RoyaltiesTransferred

View File

@ -1,9 +1,9 @@
package royalty
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/native/std"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/native/std"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
)
// RoyaltiesTransferred notifies about royalty payment. This method is called by marketplace

View File

@ -1,3 +1,3 @@
name: "Types"
sourceurl: https://github.com/nspcc-dev/neo-go/
sourceurl: https://github.com/tutus-one/tutus-chain/
safemethods: ["contract", "block", "transaction", "struct"]

View File

@ -1,9 +1,9 @@
package structs
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/native/ledger"
"github.com/nspcc-dev/neo-go/pkg/interop/native/management"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
"github.com/tutus-one/tutus-chain/pkg/interop/native/management"
)
type Internal struct {

View File

@ -1,3 +1,3 @@
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"]

View File

@ -1,7 +1,7 @@
package types
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop"
)
func Bool(b bool) bool {

View File

@ -6,7 +6,7 @@ overrides:
call.args: '[]any'
call.f: any
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.args: '[]any'
callWithToken.flags: int
@ -20,40 +20,40 @@ overrides:
checkWitness.hashOrKey: '[]byte'
createMultisigAccount: '[]byte'
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.pub: github.com/nspcc-dev/neo-go/pkg/interop.PublicKey
currentHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
createStandardAccount.pub: github.com/tutus-one/tutus-chain/pkg/interop.PublicKey
currentHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
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.b: any
gasLeft: 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
getCallFlags: any
getCallingScriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
getEntryScriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
getExecutingScriptHash: github.com/nspcc-dev/neo-go/pkg/interop.Hash160
getCallingScriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
getEntryScriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
getExecutingScriptHash: github.com/tutus-one/tutus-chain/pkg/interop.Hash160
getInvocationCounter: int
getNetwork: int
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
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
getTransaction: '*github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.Transaction'
getTransaction.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
getTransactionFromBlock: '*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/tutus-one/tutus-chain/pkg/interop.Hash256
getTransactionFromBlock: '*github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.Transaction'
getTransactionFromBlock.indexOrHash: any
getTransactionFromBlock.txIndex: int
getTransactionHeight: int
getTransactionHeight.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
getTransactionSigners: '[]github.com/nspcc-dev/neo-go/pkg/interop/native/ledger.TransactionSigner'
getTransactionSigners.hash: github.com/nspcc-dev/neo-go/pkg/interop.Hash256
getTransactionHeight.hash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
getTransactionSigners: '[]github.com/tutus-one/tutus-chain/pkg/interop/native/ledger.TransactionSigner'
getTransactionSigners.hash: github.com/tutus-one/tutus-chain/pkg/interop.Hash256
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
loadScript: any
loadScript.args: '[]any'
@ -64,11 +64,11 @@ overrides:
notify.name: string
onNEP11Payment.amount: int
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'
onNEP17Payment.amount: int
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
opcode1: any
opcode1NoReturn.arg: any
@ -123,7 +123,7 @@ overrides:
syscall4.arg3: any
syscall4.arg4: any
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
namedtypes:
ledger.Block:

View File

@ -1,8 +1,8 @@
package testdata
import (
"github.com/nspcc-dev/neo-go/pkg/interop"
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
)
func Verify() bool {

View File

@ -8,14 +8,14 @@ import (
"io"
"time"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/input"
"github.com/nspcc-dev/neo-go/cli/paramcontext"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/input"
"github.com/tutus-one/tutus-chain/cli/paramcontext"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/urfave/cli/v2"
)

View File

@ -7,12 +7,12 @@ import (
"sync"
"time"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/core/block"
"github.com/nspcc-dev/neo-go/pkg/io"
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/core/block"
"github.com/tutus-one/tutus-chain/pkg/io"
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/nspcc-dev/neofs-sdk-go/client"
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
"github.com/nspcc-dev/neofs-sdk-go/object"

View File

@ -5,17 +5,17 @@ import (
"fmt"
"strings"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/waiter"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/opcode"
"github.com/urfave/cli/v2"
)

View File

@ -6,13 +6,13 @@ import (
"fmt"
"os"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
vmcli "github.com/nspcc-dev/neo-go/cli/vm"
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
"github.com/nspcc-dev/neo-go/pkg/vm"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
vmcli "github.com/tutus-one/tutus-chain/cli/vm"
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
"github.com/tutus-one/tutus-chain/pkg/vm"
"github.com/urfave/cli/v2"
)

View File

@ -4,10 +4,10 @@ import (
"encoding/json"
"fmt"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/paramcontext"
"github.com/nspcc-dev/neo-go/cli/query"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/paramcontext"
"github.com/tutus-one/tutus-chain/cli/query"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/urfave/cli/v2"
)

View File

@ -3,11 +3,11 @@ package util
import (
"fmt"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/paramcontext"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/waiter"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/paramcontext"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
"github.com/urfave/cli/v2"
)

View File

@ -7,12 +7,12 @@ import (
"sync"
"time"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/core/block"
"github.com/nspcc-dev/neo-go/pkg/io"
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/core/block"
"github.com/tutus-one/tutus-chain/pkg/io"
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
"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/container"
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"

View File

@ -5,14 +5,14 @@ import (
"strconv"
"time"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/server"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core"
gio "github.com/nspcc-dev/neo-go/pkg/io"
"github.com/nspcc-dev/neo-go/pkg/services/helpers/neofs"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/server"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core"
gio "github.com/tutus-one/tutus-chain/pkg/io"
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/nspcc-dev/neofs-sdk-go/client"
"github.com/nspcc-dev/neofs-sdk-go/object"
"github.com/urfave/cli/v2"

View File

@ -8,11 +8,11 @@ import (
"testing"
"time"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/stretchr/testify/require"
)

View File

@ -19,31 +19,31 @@ import (
"github.com/chzyer/readline"
"github.com/kballard/go-shellquote"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/paramcontext"
"github.com/nspcc-dev/neo-go/pkg/compiler"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/core"
"github.com/nspcc-dev/neo-go/pkg/core/interop"
"github.com/nspcc-dev/neo-go/pkg/core/interop/runtime"
"github.com/nspcc-dev/neo-go/pkg/core/native"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/storage"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/encoding/bigint"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/callflag"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/nef"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/trigger"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/paramcontext"
"github.com/tutus-one/tutus-chain/pkg/compiler"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/core"
"github.com/tutus-one/tutus-chain/pkg/core/interop"
"github.com/tutus-one/tutus-chain/pkg/core/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/core/native"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/storage"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/encoding/bigint"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"github.com/urfave/cli/v2"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

View File

@ -19,29 +19,29 @@ import (
"time"
"github.com/chzyer/readline"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/paramcontext"
"github.com/nspcc-dev/neo-go/internal/basicchain"
"github.com/nspcc-dev/neo-go/internal/random"
"github.com/nspcc-dev/neo-go/internal/versionutil"
"github.com/nspcc-dev/neo-go/pkg/compiler"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/config/netmode"
"github.com/nspcc-dev/neo-go/pkg/core/interop/interopnames"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/storage"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dboper"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/io"
"github.com/nspcc-dev/neo-go/pkg/neotest"
"github.com/nspcc-dev/neo-go/pkg/neotest/chain"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/callflag"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm"
"github.com/nspcc-dev/neo-go/pkg/vm/emit"
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/paramcontext"
"github.com/tutus-one/tutus-chain/internal/basicchain"
"github.com/tutus-one/tutus-chain/internal/random"
"github.com/tutus-one/tutus-chain/internal/versionutil"
"github.com/tutus-one/tutus-chain/pkg/compiler"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
"github.com/tutus-one/tutus-chain/pkg/core/interop/interopnames"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/storage"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/io"
"github.com/tutus-one/tutus-chain/pkg/neotest"
"github.com/tutus-one/tutus-chain/pkg/neotest/chain"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm"
"github.com/tutus-one/tutus-chain/pkg/vm/emit"
"github.com/tutus-one/tutus-chain/pkg/vm/opcode"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"github.com/stretchr/testify/require"
)
@ -374,9 +374,9 @@ func prepareLoadgoSrc(t *testing.T, tmpDir, src string) string {
require.NoError(t, err)
goMod := []byte(`module test.example/kek
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`)
require.NoError(t, os.WriteFile(filepath.Join(tmpDir, "go.mod"), goMod, os.ModePerm))
return filename
@ -532,7 +532,7 @@ func TestLoad(t *testing.T) {
t.Run("check calling flags", func(t *testing.T) {
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 {
runtime.Log("Hello, world!")
return 1
@ -550,8 +550,8 @@ func TestLoad(t *testing.T) {
t.Run("check signers", func(t *testing.T) {
srcCheckWitness := `package kek
import (
"github.com/nspcc-dev/neo-go/pkg/interop/runtime"
"github.com/nspcc-dev/neo-go/pkg/interop/lib/address"
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
"github.com/tutus-one/tutus-chain/pkg/interop/lib/address"
)
func Main() bool {
var owner = address.ToHash160("` + ownerAddress + `")
@ -654,7 +654,7 @@ func TestLoad(t *testing.T) {
func TestLoad_RunWithCALLT(t *testing.T) {
// Our smart compiler will generate CALLT instruction for the following StdLib call:
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 {
return std.Atoi("123", 10)
}`

View File

@ -5,9 +5,9 @@ import (
"os"
"github.com/chzyer/readline"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/core/storage/dbconfig"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
"github.com/urfave/cli/v2"
)

View File

@ -5,8 +5,8 @@ import (
"strconv"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/stretchr/testify/require"
)

View File

@ -8,11 +8,11 @@ import (
"errors"
"os"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/wallet"
)
type (

View File

@ -6,7 +6,7 @@ import (
"encoding/hex"
"testing"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/stretchr/testify/require"
)

View File

@ -4,14 +4,14 @@ import (
"encoding/json"
"fmt"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/paramcontext"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/waiter"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/paramcontext"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/core/state"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
"github.com/urfave/cli/v2"
)

View File

@ -8,15 +8,15 @@ import (
"path/filepath"
"testing"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/crypto/hash"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/context"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/vmstate"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/crypto/hash"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/context"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
"github.com/stretchr/testify/require"
)

View File

@ -7,19 +7,19 @@ import (
"slices"
"strconv"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/urfave/cli/v2"
)

View File

@ -8,26 +8,26 @@ import (
"slices"
"strings"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/gas"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep11"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neptoken"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
"github.com/tutus-one/tutus-chain/pkg/neorpc/result"
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neptoken"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/urfave/cli/v2"
)

View File

@ -4,18 +4,18 @@ import (
"fmt"
"math/big"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/gas"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/nep17"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/urfave/cli/v2"
)

View File

@ -11,20 +11,20 @@ import (
"slices"
"strings"
"github.com/nspcc-dev/neo-go/cli/cmdargs"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/input"
"github.com/nspcc-dev/neo-go/cli/options"
"github.com/nspcc-dev/neo-go/cli/txctx"
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/rpcclient/neo"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/manifest"
"github.com/nspcc-dev/neo-go/pkg/smartcontract/scparser"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/cli/cmdargs"
"github.com/tutus-one/tutus-chain/cli/flags"
"github.com/tutus-one/tutus-chain/cli/input"
"github.com/tutus-one/tutus-chain/cli/options"
"github.com/tutus-one/tutus-chain/cli/txctx"
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neo"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
"github.com/tutus-one/tutus-chain/pkg/smartcontract/scparser"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"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)
if err != nil {
// 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 {
return nil, err
}

View File

@ -9,14 +9,14 @@ import (
"testing"
"github.com/chzyer/readline"
"github.com/nspcc-dev/neo-go/internal/testcli"
"github.com/nspcc-dev/neo-go/pkg/config"
"github.com/nspcc-dev/neo-go/pkg/crypto/hash"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/tutus-one/tutus-chain/internal/testcli"
"github.com/tutus-one/tutus-chain/pkg/config"
"github.com/tutus-one/tutus-chain/pkg/crypto/hash"
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
"github.com/tutus-one/tutus-chain/pkg/util"
"github.com/tutus-one/tutus-chain/pkg/wallet"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)

View File

@ -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
it's up to the programmer whether assert can be performed successfully.
* 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
* `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.
* `for` loop variables are treated in pre-Go 1.22 way: a single instance is created for the whole loop
## VM API (interop layer)
Compiler translates interop function calls into Neo VM syscalls or (for custom
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
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
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
$ cd MyAwesomeContract
@ -315,7 +315,7 @@ Any non-byte slice `[]T`| `Array`
`interop.Signature` | `Signature`
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.
As an example, consider `Transfer` event from `NEP-17` standard:

View File

@ -34,12 +34,12 @@ No additional packages are needed for NeoGo CN.
### Installation
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,
no additional plugins needed.
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
neo-go binary).

Some files were not shown because too many files have changed in this diff Show More