Documentation ¶
Index ¶
- type MsgDeposit
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgDeposit) MessageName() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- type MsgSwapExactForTokens
- func (m *MsgSwapExactForTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapExactForTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapExactForTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgSwapExactForTokens) MessageName() string
- func (m *MsgSwapExactForTokens) Size() (n int)
- func (m *MsgSwapExactForTokens) Unmarshal(dAtA []byte) error
- type MsgSwapForExactTokens
- func (m *MsgSwapForExactTokens) Marshal() (dAtA []byte, err error)
- func (m *MsgSwapForExactTokens) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwapForExactTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgSwapForExactTokens) MessageName() string
- func (m *MsgSwapForExactTokens) Size() (n int)
- func (m *MsgSwapForExactTokens) Unmarshal(dAtA []byte) error
- type MsgWithdraw
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MessageName() string
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgDeposit ¶
type MsgDeposit struct { // depositor represents the address to deposit funds from Depositor string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"` // token_a represents one token of deposit pair TokenA types.Coin `protobuf:"bytes,2,opt,name=token_a,json=tokenA,proto3" json:"token_a"` // token_b represents one token of deposit pair TokenB types.Coin `protobuf:"bytes,3,opt,name=token_b,json=tokenB,proto3" json:"token_b"` // slippage represents the max decimal percentage price change Slippage types.Dec `protobuf:"bytes,4,opt,name=slippage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slippage"` // deadline represents the unix timestamp to complete the deposit by Deadline int64 `protobuf:"varint,5,opt,name=deadline,proto3" json:"deadline,string,omitempty"` }
MsgDeposit represents a message for depositing liquidity into a pool
func (*MsgDeposit) Marshal ¶
func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
func (*MsgDeposit) MarshalToSizedBuffer ¶
func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeposit) MessageName ¶
func (m *MsgDeposit) MessageName() string
func (*MsgDeposit) Size ¶
func (m *MsgDeposit) Size() (n int)
func (*MsgDeposit) Unmarshal ¶
func (m *MsgDeposit) Unmarshal(dAtA []byte) error
type MsgSwapExactForTokens ¶
type MsgSwapExactForTokens struct { // represents the address swaping the tokens Requester string `protobuf:"bytes,1,opt,name=requester,proto3" json:"requester,omitempty"` // exact_token_a represents the exact amount to swap for token_b ExactTokenA types.Coin `protobuf:"bytes,2,opt,name=exact_token_a,json=exactTokenA,proto3" json:"exact_token_a"` // token_b represents the desired token_b to swap for TokenB types.Coin `protobuf:"bytes,3,opt,name=token_b,json=tokenB,proto3" json:"token_b"` // slippage represents the maximum change in token_b allowed Slippage types.Dec `protobuf:"bytes,4,opt,name=slippage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slippage"` // deadline represents the unix timestamp to complete the swap by Deadline int64 `protobuf:"varint,5,opt,name=deadline,proto3" json:"deadline,string,omitempty"` }
MsgSwapExactForTokens represents a message for trading exact coinA for coinB
func (*MsgSwapExactForTokens) Marshal ¶
func (m *MsgSwapExactForTokens) Marshal() (dAtA []byte, err error)
func (*MsgSwapExactForTokens) MarshalTo ¶
func (m *MsgSwapExactForTokens) MarshalTo(dAtA []byte) (int, error)
func (*MsgSwapExactForTokens) MarshalToSizedBuffer ¶
func (m *MsgSwapExactForTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwapExactForTokens) MessageName ¶
func (m *MsgSwapExactForTokens) MessageName() string
func (*MsgSwapExactForTokens) Size ¶
func (m *MsgSwapExactForTokens) Size() (n int)
func (*MsgSwapExactForTokens) Unmarshal ¶
func (m *MsgSwapExactForTokens) Unmarshal(dAtA []byte) error
type MsgSwapForExactTokens ¶
type MsgSwapForExactTokens struct { // represents the address swaping the tokens Requester string `protobuf:"bytes,1,opt,name=requester,proto3" json:"requester,omitempty"` // token_a represents the desired token_a to swap for TokenA types.Coin `protobuf:"bytes,2,opt,name=token_a,json=tokenA,proto3" json:"token_a"` // exact_token_b represents the exact token b amount to swap for token a ExactTokenB types.Coin `protobuf:"bytes,3,opt,name=exact_token_b,json=exactTokenB,proto3" json:"exact_token_b"` // slippage represents the maximum change in token_a allowed Slippage types.Dec `protobuf:"bytes,4,opt,name=slippage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slippage"` // deadline represents the unix timestamp to complete the swap by Deadline int64 `protobuf:"varint,5,opt,name=deadline,proto3" json:"deadline,string,omitempty"` }
MsgSwapForExactTokens represents a message for trading coinA for an exact coinB
func (*MsgSwapForExactTokens) Marshal ¶
func (m *MsgSwapForExactTokens) Marshal() (dAtA []byte, err error)
func (*MsgSwapForExactTokens) MarshalTo ¶
func (m *MsgSwapForExactTokens) MarshalTo(dAtA []byte) (int, error)
func (*MsgSwapForExactTokens) MarshalToSizedBuffer ¶
func (m *MsgSwapForExactTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSwapForExactTokens) MessageName ¶
func (m *MsgSwapForExactTokens) MessageName() string
func (*MsgSwapForExactTokens) Size ¶
func (m *MsgSwapForExactTokens) Size() (n int)
func (*MsgSwapForExactTokens) Unmarshal ¶
func (m *MsgSwapForExactTokens) Unmarshal(dAtA []byte) error
type MsgWithdraw ¶
type MsgWithdraw struct { // from represents the address we are withdrawing for From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Shares types.Int `protobuf:"bytes,2,opt,name=shares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"shares"` // min_token_a represents the minimum a token to withdraw MinTokenA types.Coin `protobuf:"bytes,3,opt,name=min_token_a,json=minTokenA,proto3" json:"min_token_a"` // min_token_a represents the minimum a token to withdraw MinTokenB types.Coin `protobuf:"bytes,4,opt,name=min_token_b,json=minTokenB,proto3" json:"min_token_b"` // deadline represents the unix timestamp to complete the withdraw by Deadline int64 `protobuf:"varint,5,opt,name=deadline,proto3" json:"deadline,string,omitempty"` }
MsgWithdraw represents a message for withdrawing liquidity from a pool
func (*MsgWithdraw) Marshal ¶
func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgWithdraw) MarshalToSizedBuffer ¶
func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdraw) MessageName ¶
func (m *MsgWithdraw) MessageName() string
func (*MsgWithdraw) Size ¶
func (m *MsgWithdraw) Size() (n int)
func (*MsgWithdraw) Unmarshal ¶
func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.