Documentation
¶
Index ¶
- func InnerRing(tb testing.TB, e *neotest.Executor) keys.PublicKeys
- func RegisterContractInNNS(t *testing.T, e *neotest.Executor, params RegisterContractInNNSParams)
- func SetInnerRing(tb testing.TB, e *neotest.Executor, _keys keys.PublicKeys)
- func TickEpoch(t *testing.T, e *neotest.Executor, signers ...neotest.Signer)
- type RegisterContractInNNSParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InnerRing ¶ added in v0.17.0
InnerRing reads Inner Ring composition from given neotest.Executor using RoleManagement contract. The list can be set via SetInnerRing.
func RegisterContractInNNS ¶ added in v0.21.0
func RegisterContractInNNS(t *testing.T, e *neotest.Executor, params RegisterContractInNNSParams)
RegisterContractInNNS make registration of the contract hash in nns contract.
func SetInnerRing ¶ added in v0.17.0
SetInnerRing sets Inner Ring composition in given neotest.Executor using RoleManagement contract. The list can be read via InnerRing.
Types ¶
type RegisterContractInNNSParams ¶ added in v0.21.0
type RegisterContractInNNSParams struct { // Name is a contract name. Domain will be registered in the `.neofs` top-level domain. // You custom contract names must not collide with system contract names. See rpc/nns/names.go. Name string ContractHash util.Uint160 Email string Refresh int64 Retry int64 // Expire in milliseconds Expire int64 TTL int64 }
RegisterContractInNNSParams is a param struct for RegisterContractInNNS func.
func NewRegisterContractInNNSParams ¶ added in v0.21.0
func NewRegisterContractInNNSParams(name string, contractHash util.Uint160) RegisterContractInNNSParams
NewRegisterContractInNNSParams is a constructor for RegisterContractInNNSParams.
Directories
¶
Path | Synopsis |
---|---|
Package dump provides I/O operations for collected states of the Neo smart contracts.
|
Package dump provides I/O operations for collected states of the Neo smart contracts. |
Package migration provides framework to test migration of the NeoFS smart contracts.
|
Package migration provides framework to test migration of the NeoFS smart contracts. |
Click to show internal directories.
Click to hide internal directories.