builtInFunctions

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: GPL-3.0 Imports: 19 Imported by: 3 modules, 13 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// MetadataPaused is the location of paused flag in the dct global meta data
	MetadataPaused = 1
	// MetadataLimitedTransfer is the location of limited transfer flag in the dct global meta data
	MetadataLimitedTransfer = 2
	// BurnRoleForAll is the location of burn role for all flag in the dct global meta data
	BurnRoleForAll = 4
)
View Source
const (
	// MetadataFrozen is the location of frozen flag in the dct user meta data
	MetadataFrozen = 1
)

Variables

View Source
var ErrAccountNotPayable = errors.New("sending value to non payable contract")

ErrAccountNotPayable will be sent when trying to send tokens to a non-payableCheck account

View Source
var ErrActionNotAllowed = errors.New("action is not allowed")

ErrActionNotAllowed signals that action is not allowed

View Source
var ErrAddressIsNotAllowed = errors.New("address is not allowed to do the action")

ErrAddressIsNotAllowed signals that sender is not allowed to do the action

View Source
var ErrAddressIsNotDCTSystemSC = errors.New("destination is not system sc address")

ErrAddressIsNotDCTSystemSC signals that destination is not a system sc address

View Source
var ErrBuiltInFunctionCalledWithValue = errors.New("built in function called with tx value is not allowed")

ErrBuiltInFunctionCalledWithValue signals that builtin function was called with value that is not allowed

View Source
var ErrCallerIsNotTheDNSAddress = errors.New("not a dns address")

ErrCallerIsNotTheDNSAddress signals that called address is not the DNS address

View Source
var ErrCannotSetOwnAddressAsGuardian = errors.New("cannot set own address as guardian")

ErrCannotSetOwnAddressAsGuardian signals that an owner cannot set its own address as guardian

View Source
var ErrCannotWipeAccountNotFrozen = errors.New("cannot wipe because the account is not frozen for this dct token")

ErrCannotWipeAccountNotFrozen signals that account isn't frozen so the wipe is not possible

View Source
var ErrContainerKeyAlreadyExists = errors.New("provided key already exists in container")

ErrContainerKeyAlreadyExists signals that an element was already set in the container's map

View Source
var ErrDCTIsFrozenForAccount = errors.New("account is frozen for this dct token")

ErrDCTIsFrozenForAccount signals that account is frozen for given dct token

View Source
var ErrDCTTokenIsPaused = errors.New("dct token is paused")

ErrDCTTokenIsPaused signals that dct token is paused

View Source
var ErrEmptyFunctionName = errors.New("empty function name")

ErrEmptyFunctionName signals that an empty function name has been provided

View Source
var ErrGuardianAlreadyExists = errors.New("a guardian with the same address already exists")

ErrGuardianAlreadyExists signals that a guardian with the same address already exists

View Source
var ErrInsufficientFunds = errors.New("insufficient funds")

ErrInsufficientFunds signals the funds are insufficient for the move balance operation but the transaction fee is covered by the current balance

View Source
var ErrInsufficientQuantityDCT = errors.New("insufficient quantity")

ErrInsufficientQuantityDCT signals the funds are insufficient for the DCT transfer

View Source
var ErrInvalidAddress = errors.New("invalid address")

ErrInvalidAddress signals that an invalid address has been provided

View Source
var ErrInvalidAddressLength = errors.New("invalid address length")

ErrInvalidAddressLength signals that address length is invalid

View Source
var ErrInvalidArguments = errors.New("invalid arguments to process built-in function")

ErrInvalidArguments signals that invalid arguments were given to process built-in function

View Source
var ErrInvalidContainerKey = errors.New("element does not exist in container")

ErrInvalidContainerKey signals that an element does not exist in the container's map

View Source
var ErrInvalidLiquidityForDCT = errors.New("invalid liquidity for DCT")

ErrInvalidLiquidityForDCT signals that liquidity is invalid for DCT

View Source
var ErrInvalidMaxNumAddresses = errors.New("invalid max number of addresses")

ErrInvalidMaxNumAddresses signals that there is an invalid max number of addresses

View Source
var ErrInvalidMetadata = errors.New("invalid metadata")

ErrInvalidMetadata signals that invalid metadata was provided

View Source
var ErrInvalidNFTQuantity = errors.New("invalid NFT quantity")

ErrInvalidNFTQuantity signals that invalid NFT quantity was provided

View Source
var ErrInvalidNonce = errors.New("invalid nonce for dct")

ErrInvalidNonce signals that invalid nonce for dct

View Source
var ErrInvalidNumOfArgs = errors.New("invalid number of arguments")

