module_allowlist

package
v0.0.0-...-268577f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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>"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL