managed_token

package
v0.0.0-...-b0e84f9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Compile

func Compile(address aptos.AccountAddress) (compile.CompiledPackage, error)

func CompileMCMSRegistrar

func CompileMCMSRegistrar(
	managedTokenAddress,
	mcmsAddress aptos.AccountAddress,
	registerMCMSEntrypoints bool,
) (compile.CompiledPackage, error)

CompileMCMSRegistrar compiles the managed_token_mcms_registrar package

Types

type ManagedToken

type ManagedToken interface {
	Address() aptos.AccountAddress

	Allowlist() module_allowlist.AllowlistInterface
	ManagedToken() module_managed_token.ManagedTokenInterface
	Ownable() module_ownable.OwnableInterface
}

func Bind

func DeployMCMSRegistrarToExistingObject

func DeployMCMSRegistrarToExistingObject(
	auth aptos.TransactionSigner,
	client aptos.AptosRpcClient,
	managedTokenAddress aptos.AccountAddress,
	mcmsAddress aptos.AccountAddress,
	registerMCMSEntrypoints bool,
) (*api.PendingTransaction, ManagedToken, error)

DeployMCMSRegistrarToExistingObject deploys the managed_token_mcms_registrar package to an existing code object (managedTokenAddress).

func DeployToObject

DeployToObject deploys the managed_token package to a new named object. The resulting address will be calculated using the deployer's account address and sequence number.

type ManagedTokenContact

type ManagedTokenContact struct {
	// contains filtered or unexported fields
}

func (ManagedTokenContact) Address

func (ManagedTokenContact) Allowlist

func (ManagedTokenContact) ManagedToken

func (ManagedTokenContact) Ownable

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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