Skip to main content

StakingRequestEvent

type StakingRequestEvent

A typed view of a `0x3::validator::StakingRequestEvent`.

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

func LiftFromExternalStakingRequestEvent

func LiftFromExternalStakingRequestEvent(handle uint64) *StakingRequestEvent

func StakingRequestEventTryFromBcs

func StakingRequestEventTryFromBcs(bytes []byte) (*StakingRequestEvent, error)

Decode from the BCS contents of an emitted event.

func (*StakingRequestEvent) Amount

func (_self *StakingRequestEvent) Amount() uint64

Staked amount, in nanos.

func (*StakingRequestEvent) DebugString

func (_self *StakingRequestEvent) DebugString() string

func (*StakingRequestEvent) Destroy

func (object *StakingRequestEvent) Destroy()

func (*StakingRequestEvent) Epoch

func (_self *StakingRequestEvent) Epoch() uint64

func (*StakingRequestEvent) PoolId

func (_self *StakingRequestEvent) PoolId() *ObjectId

func (*StakingRequestEvent) StakerAddress

func (_self *StakingRequestEvent) StakerAddress() *Address

func (*StakingRequestEvent) ValidatorAddress

func (_self *StakingRequestEvent) ValidatorAddress() *Address