Documentation ¶
Index ¶
- type UserAccountStub
- func (uas *UserAccountStub) AccountDataHandler() vmcommon.AccountDataHandler
- func (uas *UserAccountStub) AddToBalance(value *big.Int) error
- func (uas *UserAccountStub) AddressBytes() []byte
- func (uas *UserAccountStub) ChangeOwnerAddress(sndAddress []byte, newAddress []byte) error
- func (uas *UserAccountStub) ClaimDeveloperRewards(sndAddress []byte) (*big.Int, error)
- func (uas *UserAccountStub) GetBalance() *big.Int
- func (uas *UserAccountStub) GetCodeHash() []byte
- func (uas *UserAccountStub) GetCodeMetadata() []byte
- func (uas *UserAccountStub) GetDeveloperReward() *big.Int
- func (uas *UserAccountStub) GetNonce() uint64
- func (uas *UserAccountStub) GetOwnerAddress() []byte
- func (uas *UserAccountStub) GetRootHash() []byte
- func (uas *UserAccountStub) GetUserName() []byte
- func (uas *UserAccountStub) IncreaseNonce(nonce uint64)
- func (uas *UserAccountStub) IsInterfaceNil() bool
- func (uas *UserAccountStub) SetCodeMetadata(codeMetaData []byte)
- func (uas *UserAccountStub) SetOwnerAddress(address []byte)
- func (uas *UserAccountStub) SetUserName(userName []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAccountStub ¶
type UserAccountStub struct { GetCodeMetadataCalled func() []byte SetCodeMetadataCalled func(codeMetadata []byte) GetCodeHashCalled func() []byte GetRootHashCalled func() []byte AccountDataHandlerCalled func() vmcommon.AccountDataHandler AddToBalanceCalled func(value *big.Int) error GetBalanceCalled func() *big.Int ClaimDeveloperRewardsCalled func([]byte) (*big.Int, error) GetDeveloperRewardCalled func() *big.Int ChangeOwnerAddressCalled func([]byte, []byte) error SetOwnerAddressCalled func([]byte) GetOwnerAddressCalled func() []byte SetUserNameCalled func(userName []byte) GetUserNameCalled func() []byte AddressBytesCalled func() []byte IncreaseNonceCalled func(nonce uint64) GetNonceCalled func() uint64 }
UserAccountStub -
func (*UserAccountStub) AccountDataHandler ¶
func (uas *UserAccountStub) AccountDataHandler() vmcommon.AccountDataHandler
AccountDataHandler -
func (*UserAccountStub) AddToBalance ¶
func (uas *UserAccountStub) AddToBalance(value *big.Int) error
AddToBalance -
func (*UserAccountStub) AddressBytes ¶
func (uas *UserAccountStub) AddressBytes() []byte
AddressBytes -
func (*UserAccountStub) ChangeOwnerAddress ¶
func (uas *UserAccountStub) ChangeOwnerAddress(sndAddress []byte, newAddress []byte) error
ChangeOwnerAddress -
func (*UserAccountStub) ClaimDeveloperRewards ¶
func (uas *UserAccountStub) ClaimDeveloperRewards(sndAddress []byte) (*big.Int, error)
ClaimDeveloperRewards -
func (*UserAccountStub) GetCodeHash ¶
func (uas *UserAccountStub) GetCodeHash() []byte
GetCodeHash -
func (*UserAccountStub) GetCodeMetadata ¶
func (uas *UserAccountStub) GetCodeMetadata() []byte
GetCodeMetadata -
func (*UserAccountStub) GetDeveloperReward ¶
func (uas *UserAccountStub) GetDeveloperReward() *big.Int
GetDeveloperReward -
func (*UserAccountStub) GetOwnerAddress ¶
func (uas *UserAccountStub) GetOwnerAddress() []byte
GetOwnerAddress -
func (*UserAccountStub) GetRootHash ¶
func (uas *UserAccountStub) GetRootHash() []byte
GetRootHash -
func (*UserAccountStub) GetUserName ¶
func (uas *UserAccountStub) GetUserName() []byte
GetUserName -
func (*UserAccountStub) IncreaseNonce ¶
func (uas *UserAccountStub) IncreaseNonce(nonce uint64)
IncreaseNonce -
func (*UserAccountStub) IsInterfaceNil ¶
func (uas *UserAccountStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*UserAccountStub) SetCodeMetadata ¶
func (uas *UserAccountStub) SetCodeMetadata(codeMetaData []byte)
SetCodeMetadata -
func (*UserAccountStub) SetOwnerAddress ¶
func (uas *UserAccountStub) SetOwnerAddress(address []byte)
SetOwnerAddress -
func (*UserAccountStub) SetUserName ¶
func (uas *UserAccountStub) SetUserName(userName []byte)
SetUserName -
Click to show internal directories.
Click to hide internal directories.