Documentation
¶
Index ¶
- func AlphabetAddress() interop.Hash160
- func AlphabetList() []common.IRNode
- func AlphabetUpdate(id []byte, args []interop.PublicKey)
- func Bind(user []byte, keys []interop.PublicKey)
- func Cheque(id []byte, user interop.Hash160, amount int, lockAcc []byte)
- func Config(key []byte) interface{}
- func InitConfig(args [][]byte)
- func InnerRingCandidateAdd(key interop.PublicKey)
- func InnerRingCandidateRemove(key interop.PublicKey)
- func InnerRingCandidates() []common.IRNode
- func ListConfig() []record
- func Migrate(script []byte, manifest []byte, data interface{}) bool
- func OnNEP17Payment(from interop.Hash160, amount int, data interface{})
- func SetConfig(id, key, val []byte)
- func Unbind(user []byte, keys []interop.PublicKey)
- func Version() int
- func Withdraw(user interop.Hash160, amount int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlphabetAddress ¶ added in v0.7.0
AlphabetAddress returns 2\3n+1 multi signature address of alphabet nodes.
func AlphabetList ¶ added in v0.6.0
AlphabetList returns array of alphabet node keys.
func AlphabetUpdate ¶ added in v0.6.0
AlphabetUpdate updates list of alphabet nodes with provided list of public keys.
func Cheque ¶
Cheque sends gas assets back to the user if they were successfully locked in NeoFS balance contract.
func Config ¶
func Config(key []byte) interface{}
Config returns value of NeoFS configuration with provided key.
func InitConfig ¶
func InitConfig(args [][]byte)
InitConfig set up initial NeoFS key-value configuration.
func InnerRingCandidateAdd ¶
InnerRingCandidateAdd adds key to the list of inner ring candidates.
func InnerRingCandidateRemove ¶
InnerRingCandidateRemove removes key from the list of inner ring candidates.
func InnerRingCandidates ¶
InnerRingCandidates returns array of inner ring candidate node keys.
func ListConfig ¶
func ListConfig() []record
ListConfig returns array of all key-value pairs of NeoFS configuration.
func OnNEP17Payment ¶ added in v0.4.0
OnNEP17Payment is a callback for NEP-17 compatible native GAS contract.
func SetConfig ¶
func SetConfig(id, key, val []byte)
SetConfig key-value pair as a NeoFS runtime configuration value.
Types ¶
This section is empty.