Skip to content

Latest commit

 

History

History
337 lines (182 loc) · 10.7 KB

ActivityExtra.md

File metadata and controls

337 lines (182 loc) · 10.7 KB

ActivityExtra

Properties

Name Type Description Notes
PoolType StakingPoolType
FinalityProviderPublicKey Pointer to string The public key of the finality provider. [optional]
StakeBlockTime Pointer to int64 The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. [optional]
AutoBroadcast Pointer to bool Whether to automatically broadcast the transaction. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call Broadcast signed transactions to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling Get transaction information and broadcast it yourself. [optional]
ParamVersion Pointer to int64 The version of babylon global parameters. [optional]
WithdrawFromType Pointer to ActivityType [optional]
ProviderName Pointer to string The name of the provider. [optional]
ValidatorPubkeys Pointer to []string A list of public keys identifying the validators to unstake from the Ethereum Beacon Chain. [optional]
Timelock Pointer to int32 The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. [optional]
ChangeAddress Pointer to string The change bitcoin address. If not provided, the source wallet's address will be used as the change address. [optional]
ValidatorAddress Pointer to string The validator evm address. [optional]
RewardAddress Pointer to string The reward evm address. [optional]

Methods

NewActivityExtra

func NewActivityExtra(poolType StakingPoolType, ) *ActivityExtra

NewActivityExtra instantiates a new ActivityExtra object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewActivityExtraWithDefaults

func NewActivityExtraWithDefaults() *ActivityExtra

NewActivityExtraWithDefaults instantiates a new ActivityExtra object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetPoolType

func (o *ActivityExtra) GetPoolType() StakingPoolType

GetPoolType returns the PoolType field if non-nil, zero value otherwise.

GetPoolTypeOk

func (o *ActivityExtra) GetPoolTypeOk() (*StakingPoolType, bool)

GetPoolTypeOk returns a tuple with the PoolType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPoolType

func (o *ActivityExtra) SetPoolType(v StakingPoolType)

SetPoolType sets PoolType field to given value.

GetFinalityProviderPublicKey

func (o *ActivityExtra) GetFinalityProviderPublicKey() string

GetFinalityProviderPublicKey returns the FinalityProviderPublicKey field if non-nil, zero value otherwise.

GetFinalityProviderPublicKeyOk

func (o *ActivityExtra) GetFinalityProviderPublicKeyOk() (*string, bool)

GetFinalityProviderPublicKeyOk returns a tuple with the FinalityProviderPublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFinalityProviderPublicKey

func (o *ActivityExtra) SetFinalityProviderPublicKey(v string)

SetFinalityProviderPublicKey sets FinalityProviderPublicKey field to given value.

HasFinalityProviderPublicKey

func (o *ActivityExtra) HasFinalityProviderPublicKey() bool

HasFinalityProviderPublicKey returns a boolean if a field has been set.

GetStakeBlockTime

func (o *ActivityExtra) GetStakeBlockTime() int64

GetStakeBlockTime returns the StakeBlockTime field if non-nil, zero value otherwise.

GetStakeBlockTimeOk

func (o *ActivityExtra) GetStakeBlockTimeOk() (*int64, bool)

GetStakeBlockTimeOk returns a tuple with the StakeBlockTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStakeBlockTime

func (o *ActivityExtra) SetStakeBlockTime(v int64)

SetStakeBlockTime sets StakeBlockTime field to given value.

HasStakeBlockTime

func (o *ActivityExtra) HasStakeBlockTime() bool

HasStakeBlockTime returns a boolean if a field has been set.

GetAutoBroadcast

func (o *ActivityExtra) GetAutoBroadcast() bool

GetAutoBroadcast returns the AutoBroadcast field if non-nil, zero value otherwise.

GetAutoBroadcastOk

func (o *ActivityExtra) GetAutoBroadcastOk() (*bool, bool)

GetAutoBroadcastOk returns a tuple with the AutoBroadcast field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAutoBroadcast

func (o *ActivityExtra) SetAutoBroadcast(v bool)

SetAutoBroadcast sets AutoBroadcast field to given value.

HasAutoBroadcast

func (o *ActivityExtra) HasAutoBroadcast() bool

HasAutoBroadcast returns a boolean if a field has been set.

GetParamVersion

func (o *ActivityExtra) GetParamVersion() int64

GetParamVersion returns the ParamVersion field if non-nil, zero value otherwise.

GetParamVersionOk

func (o *ActivityExtra) GetParamVersionOk() (*int64, bool)

GetParamVersionOk returns a tuple with the ParamVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetParamVersion

