Documentation
¶
Index ¶
- Variables
- type Ics20TransferDeposit
- func (x *Ics20TransferDeposit) GetRollupDepositAddress() string
- func (*Ics20TransferDeposit) ProtoMessage()
- func (x *Ics20TransferDeposit) ProtoReflect() protoreflect.Message
- func (x *Ics20TransferDeposit) Reset()
- func (x *Ics20TransferDeposit) SetRollupDepositAddress(v string)
- func (x *Ics20TransferDeposit) String() string
- type Ics20TransferDeposit_builder
- type Ics20WithdrawalFromRollup
- func (x *Ics20WithdrawalFromRollup) GetMemo() string
- func (x *Ics20WithdrawalFromRollup) GetRollupBlockNumber() uint64
- func (x *Ics20WithdrawalFromRollup) GetRollupReturnAddress() string
- func (x *Ics20WithdrawalFromRollup) GetRollupWithdrawalEventId() string
- func (*Ics20WithdrawalFromRollup) ProtoMessage()
- func (x *Ics20WithdrawalFromRollup) ProtoReflect() protoreflect.Message
- func (x *Ics20WithdrawalFromRollup) Reset()
- func (x *Ics20WithdrawalFromRollup) SetMemo(v string)
- func (x *Ics20WithdrawalFromRollup) SetRollupBlockNumber(v uint64)
- func (x *Ics20WithdrawalFromRollup) SetRollupReturnAddress(v string)
- func (x *Ics20WithdrawalFromRollup) SetRollupWithdrawalEventId(v string)
- func (x *Ics20WithdrawalFromRollup) String() string
- type Ics20WithdrawalFromRollup_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_astria_protocol_memos_v1alpha1_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Ics20TransferDeposit ¶
type Ics20TransferDeposit struct {
// The destination address for the deposit on the rollup.
//
// This field is of type `string` so that it can be formatted in the preferred
// format of the rollup when targeting plain text encoding.
RollupDepositAddress string `protobuf:"bytes,1,opt,name=rollup_deposit_address,json=rollupDepositAddress,proto3" json:"rollup_deposit_address,omitempty"`
// contains filtered or unexported fields
}
Memo for an ICS20 transfer to Astria which is sent to a bridge account, which will then be deposited into the rollup.
func (*Ics20TransferDeposit) GetRollupDepositAddress ¶
func (x *Ics20TransferDeposit) GetRollupDepositAddress() string
func (*Ics20TransferDeposit) ProtoMessage ¶
func (*Ics20TransferDeposit) ProtoMessage()
func (*Ics20TransferDeposit) ProtoReflect ¶
func (x *Ics20TransferDeposit) ProtoReflect() protoreflect.Message
func (*Ics20TransferDeposit) Reset ¶
func (x *Ics20TransferDeposit) Reset()
func (*Ics20TransferDeposit) SetRollupDepositAddress ¶
func (x *Ics20TransferDeposit) SetRollupDepositAddress(v string)
func (*Ics20TransferDeposit) String ¶
func (x *Ics20TransferDeposit) String() string
type Ics20TransferDeposit_builder ¶
type Ics20TransferDeposit_builder struct {
// The destination address for the deposit on the rollup.
//
// This field is of type `string` so that it can be formatted in the preferred
// format of the rollup when targeting plain text encoding.
RollupDepositAddress string
// contains filtered or unexported fields
}
func (Ics20TransferDeposit_builder) Build ¶
func (b0 Ics20TransferDeposit_builder) Build() *Ics20TransferDeposit
type Ics20WithdrawalFromRollup ¶
type Ics20WithdrawalFromRollup struct {
// The block number on the rollup that triggered the transaction underlying
// this ics20 withdrawal memo.
RollupBlockNumber uint64 `protobuf:"varint,1,opt,name=rollup_block_number,json=rollupBlockNumber,proto3" json:"rollup_block_number,omitempty"`
// An identifier of the original rollup withdrawal event that triggered this ics20
// withdrawal and that is underlying this bridge unlock memo. For general EVM
// this is typically a transaction hash.
//
// 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 */
// The return address on the rollup to which funds should returned in case of
// failure. This field exists so that the rollup can identify which account
// the returned funds originated from.
//
// This field is of type `string` so that it can be formatted in the preferred
// format of the rollup when targeting plain text encoding.
RollupReturnAddress string `protobuf:"bytes,3,opt,name=rollup_return_address,json=rollupReturnAddress,proto3" json:"rollup_return_address,omitempty"`
// A field that can be populated by the rollup. It is assumed that this field
// will be consumed by the downstream chain.
Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
// contains filtered or unexported fields
}
Memo for an ICS20 withdrawal from the rollup which is sent to an external IBC-enabled chain.
func (*Ics20WithdrawalFromRollup) GetMemo ¶
func (x *Ics20WithdrawalFromRollup) GetMemo() string
func (*Ics20WithdrawalFromRollup) GetRollupBlockNumber ¶
func (x *Ics20WithdrawalFromRollup) GetRollupBlockNumber() uint64
func (*Ics20WithdrawalFromRollup) GetRollupReturnAddress ¶
func (x *Ics20WithdrawalFromRollup) GetRollupReturnAddress() string
func (*Ics20WithdrawalFromRollup) GetRollupWithdrawalEventId ¶
func (x *Ics20WithdrawalFromRollup) GetRollupWithdrawalEventId() string
func (*Ics20WithdrawalFromRollup) ProtoMessage ¶
func (*Ics20WithdrawalFromRollup) ProtoMessage()
func (*Ics20WithdrawalFromRollup) ProtoReflect ¶
func (x *Ics20WithdrawalFromRollup) ProtoReflect() protoreflect.Message
func (*Ics20WithdrawalFromRollup) Reset ¶
func (x *Ics20WithdrawalFromRollup) Reset()
func (*Ics20WithdrawalFromRollup) SetMemo ¶
func (x *Ics20WithdrawalFromRollup) SetMemo(v string)
func (*Ics20WithdrawalFromRollup) SetRollupBlockNumber ¶
func (x *Ics20WithdrawalFromRollup) SetRollupBlockNumber(v uint64)
func (*Ics20WithdrawalFromRollup) SetRollupReturnAddress ¶
func (x *Ics20WithdrawalFromRollup) SetRollupReturnAddress(v string)
func (*Ics20WithdrawalFromRollup) SetRollupWithdrawalEventId ¶
func (x *Ics20WithdrawalFromRollup) SetRollupWithdrawalEventId(v string)
func (*Ics20WithdrawalFromRollup) String ¶
func (x *Ics20WithdrawalFromRollup) String() string
type Ics20WithdrawalFromRollup_builder ¶
type Ics20WithdrawalFromRollup_builder struct {
// The block number on the rollup that triggered the transaction underlying
// this ics20 withdrawal memo.
RollupBlockNumber uint64
// An identifier of the original rollup withdrawal event that triggered this ics20
// withdrawal and that is underlying this bridge unlock memo. For general EVM
// this is typically a transaction hash.
//
// 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
// The return address on the rollup to which funds should returned in case of
// failure. This field exists so that the rollup can identify which account
// the returned funds originated from.
//
// This field is of type `string` so that it can be formatted in the preferred
// format of the rollup when targeting plain text encoding.
RollupReturnAddress string
// A field that can be populated by the rollup. It is assumed that this field
// will be consumed by the downstream chain.
Memo string
// contains filtered or unexported fields
}
func (Ics20WithdrawalFromRollup_builder) Build ¶
func (b0 Ics20WithdrawalFromRollup_builder) Build() *Ics20WithdrawalFromRollup
Source Files
¶
- types.pb.go
Click to show internal directories.
Click to hide internal directories.