ErrInvalidNumOfArgs signals that the number of arguments is invalid

View Source
var ErrInvalidNumberOfArguments = errors.New("invalid number of arguments")

ErrInvalidNumberOfArguments signals that an invalid number of arguments has been provided

View Source
var ErrInvalidRcvAddr = errors.New("invalid receiver address")

ErrInvalidRcvAddr signals that an invalid receiver address was provided

View Source
var ErrInvalidServiceUID = errors.New("service UID is invalid")

ErrInvalidServiceUID signals that an invalid service UID was provided

View Source
var ErrInvalidTokenID = errors.New("invalid tokenID")

ErrInvalidTokenID signals that invalid tokenID was provided

View Source
var ErrNFTDoesNotHaveMetadata = errors.New("NFT does not have metadata")

ErrNFTDoesNotHaveMetadata signals that NFT does not have metadata

View Source
var ErrNFTTokenDoesNotExist = errors.New("NFT token does not exist")

ErrNFTTokenDoesNotExist signals that NFT token does not exist

View Source
var ErrNegativeValue = errors.New("negative value")

ErrNegativeValue signals that a negative value has been detected and it is not allowed

View Source
var ErrNewNFTDataOnSenderAddress = errors.New("new NFT data on sender")

ErrNewNFTDataOnSenderAddress signals that a new NFT data was found on the sender address

View Source
var ErrNilAccountHandler = errors.New("nil account handler provided")

ErrNilAccountHandler signals that a nil account handler has been provided

View Source
var ErrNilAccountsAdapter = errors.New("nil AccountsAdapter")

ErrNilAccountsAdapter defines the error when trying to use a nil AccountsAddapter

View Source
var ErrNilActiveHandler = errors.New("nil active handler")

ErrNilActiveHandler signals that a nil active handler has been provided

View Source
var ErrNilContainerElement = errors.New("element cannot be nil")

ErrNilContainerElement signals when trying to add a nil element in the container

View Source
var ErrNilDCTData = errors.New("nil dct data")

ErrNilDCTData signals that DCT data does not exist

View Source
var ErrNilDCTNFTStorageHandler = errors.New("nil dct nft storage handler")

ErrNilDCTNFTStorageHandler signals that a nil nft storage handler has been provided

View Source
var ErrNilDnsAddresses = errors.New("nil dns addresses map")

ErrNilDnsAddresses signals that nil dns addresses map was provided

View Source
var ErrNilEnableEpochsHandler = errors.New("nil enable epochs handler")

ErrNilEnableEpochsHandler signals that a nil enable epochs handler was provided

View Source
var ErrNilGlobalSettingsHandler = errors.New("nil pause handler")

ErrNilGlobalSettingsHandler signals that nil pause handler has been provided

View Source
var ErrNilGuardedAccountHandler = errors.New("nil guarded account handler")

ErrNilGuardedAccountHandler signals that a nil guarded account handler was provided

View Source
var ErrNilMarshalizer = errors.New("nil Marshalizer")

ErrNilMarshalizer signals that an operation has been attempted to or with a nil Marshalizer implementation

View Source
var ErrNilPayableHandler = errors.New("nil payableHandler was provided")

ErrNilPayableHandler signals that nil payableHandler was provided

View Source
var ErrNilRolesHandler = errors.New("nil roles handler")

ErrNilRolesHandler signals that nil roles handler has been provided

View Source
var ErrNilSCDestAccount = errors.New("nil destination SC account")

ErrNilSCDestAccount signals that destination account is nil

View Source
var ErrNilShardCoordinator = errors.New("nil shard coordinator")

ErrNilShardCoordinator signals that an operation has been attempted to or with a nil shard coordinator

View Source
var ErrNilTransactionHandler = errors.New("nil transaction handler")

ErrNilTransactionHandler signals that a nil transaction handler has been provided

View Source
var ErrNilUserAccount = errors.New("nil user account")

ErrNilUserAccount signals that nil user account was provided

View Source
var ErrNilValue = errors.New("nil value")

ErrNilValue signals the value is nil

View Source
var ErrNilVmInput = errors.New("nil vm input")

ErrNilVmInput signals that provided vm input is nil

View Source
var ErrNoGuardianEnabled = errors.New("account has no guardian enabled")

ErrNoGuardianEnabled signals that account has no guardian enabled

View Source
var ErrNotEnoughGas = errors.New("not enough gas was sent in the transaction")

ErrNotEnoughGas signals that not enough gas has been provided

View Source
var ErrOnlyFungibleTokensHaveBalanceTransfer = errors.New("only fungible tokens have balance transfer")

