Name | Type | Description | Notes |
---|---|---|---|
PoolType | StakingPoolType | ||
FinalityProviderPublicKey | string | The public key of the finality provider. | |
StakeBlockTime | int64 | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. | |
AutoBroadcast | Pointer to bool | Whether to automatically broadcast the transaction. The default value is `true`. - `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] |
ProviderName | string | The name of the provider. | |
Timelock | int32 | The Unix timestamp (in seconds) when the staking position will be unlocked and available for withdrawal. | |
ChangeAddress | Pointer to string | The change address on the Bitcoin chain. If not provided, the source wallet's address will be used as the change address. | [optional] |
ValidatorAddress | string | The validator's EVM address. | |
RewardAddress | string | The EVM address to receive staking rewards. |
func NewCreateStakeActivityExtra(poolType StakingPoolType, finalityProviderPublicKey string, stakeBlockTime int64, providerName string, timelock int32, validatorAddress string, rewardAddress string, ) *CreateStakeActivityExtra
NewCreateStakeActivityExtra instantiates a new CreateStakeActivityExtra 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
func NewCreateStakeActivityExtraWithDefaults() *CreateStakeActivityExtra
NewCreateStakeActivityExtraWithDefaults instantiates a new CreateStakeActivityExtra 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
func (o *CreateStakeActivityExtra) GetPoolType() StakingPoolType
GetPoolType returns the PoolType field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetPoolType(v StakingPoolType)
SetPoolType sets PoolType field to given value.
func (o *CreateStakeActivityExtra) GetFinalityProviderPublicKey() string
GetFinalityProviderPublicKey returns the FinalityProviderPublicKey field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetFinalityProviderPublicKey(v string)
SetFinalityProviderPublicKey sets FinalityProviderPublicKey field to given value.
func (o *CreateStakeActivityExtra) GetStakeBlockTime() int64
GetStakeBlockTime returns the StakeBlockTime field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetStakeBlockTime(v int64)
SetStakeBlockTime sets StakeBlockTime field to given value.
func (o *CreateStakeActivityExtra) GetAutoBroadcast() bool
GetAutoBroadcast returns the AutoBroadcast field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetAutoBroadcast(v bool)
SetAutoBroadcast sets AutoBroadcast field to given value.
func (o *CreateStakeActivityExtra) HasAutoBroadcast() bool
HasAutoBroadcast returns a boolean if a field has been set.
func (o *CreateStakeActivityExtra) GetProviderName() string
GetProviderName returns the ProviderName field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetProviderName(v string)
SetProviderName sets ProviderName field to given value.
func (o *CreateStakeActivityExtra) GetTimelock() int32
GetTimelock returns the Timelock field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetTimelock(v int32)
SetTimelock sets Timelock field to given value.
func (o *CreateStakeActivityExtra) GetChangeAddress() string
GetChangeAddress returns the ChangeAddress field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetChangeAddress(v string)
SetChangeAddress sets ChangeAddress field to given value.
func (o *CreateStakeActivityExtra) HasChangeAddress() bool
HasChangeAddress returns a boolean if a field has been set.
func (o *CreateStakeActivityExtra) GetValidatorAddress() string
GetValidatorAddress returns the ValidatorAddress field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetValidatorAddress(v string)
SetValidatorAddress sets ValidatorAddress field to given value.
func (o *CreateStakeActivityExtra) GetRewardAddress() string
GetRewardAddress returns the RewardAddress field if non-nil, zero value otherwise.
func (o *CreateStakeActivityExtra) 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.
func (o *CreateStakeActivityExtra) SetRewardAddress(v string)
SetRewardAddress sets RewardAddress field to given value.