Documentation
¶
Index ¶
- Variables
- func Compile(address aptos.AccountAddress) (compile.CompiledPackage, error)
- func CompileMCMSRegistrar(managedTokenAddress, mcmsAddress aptos.AccountAddress, ...) (compile.CompiledPackage, error)
- type ManagedToken
- func Bind(address aptos.AccountAddress, client aptos.AptosRpcClient) ManagedToken
- func DeployMCMSRegistrarToExistingObject(auth aptos.TransactionSigner, client aptos.AptosRpcClient, ...) (*api.PendingTransaction, ManagedToken, error)
- func DeployToObject(auth aptos.TransactionSigner, client aptos.AptosRpcClient) (aptos.AccountAddress, *api.PendingTransaction, ManagedToken, error)
- type ManagedTokenContact
Constants ¶
This section is empty.
Variables ¶
View Source
var FunctionInfo = bind.MustParseFunctionInfo( module_allowlist.FunctionInfo, module_ownable.FunctionInfo, module_managed_token.FunctionInfo, )
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 Bind(address aptos.AccountAddress, client aptos.AptosRpcClient) ManagedToken
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 ¶
func DeployToObject( auth aptos.TransactionSigner, client aptos.AptosRpcClient, ) (aptos.AccountAddress, *api.PendingTransaction, ManagedToken, error)
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 (l ManagedTokenContact) Address() aptos.AccountAddress
func (ManagedTokenContact) Allowlist ¶
func (l ManagedTokenContact) Allowlist() module_allowlist.AllowlistInterface
func (ManagedTokenContact) ManagedToken ¶
func (l ManagedTokenContact) ManagedToken() module_managed_token.ManagedTokenInterface
func (ManagedTokenContact) Ownable ¶
func (l ManagedTokenContact) Ownable() module_ownable.OwnableInterface
Click to show internal directories.
Click to hide internal directories.