ErrOnlyFungibleTokensHaveBalanceTransfer signals that only fungible tokens have balance transfer

View Source
var ErrOnlySystemAccountAccepted = errors.New("only system account is accepted")

ErrOnlySystemAccountAccepted signals that only system account is accepted

View Source
var ErrOperationNotPermitted = errors.New("operation in account not permitted")

ErrOperationNotPermitted signals that operation is not permitted

View Source
var ErrOwnerAlreadyHasOneGuardianPending = errors.New("owner already has one guardian pending")

ErrOwnerAlreadyHasOneGuardianPending signals that an owner already has one guardian pending

View Source
var ErrSetGuardAccountFlag = errors.New("cannot guard account, it is already guarded")

ErrSetGuardAccountFlag signals that an account is already guarded when trying to guard it

View Source
var ErrSetUnGuardAccount = errors.New("cannot un-guard account, it is not guarded")

ErrSetUnGuardAccount signals that an account is already unguarded when trying to un-guard it

View Source
var ErrTokenHasValidMetadata = errors.New("token has valid metadata")

ErrTokenHasValidMetadata signals that token has a valid metadata

View Source
var ErrTooManyTransferAddresses = errors.New("too many transfer addresses")

ErrTooManyTransferAddresses signals that too many transfer address roles has been added

View Source
var ErrUserNameChangeIsDisabled = errors.New("user name change is disabled")

ErrUserNameChangeIsDisabled signals the user name change is not allowed

View Source
var ErrWrongTypeAssertion = errors.New("wrong type assertion")

ErrWrongTypeAssertion signals that an type assertion failed

View Source
var ErrWrongTypeInContainer = errors.New("wrong type of object inside container")

ErrWrongTypeInContainer signals that a wrong type of object was found in container

Functions

func NewBuiltInFunctionContainer

func NewBuiltInFunctionContainer() *functionContainer

NewBuiltInFunctionContainer will create a new instance of a container

func NewBuiltInFunctionsCreator

func NewBuiltInFunctionsCreator(args ArgsCreateBuiltInFunctionContainer) (*builtInFuncCreator, error)

NewBuiltInFunctionsCreator creates a component which will instantiate the built in functions contracts

func NewChangeOwnerAddressFunc

func NewChangeOwnerAddressFunc(gasCost uint64) *changeOwnerAddress

NewChangeOwnerAddressFunc create a new change owner built in function

func NewClaimDeveloperRewardsFunc

func NewClaimDeveloperRewardsFunc(gasCost uint64) *claimDeveloperRewards

NewClaimDeveloperRewardsFunc returns a new developer rewards implementation

func NewDCTBurnFunc

func NewDCTBurnFunc(
	funcGasCost uint64,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.DCTGlobalSettingsHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctBurn, error)

NewDCTBurnFunc returns the dct burn built-in function component

func NewDCTDataStorage

func NewDCTDataStorage(args ArgsNewDCTDataStorage) (*dctDataStorage, error)

NewDCTDataStorage creates a new dct data storage handler

func NewDCTDeleteMetadataFunc

func NewDCTDeleteMetadataFunc(
	args ArgsNewDCTDeleteMetadata,
) (*dctDeleteMetaData, error)

NewDCTDeleteMetadataFunc returns the dct metadata deletion built-in function component

func NewDCTFreezeWipeFunc

func NewDCTFreezeWipeFunc(
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
	marshaller vmcommon.Marshalizer,
	freeze bool,
	wipe bool,
) (*dctFreezeWipe, error)

NewDCTFreezeWipeFunc returns the dct freeze/un-freeze/wipe built-in function component

func NewDCTGlobalSettingsFunc

func NewDCTGlobalSettingsFunc(
	accounts vmcommon.AccountsAdapter,
	marshaller marshal.Marshalizer,
	set bool,
	function string,
	activeHandler func() bool,
) (*dctGlobalSettings, error)

NewDCTGlobalSettingsFunc returns the dct pause/un-pause built-in function component

func NewDCTLocalBurnFunc

func NewDCTLocalBurnFunc(
	funcGasCost uint64,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.ExtendedDCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
) (*dctLocalBurn, error)

NewDCTLocalBurnFunc returns the dct local burn built-in function component

func NewDCTLocalMintFunc

func NewDCTLocalMintFunc(
	funcGasCost uint64,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.DCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
) (*dctLocalMint, error)

NewDCTLocalMintFunc returns the dct local mint built-in function component

func NewDCTNFTAddQuantityFunc

func NewDCTNFTAddQuantityFunc(
	funcGasCost uint64,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	globalSettingsHandler vmcommon.DCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctNFTAddQuantity, error)

