Skip to main content

terra_sdk.core.distribution.msgs

Distribution module message types.

MsgSetWithdrawAddress Objects


_2
@attr.s
_2
class MsgSetWithdrawAddress(Msg)

Modify Withdraw Address of a delegator.

Arguments:

  • delegator_address - delegator
  • withdraw_address - new withdraw address

MsgWithdrawDelegatorReward Objects


_2
@attr.s
_2
class MsgWithdrawDelegatorReward(Msg)

Withdraw rewards for a delegation specified by a (delegator, validator) pair.

Arguments:

  • delegator_address - delegator
  • validator_address - validator

MsgWithdrawValidatorCommission Objects


_2
@attr.s
_2
class MsgWithdrawValidatorCommission(Msg)

Withdraw rewards accrued for a validator gained through commissions.

Arguments:

  • validator_address - validator operator address

MsgFundCommunityPool Objects


_2
@attr.s
_2
class MsgFundCommunityPool(Msg)

Deposit assets to the Community Pool.

Arguments:

  • depositor AccAddress - sender
  • amount Coins - amount to fund community pool with