Documentation
¶
Overview ¶
Package processing contains RPC wrappers for NeoFS Multi Signature Processing contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct {
ContractReader
NEP22Contract
// contains filtered or unexported fields
}
Contract implements all contract methods.
type ContractReader ¶
type ContractReader struct {
// contains filtered or unexported fields
}
ContractReader implements safe contract methods.
func NewReader ¶
func NewReader(invoker Invoker, hash util.Uint160) *ContractReader
NewReader creates an instance of ContractReader using provided contract hash and the given Invoker.
func (*ContractReader) Verify ¶
func (c *ContractReader) Verify() (bool, error)
Verify invokes `verify` method of contract.
type Invoker ¶
type Invoker interface {
Call(contract util.Uint160, operation string, params ...any) (*result.Invoke, error)
}
Invoker is used by ContractReader to call various safe methods.
type NEP22Contract ¶ added in v0.25.0
NEP22Contract is an alias for nep22.Contract.
Click to show internal directories.
Click to hide internal directories.