NewDCTNFTAddQuantityFunc returns the dct NFT add quantity built-in function component

func NewDCTNFTAddUriFunc

func NewDCTNFTAddUriFunc(
	funcGasCost uint64,
	gasConfig vmcommon.BaseOperationCost,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	globalSettingsHandler vmcommon.DCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctNFTAddUri, error)

NewDCTNFTAddUriFunc returns the dct NFT add URI built-in function component

func NewDCTNFTBurnFunc

func NewDCTNFTBurnFunc(
	funcGasCost uint64,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	globalSettingsHandler vmcommon.ExtendedDCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
) (*dctNFTBurn, error)

NewDCTNFTBurnFunc returns the dct NFT burn built-in function component

func NewDCTNFTCreateFunc

func NewDCTNFTCreateFunc(
	funcGasCost uint64,
	gasConfig vmcommon.BaseOperationCost,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.DCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	accounts vmcommon.AccountsAdapter,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctNFTCreate, error)

NewDCTNFTCreateFunc returns the dct NFT create built-in function component

func NewDCTNFTCreateRoleTransfer

func NewDCTNFTCreateRoleTransfer(
	marshaller vmcommon.Marshalizer,
	accounts vmcommon.AccountsAdapter,
	shardCoordinator vmcommon.Coordinator,
) (*dctNFTCreateRoleTransfer, error)

NewDCTNFTCreateRoleTransfer returns the dct NFT create role transfer built-in function component

func NewDCTNFTMultiTransferFunc

func NewDCTNFTMultiTransferFunc(
	funcGasCost uint64,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.ExtendedDCTGlobalSettingsHandler,
	accounts vmcommon.AccountsAdapter,
	shardCoordinator vmcommon.Coordinator,
	gasConfig vmcommon.BaseOperationCost,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
	roleHandler vmcommon.DCTRoleHandler,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
) (*dctNFTMultiTransfer, error)

NewDCTNFTMultiTransferFunc returns the dct NFT multi transfer built-in function component

func NewDCTNFTTransferFunc

func NewDCTNFTTransferFunc(
	funcGasCost uint64,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.ExtendedDCTGlobalSettingsHandler,
	accounts vmcommon.AccountsAdapter,
	shardCoordinator vmcommon.Coordinator,
	gasConfig vmcommon.BaseOperationCost,
	rolesHandler vmcommon.DCTRoleHandler,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctNFTTransfer, error)

NewDCTNFTTransferFunc returns the dct NFT transfer built-in function component

func NewDCTNFTUpdateAttributesFunc

func NewDCTNFTUpdateAttributesFunc(
	funcGasCost uint64,
	gasConfig vmcommon.BaseOperationCost,
	dctStorageHandler vmcommon.DCTNFTStorageHandler,
	globalSettingsHandler vmcommon.DCTGlobalSettingsHandler,
	rolesHandler vmcommon.DCTRoleHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctNFTupdate, error)

NewDCTNFTUpdateAttributesFunc returns the dct NFT update attribute built-in function component

func NewDCTRolesFunc

func NewDCTRolesFunc(
	marshaller vmcommon.Marshalizer,
	set bool,
) (*dctRoles, error)

NewDCTRolesFunc returns the dct change roles built-in function component

func NewDCTTransferFunc

func NewDCTTransferFunc(
	funcGasCost uint64,
	marshaller vmcommon.Marshalizer,
	globalSettingsHandler vmcommon.ExtendedDCTGlobalSettingsHandler,
	shardCoordinator vmcommon.Coordinator,
	rolesHandler vmcommon.DCTRoleHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctTransfer, error)

NewDCTTransferFunc returns the dct transfer built-in function component

func NewDCTTransferRoleAddressFunc

func NewDCTTransferRoleAddressFunc(
	accounts vmcommon.AccountsAdapter,
	marshaller marshal.Marshalizer,
	maxNumAddresses uint32,
	set bool,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*dctTransferAddress, error)

NewDCTTransferRoleAddressFunc returns the dct transfer role address handler built-in function component

func NewGuardAccountFunc added in v0.0.2

func NewGuardAccountFunc(args GuardAccountArgs) (*guardAccountFunc, error)

NewGuardAccountFunc will instantiate a new guard account built-in function

func NewPayableCheckFunc

func NewPayableCheckFunc(
	payable vmcommon.PayableHandler,
	enableEpochsHandler vmcommon.EnableEpochsHandler,
) (*payableCheck, error)

NewPayableCheckFunc returns a new component which checks if destination is payableCheck when needed

func NewSaveKeyValueStorageFunc

