Documentation
¶
Index ¶
- Constants
- Variables
- type Action
- func (x *Action) ClearBridgeLock()
- func (x *Action) ClearBridgeSudoChange()
- func (x *Action) ClearBridgeUnlock()
- func (x *Action) ClearFeeAssetChange()
- func (x *Action) ClearFeeChange()
- func (x *Action) ClearIbc()
- func (x *Action) ClearIbcRelayerChange()
- func (x *Action) ClearIbcSudoChange()
- func (x *Action) ClearIcs20Withdrawal()
- func (x *Action) ClearInitBridgeAccount()
- func (x *Action) ClearRollupDataSubmission()
- func (x *Action) ClearSudoAddressChange()
- func (x *Action) ClearTransfer()
- func (x *Action) ClearValidatorUpdate()
- func (x *Action) ClearValue()
- func (x *Action) GetBridgeLock() *BridgeLock
- func (x *Action) GetBridgeSudoChange() *BridgeSudoChange
- func (x *Action) GetBridgeUnlock() *BridgeUnlock
- func (x *Action) GetFeeAssetChange() *FeeAssetChange
- func (x *Action) GetFeeChange() *FeeChange
- func (x *Action) GetIbc() *v1.IbcRelay
- func (x *Action) GetIbcRelayerChange() *IbcRelayerChange
- func (x *Action) GetIbcSudoChange() *IbcSudoChange
- func (x *Action) GetIcs20Withdrawal() *Ics20Withdrawal
- func (x *Action) GetInitBridgeAccount() *InitBridgeAccount
- func (x *Action) GetRollupDataSubmission() *RollupDataSubmission
- func (x *Action) GetSudoAddressChange() *SudoAddressChange
- func (x *Action) GetTransfer() *Transfer
- func (x *Action) GetValidatorUpdate() *abci.ValidatorUpdate
- func (x *Action) GetValue() isAction_Value
- func (x *Action) HasBridgeLock() bool
- func (x *Action) HasBridgeSudoChange() bool
- func (x *Action) HasBridgeUnlock() bool
- func (x *Action) HasFeeAssetChange() bool
- func (x *Action) HasFeeChange() bool
- func (x *Action) HasIbc() bool
- func (x *Action) HasIbcRelayerChange() bool
- func (x *Action) HasIbcSudoChange() bool
- func (x *Action) HasIcs20Withdrawal() bool
- func (x *Action) HasInitBridgeAccount() bool
- func (x *Action) HasRollupDataSubmission() bool
- func (x *Action) HasSudoAddressChange() bool
- func (x *Action) HasTransfer() bool
- func (x *Action) HasValidatorUpdate() bool
- func (x *Action) HasValue() bool
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) SetBridgeLock(v *BridgeLock)
- func (x *Action) SetBridgeSudoChange(v *BridgeSudoChange)
- func (x *Action) SetBridgeUnlock(v *BridgeUnlock)
- func (x *Action) SetFeeAssetChange(v *FeeAssetChange)
- func (x *Action) SetFeeChange(v *FeeChange)
- func (x *Action) SetIbc(v *v1.IbcRelay)
- func (x *Action) SetIbcRelayerChange(v *IbcRelayerChange)
- func (x *Action) SetIbcSudoChange(v *IbcSudoChange)
- func (x *Action) SetIcs20Withdrawal(v *Ics20Withdrawal)
- func (x *Action) SetInitBridgeAccount(v *InitBridgeAccount)
- func (x *Action) SetRollupDataSubmission(v *RollupDataSubmission)
- func (x *Action) SetSudoAddressChange(v *SudoAddressChange)
- func (x *Action) SetTransfer(v *Transfer)
- func (x *Action) SetValidatorUpdate(v *abci.ValidatorUpdate)
- func (x *Action) String() string
- func (x *Action) WhichValue() case_Action_Value
- type Action_BridgeLock
- type Action_BridgeSudoChange
- type Action_BridgeUnlock
- type Action_FeeAssetChange
- type Action_FeeChange
- type Action_Ibc
- type Action_IbcRelayerChange
- type Action_IbcSudoChange
- type Action_Ics20Withdrawal
- type Action_InitBridgeAccount
- type Action_RollupDataSubmission
- type Action_SudoAddressChange
- type Action_Transfer
- type Action_ValidatorUpdate
- type Action_builder
- type BridgeLock
- func (x *BridgeLock) ClearAmount()
- func (x *BridgeLock) ClearTo()
- func (x *BridgeLock) GetAmount() *v11.Uint128
- func (x *BridgeLock) GetAsset() string
- func (x *BridgeLock) GetDestinationChainAddress() string
- func (x *BridgeLock) GetFeeAsset() string
- func (x *BridgeLock) GetTo() *v11.Address
- func (x *BridgeLock) HasAmount() bool
- func (x *BridgeLock) HasTo() bool
- func (*BridgeLock) ProtoMessage()
- func (x *BridgeLock) ProtoReflect() protoreflect.Message
- func (x *BridgeLock) Reset()
- func (x *BridgeLock) SetAmount(v *v11.Uint128)
- func (x *BridgeLock) SetAsset(v string)
- func (x *BridgeLock) SetDestinationChainAddress(v string)
- func (x *BridgeLock) SetFeeAsset(v string)
- func (x *BridgeLock) SetTo(v *v11.Address)
- func (x *BridgeLock) String() string
- type BridgeLock_builder
- type BridgeSudoChange
- func (x *BridgeSudoChange) ClearBridgeAddress()
- func (x *BridgeSudoChange) ClearNewSudoAddress()
- func (x *BridgeSudoChange) ClearNewWithdrawerAddress()
- func (x *BridgeSudoChange) GetBridgeAddress() *v11.Address
- func (x *BridgeSudoChange) GetFeeAsset() string
- func (x *BridgeSudoChange) GetNewSudoAddress() *v11.Address
- func (x *BridgeSudoChange) GetNewWithdrawerAddress() *v11.Address
- func (x *BridgeSudoChange) HasBridgeAddress() bool
- func (x *BridgeSudoChange) HasNewSudoAddress() bool
- func (x *BridgeSudoChange) HasNewWithdrawerAddress() bool
- func (*BridgeSudoChange) ProtoMessage()
- func (x *BridgeSudoChange) ProtoReflect() protoreflect.Message
- func (x *BridgeSudoChange) Reset()
- func (x *BridgeSudoChange) SetBridgeAddress(v *v11.Address)
- func (x *BridgeSudoChange) SetFeeAsset(v string)
- func (x *BridgeSudoChange) SetNewSudoAddress(v *v11.Address)
- func (x *BridgeSudoChange) SetNewWithdrawerAddress(v *v11.Address)
- func (x *BridgeSudoChange) String() string
- type BridgeSudoChange_builder
- type BridgeUnlock
- func (x *BridgeUnlock) ClearAmount()
- func (x *BridgeUnlock) ClearBridgeAddress()
- func (x *BridgeUnlock) ClearTo()
- func (x *BridgeUnlock) GetAmount() *v11.Uint128
- func (x *BridgeUnlock) GetBridgeAddress() *v11.Address
- func (x *BridgeUnlock) GetFeeAsset() string
- func (x *BridgeUnlock) GetMemo() string
- func (x *BridgeUnlock) GetRollupBlockNumber() uint64
- func (x *BridgeUnlock) GetRollupWithdrawalEventId() string
- func (x *BridgeUnlock) GetTo() *v11.Address
- func (x *BridgeUnlock) HasAmount() bool
- func (x *BridgeUnlock) HasBridgeAddress() bool
- func (x *BridgeUnlock) HasTo() bool
- func (*BridgeUnlock) ProtoMessage()
- func (x *BridgeUnlock) ProtoReflect() protoreflect.Message
- func (x *BridgeUnlock) Reset()
- func (x *BridgeUnlock) SetAmount(v *v11.Uint128)
- func (x *BridgeUnlock) SetBridgeAddress(v *v11.Address)
- func (x *BridgeUnlock) SetFeeAsset(v string)
- func (x *BridgeUnlock) SetMemo(v string)
- func (x *BridgeUnlock) SetRollupBlockNumber(v uint64)
- func (x *BridgeUnlock) SetRollupWithdrawalEventId(v string)
- func (x *BridgeUnlock) SetTo(v *v11.Address)
- func (x *BridgeUnlock) String() string
- type BridgeUnlock_builder
- type FeeAssetChange
- func (x *FeeAssetChange) ClearAddition()
- func (x *FeeAssetChange) ClearRemoval()
- func (x *FeeAssetChange) ClearValue()
- func (x *FeeAssetChange) GetAddition() string
- func (x *FeeAssetChange) GetRemoval() string
- func (x *FeeAssetChange) GetValue() isFeeAssetChange_Value
- func (x *FeeAssetChange) HasAddition() bool
- func (x *FeeAssetChange) HasRemoval() bool
- func (x *FeeAssetChange) HasValue() bool
- func (*FeeAssetChange) ProtoMessage()
- func (x *FeeAssetChange) ProtoReflect() protoreflect.Message
- func (x *FeeAssetChange) Reset()
- func (x *FeeAssetChange) SetAddition(v string)
- func (x *FeeAssetChange) SetRemoval(v string)
- func (x *FeeAssetChange) String() string
- func (x *FeeAssetChange) WhichValue() case_FeeAssetChange_Value
- type FeeAssetChange_Addition
- type FeeAssetChange_Removal
- type FeeAssetChange_builder
- type FeeChange
- func (x *FeeChange) ClearBridgeLock()
- func (x *FeeChange) ClearBridgeSudoChange()
- func (x *FeeChange) ClearBridgeUnlock()
- func (x *FeeChange) ClearFeeAssetChange()
- func (x *FeeChange) ClearFeeChange()
- func (x *FeeChange) ClearFeeComponents()
- func (x *FeeChange) ClearIbcRelay()
- func (x *FeeChange) ClearIbcRelayerChange()
- func (x *FeeChange) ClearIbcSudoChange()
- func (x *FeeChange) ClearIcs20Withdrawal()
- func (x *FeeChange) ClearInitBridgeAccount()
- func (x *FeeChange) ClearRollupDataSubmission()
- func (x *FeeChange) ClearSudoAddressChange()
- func (x *FeeChange) ClearTransfer()
- func (x *FeeChange) ClearValidatorUpdate()
- func (x *FeeChange) GetBridgeLock() *v1alpha1.BridgeLockFeeComponents
- func (x *FeeChange) GetBridgeSudoChange() *v1alpha1.BridgeSudoChangeFeeComponents
- func (x *FeeChange) GetBridgeUnlock() *v1alpha1.BridgeUnlockFeeComponents
- func (x *FeeChange) GetFeeAssetChange() *v1alpha1.FeeAssetChangeFeeComponents
- func (x *FeeChange) GetFeeChange() *v1alpha1.FeeChangeFeeComponents
- func (x *FeeChange) GetFeeComponents() isFeeChange_FeeComponents
- func (x *FeeChange) GetIbcRelay() *v1alpha1.IbcRelayFeeComponents
- func (x *FeeChange) GetIbcRelayerChange() *v1alpha1.IbcRelayerChangeFeeComponents
- func (x *FeeChange) GetIbcSudoChange() *v1alpha1.IbcSudoChangeFeeComponents
- func (x *FeeChange) GetIcs20Withdrawal() *v1alpha1.Ics20WithdrawalFeeComponents
- func (x *FeeChange) GetInitBridgeAccount() *v1alpha1.InitBridgeAccountFeeComponents
- func (x *FeeChange) GetRollupDataSubmission() *v1alpha1.RollupDataSubmissionFeeComponents
- func (x *FeeChange) GetSudoAddressChange() *v1alpha1.SudoAddressChangeFeeComponents
- func (x *FeeChange) GetTransfer() *v1alpha1.TransferFeeComponents
- func (x *FeeChange) GetValidatorUpdate() *v1alpha1.ValidatorUpdateFeeComponents
- func (x *FeeChange) HasBridgeLock() bool
- func (x *FeeChange) HasBridgeSudoChange() bool
- func (x *FeeChange) HasBridgeUnlock() bool
- func (x *FeeChange) HasFeeAssetChange() bool
- func (x *FeeChange) HasFeeChange() bool
- func (x *FeeChange) HasFeeComponents() bool
- func (x *FeeChange) HasIbcRelay() bool
- func (x *FeeChange) HasIbcRelayerChange() bool
- func (x *FeeChange) HasIbcSudoChange() bool
- func (x *FeeChange) HasIcs20Withdrawal() bool
- func (x *FeeChange) HasInitBridgeAccount() bool
- func (x *FeeChange) HasRollupDataSubmission() bool
- func (x *FeeChange) HasSudoAddressChange() bool
- func (x *FeeChange) HasTransfer() bool
- func (x *FeeChange) HasValidatorUpdate() bool
- func (*FeeChange) ProtoMessage()
- func (x *FeeChange) ProtoReflect() protoreflect.Message
- func (x *FeeChange) Reset()
- func (x *FeeChange) SetBridgeLock(v *v1alpha1.BridgeLockFeeComponents)
- func (x *FeeChange) SetBridgeSudoChange(v *v1alpha1.BridgeSudoChangeFeeComponents)
- func (x *FeeChange) SetBridgeUnlock(v *v1alpha1.BridgeUnlockFeeComponents)
- func (x *FeeChange) SetFeeAssetChange(v *v1alpha1.FeeAssetChangeFeeComponents)
- func (x *FeeChange) SetFeeChange(v *v1alpha1.FeeChangeFeeComponents)
- func (x *FeeChange) SetIbcRelay(v *v1alpha1.IbcRelayFeeComponents)
- func (x *FeeChange) SetIbcRelayerChange(v *v1alpha1.IbcRelayerChangeFeeComponents)
- func (x *FeeChange) SetIbcSudoChange(v *v1alpha1.IbcSudoChangeFeeComponents)
- func (x *FeeChange) SetIcs20Withdrawal(v *v1alpha1.Ics20WithdrawalFeeComponents)
- func (x *FeeChange) SetInitBridgeAccount(v *v1alpha1.InitBridgeAccountFeeComponents)
- func (x *FeeChange) SetRollupDataSubmission(v *v1alpha1.RollupDataSubmissionFeeComponents)
- func (x *FeeChange) SetSudoAddressChange(v *v1alpha1.SudoAddressChangeFeeComponents)
- func (x *FeeChange) SetTransfer(v *v1alpha1.TransferFeeComponents)
- func (x *FeeChange) SetValidatorUpdate(v *v1alpha1.ValidatorUpdateFeeComponents)
- func (x *FeeChange) String() string
- func (x *FeeChange) WhichFeeComponents() case_FeeChange_FeeComponents
- type FeeChange_BridgeLock
- type FeeChange_BridgeSudoChange
- type FeeChange_BridgeUnlock
- type FeeChange_FeeAssetChange
- type FeeChange_FeeChange
- type FeeChange_IbcRelay
- type FeeChange_IbcRelayerChange
- type FeeChange_IbcSudoChange
- type FeeChange_Ics20Withdrawal
- type FeeChange_InitBridgeAccount
- type FeeChange_RollupDataSubmission
- type FeeChange_SudoAddressChange
- type FeeChange_Transfer
- type FeeChange_ValidatorUpdate
- type FeeChange_builder
- type IbcHeight
- func (x *IbcHeight) GetRevisionHeight() uint64
- func (x *IbcHeight) GetRevisionNumber() uint64
- func (*IbcHeight) ProtoMessage()
- func (x *IbcHeight) ProtoReflect() protoreflect.Message
- func (x *IbcHeight) Reset()
- func (x *IbcHeight) SetRevisionHeight(v uint64)
- func (x *IbcHeight) SetRevisionNumber(v uint64)
- func (x *IbcHeight) String() string
- type IbcHeight_builder
- type IbcRelayerChange
- func (x *IbcRelayerChange) ClearAddition()
- func (x *IbcRelayerChange) ClearRemoval()
- func (x *IbcRelayerChange) ClearValue()
- func (x *IbcRelayerChange) GetAddition() *v11.Address
- func (x *IbcRelayerChange) GetRemoval() *v11.Address
- func (x *IbcRelayerChange) GetValue() isIbcRelayerChange_Value
- func (x *IbcRelayerChange) HasAddition() bool
- func (x *IbcRelayerChange) HasRemoval() bool
- func (x *IbcRelayerChange) HasValue() bool
- func (*IbcRelayerChange) ProtoMessage()
- func (x *IbcRelayerChange) ProtoReflect() protoreflect.Message
- func (x *IbcRelayerChange) Reset()
- func (x *IbcRelayerChange) SetAddition(v *v11.Address)
- func (x *IbcRelayerChange) SetRemoval(v *v11.Address)
- func (x *IbcRelayerChange) String() string
- func (x *IbcRelayerChange) WhichValue() case_IbcRelayerChange_Value
- type IbcRelayerChange_Addition
- type IbcRelayerChange_Removal
- type IbcRelayerChange_builder
- type IbcSudoChange
- func (x *IbcSudoChange) ClearNewAddress()
- func (x *IbcSudoChange) GetNewAddress() *v11.Address
- func (x *IbcSudoChange) HasNewAddress() bool
- func (*IbcSudoChange) ProtoMessage()
- func (x *IbcSudoChange) ProtoReflect() protoreflect.Message
- func (x *IbcSudoChange) Reset()
- func (x *IbcSudoChange) SetNewAddress(v *v11.Address)
- func (x *IbcSudoChange) String() string
- type IbcSudoChange_builder
- type Ics20Withdrawal
- func (x *Ics20Withdrawal) ClearAmount()
- func (x *Ics20Withdrawal) ClearBridgeAddress()
- func (x *Ics20Withdrawal) ClearReturnAddress()
- func (x *Ics20Withdrawal) ClearTimeoutHeight()
- func (x *Ics20Withdrawal) GetAmount() *v11.Uint128
- func (x *Ics20Withdrawal) GetBridgeAddress() *v11.Address
- func (x *Ics20Withdrawal) GetDenom() string
- func (x *Ics20Withdrawal) GetDestinationChainAddress() string
- func (x *Ics20Withdrawal) GetFeeAsset() string
- func (x *Ics20Withdrawal) GetMemo() string
- func (x *Ics20Withdrawal) GetReturnAddress() *v11.Address
- func (x *Ics20Withdrawal) GetSourceChannel() string
- func (x *Ics20Withdrawal) GetTimeoutHeight() *IbcHeight
- func (x *Ics20Withdrawal) GetTimeoutTime() uint64
- func (x *Ics20Withdrawal) GetUseCompatAddress() bool
- func (x *Ics20Withdrawal) HasAmount() bool
- func (x *Ics20Withdrawal) HasBridgeAddress() bool
- func (x *Ics20Withdrawal) HasReturnAddress() bool
- func (x *Ics20Withdrawal) HasTimeoutHeight() bool
- func (*Ics20Withdrawal) ProtoMessage()
- func (x *Ics20Withdrawal) ProtoReflect() protoreflect.Message
- func (x *Ics20Withdrawal) Reset()
- func (x *Ics20Withdrawal) SetAmount(v *v11.Uint128)
- func (x *Ics20Withdrawal) SetBridgeAddress(v *v11.Address)
- func (x *Ics20Withdrawal) SetDenom(v string)
- func (x *Ics20Withdrawal) SetDestinationChainAddress(v string)
- func (x *Ics20Withdrawal) SetFeeAsset(v string)
- func (x *Ics20Withdrawal) SetMemo(v string)
- func (x *Ics20Withdrawal) SetReturnAddress(v *v11.Address)
- func (x *Ics20Withdrawal) SetSourceChannel(v string)
- func (x *Ics20Withdrawal) SetTimeoutHeight(v *IbcHeight)
- func (x *Ics20Withdrawal) SetTimeoutTime(v uint64)
- func (x *Ics20Withdrawal) SetUseCompatAddress(v bool)
- func (x *Ics20Withdrawal) String() string
- type Ics20Withdrawal_builder
- type InitBridgeAccount
- func (x *InitBridgeAccount) ClearRollupId()
- func (x *InitBridgeAccount) ClearSudoAddress()
- func (x *InitBridgeAccount) ClearWithdrawerAddress()
- func (x *InitBridgeAccount) GetAsset() string
- func (x *InitBridgeAccount) GetFeeAsset() string
- func (x *InitBridgeAccount) GetRollupId() *v11.RollupId
- func (x *InitBridgeAccount) GetSudoAddress() *v11.Address
- func (x *InitBridgeAccount) GetWithdrawerAddress() *v11.Address
- func (x *InitBridgeAccount) HasRollupId() bool
- func (x *InitBridgeAccount) HasSudoAddress() bool
- func (x *InitBridgeAccount) HasWithdrawerAddress() bool
- func (*InitBridgeAccount) ProtoMessage()
- func (x *InitBridgeAccount) ProtoReflect() protoreflect.Message
- func (x *InitBridgeAccount) Reset()
- func (x *InitBridgeAccount) SetAsset(v string)
- func (x *InitBridgeAccount) SetFeeAsset(v string)
- func (x *InitBridgeAccount) SetRollupId(v *v11.RollupId)
- func (x *InitBridgeAccount) SetSudoAddress(v *v11.Address)
- func (x *InitBridgeAccount) SetWithdrawerAddress(v *v11.Address)
- func (x *InitBridgeAccount) String() string
- type InitBridgeAccount_builder
- type RollupDataSubmission
- func (x *RollupDataSubmission) ClearRollupId()
- func (x *RollupDataSubmission) GetData() []byte
- func (x *RollupDataSubmission) GetFeeAsset() string
- func (x *RollupDataSubmission) GetRollupId() *v11.RollupId
- func (x *RollupDataSubmission) HasRollupId() bool
- func (*RollupDataSubmission) ProtoMessage()
- func (x *RollupDataSubmission) ProtoReflect() protoreflect.Message
- func (x *RollupDataSubmission) Reset()
- func (x *RollupDataSubmission) SetData(v []byte)
- func (x *RollupDataSubmission) SetFeeAsset(v string)
- func (x *RollupDataSubmission) SetRollupId(v *v11.RollupId)
- func (x *RollupDataSubmission) String() string
- type RollupDataSubmission_builder
- type SudoAddressChange
- func (x *SudoAddressChange) ClearNewAddress()
- func (x *SudoAddressChange) GetNewAddress() *v11.Address
- func (x *SudoAddressChange) HasNewAddress() bool
- func (*SudoAddressChange) ProtoMessage()
- func (x *SudoAddressChange) ProtoReflect() protoreflect.Message
- func (x *SudoAddressChange) Reset()
- func (x *SudoAddressChange) SetNewAddress(v *v11.Address)
- func (x *SudoAddressChange) String() string
- type SudoAddressChange_builder
- type Transaction
- func (x *Transaction) ClearBody()
- func (x *Transaction) GetBody() *anypb.Any
- func (x *Transaction) GetPublicKey() []byte
- func (x *Transaction) GetSignature() []byte
- func (x *Transaction) HasBody() bool
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) SetBody(v *anypb.Any)
- func (x *Transaction) SetPublicKey(v []byte)
- func (x *Transaction) SetSignature(v []byte)
- func (x *Transaction) String() string
- type TransactionBody
- func (x *TransactionBody) ClearParams()
- func (x *TransactionBody) GetActions() []*Action
- func (x *TransactionBody) GetParams() *TransactionParams
- func (x *TransactionBody) HasParams() bool
- func (*TransactionBody) ProtoMessage()
- func (x *TransactionBody) ProtoReflect() protoreflect.Message
- func (x *TransactionBody) Reset()
- func (x *TransactionBody) SetActions(v []*Action)
- func (x *TransactionBody) SetParams(v *TransactionParams)
- func (x *TransactionBody) String() string
- type TransactionBody_builder
- type TransactionParams
- func (x *TransactionParams) GetChainId() string
- func (x *TransactionParams) GetNonce() uint32
- func (*TransactionParams) ProtoMessage()
- func (x *TransactionParams) ProtoReflect() protoreflect.Message
- func (x *TransactionParams) Reset()
- func (x *TransactionParams) SetChainId(v string)
- func (x *TransactionParams) SetNonce(v uint32)
- func (x *TransactionParams) String() string
- type TransactionParams_builder
- type Transaction_builder
- type Transfer
- func (x *Transfer) ClearAmount()
- func (x *Transfer) ClearTo()
- func (x *Transfer) GetAmount() *v11.Uint128
- func (x *Transfer) GetAsset() string
- func (x *Transfer) GetFeeAsset() string
- func (x *Transfer) GetTo() *v11.Address
- func (x *Transfer) HasAmount() bool
- func (x *Transfer) HasTo() bool
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) SetAmount(v *v11.Uint128)
- func (x *Transfer) SetAsset(v string)
- func (x *Transfer) SetFeeAsset(v string)
- func (x *Transfer) SetTo(v *v11.Address)
- func (x *Transfer) String() string
- type Transfer_builder
Constants ¶
const Action_BridgeLock_case case_Action_Value = 12
const Action_BridgeSudoChange_case case_Action_Value = 14
const Action_BridgeUnlock_case case_Action_Value = 13
const Action_FeeAssetChange_case case_Action_Value = 53
const Action_FeeChange_case case_Action_Value = 55
const Action_IbcRelayerChange_case case_Action_Value = 52
const Action_IbcSudoChange_case case_Action_Value = 56
const Action_Ibc_case case_Action_Value = 21
const Action_Ics20Withdrawal_case case_Action_Value = 22
const Action_InitBridgeAccount_case case_Action_Value = 11
const Action_RollupDataSubmission_case case_Action_Value = 2
const Action_SudoAddressChange_case case_Action_Value = 50
const Action_Transfer_case case_Action_Value = 1
const Action_ValidatorUpdate_case case_Action_Value = 51
const Action_Value_not_set_case case_Action_Value = 0
const FeeAssetChange_Addition_case case_FeeAssetChange_Value = 1
const FeeAssetChange_Removal_case case_FeeAssetChange_Value = 2
const FeeAssetChange_Value_not_set_case case_FeeAssetChange_Value = 0
const FeeChange_BridgeLock_case case_FeeChange_FeeComponents = 1
const FeeChange_BridgeSudoChange_case case_FeeChange_FeeComponents = 2
const FeeChange_BridgeUnlock_case case_FeeChange_FeeComponents = 3
const FeeChange_FeeAssetChange_case case_FeeChange_FeeComponents = 4
const FeeChange_FeeChange_case case_FeeChange_FeeComponents = 5
const FeeChange_FeeComponents_not_set_case case_FeeChange_FeeComponents = 0
const FeeChange_IbcRelay_case case_FeeChange_FeeComponents = 7
const FeeChange_IbcRelayerChange_case case_FeeChange_FeeComponents = 6
const FeeChange_IbcSudoChange_case case_FeeChange_FeeComponents = 8
const FeeChange_Ics20Withdrawal_case case_FeeChange_FeeComponents = 9
const FeeChange_InitBridgeAccount_case case_FeeChange_FeeComponents = 10
const FeeChange_RollupDataSubmission_case case_FeeChange_FeeComponents = 11
const FeeChange_SudoAddressChange_case case_FeeChange_FeeComponents = 12
const FeeChange_Transfer_case case_FeeChange_FeeComponents = 13
const FeeChange_ValidatorUpdate_case case_FeeChange_FeeComponents = 14
const IbcRelayerChange_Addition_case case_IbcRelayerChange_Value = 1
const IbcRelayerChange_Removal_case case_IbcRelayerChange_Value = 2
const IbcRelayerChange_Value_not_set_case case_IbcRelayerChange_Value = 0
Variables ¶
var File_astria_protocol_transaction_v1alpha1_action_proto protoreflect.FileDescriptor
var File_astria_protocol_transaction_v1alpha1_transaction_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// Types that are valid to be assigned to Value:
//
// *Action_Transfer
// *Action_RollupDataSubmission
// *Action_InitBridgeAccount
// *Action_BridgeLock
// *Action_BridgeUnlock
// *Action_BridgeSudoChange
// *Action_Ibc
// *Action_Ics20Withdrawal
// *Action_SudoAddressChange
// *Action_ValidatorUpdate
// *Action_IbcRelayerChange
// *Action_FeeAssetChange
// *Action_FeeChange
// *Action_IbcSudoChange
Value isAction_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func (*Action) GetBridgeLock ¶
func (x *Action) GetBridgeLock() *BridgeLock
func (*Action) GetBridgeSudoChange ¶
func (x *Action) GetBridgeSudoChange() *BridgeSudoChange
func (*Action) GetBridgeUnlock ¶
func (x *Action) GetBridgeUnlock() *BridgeUnlock
func (*Action) GetFeeAssetChange ¶
func (x *Action) GetFeeAssetChange() *FeeAssetChange
func (*Action) GetIbcRelayerChange ¶
func (x *Action) GetIbcRelayerChange() *IbcRelayerChange
func (*Action) GetIbcSudoChange ¶
func (x *Action) GetIbcSudoChange() *IbcSudoChange
func (*Action) GetIcs20Withdrawal ¶
func (x *Action) GetIcs20Withdrawal() *Ics20Withdrawal
func (*Action) GetInitBridgeAccount ¶
func (x *Action) GetInitBridgeAccount() *InitBridgeAccount
func (*Action) GetRollupDataSubmission ¶
func (x *Action) GetRollupDataSubmission() *RollupDataSubmission
func (*Action) GetSudoAddressChange ¶
func (x *Action) GetSudoAddressChange() *SudoAddressChange
func (*Action) GetValidatorUpdate ¶
func (x *Action) GetValidatorUpdate() *abci.ValidatorUpdate
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
func (*Action) SetBridgeLock ¶
func (x *Action) SetBridgeLock(v *BridgeLock)
func (*Action) SetBridgeSudoChange ¶
func (x *Action) SetBridgeSudoChange(v *BridgeSudoChange)
func (*Action) SetBridgeUnlock ¶
func (x *Action) SetBridgeUnlock(v *BridgeUnlock)
func (*Action) SetFeeAssetChange ¶
func (x *Action) SetFeeAssetChange(v *FeeAssetChange)
func (*Action) SetIbcRelayerChange ¶
func (x *Action) SetIbcRelayerChange(v *IbcRelayerChange)
func (*Action) SetIbcSudoChange ¶
func (x *Action) SetIbcSudoChange(v *IbcSudoChange)
func (*Action) SetIcs20Withdrawal ¶
func (x *Action) SetIcs20Withdrawal(v *Ics20Withdrawal)
func (*Action) SetInitBridgeAccount ¶
func (x *Action) SetInitBridgeAccount(v *InitBridgeAccount)
func (*Action) SetRollupDataSubmission ¶
func (x *Action) SetRollupDataSubmission(v *RollupDataSubmission)
func (*Action) SetSudoAddressChange ¶
func (x *Action) SetSudoAddressChange(v *SudoAddressChange)
func (*Action) SetValidatorUpdate ¶
func (x *Action) SetValidatorUpdate(v *abci.ValidatorUpdate)
type Action_BridgeLock ¶
type Action_BridgeLock struct {
BridgeLock *BridgeLock `protobuf:"bytes,12,opt,name=bridge_lock,json=bridgeLock,proto3,oneof"`
}
type Action_BridgeSudoChange ¶
type Action_BridgeSudoChange struct {
BridgeSudoChange *BridgeSudoChange `protobuf:"bytes,14,opt,name=bridge_sudo_change,json=bridgeSudoChange,proto3,oneof"`
}
type Action_BridgeUnlock ¶
type Action_BridgeUnlock struct {
BridgeUnlock *BridgeUnlock `protobuf:"bytes,13,opt,name=bridge_unlock,json=bridgeUnlock,proto3,oneof"`
}
type Action_FeeAssetChange ¶
type Action_FeeAssetChange struct {
FeeAssetChange *FeeAssetChange `protobuf:"bytes,53,opt,name=fee_asset_change,json=feeAssetChange,proto3,oneof"`
}
type Action_FeeChange ¶
type Action_FeeChange struct {
FeeChange *FeeChange `protobuf:"bytes,55,opt,name=fee_change,json=feeChange,proto3,oneof"`
}
type Action_Ibc ¶
type Action_IbcRelayerChange ¶
type Action_IbcRelayerChange struct {
IbcRelayerChange *IbcRelayerChange `protobuf:"bytes,52,opt,name=ibc_relayer_change,json=ibcRelayerChange,proto3,oneof"`
}
type Action_IbcSudoChange ¶
type Action_IbcSudoChange struct {
IbcSudoChange *IbcSudoChange `protobuf:"bytes,56,opt,name=ibc_sudo_change,json=ibcSudoChange,proto3,oneof"`
}
type Action_Ics20Withdrawal ¶
type Action_Ics20Withdrawal struct {
Ics20Withdrawal *Ics20Withdrawal `protobuf:"bytes,22,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof"`
}
type Action_InitBridgeAccount ¶
type Action_InitBridgeAccount struct {
// Bridge actions are defined on 11-20
InitBridgeAccount *InitBridgeAccount `protobuf:"bytes,11,opt,name=init_bridge_account,json=initBridgeAccount,proto3,oneof"`
}
type Action_RollupDataSubmission ¶
type Action_RollupDataSubmission struct {
RollupDataSubmission *RollupDataSubmission `protobuf:"bytes,2,opt,name=rollup_data_submission,json=rollupDataSubmission,proto3,oneof"`
}
type Action_SudoAddressChange ¶
type Action_SudoAddressChange struct {
// POA sudo actions are defined on 50-60
SudoAddressChange *SudoAddressChange `protobuf:"bytes,50,opt,name=sudo_address_change,json=sudoAddressChange,proto3,oneof"`
}
type Action_Transfer ¶
type Action_Transfer struct {
// Core protocol actions are defined on 1-10
Transfer *Transfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type Action_ValidatorUpdate ¶
type Action_ValidatorUpdate struct {
ValidatorUpdate *abci.ValidatorUpdate `protobuf:"bytes,51,opt,name=validator_update,json=validatorUpdate,proto3,oneof"`
}
type Action_builder ¶
type Action_builder struct {
// Fields of oneof Value:
// Core protocol actions are defined on 1-10
Transfer *Transfer
RollupDataSubmission *RollupDataSubmission
// Bridge actions are defined on 11-20
InitBridgeAccount *InitBridgeAccount
BridgeLock *BridgeLock
BridgeUnlock *BridgeUnlock
BridgeSudoChange *BridgeSudoChange
// IBC user actions are defined on 21-30
Ibc *v1.IbcRelay
Ics20Withdrawal *Ics20Withdrawal
// POA sudo actions are defined on 50-60
SudoAddressChange *SudoAddressChange
ValidatorUpdate *abci.ValidatorUpdate
IbcRelayerChange *IbcRelayerChange
FeeAssetChange *FeeAssetChange
FeeChange *FeeChange
IbcSudoChange *IbcSudoChange
// contains filtered or unexported fields
}
func (Action_builder) Build ¶
func (b0 Action_builder) Build() *Action
type BridgeLock ¶
type BridgeLock struct {
// the address of the bridge account to transfer to
To *v11.Address `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
// the amount to transfer
Amount *v11.Uint128 `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
// the asset to be transferred
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,4,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// the address on the destination chain which
// will receive the bridged funds
DestinationChainAddress string `` /* 132-byte string literal not displayed */
// contains filtered or unexported fields
}
`BridgeLock` represents a transaction that transfers funds from a sequencer account to a bridge account.
It's the same as a `Transfer` but with the added `destination_chain_address` field.
func (*BridgeLock) ClearAmount ¶
func (x *BridgeLock) ClearAmount()
func (*BridgeLock) ClearTo ¶
func (x *BridgeLock) ClearTo()
func (*BridgeLock) GetAmount ¶
func (x *BridgeLock) GetAmount() *v11.Uint128
func (*BridgeLock) GetAsset ¶
func (x *BridgeLock) GetAsset() string
func (*BridgeLock) GetDestinationChainAddress ¶
func (x *BridgeLock) GetDestinationChainAddress() string
func (*BridgeLock) GetFeeAsset ¶
func (x *BridgeLock) GetFeeAsset() string
func (*BridgeLock) GetTo ¶
func (x *BridgeLock) GetTo() *v11.Address
func (*BridgeLock) HasAmount ¶
func (x *BridgeLock) HasAmount() bool
func (*BridgeLock) HasTo ¶
func (x *BridgeLock) HasTo() bool
func (*BridgeLock) ProtoMessage ¶
func (*BridgeLock) ProtoMessage()
func (*BridgeLock) ProtoReflect ¶
func (x *BridgeLock) ProtoReflect() protoreflect.Message
func (*BridgeLock) Reset ¶
func (x *BridgeLock) Reset()
func (*BridgeLock) SetAmount ¶
func (x *BridgeLock) SetAmount(v *v11.Uint128)
func (*BridgeLock) SetAsset ¶
func (x *BridgeLock) SetAsset(v string)
func (*BridgeLock) SetDestinationChainAddress ¶
func (x *BridgeLock) SetDestinationChainAddress(v string)
func (*BridgeLock) SetFeeAsset ¶
func (x *BridgeLock) SetFeeAsset(v string)
func (*BridgeLock) SetTo ¶
func (x *BridgeLock) SetTo(v *v11.Address)
func (*BridgeLock) String ¶
func (x *BridgeLock) String() string
type BridgeLock_builder ¶
type BridgeLock_builder struct {
// the address of the bridge account to transfer to
To *v11.Address
// the amount to transfer
Amount *v11.Uint128
// the asset to be transferred
Asset string
// the asset used to pay the transaction fee
FeeAsset string
// the address on the destination chain which
// will receive the bridged funds
DestinationChainAddress string
// contains filtered or unexported fields
}
func (BridgeLock_builder) Build ¶
func (b0 BridgeLock_builder) Build() *BridgeLock
type BridgeSudoChange ¶
type BridgeSudoChange struct {
// the address of the bridge account to change the sudo or withdrawer addresses for
BridgeAddress *v11.Address `protobuf:"bytes,1,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// the new sudo address; unchanged if unset
NewSudoAddress *v11.Address `protobuf:"bytes,2,opt,name=new_sudo_address,json=newSudoAddress,proto3" json:"new_sudo_address,omitempty"`
// the new withdrawer address; unchanged if unset
NewWithdrawerAddress *v11.Address `protobuf:"bytes,3,opt,name=new_withdrawer_address,json=newWithdrawerAddress,proto3" json:"new_withdrawer_address,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,4,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// contains filtered or unexported fields
}
func (*BridgeSudoChange) ClearBridgeAddress ¶
func (x *BridgeSudoChange) ClearBridgeAddress()
func (*BridgeSudoChange) ClearNewSudoAddress ¶
func (x *BridgeSudoChange) ClearNewSudoAddress()
func (*BridgeSudoChange) ClearNewWithdrawerAddress ¶
func (x *BridgeSudoChange) ClearNewWithdrawerAddress()
func (*BridgeSudoChange) GetBridgeAddress ¶
func (x *BridgeSudoChange) GetBridgeAddress() *v11.Address
func (*BridgeSudoChange) GetFeeAsset ¶
func (x *BridgeSudoChange) GetFeeAsset() string
func (*BridgeSudoChange) GetNewSudoAddress ¶
func (x *BridgeSudoChange) GetNewSudoAddress() *v11.Address
func (*BridgeSudoChange) GetNewWithdrawerAddress ¶
func (x *BridgeSudoChange) GetNewWithdrawerAddress() *v11.Address
func (*BridgeSudoChange) HasBridgeAddress ¶
func (x *BridgeSudoChange) HasBridgeAddress() bool
func (*BridgeSudoChange) HasNewSudoAddress ¶
func (x *BridgeSudoChange) HasNewSudoAddress() bool
func (*BridgeSudoChange) HasNewWithdrawerAddress ¶
func (x *BridgeSudoChange) HasNewWithdrawerAddress() bool
func (*BridgeSudoChange) ProtoMessage ¶
func (*BridgeSudoChange) ProtoMessage()
func (*BridgeSudoChange) ProtoReflect ¶
func (x *BridgeSudoChange) ProtoReflect() protoreflect.Message
func (*BridgeSudoChange) Reset ¶
func (x *BridgeSudoChange) Reset()
func (*BridgeSudoChange) SetBridgeAddress ¶
func (x *BridgeSudoChange) SetBridgeAddress(v *v11.Address)
func (*BridgeSudoChange) SetFeeAsset ¶
func (x *BridgeSudoChange) SetFeeAsset(v string)
func (*BridgeSudoChange) SetNewSudoAddress ¶
func (x *BridgeSudoChange) SetNewSudoAddress(v *v11.Address)
func (*BridgeSudoChange) SetNewWithdrawerAddress ¶
func (x *BridgeSudoChange) SetNewWithdrawerAddress(v *v11.Address)
func (*BridgeSudoChange) String ¶
func (x *BridgeSudoChange) String() string
type BridgeSudoChange_builder ¶
type BridgeSudoChange_builder struct {
// the address of the bridge account to change the sudo or withdrawer addresses for
BridgeAddress *v11.Address
// the new sudo address; unchanged if unset
NewSudoAddress *v11.Address
// the new withdrawer address; unchanged if unset
NewWithdrawerAddress *v11.Address
// the asset used to pay the transaction fee
FeeAsset string
// contains filtered or unexported fields
}
func (BridgeSudoChange_builder) Build ¶
func (b0 BridgeSudoChange_builder) Build() *BridgeSudoChange
type BridgeUnlock ¶
type BridgeUnlock struct {
// the to withdraw funds to
To *v11.Address `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
// the amount to transfer
Amount *v11.Uint128 `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,3,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// The memo field can be used to provide unique identifying additional
// information about the bridge unlock transaction.
Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
// the address of the bridge account to transfer from
BridgeAddress *v11.Address `protobuf:"bytes,5,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// The block number on the rollup that triggered the transaction underlying
// this bridge unlock memo.
RollupBlockNumber uint64 `protobuf:"varint,6,opt,name=rollup_block_number,json=rollupBlockNumber,proto3" json:"rollup_block_number,omitempty"`
// An identifier of the original rollup event, such as a transaction hash which
// triggered a bridge unlock and is underlying event that led to this bridge
// unlock. This can be utilized for tracing from the bridge back to
// distinct rollup events.
//
// This field is of type `string` so that it can be formatted in the preferred
// format of the rollup when targeting plain text encoding.
RollupWithdrawalEventId string `` /* 134-byte string literal not displayed */
// contains filtered or unexported fields
}
`BridgeUnlock` represents a transaction that transfers funds from a bridge account to a sequencer account.
It's the same as a `Transfer` but without the `asset` field and with the `memo` field.
func (*BridgeUnlock) ClearAmount ¶
func (x *BridgeUnlock) ClearAmount()
func (*BridgeUnlock) ClearBridgeAddress ¶
func (x *BridgeUnlock) ClearBridgeAddress()
func (*BridgeUnlock) ClearTo ¶
func (x *BridgeUnlock) ClearTo()
func (*BridgeUnlock) GetAmount ¶
func (x *BridgeUnlock) GetAmount() *v11.Uint128
func (*BridgeUnlock) GetBridgeAddress ¶
func (x *BridgeUnlock) GetBridgeAddress() *v11.Address
func (*BridgeUnlock) GetFeeAsset ¶
func (x *BridgeUnlock) GetFeeAsset() string
func (*BridgeUnlock) GetMemo ¶
func (x *BridgeUnlock) GetMemo() string
func (*BridgeUnlock) GetRollupBlockNumber ¶
func (x *BridgeUnlock) GetRollupBlockNumber() uint64
func (*BridgeUnlock) GetRollupWithdrawalEventId ¶
func (x *BridgeUnlock) GetRollupWithdrawalEventId() string
func (*BridgeUnlock) GetTo ¶
func (x *BridgeUnlock) GetTo() *v11.Address
func (*BridgeUnlock) HasAmount ¶
func (x *BridgeUnlock) HasAmount() bool
func (*BridgeUnlock) HasBridgeAddress ¶
func (x *BridgeUnlock) HasBridgeAddress() bool
func (*BridgeUnlock) HasTo ¶
func (x *BridgeUnlock) HasTo() bool
func (*BridgeUnlock) ProtoMessage ¶
func (*BridgeUnlock) ProtoMessage()
func (*BridgeUnlock) ProtoReflect ¶
func (x *BridgeUnlock) ProtoReflect() protoreflect.Message
func (*BridgeUnlock) Reset ¶
func (x *BridgeUnlock) Reset()
func (*BridgeUnlock) SetAmount ¶
func (x *BridgeUnlock) SetAmount(v *v11.Uint128)
func (*BridgeUnlock) SetBridgeAddress ¶
func (x *BridgeUnlock) SetBridgeAddress(v *v11.Address)
func (*BridgeUnlock) SetFeeAsset ¶
func (x *BridgeUnlock) SetFeeAsset(v string)
func (*BridgeUnlock) SetMemo ¶
func (x *BridgeUnlock) SetMemo(v string)
func (*BridgeUnlock) SetRollupBlockNumber ¶
func (x *BridgeUnlock) SetRollupBlockNumber(v uint64)
func (*BridgeUnlock) SetRollupWithdrawalEventId ¶
func (x *BridgeUnlock) SetRollupWithdrawalEventId(v string)
func (*BridgeUnlock) SetTo ¶
func (x *BridgeUnlock) SetTo(v *v11.Address)
func (*BridgeUnlock) String ¶
func (x *BridgeUnlock) String() string
type BridgeUnlock_builder ¶
type BridgeUnlock_builder struct {
// the to withdraw funds to
To *v11.Address
// the amount to transfer
Amount *v11.Uint128
// the asset used to pay the transaction fee
FeeAsset string
// The memo field can be used to provide unique identifying additional
// information about the bridge unlock transaction.
Memo string
// the address of the bridge account to transfer from
BridgeAddress *v11.Address
// The block number on the rollup that triggered the transaction underlying
// this bridge unlock memo.
RollupBlockNumber uint64
// An identifier of the original rollup event, such as a transaction hash which
// triggered a bridge unlock and is underlying event that led to this bridge
// unlock. This can be utilized for tracing from the bridge back to
// distinct rollup events.
//
// This field is of type `string` so that it can be formatted in the preferred
// format of the rollup when targeting plain text encoding.
RollupWithdrawalEventId string
// contains filtered or unexported fields
}
func (BridgeUnlock_builder) Build ¶
func (b0 BridgeUnlock_builder) Build() *BridgeUnlock
type FeeAssetChange ¶
type FeeAssetChange struct {
// Types that are valid to be assigned to Value:
//
// *FeeAssetChange_Addition
// *FeeAssetChange_Removal
Value isFeeAssetChange_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
`FeeAssetChange` represents a transaction that adds or removes an asset for fee payments.
func (*FeeAssetChange) ClearAddition ¶
func (x *FeeAssetChange) ClearAddition()
func (*FeeAssetChange) ClearRemoval ¶
func (x *FeeAssetChange) ClearRemoval()
func (*FeeAssetChange) ClearValue ¶
func (x *FeeAssetChange) ClearValue()
func (*FeeAssetChange) GetAddition ¶
func (x *FeeAssetChange) GetAddition() string
func (*FeeAssetChange) GetRemoval ¶
func (x *FeeAssetChange) GetRemoval() string
func (*FeeAssetChange) GetValue ¶
func (x *FeeAssetChange) GetValue() isFeeAssetChange_Value
func (*FeeAssetChange) HasAddition ¶
func (x *FeeAssetChange) HasAddition() bool
func (*FeeAssetChange) HasRemoval ¶
func (x *FeeAssetChange) HasRemoval() bool
func (*FeeAssetChange) HasValue ¶
func (x *FeeAssetChange) HasValue() bool
func (*FeeAssetChange) ProtoMessage ¶
func (*FeeAssetChange) ProtoMessage()
func (*FeeAssetChange) ProtoReflect ¶
func (x *FeeAssetChange) ProtoReflect() protoreflect.Message
func (*FeeAssetChange) Reset ¶
func (x *FeeAssetChange) Reset()
func (*FeeAssetChange) SetAddition ¶
func (x *FeeAssetChange) SetAddition(v string)
func (*FeeAssetChange) SetRemoval ¶
func (x *FeeAssetChange) SetRemoval(v string)
func (*FeeAssetChange) String ¶
func (x *FeeAssetChange) String() string
func (*FeeAssetChange) WhichValue ¶
func (x *FeeAssetChange) WhichValue() case_FeeAssetChange_Value
type FeeAssetChange_Addition ¶
type FeeAssetChange_Addition struct {
Addition string `protobuf:"bytes,1,opt,name=addition,proto3,oneof"`
}
type FeeAssetChange_Removal ¶
type FeeAssetChange_Removal struct {
Removal string `protobuf:"bytes,2,opt,name=removal,proto3,oneof"`
}
type FeeAssetChange_builder ¶
type FeeAssetChange_builder struct {
// Fields of oneof Value:
Addition *string
Removal *string
// contains filtered or unexported fields
}
func (FeeAssetChange_builder) Build ¶
func (b0 FeeAssetChange_builder) Build() *FeeAssetChange
type FeeChange ¶
type FeeChange struct {
// the new fee components values
//
// Types that are valid to be assigned to FeeComponents:
//
// *FeeChange_BridgeLock
// *FeeChange_BridgeSudoChange
// *FeeChange_BridgeUnlock
// *FeeChange_FeeAssetChange
// *FeeChange_FeeChange
// *FeeChange_IbcRelay
// *FeeChange_IbcRelayerChange
// *FeeChange_IbcSudoChange
// *FeeChange_Ics20Withdrawal
// *FeeChange_InitBridgeAccount
// *FeeChange_RollupDataSubmission
// *FeeChange_SudoAddressChange
// *FeeChange_Transfer
// *FeeChange_ValidatorUpdate
FeeComponents isFeeChange_FeeComponents `protobuf_oneof:"fee_components"`
// contains filtered or unexported fields
}
func (*FeeChange) GetBridgeLock ¶
func (x *FeeChange) GetBridgeLock() *v1alpha1.BridgeLockFeeComponents
func (*FeeChange) GetBridgeSudoChange ¶
func (x *FeeChange) GetBridgeSudoChange() *v1alpha1.BridgeSudoChangeFeeComponents
func (*FeeChange) GetBridgeUnlock ¶
func (x *FeeChange) GetBridgeUnlock() *v1alpha1.BridgeUnlockFeeComponents
func (*FeeChange) GetFeeAssetChange ¶
func (x *FeeChange) GetFeeAssetChange() *v1alpha1.FeeAssetChangeFeeComponents
func (*FeeChange) GetFeeChange ¶
func (x *FeeChange) GetFeeChange() *v1alpha1.FeeChangeFeeComponents
func (*FeeChange) GetFeeComponents ¶
func (x *FeeChange) GetFeeComponents() isFeeChange_FeeComponents
func (*FeeChange) GetIbcRelay ¶
func (x *FeeChange) GetIbcRelay() *v1alpha1.IbcRelayFeeComponents
func (*FeeChange) GetIbcRelayerChange ¶
func (x *FeeChange) GetIbcRelayerChange() *v1alpha1.IbcRelayerChangeFeeComponents
func (*FeeChange) GetIbcSudoChange ¶
func (x *FeeChange) GetIbcSudoChange() *v1alpha1.IbcSudoChangeFeeComponents
func (*FeeChange) GetIcs20Withdrawal ¶
func (x *FeeChange) GetIcs20Withdrawal() *v1alpha1.Ics20WithdrawalFeeComponents
func (*FeeChange) GetInitBridgeAccount ¶
func (x *FeeChange) GetInitBridgeAccount() *v1alpha1.InitBridgeAccountFeeComponents
func (*FeeChange) GetRollupDataSubmission ¶
func (x *FeeChange) GetRollupDataSubmission() *v1alpha1.RollupDataSubmissionFeeComponents
func (*FeeChange) GetSudoAddressChange ¶
func (x *FeeChange) GetSudoAddressChange() *v1alpha1.SudoAddressChangeFeeComponents
func (*FeeChange) GetTransfer ¶
func (x *FeeChange) GetTransfer() *v1alpha1.TransferFeeComponents
func (*FeeChange) GetValidatorUpdate ¶
func (x *FeeChange) GetValidatorUpdate() *v1alpha1.ValidatorUpdateFeeComponents
func (*FeeChange) ProtoReflect ¶
func (x *FeeChange) ProtoReflect() protoreflect.Message
func (*FeeChange) SetBridgeLock ¶
func (x *FeeChange) SetBridgeLock(v *v1alpha1.BridgeLockFeeComponents)
func (*FeeChange) SetBridgeSudoChange ¶
func (x *FeeChange) SetBridgeSudoChange(v *v1alpha1.BridgeSudoChangeFeeComponents)
func (*FeeChange) SetBridgeUnlock ¶
func (x *FeeChange) SetBridgeUnlock(v *v1alpha1.BridgeUnlockFeeComponents)
func (*FeeChange) SetFeeAssetChange ¶
func (x *FeeChange) SetFeeAssetChange(v *v1alpha1.FeeAssetChangeFeeComponents)
func (*FeeChange) SetFeeChange ¶
func (x *FeeChange) SetFeeChange(v *v1alpha1.FeeChangeFeeComponents)
func (*FeeChange) SetIbcRelay ¶
func (x *FeeChange) SetIbcRelay(v *v1alpha1.IbcRelayFeeComponents)
func (*FeeChange) SetIbcRelayerChange ¶
func (x *FeeChange) SetIbcRelayerChange(v *v1alpha1.IbcRelayerChangeFeeComponents)
func (*FeeChange) SetIbcSudoChange ¶
func (x *FeeChange) SetIbcSudoChange(v *v1alpha1.IbcSudoChangeFeeComponents)
func (*FeeChange) SetIcs20Withdrawal ¶
func (x *FeeChange) SetIcs20Withdrawal(v *v1alpha1.Ics20WithdrawalFeeComponents)
func (*FeeChange) SetInitBridgeAccount ¶
func (x *FeeChange) SetInitBridgeAccount(v *v1alpha1.InitBridgeAccountFeeComponents)
func (*FeeChange) SetRollupDataSubmission ¶
func (x *FeeChange) SetRollupDataSubmission(v *v1alpha1.RollupDataSubmissionFeeComponents)
func (*FeeChange) SetSudoAddressChange ¶
func (x *FeeChange) SetSudoAddressChange(v *v1alpha1.SudoAddressChangeFeeComponents)
func (*FeeChange) SetTransfer ¶
func (x *FeeChange) SetTransfer(v *v1alpha1.TransferFeeComponents)
func (*FeeChange) SetValidatorUpdate ¶
func (x *FeeChange) SetValidatorUpdate(v *v1alpha1.ValidatorUpdateFeeComponents)
type FeeChange_BridgeLock ¶
type FeeChange_BridgeLock struct {
BridgeLock *v1alpha1.BridgeLockFeeComponents `protobuf:"bytes,1,opt,name=bridge_lock,json=bridgeLock,proto3,oneof"`
}
type FeeChange_BridgeSudoChange ¶
type FeeChange_BridgeSudoChange struct {
BridgeSudoChange *v1alpha1.BridgeSudoChangeFeeComponents `protobuf:"bytes,2,opt,name=bridge_sudo_change,json=bridgeSudoChange,proto3,oneof"`
}
type FeeChange_BridgeUnlock ¶
type FeeChange_BridgeUnlock struct {
BridgeUnlock *v1alpha1.BridgeUnlockFeeComponents `protobuf:"bytes,3,opt,name=bridge_unlock,json=bridgeUnlock,proto3,oneof"`
}
type FeeChange_FeeAssetChange ¶
type FeeChange_FeeAssetChange struct {
FeeAssetChange *v1alpha1.FeeAssetChangeFeeComponents `protobuf:"bytes,4,opt,name=fee_asset_change,json=feeAssetChange,proto3,oneof"`
}
type FeeChange_FeeChange ¶
type FeeChange_FeeChange struct {
FeeChange *v1alpha1.FeeChangeFeeComponents `protobuf:"bytes,5,opt,name=fee_change,json=feeChange,proto3,oneof"`
}
type FeeChange_IbcRelay ¶
type FeeChange_IbcRelay struct {
IbcRelay *v1alpha1.IbcRelayFeeComponents `protobuf:"bytes,7,opt,name=ibc_relay,json=ibcRelay,proto3,oneof"`
}
type FeeChange_IbcRelayerChange ¶
type FeeChange_IbcRelayerChange struct {
IbcRelayerChange *v1alpha1.IbcRelayerChangeFeeComponents `protobuf:"bytes,6,opt,name=ibc_relayer_change,json=ibcRelayerChange,proto3,oneof"`
}
type FeeChange_IbcSudoChange ¶
type FeeChange_IbcSudoChange struct {
IbcSudoChange *v1alpha1.IbcSudoChangeFeeComponents `protobuf:"bytes,8,opt,name=ibc_sudo_change,json=ibcSudoChange,proto3,oneof"`
}
type FeeChange_Ics20Withdrawal ¶
type FeeChange_Ics20Withdrawal struct {
Ics20Withdrawal *v1alpha1.Ics20WithdrawalFeeComponents `protobuf:"bytes,9,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof"`
}
type FeeChange_InitBridgeAccount ¶
type FeeChange_InitBridgeAccount struct {
InitBridgeAccount *v1alpha1.InitBridgeAccountFeeComponents `protobuf:"bytes,10,opt,name=init_bridge_account,json=initBridgeAccount,proto3,oneof"`
}
type FeeChange_RollupDataSubmission ¶
type FeeChange_RollupDataSubmission struct {
RollupDataSubmission *v1alpha1.RollupDataSubmissionFeeComponents `protobuf:"bytes,11,opt,name=rollup_data_submission,json=rollupDataSubmission,proto3,oneof"`
}
type FeeChange_SudoAddressChange ¶
type FeeChange_SudoAddressChange struct {
SudoAddressChange *v1alpha1.SudoAddressChangeFeeComponents `protobuf:"bytes,12,opt,name=sudo_address_change,json=sudoAddressChange,proto3,oneof"`
}
type FeeChange_Transfer ¶
type FeeChange_Transfer struct {
Transfer *v1alpha1.TransferFeeComponents `protobuf:"bytes,13,opt,name=transfer,proto3,oneof"`
}
type FeeChange_ValidatorUpdate ¶
type FeeChange_ValidatorUpdate struct {
ValidatorUpdate *v1alpha1.ValidatorUpdateFeeComponents `protobuf:"bytes,14,opt,name=validator_update,json=validatorUpdate,proto3,oneof"`
}
type FeeChange_builder ¶
type FeeChange_builder struct {
// Fields of oneof FeeComponents:
BridgeLock *v1alpha1.BridgeLockFeeComponents
BridgeSudoChange *v1alpha1.BridgeSudoChangeFeeComponents
BridgeUnlock *v1alpha1.BridgeUnlockFeeComponents
FeeAssetChange *v1alpha1.FeeAssetChangeFeeComponents
FeeChange *v1alpha1.FeeChangeFeeComponents
IbcRelay *v1alpha1.IbcRelayFeeComponents
IbcRelayerChange *v1alpha1.IbcRelayerChangeFeeComponents
IbcSudoChange *v1alpha1.IbcSudoChangeFeeComponents
Ics20Withdrawal *v1alpha1.Ics20WithdrawalFeeComponents
InitBridgeAccount *v1alpha1.InitBridgeAccountFeeComponents
RollupDataSubmission *v1alpha1.RollupDataSubmissionFeeComponents
SudoAddressChange *v1alpha1.SudoAddressChangeFeeComponents
Transfer *v1alpha1.TransferFeeComponents
ValidatorUpdate *v1alpha1.ValidatorUpdateFeeComponents
// contains filtered or unexported fields
}
func (FeeChange_builder) Build ¶
func (b0 FeeChange_builder) Build() *FeeChange
type IbcHeight ¶
type IbcHeight struct {
RevisionNumber uint64 `protobuf:"varint,1,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
RevisionHeight uint64 `protobuf:"varint,2,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
// contains filtered or unexported fields
}
func (*IbcHeight) ProtoReflect ¶
func (x *IbcHeight) ProtoReflect() protoreflect.Message
type IbcHeight_builder ¶
type IbcHeight_builder struct {
RevisionNumber uint64
RevisionHeight uint64
// contains filtered or unexported fields
}
func (IbcHeight_builder) Build ¶
func (b0 IbcHeight_builder) Build() *IbcHeight
type IbcRelayerChange ¶
type IbcRelayerChange struct {
// Types that are valid to be assigned to Value:
//
// *IbcRelayerChange_Addition
// *IbcRelayerChange_Removal
Value isIbcRelayerChange_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
`IbcRelayerChange` represents a transaction that adds or removes an IBC relayer address. The bytes contained in each variant are the address to add or remove.
func (*IbcRelayerChange) ClearAddition ¶
func (x *IbcRelayerChange) ClearAddition()
func (*IbcRelayerChange) ClearRemoval ¶
func (x *IbcRelayerChange) ClearRemoval()
func (*IbcRelayerChange) ClearValue ¶
func (x *IbcRelayerChange) ClearValue()
func (*IbcRelayerChange) GetAddition ¶
func (x *IbcRelayerChange) GetAddition() *v11.Address
func (*IbcRelayerChange) GetRemoval ¶
func (x *IbcRelayerChange) GetRemoval() *v11.Address
func (*IbcRelayerChange) GetValue ¶
func (x *IbcRelayerChange) GetValue() isIbcRelayerChange_Value
func (*IbcRelayerChange) HasAddition ¶
func (x *IbcRelayerChange) HasAddition() bool
func (*IbcRelayerChange) HasRemoval ¶
func (x *IbcRelayerChange) HasRemoval() bool
func (*IbcRelayerChange) HasValue ¶
func (x *IbcRelayerChange) HasValue() bool
func (*IbcRelayerChange) ProtoMessage ¶
func (*IbcRelayerChange) ProtoMessage()
func (*IbcRelayerChange) ProtoReflect ¶
func (x *IbcRelayerChange) ProtoReflect() protoreflect.Message
func (*IbcRelayerChange) Reset ¶
func (x *IbcRelayerChange) Reset()
func (*IbcRelayerChange) SetAddition ¶
func (x *IbcRelayerChange) SetAddition(v *v11.Address)
func (*IbcRelayerChange) SetRemoval ¶
func (x *IbcRelayerChange) SetRemoval(v *v11.Address)
func (*IbcRelayerChange) String ¶
func (x *IbcRelayerChange) String() string
func (*IbcRelayerChange) WhichValue ¶
func (x *IbcRelayerChange) WhichValue() case_IbcRelayerChange_Value
type IbcRelayerChange_Addition ¶
type IbcRelayerChange_Removal ¶
type IbcRelayerChange_builder ¶
type IbcRelayerChange_builder struct {
// Fields of oneof Value:
Addition *v11.Address
Removal *v11.Address
// contains filtered or unexported fields
}
func (IbcRelayerChange_builder) Build ¶
func (b0 IbcRelayerChange_builder) Build() *IbcRelayerChange
type IbcSudoChange ¶
type IbcSudoChange struct {
NewAddress *v11.Address `protobuf:"bytes,1,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"`
// contains filtered or unexported fields
}
func (*IbcSudoChange) ClearNewAddress ¶
func (x *IbcSudoChange) ClearNewAddress()
func (*IbcSudoChange) GetNewAddress ¶
func (x *IbcSudoChange) GetNewAddress() *v11.Address
func (*IbcSudoChange) HasNewAddress ¶
func (x *IbcSudoChange) HasNewAddress() bool
func (*IbcSudoChange) ProtoMessage ¶
func (*IbcSudoChange) ProtoMessage()
func (*IbcSudoChange) ProtoReflect ¶
func (x *IbcSudoChange) ProtoReflect() protoreflect.Message
func (*IbcSudoChange) Reset ¶
func (x *IbcSudoChange) Reset()
func (*IbcSudoChange) SetNewAddress ¶
func (x *IbcSudoChange) SetNewAddress(v *v11.Address)
func (*IbcSudoChange) String ¶
func (x *IbcSudoChange) String() string
type IbcSudoChange_builder ¶
type IbcSudoChange_builder struct {
NewAddress *v11.Address
// contains filtered or unexported fields
}
func (IbcSudoChange_builder) Build ¶
func (b0 IbcSudoChange_builder) Build() *IbcSudoChange
type Ics20Withdrawal ¶
type Ics20Withdrawal struct {
// first two fields are a transparent value consisting of an amount and a denom.
Amount *v11.Uint128 `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
// the address on the destination chain to send the transfer to.
// this is not validated by Astria; it is up to the destination chain
// to interpret it.
DestinationChainAddress string `` /* 132-byte string literal not displayed */
// an Astria address to use to return funds from this withdrawal
// in the case it fails.
ReturnAddress *v11.Address `protobuf:"bytes,4,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"`
// the height (on the counterparty chain) at which this transfer expires.
TimeoutHeight *IbcHeight `protobuf:"bytes,5,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
// the unix timestamp (in nanoseconds) at which this transfer expires.
TimeoutTime uint64 `protobuf:"varint,6,opt,name=timeout_time,json=timeoutTime,proto3" json:"timeout_time,omitempty"`
// the source channel used for the withdrawal.
SourceChannel string `protobuf:"bytes,7,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,8,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// a memo to include with the transfer
Memo string `protobuf:"bytes,9,opt,name=memo,proto3" json:"memo,omitempty"`
// the address of the bridge account to transfer from, if this is a withdrawal
// from a bridge account and the sender of the tx is the bridge's withdrawer,
// which differs from the bridge account's address.
//
// if unset, and the transaction sender is not a bridge account, the withdrawal
// is treated as a user (non-bridge) withdrawal.
//
// if unset, and the transaction sender is a bridge account, the withdrawal is
// treated as a bridge withdrawal (ie. the bridge account's withdrawer address is checked).
BridgeAddress *v11.Address `protobuf:"bytes,10,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// whether to use a bech32-compatible format of the `.return_address` when generating
// fungible token packets (as opposed to Astria-native bech32m addresses). This is
// necessary for chains like noble which enforce a strict bech32 format.
UseCompatAddress bool `protobuf:"varint,11,opt,name=use_compat_address,json=useCompatAddress,proto3" json:"use_compat_address,omitempty"`
// contains filtered or unexported fields
}
func (*Ics20Withdrawal) ClearAmount ¶
func (x *Ics20Withdrawal) ClearAmount()
func (*Ics20Withdrawal) ClearBridgeAddress ¶
func (x *Ics20Withdrawal) ClearBridgeAddress()
func (*Ics20Withdrawal) ClearReturnAddress ¶
func (x *Ics20Withdrawal) ClearReturnAddress()
func (*Ics20Withdrawal) ClearTimeoutHeight ¶
func (x *Ics20Withdrawal) ClearTimeoutHeight()
func (*Ics20Withdrawal) GetAmount ¶
func (x *Ics20Withdrawal) GetAmount() *v11.Uint128
func (*Ics20Withdrawal) GetBridgeAddress ¶
func (x *Ics20Withdrawal) GetBridgeAddress() *v11.Address
func (*Ics20Withdrawal) GetDenom ¶
func (x *Ics20Withdrawal) GetDenom() string
func (*Ics20Withdrawal) GetDestinationChainAddress ¶
func (x *Ics20Withdrawal) GetDestinationChainAddress() string
func (*Ics20Withdrawal) GetFeeAsset ¶
func (x *Ics20Withdrawal) GetFeeAsset() string
func (*Ics20Withdrawal) GetMemo ¶
func (x *Ics20Withdrawal) GetMemo() string
func (*Ics20Withdrawal) GetReturnAddress ¶
func (x *Ics20Withdrawal) GetReturnAddress() *v11.Address
func (*Ics20Withdrawal) GetSourceChannel ¶
func (x *Ics20Withdrawal) GetSourceChannel() string
func (*Ics20Withdrawal) GetTimeoutHeight ¶
func (x *Ics20Withdrawal) GetTimeoutHeight() *IbcHeight
func (*Ics20Withdrawal) GetTimeoutTime ¶
func (x *Ics20Withdrawal) GetTimeoutTime() uint64
func (*Ics20Withdrawal) GetUseCompatAddress ¶
func (x *Ics20Withdrawal) GetUseCompatAddress() bool
func (*Ics20Withdrawal) HasAmount ¶
func (x *Ics20Withdrawal) HasAmount() bool
func (*Ics20Withdrawal) HasBridgeAddress ¶
func (x *Ics20Withdrawal) HasBridgeAddress() bool
func (*Ics20Withdrawal) HasReturnAddress ¶
func (x *Ics20Withdrawal) HasReturnAddress() bool
func (*Ics20Withdrawal) HasTimeoutHeight ¶
func (x *Ics20Withdrawal) HasTimeoutHeight() bool
func (*Ics20Withdrawal) ProtoMessage ¶
func (*Ics20Withdrawal) ProtoMessage()
func (*Ics20Withdrawal) ProtoReflect ¶
func (x *Ics20Withdrawal) ProtoReflect() protoreflect.Message
func (*Ics20Withdrawal) Reset ¶
func (x *Ics20Withdrawal) Reset()
func (*Ics20Withdrawal) SetAmount ¶
func (x *Ics20Withdrawal) SetAmount(v *v11.Uint128)
func (*Ics20Withdrawal) SetBridgeAddress ¶
func (x *Ics20Withdrawal) SetBridgeAddress(v *v11.Address)
func (*Ics20Withdrawal) SetDenom ¶
func (x *Ics20Withdrawal) SetDenom(v string)
func (*Ics20Withdrawal) SetDestinationChainAddress ¶
func (x *Ics20Withdrawal) SetDestinationChainAddress(v string)
func (*Ics20Withdrawal) SetFeeAsset ¶
func (x *Ics20Withdrawal) SetFeeAsset(v string)
func (*Ics20Withdrawal) SetMemo ¶
func (x *Ics20Withdrawal) SetMemo(v string)
func (*Ics20Withdrawal) SetReturnAddress ¶
func (x *Ics20Withdrawal) SetReturnAddress(v *v11.Address)
func (*Ics20Withdrawal) SetSourceChannel ¶
func (x *Ics20Withdrawal) SetSourceChannel(v string)
func (*Ics20Withdrawal) SetTimeoutHeight ¶
func (x *Ics20Withdrawal) SetTimeoutHeight(v *IbcHeight)
func (*Ics20Withdrawal) SetTimeoutTime ¶
func (x *Ics20Withdrawal) SetTimeoutTime(v uint64)
func (*Ics20Withdrawal) SetUseCompatAddress ¶
func (x *Ics20Withdrawal) SetUseCompatAddress(v bool)
func (*Ics20Withdrawal) String ¶
func (x *Ics20Withdrawal) String() string
type Ics20Withdrawal_builder ¶
type Ics20Withdrawal_builder struct {
// first two fields are a transparent value consisting of an amount and a denom.
Amount *v11.Uint128
Denom string
// the address on the destination chain to send the transfer to.
// this is not validated by Astria; it is up to the destination chain
// to interpret it.
DestinationChainAddress string
// an Astria address to use to return funds from this withdrawal
// in the case it fails.
ReturnAddress *v11.Address
// the height (on the counterparty chain) at which this transfer expires.
TimeoutHeight *IbcHeight
// the unix timestamp (in nanoseconds) at which this transfer expires.
TimeoutTime uint64
// the source channel used for the withdrawal.
SourceChannel string
// the asset used to pay the transaction fee
FeeAsset string
// a memo to include with the transfer
Memo string
// the address of the bridge account to transfer from, if this is a withdrawal
// from a bridge account and the sender of the tx is the bridge's withdrawer,
// which differs from the bridge account's address.
//
// if unset, and the transaction sender is not a bridge account, the withdrawal
// is treated as a user (non-bridge) withdrawal.
//
// if unset, and the transaction sender is a bridge account, the withdrawal is
// treated as a bridge withdrawal (ie. the bridge account's withdrawer address is checked).
BridgeAddress *v11.Address
// whether to use a bech32-compatible format of the `.return_address` when generating
// fungible token packets (as opposed to Astria-native bech32m addresses). This is
// necessary for chains like noble which enforce a strict bech32 format.
UseCompatAddress bool
// contains filtered or unexported fields
}
func (Ics20Withdrawal_builder) Build ¶
func (b0 Ics20Withdrawal_builder) Build() *Ics20Withdrawal
type InitBridgeAccount ¶
type InitBridgeAccount struct {
// the rollup ID to register with the bridge account (the tx sender)
RollupId *v11.RollupId `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
// the asset ID accepted as an incoming transfer by the bridge account
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,3,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// the address corresponding to the key which has sudo capabilities;
// ie. can change the sudo and withdrawer addresses for this bridge account.
// if this is empty, the sender of the transaction is used.
SudoAddress *v11.Address `protobuf:"bytes,4,opt,name=sudo_address,json=sudoAddress,proto3" json:"sudo_address,omitempty"`
// the address corresponding to the key which can withdraw funds from this bridge account.
// if this is empty, the sender of the transaction is used.
WithdrawerAddress *v11.Address `protobuf:"bytes,5,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"`
// contains filtered or unexported fields
}
`InitBridgeAccount` represents a transaction that initializes a bridge account for the given rollup on the chain.
The sender of the transaction is used as the owner of the bridge account and is the only actor authorized to transfer out of this account via a `Transfer`.
func (*InitBridgeAccount) ClearRollupId ¶
func (x *InitBridgeAccount) ClearRollupId()
func (*InitBridgeAccount) ClearSudoAddress ¶
func (x *InitBridgeAccount) ClearSudoAddress()
func (*InitBridgeAccount) ClearWithdrawerAddress ¶
func (x *InitBridgeAccount) ClearWithdrawerAddress()
func (*InitBridgeAccount) GetAsset ¶
func (x *InitBridgeAccount) GetAsset() string
func (*InitBridgeAccount) GetFeeAsset ¶
func (x *InitBridgeAccount) GetFeeAsset() string
func (*InitBridgeAccount) GetRollupId ¶
func (x *InitBridgeAccount) GetRollupId() *v11.RollupId
func (*InitBridgeAccount) GetSudoAddress ¶
func (x *InitBridgeAccount) GetSudoAddress() *v11.Address
func (*InitBridgeAccount) GetWithdrawerAddress ¶
func (x *InitBridgeAccount) GetWithdrawerAddress() *v11.Address
func (*InitBridgeAccount) HasRollupId ¶
func (x *InitBridgeAccount) HasRollupId() bool
func (*InitBridgeAccount) HasSudoAddress ¶
func (x *InitBridgeAccount) HasSudoAddress() bool
func (*InitBridgeAccount) HasWithdrawerAddress ¶
func (x *InitBridgeAccount) HasWithdrawerAddress() bool
func (*InitBridgeAccount) ProtoMessage ¶
func (*InitBridgeAccount) ProtoMessage()
func (*InitBridgeAccount) ProtoReflect ¶
func (x *InitBridgeAccount) ProtoReflect() protoreflect.Message
func (*InitBridgeAccount) Reset ¶
func (x *InitBridgeAccount) Reset()
func (*InitBridgeAccount) SetAsset ¶
func (x *InitBridgeAccount) SetAsset(v string)
func (*InitBridgeAccount) SetFeeAsset ¶
func (x *InitBridgeAccount) SetFeeAsset(v string)
func (*InitBridgeAccount) SetRollupId ¶
func (x *InitBridgeAccount) SetRollupId(v *v11.RollupId)
func (*InitBridgeAccount) SetSudoAddress ¶
func (x *InitBridgeAccount) SetSudoAddress(v *v11.Address)
func (*InitBridgeAccount) SetWithdrawerAddress ¶
func (x *InitBridgeAccount) SetWithdrawerAddress(v *v11.Address)
func (*InitBridgeAccount) String ¶
func (x *InitBridgeAccount) String() string
type InitBridgeAccount_builder ¶
type InitBridgeAccount_builder struct {
// the rollup ID to register with the bridge account (the tx sender)
RollupId *v11.RollupId
// the asset ID accepted as an incoming transfer by the bridge account
Asset string
// the asset used to pay the transaction fee
FeeAsset string
// the address corresponding to the key which has sudo capabilities;
// ie. can change the sudo and withdrawer addresses for this bridge account.
// if this is empty, the sender of the transaction is used.
SudoAddress *v11.Address
// the address corresponding to the key which can withdraw funds from this bridge account.
// if this is empty, the sender of the transaction is used.
WithdrawerAddress *v11.Address
// contains filtered or unexported fields
}
func (InitBridgeAccount_builder) Build ¶
func (b0 InitBridgeAccount_builder) Build() *InitBridgeAccount
type RollupDataSubmission ¶
type RollupDataSubmission struct {
RollupId *v11.RollupId `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,3,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// contains filtered or unexported fields
}
`RollupDataSubmission` represents a transaction destined for another chain, ordered by the sequencer.
It contains the rollup ID of the destination chain, and the opaque transaction data.
func (*RollupDataSubmission) ClearRollupId ¶
func (x *RollupDataSubmission) ClearRollupId()
func (*RollupDataSubmission) GetData ¶
func (x *RollupDataSubmission) GetData() []byte
func (*RollupDataSubmission) GetFeeAsset ¶
func (x *RollupDataSubmission) GetFeeAsset() string
func (*RollupDataSubmission) GetRollupId ¶
func (x *RollupDataSubmission) GetRollupId() *v11.RollupId
func (*RollupDataSubmission) HasRollupId ¶
func (x *RollupDataSubmission) HasRollupId() bool
func (*RollupDataSubmission) ProtoMessage ¶
func (*RollupDataSubmission) ProtoMessage()
func (*RollupDataSubmission) ProtoReflect ¶
func (x *RollupDataSubmission) ProtoReflect() protoreflect.Message
func (*RollupDataSubmission) Reset ¶
func (x *RollupDataSubmission) Reset()
func (*RollupDataSubmission) SetData ¶
func (x *RollupDataSubmission) SetData(v []byte)
func (*RollupDataSubmission) SetFeeAsset ¶
func (x *RollupDataSubmission) SetFeeAsset(v string)
func (*RollupDataSubmission) SetRollupId ¶
func (x *RollupDataSubmission) SetRollupId(v *v11.RollupId)
func (*RollupDataSubmission) String ¶
func (x *RollupDataSubmission) String() string
type RollupDataSubmission_builder ¶
type RollupDataSubmission_builder struct {
RollupId *v11.RollupId
Data []byte
// the asset used to pay the transaction fee
FeeAsset string
// contains filtered or unexported fields
}
func (RollupDataSubmission_builder) Build ¶
func (b0 RollupDataSubmission_builder) Build() *RollupDataSubmission
type SudoAddressChange ¶
type SudoAddressChange struct {
NewAddress *v11.Address `protobuf:"bytes,1,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"`
// contains filtered or unexported fields
}
/ `SudoAddressChange` represents a transaction that changes / the sudo address of the chain, which is the address authorized to / make validator update actions. / / It contains the new sudo address.
func (*SudoAddressChange) ClearNewAddress ¶
func (x *SudoAddressChange) ClearNewAddress()
func (*SudoAddressChange) GetNewAddress ¶
func (x *SudoAddressChange) GetNewAddress() *v11.Address
func (*SudoAddressChange) HasNewAddress ¶
func (x *SudoAddressChange) HasNewAddress() bool
func (*SudoAddressChange) ProtoMessage ¶
func (*SudoAddressChange) ProtoMessage()
func (*SudoAddressChange) ProtoReflect ¶
func (x *SudoAddressChange) ProtoReflect() protoreflect.Message
func (*SudoAddressChange) Reset ¶
func (x *SudoAddressChange) Reset()
func (*SudoAddressChange) SetNewAddress ¶
func (x *SudoAddressChange) SetNewAddress(v *v11.Address)
func (*SudoAddressChange) String ¶
func (x *SudoAddressChange) String() string
type SudoAddressChange_builder ¶
type SudoAddressChange_builder struct {
NewAddress *v11.Address
// contains filtered or unexported fields
}
func (SudoAddressChange_builder) Build ¶
func (b0 SudoAddressChange_builder) Build() *SudoAddressChange
type Transaction ¶
type Transaction struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Body *anypb.Any `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
`Transaction` is a transaction `TransactionBody` together with a public ket and a signature.
func (*Transaction) ClearBody ¶
func (x *Transaction) ClearBody()
func (*Transaction) GetBody ¶
func (x *Transaction) GetBody() *anypb.Any
func (*Transaction) GetPublicKey ¶
func (x *Transaction) GetPublicKey() []byte
func (*Transaction) GetSignature ¶
func (x *Transaction) GetSignature() []byte
func (*Transaction) HasBody ¶
func (x *Transaction) HasBody() bool
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) SetBody ¶
func (x *Transaction) SetBody(v *anypb.Any)
func (*Transaction) SetPublicKey ¶
func (x *Transaction) SetPublicKey(v []byte)
func (*Transaction) SetSignature ¶
func (x *Transaction) SetSignature(v []byte)
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionBody ¶
type TransactionBody struct {
Params *TransactionParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
Actions []*Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
The `TransactionBody` of the `Transaction` that is being signed over. It contains transaction `TransactionParams` and `Actions`.
func (*TransactionBody) ClearParams ¶
func (x *TransactionBody) ClearParams()
func (*TransactionBody) GetActions ¶
func (x *TransactionBody) GetActions() []*Action
func (*TransactionBody) GetParams ¶
func (x *TransactionBody) GetParams() *TransactionParams
func (*TransactionBody) HasParams ¶
func (x *TransactionBody) HasParams() bool
func (*TransactionBody) ProtoMessage ¶
func (*TransactionBody) ProtoMessage()
func (*TransactionBody) ProtoReflect ¶
func (x *TransactionBody) ProtoReflect() protoreflect.Message
func (*TransactionBody) Reset ¶
func (x *TransactionBody) Reset()
func (*TransactionBody) SetActions ¶
func (x *TransactionBody) SetActions(v []*Action)
func (*TransactionBody) SetParams ¶
func (x *TransactionBody) SetParams(v *TransactionParams)
func (*TransactionBody) String ¶
func (x *TransactionBody) String() string
type TransactionBody_builder ¶
type TransactionBody_builder struct {
Params *TransactionParams
Actions []*Action
// contains filtered or unexported fields
}
func (TransactionBody_builder) Build ¶
func (b0 TransactionBody_builder) Build() *TransactionBody
type TransactionParams ¶
type TransactionParams struct {
Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
The `TransactionParams` of the transaction that define the validity of the `Transaction`.
func (*TransactionParams) GetChainId ¶
func (x *TransactionParams) GetChainId() string
func (*TransactionParams) GetNonce ¶
func (x *TransactionParams) GetNonce() uint32
func (*TransactionParams) ProtoMessage ¶
func (*TransactionParams) ProtoMessage()
func (*TransactionParams) ProtoReflect ¶
func (x *TransactionParams) ProtoReflect() protoreflect.Message
func (*TransactionParams) Reset ¶
func (x *TransactionParams) Reset()
func (*TransactionParams) SetChainId ¶
func (x *TransactionParams) SetChainId(v string)
func (*TransactionParams) SetNonce ¶
func (x *TransactionParams) SetNonce(v uint32)
func (*TransactionParams) String ¶
func (x *TransactionParams) String() string
type TransactionParams_builder ¶
type TransactionParams_builder struct {
Nonce uint32
ChainId string
// contains filtered or unexported fields
}
func (TransactionParams_builder) Build ¶
func (b0 TransactionParams_builder) Build() *TransactionParams
type Transaction_builder ¶
type Transaction_builder struct {
Signature []byte
PublicKey []byte
Body *anypb.Any
// contains filtered or unexported fields
}
func (Transaction_builder) Build ¶
func (b0 Transaction_builder) Build() *Transaction
type Transfer ¶
type Transfer struct {
To *v11.Address `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
Amount *v11.Uint128 `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
// the asset to be transferred
Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
// the asset used to pay the transaction fee
FeeAsset string `protobuf:"bytes,4,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"`
// contains filtered or unexported fields
}
`TransferAction` represents a value transfer transaction.
Note: all values must be set (ie. not `None`), otherwise it will be considered invalid by the sequencer.
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type Transfer_builder ¶
type Transfer_builder struct {
To *v11.Address
Amount *v11.Uint128
// the asset to be transferred
Asset string
// the asset used to pay the transaction fee
FeeAsset string
// contains filtered or unexported fields
}
func (Transfer_builder) Build ¶
func (b0 Transfer_builder) Build() *Transfer
Source Files
¶
- action.pb.go
- transaction.pb.go