func (o *ActivityExtra) SetParamVersion(v int64)

SetParamVersion sets ParamVersion field to given value.

HasParamVersion

func (o *ActivityExtra) HasParamVersion() bool

HasParamVersion returns a boolean if a field has been set.

GetWithdrawFromType

func (o *ActivityExtra) GetWithdrawFromType() ActivityType

GetWithdrawFromType returns the WithdrawFromType field if non-nil, zero value otherwise.

GetWithdrawFromTypeOk

func (o *ActivityExtra) GetWithdrawFromTypeOk() (*ActivityType, bool)

GetWithdrawFromTypeOk returns a tuple with the WithdrawFromType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWithdrawFromType

func (o *ActivityExtra) SetWithdrawFromType(v ActivityType)

SetWithdrawFromType sets WithdrawFromType field to given value.

HasWithdrawFromType

func (o *ActivityExtra) HasWithdrawFromType() bool

HasWithdrawFromType returns a boolean if a field has been set.

GetProviderName

func (o *ActivityExtra) GetProviderName() string

GetProviderName returns the ProviderName field if non-nil, zero value otherwise.

GetProviderNameOk

func (o *ActivityExtra) GetProviderNameOk() (*string, bool)

GetProviderNameOk returns a tuple with the ProviderName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProviderName

func (o *ActivityExtra) SetProviderName(v string)

SetProviderName sets ProviderName field to given value.

HasProviderName

func (o *ActivityExtra) HasProviderName() bool

HasProviderName returns a boolean if a field has been set.

GetValidatorPubkeys

func (o *ActivityExtra) GetValidatorPubkeys() []string

GetValidatorPubkeys returns the ValidatorPubkeys field if non-nil, zero value otherwise.

GetValidatorPubkeysOk

func (o *ActivityExtra) GetValidatorPubkeysOk() (*[]string, bool)

GetValidatorPubkeysOk returns a tuple with the ValidatorPubkeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValidatorPubkeys

func (o *ActivityExtra) SetValidatorPubkeys(v []string)

SetValidatorPubkeys sets ValidatorPubkeys field to given value.

HasValidatorPubkeys

func (o *ActivityExtra) HasValidatorPubkeys() bool

HasValidatorPubkeys returns a boolean if a field has been set.

GetTimelock

func (o *ActivityExtra) GetTimelock() int32

GetTimelock returns the Timelock field if non-nil, zero value otherwise.

GetTimelockOk

func (o *ActivityExtra) GetTimelockOk() (*int32, bool)

GetTimelockOk returns a tuple with the Timelock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTimelock

func (o *ActivityExtra) SetTimelock(v int32)

SetTimelock sets Timelock field to given value.

HasTimelock

func (o *ActivityExtra) HasTimelock() bool

HasTimelock returns a boolean if a field has been set.

GetChangeAddress

func (o *ActivityExtra) GetChangeAddress() string

GetChangeAddress returns the ChangeAddress field if non-nil, zero value otherwise.

GetChangeAddressOk

func (o *ActivityExtra) GetChangeAddressOk() (*string, bool)

GetChangeAddressOk returns a tuple with the ChangeAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetChangeAddress

func (o *ActivityExtra) SetChangeAddress(v string)

SetChangeAddress sets ChangeAddress field to given value.

HasChangeAddress

func (o *ActivityExtra) HasChangeAddress() bool

HasChangeAddress returns a boolean if a field has been set.

GetValidatorAddress

func (o *ActivityExtra) GetValidatorAddress() string

GetValidatorAddress returns the ValidatorAddress field if non-nil, zero value otherwise.

GetValidatorAddressOk

func (o *ActivityExtra) GetValidatorAddressOk() (*string, bool)

GetValidatorAddressOk returns a tuple with the ValidatorAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValidatorAddress

func (o *ActivityExtra) SetValidatorAddress(v string)

SetValidatorAddress sets ValidatorAddress field to given value.

HasValidatorAddress

func (o *ActivityExtra) HasValidatorAddress() bool

HasValidatorAddress returns a boolean if a field has been set.

GetRewardAddress

func (o *ActivityExtra) GetRewardAddress() string

GetRewardAddress returns the RewardAddress field if non-nil, zero value otherwise.

GetRewardAddressOk

func (o *ActivityExtra) GetRewardAddressOk() (*string, bool)

GetRewardAddressOk returns a tuple with the RewardAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRewardAddress

func (o *ActivityExtra) SetRewardAddress(v string)

SetRewardAddress sets RewardAddress field to given value.

HasRewardAddress

func (o *ActivityExtra) HasRewardAddress() bool

HasRewardAddress returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]