Documentation
¶
Index ¶
- Constants
- type AllowlistAdd
- type AllowlistContract
- func (c AllowlistContract) DestroyAllowlist(state AllowlistState) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c AllowlistContract) Encoder() AllowlistEncoder
- func (c AllowlistContract) New(allowlist []aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c AllowlistContract) NewWithName(allowlist []aptos.AccountAddress, allowlistName string) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- type AllowlistEncoder
- type AllowlistInterface
- type AllowlistRemove
- type AllowlistState
Constants ¶
View Source
const (
E_ALLOWLIST_NOT_ENABLED uint64 = 1
)
Constants
View Source
const FunctionInfo = `` /* 464-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowlistAdd ¶
type AllowlistAdd struct {
AllowlistName string `move:"0x1::string::String"`
Sender aptos.AccountAddress `move:"address"`
}
type AllowlistContract ¶
type AllowlistContract struct {
*bind.BoundContract
// contains filtered or unexported fields
}
func (AllowlistContract) DestroyAllowlist ¶
func (c AllowlistContract) DestroyAllowlist(state AllowlistState) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
func (AllowlistContract) Encoder ¶
func (c AllowlistContract) Encoder() AllowlistEncoder
func (AllowlistContract) New ¶
func (c AllowlistContract) New(allowlist []aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
func (AllowlistContract) NewWithName ¶
func (c AllowlistContract) NewWithName(allowlist []aptos.AccountAddress, allowlistName string) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
type AllowlistEncoder ¶
type AllowlistEncoder interface {
New(allowlist []aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
NewWithName(allowlist []aptos.AccountAddress, allowlistName string) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
DestroyAllowlist(state AllowlistState) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
}
type AllowlistInterface ¶
type AllowlistInterface interface {
// Encoder returns the encoder implementation of this module.
Encoder() AllowlistEncoder
}
func NewAllowlist ¶
func NewAllowlist(address aptos.AccountAddress, client aptos.AptosRpcClient) AllowlistInterface
type AllowlistRemove ¶
type AllowlistRemove struct {
AllowlistName string `move:"0x1::string::String"`
Sender aptos.AccountAddress `move:"address"`
}
type AllowlistState ¶
type AllowlistState struct {
AllowlistName string `move:"0x1::string::String"`
AllowlistEnabled bool `move:"bool"`
Allowlist []aptos.AccountAddress `move:"vector<address>"`
}
Click to show internal directories.
Click to hide internal directories.