func NewSaveKeyValueStorageFunc(
	gasConfig vmcommon.BaseOperationCost,
	funcGasCost uint64,
) (*saveKeyValueStorage, error)

NewSaveKeyValueStorageFunc returns the save key-value storage built in function

func NewSaveUserNameFunc

func NewSaveUserNameFunc(
	gasCost uint64,
	mapDnsAddresses map[string]struct{},
	enableChange bool,
) (*saveUserName, error)

NewSaveUserNameFunc returns a username built in function implementation

func NewSetGuardianFunc added in v0.0.2

func NewSetGuardianFunc(args SetGuardianArgs) (*setGuardian, error)

NewSetGuardianFunc will instantiate a new set guardian built-in function

func NewUnGuardAccountFunc added in v0.0.2

func NewUnGuardAccountFunc(args GuardAccountArgs) (*unGuardAccountFunc, error)

NewUnGuardAccountFunc will instantiate a new un-guard account built-in function

Types

type ArgsCreateBuiltInFunctionContainer

type ArgsCreateBuiltInFunctionContainer struct {
	GasMap                           map[string]map[string]uint64
	MapDNSAddresses                  map[string]struct{}
	EnableUserNameChange             bool
	Marshalizer                      vmcommon.Marshalizer
	Accounts                         vmcommon.AccountsAdapter
	ShardCoordinator                 vmcommon.Coordinator
	EnableEpochsHandler              vmcommon.EnableEpochsHandler
	GuardedAccountHandler            vmcommon.GuardedAccountHandler
	MaxNumOfAddressesForTransferRole uint32
	ConfigAddress                    []byte
}

ArgsCreateBuiltInFunctionContainer defines the input arguments to create built in functions container

type ArgsNewDCTDataStorage

type ArgsNewDCTDataStorage struct {
	Accounts              vmcommon.AccountsAdapter
	GlobalSettingsHandler vmcommon.DCTGlobalSettingsHandler
	Marshalizer           vmcommon.Marshalizer
	EnableEpochsHandler   vmcommon.EnableEpochsHandler
	ShardCoordinator      vmcommon.Coordinator
}

ArgsNewDCTDataStorage defines the argument list for new dct data storage handler

type ArgsNewDCTDeleteMetadata

type ArgsNewDCTDeleteMetadata struct {
	FuncGasCost         uint64
	Marshalizer         vmcommon.Marshalizer
	Accounts            vmcommon.AccountsAdapter
	AllowedAddress      []byte
	Delete              bool
	EnableEpochsHandler vmcommon.EnableEpochsHandler
}

ArgsNewDCTDeleteMetadata defines the argument list for new dct delete metadata built in function

type BaseAccountGuarderArgs added in v0.0.2

type BaseAccountGuarderArgs struct {
	GuardedAccountHandler vmcommon.GuardedAccountHandler
	Marshaller            marshal.Marshalizer
	EnableEpochsHandler   vmcommon.EnableEpochsHandler
	FuncGasCost           uint64
}

BaseAccountGuarderArgs is a struct placeholder for all necessary args to create a newBaseAccountGuarder

type DCTGlobalMetadata

type DCTGlobalMetadata struct {
	Paused          bool
	LimitedTransfer bool
	BurnRoleForAll  bool
}

DCTGlobalMetadata represents dct global metadata saved on system account

func DCTGlobalMetadataFromBytes

func DCTGlobalMetadataFromBytes(bytes []byte) DCTGlobalMetadata

DCTGlobalMetadataFromBytes creates a metadata object from bytes

func (*DCTGlobalMetadata) ToBytes

func (metadata *DCTGlobalMetadata) ToBytes() []byte

ToBytes converts the metadata to bytes

type DCTUserMetadata

type DCTUserMetadata struct {
	Frozen bool
}

DCTUserMetadata represents dct user metadata saved on every account

func DCTUserMetadataFromBytes

func DCTUserMetadataFromBytes(bytes []byte) DCTUserMetadata

DCTUserMetadataFromBytes creates a metadata object from bytes

func (*DCTUserMetadata) ToBytes

func (metadata *DCTUserMetadata) ToBytes() []byte

ToBytes converts the metadata to bytes

type GuardAccountArgs added in v0.0.2

type GuardAccountArgs struct {
	BaseAccountGuarderArgs
}

GuardAccountArgs is a struct placeholder for all necessary args to create either a NewGuardAccountFunc or a NewUnGuardAccountFunc

type SetGuardianArgs added in v0.0.2

type SetGuardianArgs struct {
	BaseAccountGuarderArgs
}

SetGuardianArgs is a struct placeholder for all necessary args to create a NewSetGuardianFunc

Jump to

Keyboard shortcuts

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