Documentation ¶
Index ¶
- Constants
- Variables
- func BalancerKey(balancer *commontypes.Address) []byte
- func BlacklistKey(account *commontypes.Address) []byte
- func CfgKeyCbrContract(chid uint64) []byte
- func CfgKeyChain2EstimateRelayGasCost(chid uint64) []byte
- func CfgKeyChain2GasPrice(chid uint64) []byte
- func CfgKeyChain2GasTokenSymbol(chid uint64) []byte
- func CfgKeyChain2RelayGasCostParam(chid uint64) []byte
- func CfgKeyChain2Sym(chid uint64, addr *commontypes.Address) []byte
- func CfgKeyChainPair(chid1, chid2 uint64) []byte
- func CfgKeyChainPairAssetOverride(sym string, chid1, chid2 uint64) []byte
- func CfgKeyFeeSplitChainOverride(dstChid uint64) []byte
- func CfgKeyFeeSplitPoolOverride(sym string, dstChid uint64) []byte
- func CfgKeySym2Info(sym string, chid uint64) []byte
- func CfgKeySymbol2ExtraPower10(sym string) []byte
- func CfgKeySymbol2UsdPrice(sym string) []byte
- func ConfiscationKey(chid uint64, token *commontypes.Address) []byte
- func EncodeRelayOnChainToSign(chainId uint64, contractAddr eth.Addr, relayBytes []byte) []byte
- func EncodeSignersUpdateToSign(chainId uint64, contractAddr eth.Addr, SignersBytes []byte) []byte
- func EncodeWithdrawOnchainToSign(chainId uint64, contractAddr eth.Addr, withdrawBytes []byte) []byte
- func EqualSortedSigners(ss1, ss2 []*Signer) bool
- func EvLiqAddKey(chid, seq uint64) []byte
- func EvSendKey(tid eth.Hash) []byte
- func GetChainSignersKey(chid uint64) []byte
- func GetLpAddrFromLiqMapKey(key []byte) (*commontypes.Address, error)
- func GetSymbolFromStakeToken(token string) string
- func KeyPrefix(p string) []byte
- func LPOriginKey(lp *commontypes.Address) []byte
- func LiqCapKey(chid uint64, token *commontypes.Address) []byte
- func LiqMapKey(chid uint64, token, lp *commontypes.Address) []byte
- func LiqSumKey(chid uint64, token *commontypes.Address) []byte
- func LpFeeKey(chid uint64, token, lp *commontypes.Address) []byte
- func MinSigsForQuorum(signers []*Signer) uint32
- func MustMarshalChainSigners(cdc codec.BinaryCodec, signers *ChainSigners) []byte
- func MustMarshalLatestSigners(cdc codec.BinaryCodec, signers *LatestSigners) []byte
- func PrintSigners(ss []*Signer) string
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SgnFeeKey(chid uint64, token *commontypes.Address) []byte
- func SignersToEthArrays(ss []*Signer) ([]eth.Addr, []*big.Int)
- func ValidateSigQuorum(sortedSigs []*AddrSig, curss []*Signer) (pass bool, sigsBytes [][]byte)
- func ValidateSignatureQuorum(sortedSigs []comtypes.Signature, curss []*Signer) (pass bool, sigsBytes [][]byte)
- func WdDetailKey(usraddr *commontypes.Address, reqid uint64) []byte
- func XferRefundKey(tid eth.Hash) []byte
- func XferRelayKey(tid eth.Hash) []byte
- type AddrSig
- func (*AddrSig) Descriptor() ([]byte, []int)
- func (m *AddrSig) GetAddr() []byte
- func (m *AddrSig) GetSig() []byte
- func (m *AddrSig) Marshal() (dAtA []byte, err error)
- func (m *AddrSig) MarshalTo(dAtA []byte) (int, error)
- func (m *AddrSig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddrSig) ProtoMessage()
- func (m *AddrSig) Reset()
- func (m *AddrSig) Size() (n int)
- func (m *AddrSig) String() string
- func (m *AddrSig) Unmarshal(dAtA []byte) error
- func (m *AddrSig) XXX_DiscardUnknown()
- func (m *AddrSig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddrSig) XXX_Merge(src proto.Message)
- func (m *AddrSig) XXX_Size() int
- func (m *AddrSig) XXX_Unmarshal(b []byte) error
- type AssetPrice
- func (*AssetPrice) Descriptor() ([]byte, []int)
- func (m *AssetPrice) GetChainIds() []uint64
- func (m *AssetPrice) GetExtraPower10() uint32
- func (m *AssetPrice) GetPrice() uint32
- func (m *AssetPrice) GetSymbol() string
- func (m *AssetPrice) Marshal() (dAtA []byte, err error)
- func (m *AssetPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetPrice) ProtoMessage()
- func (m *AssetPrice) Reset()
- func (m *AssetPrice) Size() (n int)
- func (m *AssetPrice) String() string
- func (m *AssetPrice) Unmarshal(dAtA []byte) error
- func (m *AssetPrice) XXX_DiscardUnknown()
- func (m *AssetPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetPrice) XXX_Merge(src proto.Message)
- func (m *AssetPrice) XXX_Size() int
- func (m *AssetPrice) XXX_Unmarshal(b []byte) error
- type BalancerProposal
- func (*BalancerProposal) Descriptor() ([]byte, []int)
- func (m *BalancerProposal) GetBalancers() []string
- func (m *BalancerProposal) GetDescription() string
- func (m *BalancerProposal) GetTitle() string
- func (m *BalancerProposal) Marshal() (dAtA []byte, err error)
- func (m *BalancerProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BalancerProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalancerProposal) ProtoMessage()
- func (m *BalancerProposal) Reset()
- func (m *BalancerProposal) Size() (n int)
- func (m *BalancerProposal) String() string
- func (m *BalancerProposal) Unmarshal(dAtA []byte) error
- func (m *BalancerProposal) XXX_DiscardUnknown()
- func (m *BalancerProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalancerProposal) XXX_Merge(src proto.Message)
- func (m *BalancerProposal) XXX_Size() int
- func (m *BalancerProposal) XXX_Unmarshal(b []byte) error
- type CbrConfig
- func (*CbrConfig) Descriptor() ([]byte, []int)
- func (m *CbrConfig) GetAssets() []*ChainAsset
- func (m *CbrConfig) GetCbrContracts() []*types.ContractInfo
- func (m *CbrConfig) GetChainPairs() []*ChainPair
- func (m *CbrConfig) GetFeeSplitChainOverride() []*PerFeeSplitChainOverride
- func (m *CbrConfig) GetFeeSplitGlobal() *FeeSplit
- func (m *CbrConfig) GetFeeSplitPoolOverride() []*PerFeeSplitPoolOverride
- func (m *CbrConfig) GetLpFeePerc() uint32deprecated
- func (m *CbrConfig) GetMaxGainPerc() uint32
- func (m *CbrConfig) GetOverride() []*PerChainPairAssetOverride
- func (m *CbrConfig) GetPickLpSize() uint32
- func (m *CbrConfig) GetRelayGasCost() []*RelayGasCostParam
- func (m *CbrConfig) Marshal() (dAtA []byte, err error)
- func (m *CbrConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *CbrConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CbrConfig) ProtoMessage()
- func (m *CbrConfig) Reset()
- func (m *CbrConfig) Size() (n int)
- func (m *CbrConfig) String() string
- func (m *CbrConfig) Unmarshal(dAtA []byte) error
- func (m *CbrConfig) XXX_DiscardUnknown()
- func (m *CbrConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CbrConfig) XXX_Merge(src proto.Message)
- func (m *CbrConfig) XXX_Size() int
- func (m *CbrConfig) XXX_Unmarshal(b []byte) error
- type CbrPrice
- func (*CbrPrice) Descriptor() ([]byte, []int)
- func (m *CbrPrice) GetAssetPrice() []*AssetPrice
- func (m *CbrPrice) GetGasPrice() []*GasPrice
- func (m *CbrPrice) GetUpdateEpoch() uint64
- func (m *CbrPrice) Marshal() (dAtA []byte, err error)
- func (m *CbrPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *CbrPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CbrPrice) ProtoMessage()
- func (m *CbrPrice) Reset()
- func (m *CbrPrice) Size() (n int)
- func (m *CbrPrice) String() string
- func (m *CbrPrice) Unmarshal(dAtA []byte) error
- func (m *CbrPrice) XXX_DiscardUnknown()
- func (m *CbrPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CbrPrice) XXX_Merge(src proto.Message)
- func (m *CbrPrice) XXX_Size() int
- func (m *CbrPrice) XXX_Unmarshal(b []byte) error
- type CbrProposal
- func (*CbrProposal) Descriptor() ([]byte, []int)
- func (m *CbrProposal) GetCbrConfig() *CbrConfig
- func (m *CbrProposal) GetDescription() string
- func (m *CbrProposal) GetTitle() string
- func (m *CbrProposal) Marshal() (dAtA []byte, err error)
- func (m *CbrProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *CbrProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CbrProposal) ProtoMessage()
- func (m *CbrProposal) Reset()
- func (m *CbrProposal) Size() (n int)
- func (m *CbrProposal) String() string
- func (m *CbrProposal) Unmarshal(dAtA []byte) error
- func (m *CbrProposal) XXX_DiscardUnknown()
- func (m *CbrProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CbrProposal) XXX_Merge(src proto.Message)
- func (m *CbrProposal) XXX_Size() int
- func (m *CbrProposal) XXX_Unmarshal(b []byte) error
- type ChainAsset
- func (*ChainAsset) Descriptor() ([]byte, []int)
- func (m *ChainAsset) GetAddr() string
- func (m *ChainAsset) GetChainId() uint64
- func (m *ChainAsset) GetDecimal() uint32
- func (m *ChainAsset) GetMaxFeeAmount() string
- func (m *ChainAsset) GetMaxOutAmt() string
- func (m *ChainAsset) GetSymbol() string
- func (m *ChainAsset) GetXferDisabled() bool
- func (m *ChainAsset) Marshal() (dAtA []byte, err error)
- func (m *ChainAsset) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainAsset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainAsset) ProtoMessage()
- func (m *ChainAsset) Reset()
- func (m *ChainAsset) Size() (n int)
- func (m *ChainAsset) String() string
- func (m *ChainAsset) Unmarshal(dAtA []byte) error
- func (m *ChainAsset) XXX_DiscardUnknown()
- func (m *ChainAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainAsset) XXX_Merge(src proto.Message)
- func (m *ChainAsset) XXX_Size() int
- func (m *ChainAsset) XXX_Unmarshal(b []byte) error
- type ChainPair
- func (*ChainPair) Descriptor() ([]byte, []int)
- func (m *ChainPair) GetChid1() uint64
- func (m *ChainPair) GetChid2() uint64
- func (m *ChainPair) GetConstA() uint32
- func (m *ChainPair) GetFee1To2() uint32
- func (m *ChainPair) GetFee2To1() uint32
- func (m *ChainPair) GetNoCurve() bool
- func (m *ChainPair) GetWeight1() uint32
- func (m *ChainPair) Marshal() (dAtA []byte, err error)
- func (m *ChainPair) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainPair) ProtoMessage()
- func (m *ChainPair) Reset()
- func (m *ChainPair) Size() (n int)
- func (m *ChainPair) String() string
- func (m *ChainPair) Unmarshal(dAtA []byte) error
- func (m *ChainPair) XXX_DiscardUnknown()
- func (m *ChainPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainPair) XXX_Merge(src proto.Message)
- func (m *ChainPair) XXX_Size() int
- func (m *ChainPair) XXX_Unmarshal(b []byte) error
- type ChainSigners
- func (*ChainSigners) Descriptor() ([]byte, []int)
- func (ss *ChainSigners) GetAddrsPowers() ([]eth.Addr, []*big.Int)
- func (m *ChainSigners) GetChainId() uint64
- func (m *ChainSigners) GetSortedSigners() []*Signer
- func (m *ChainSigners) GetSortedSigs() []*AddrSig
- func (m *ChainSigners) Marshal() (dAtA []byte, err error)
- func (m *ChainSigners) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainSigners) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainSigners) ProtoMessage()
- func (m *ChainSigners) Reset()
- func (ss *ChainSigners) SetByEvent(e *eth.BridgeSignersUpdated)
- func (m *ChainSigners) SignersStr() string
- func (m *ChainSigners) Size() (n int)
- func (cs *ChainSigners) String() string
- func (m *ChainSigners) Unmarshal(dAtA []byte) error
- func (m *ChainSigners) XXX_DiscardUnknown()
- func (m *ChainSigners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainSigners) XXX_Merge(src proto.Message)
- func (m *ChainSigners) XXX_Size() int
- func (m *ChainSigners) XXX_Unmarshal(b []byte) error
- type ChainTokenAddrPair
- func (*ChainTokenAddrPair) Descriptor() ([]byte, []int)
- func (m *ChainTokenAddrPair) GetChainId() uint64
- func (m *ChainTokenAddrPair) GetTokenAddr() string
- func (m *ChainTokenAddrPair) Marshal() (dAtA []byte, err error)
- func (m *ChainTokenAddrPair) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainTokenAddrPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainTokenAddrPair) ProtoMessage()
- func (m *ChainTokenAddrPair) Reset()
- func (m *ChainTokenAddrPair) Size() (n int)
- func (m *ChainTokenAddrPair) String() string
- func (m *ChainTokenAddrPair) Unmarshal(dAtA []byte) error
- func (m *ChainTokenAddrPair) XXX_DiscardUnknown()
- func (m *ChainTokenAddrPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainTokenAddrPair) XXX_Merge(src proto.Message)
- func (m *ChainTokenAddrPair) XXX_Size() int
- func (m *ChainTokenAddrPair) XXX_Unmarshal(b []byte) error
- type ChainTokensConfigRequest
- func (*ChainTokensConfigRequest) Descriptor() ([]byte, []int)
- func (m *ChainTokensConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *ChainTokensConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainTokensConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainTokensConfigRequest) ProtoMessage()
- func (m *ChainTokensConfigRequest) Reset()
- func (m *ChainTokensConfigRequest) Size() (n int)
- func (m *ChainTokensConfigRequest) String() string
- func (m *ChainTokensConfigRequest) Unmarshal(dAtA []byte) error
- func (m *ChainTokensConfigRequest) XXX_DiscardUnknown()
- func (m *ChainTokensConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainTokensConfigRequest) XXX_Merge(src proto.Message)
- func (m *ChainTokensConfigRequest) XXX_Size() int
- func (m *ChainTokensConfigRequest) XXX_Unmarshal(b []byte) error
- type ChainTokensConfigResponse
- func (*ChainTokensConfigResponse) Descriptor() ([]byte, []int)
- func (m *ChainTokensConfigResponse) GetChainTokens() map[string]*Tokens
- func (m *ChainTokensConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *ChainTokensConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainTokensConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainTokensConfigResponse) ProtoMessage()
- func (m *ChainTokensConfigResponse) Reset()
- func (m *ChainTokensConfigResponse) Size() (n int)
- func (m *ChainTokensConfigResponse) String() string
- func (m *ChainTokensConfigResponse) Unmarshal(dAtA []byte) error
- func (m *ChainTokensConfigResponse) XXX_DiscardUnknown()
- func (m *ChainTokensConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainTokensConfigResponse) XXX_Merge(src proto.Message)
- func (m *ChainTokensConfigResponse) XXX_Size() int
- func (m *ChainTokensConfigResponse) XXX_Unmarshal(b []byte) error
- type CheckChainTokenValidRequest
- func (*CheckChainTokenValidRequest) Descriptor() ([]byte, []int)
- func (m *CheckChainTokenValidRequest) GetDestChainId() uint64
- func (m *CheckChainTokenValidRequest) GetSrcChainId() uint64
- func (m *CheckChainTokenValidRequest) GetSrcTokenAddr() string
- func (m *CheckChainTokenValidRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckChainTokenValidRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckChainTokenValidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckChainTokenValidRequest) ProtoMessage()
- func (m *CheckChainTokenValidRequest) Reset()
- func (m *CheckChainTokenValidRequest) Size() (n int)
- func (m *CheckChainTokenValidRequest) String() string
- func (m *CheckChainTokenValidRequest) Unmarshal(dAtA []byte) error
- func (m *CheckChainTokenValidRequest) XXX_DiscardUnknown()
- func (m *CheckChainTokenValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckChainTokenValidRequest) XXX_Merge(src proto.Message)
- func (m *CheckChainTokenValidRequest) XXX_Size() int
- func (m *CheckChainTokenValidRequest) XXX_Unmarshal(b []byte) error
- type CheckChainTokenValidResponse
- func (*CheckChainTokenValidResponse) Descriptor() ([]byte, []int)
- func (m *CheckChainTokenValidResponse) GetValid() bool
- func (m *CheckChainTokenValidResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckChainTokenValidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckChainTokenValidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckChainTokenValidResponse) ProtoMessage()
- func (m *CheckChainTokenValidResponse) Reset()
- func (m *CheckChainTokenValidResponse) Size() (n int)
- func (m *CheckChainTokenValidResponse) String() string
- func (m *CheckChainTokenValidResponse) Unmarshal(dAtA []byte) error
- func (m *CheckChainTokenValidResponse) XXX_DiscardUnknown()
- func (m *CheckChainTokenValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckChainTokenValidResponse) XXX_Merge(src proto.Message)
- func (m *CheckChainTokenValidResponse) XXX_Size() int
- func (m *CheckChainTokenValidResponse) XXX_Unmarshal(b []byte) error
- type CheckLiqSumRequest
- func (*CheckLiqSumRequest) Descriptor() ([]byte, []int)
- func (m *CheckLiqSumRequest) GetChainId() uint64
- func (m *CheckLiqSumRequest) GetTokenAddr() string
- func (m *CheckLiqSumRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckLiqSumRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckLiqSumRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckLiqSumRequest) ProtoMessage()
- func (m *CheckLiqSumRequest) Reset()
- func (m *CheckLiqSumRequest) Size() (n int)
- func (m *CheckLiqSumRequest) String() string
- func (m *CheckLiqSumRequest) Unmarshal(dAtA []byte) error
- func (m *CheckLiqSumRequest) XXX_DiscardUnknown()
- func (m *CheckLiqSumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckLiqSumRequest) XXX_Merge(src proto.Message)
- func (m *CheckLiqSumRequest) XXX_Size() int
- func (m *CheckLiqSumRequest) XXX_Unmarshal(b []byte) error
- type CheckLiqSumResponse
- func (*CheckLiqSumResponse) Descriptor() ([]byte, []int)
- func (m *CheckLiqSumResponse) GetLiqsum() string
- func (m *CheckLiqSumResponse) GetSumiter() string
- func (m *CheckLiqSumResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckLiqSumResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckLiqSumResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckLiqSumResponse) ProtoMessage()
- func (m *CheckLiqSumResponse) Reset()
- func (m *CheckLiqSumResponse) Size() (n int)
- func (m *CheckLiqSumResponse) String() string
- func (m *CheckLiqSumResponse) Unmarshal(dAtA []byte) error
- func (m *CheckLiqSumResponse) XXX_DiscardUnknown()
- func (m *CheckLiqSumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckLiqSumResponse) XXX_Merge(src proto.Message)
- func (m *CheckLiqSumResponse) XXX_Size() int
- func (m *CheckLiqSumResponse) XXX_Unmarshal(b []byte) error
- type EmptyRequest
- func (*EmptyRequest) Descriptor() ([]byte, []int)
- func (m *EmptyRequest) Marshal() (dAtA []byte, err error)
- func (m *EmptyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EmptyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EmptyRequest) ProtoMessage()
- func (m *EmptyRequest) Reset()
- func (m *EmptyRequest) Size() (n int)
- func (m *EmptyRequest) String() string
- func (m *EmptyRequest) Unmarshal(dAtA []byte) error
- func (m *EmptyRequest) XXX_DiscardUnknown()
- func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyRequest) XXX_Merge(src proto.Message)
- func (m *EmptyRequest) XXX_Size() int
- func (m *EmptyRequest) XXX_Unmarshal(b []byte) error
- type ErrCode
- type ErrMsg
- func (*ErrMsg) Descriptor() ([]byte, []int)
- func (m *ErrMsg) GetCode() ErrCode
- func (m *ErrMsg) GetDesc() string
- func (m *ErrMsg) Marshal() (dAtA []byte, err error)
- func (m *ErrMsg) MarshalTo(dAtA []byte) (int, error)
- func (m *ErrMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ErrMsg) ProtoMessage()
- func (m *ErrMsg) Reset()
- func (m *ErrMsg) Size() (n int)
- func (m *ErrMsg) String() string
- func (m *ErrMsg) Unmarshal(dAtA []byte) error
- func (m *ErrMsg) XXX_DiscardUnknown()
- func (m *ErrMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrMsg) XXX_Merge(src proto.Message)
- func (m *ErrMsg) XXX_Size() int
- func (m *ErrMsg) XXX_Unmarshal(b []byte) error
- type FeeSplit
- func (*FeeSplit) Descriptor() ([]byte, []int)
- func (m *FeeSplit) GetCelerTreasuryAddr() string
- func (m *FeeSplit) GetCelerTreasuryFeePerc() uint32
- func (m *FeeSplit) GetLpFeePerc() uint32
- func (m *FeeSplit) Marshal() (dAtA []byte, err error)
- func (m *FeeSplit) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeSplit) ProtoMessage()
- func (m *FeeSplit) Reset()
- func (m *FeeSplit) Size() (n int)
- func (m *FeeSplit) String() string
- func (m *FeeSplit) Unmarshal(dAtA []byte) error
- func (m *FeeSplit) XXX_DiscardUnknown()
- func (m *FeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeSplit) XXX_Merge(src proto.Message)
- func (m *FeeSplit) XXX_Size() int
- func (m *FeeSplit) XXX_Unmarshal(b []byte) error
- type GasPrice
- func (*GasPrice) Descriptor() ([]byte, []int)
- func (m *GasPrice) GetChainId() uint64
- func (m *GasPrice) GetPrice() string
- func (m *GasPrice) Marshal() (dAtA []byte, err error)
- func (m *GasPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPrice) ProtoMessage()
- func (m *GasPrice) Reset()
- func (m *GasPrice) Size() (n int)
- func (m *GasPrice) String() string
- func (m *GasPrice) Unmarshal(dAtA []byte) error
- func (m *GasPrice) XXX_DiscardUnknown()
- func (m *GasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPrice) XXX_Merge(src proto.Message)
- func (m *GasPrice) XXX_Size() int
- func (m *GasPrice) XXX_Unmarshal(b []byte) error
- type GetFeePercentageRequest
- func (*GetFeePercentageRequest) Descriptor() ([]byte, []int)
- func (m *GetFeePercentageRequest) GetDstChainId() uint64
- func (m *GetFeePercentageRequest) GetSrcChainId() uint64
- func (m *GetFeePercentageRequest) GetSymbol() string
- func (m *GetFeePercentageRequest) Marshal() (dAtA []byte, err error)
- func (m *GetFeePercentageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeePercentageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeePercentageRequest) ProtoMessage()
- func (m *GetFeePercentageRequest) Reset()
- func (m *GetFeePercentageRequest) Size() (n int)
- func (m *GetFeePercentageRequest) String() string
- func (m *GetFeePercentageRequest) Unmarshal(dAtA []byte) error
- func (m *GetFeePercentageRequest) XXX_DiscardUnknown()
- func (m *GetFeePercentageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeePercentageRequest) XXX_Merge(src proto.Message)
- func (m *GetFeePercentageRequest) XXX_Size() int
- func (m *GetFeePercentageRequest) XXX_Unmarshal(b []byte) error
- type GetFeePercentageResponse
- func (*GetFeePercentageResponse) Descriptor() ([]byte, []int)
- func (m *GetFeePercentageResponse) GetFeePerc() uint32
- func (m *GetFeePercentageResponse) Marshal() (dAtA []byte, err error)
- func (m *GetFeePercentageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeePercentageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeePercentageResponse) ProtoMessage()
- func (m *GetFeePercentageResponse) Reset()
- func (m *GetFeePercentageResponse) Size() (n int)
- func (m *GetFeePercentageResponse) String() string
- func (m *GetFeePercentageResponse) Unmarshal(dAtA []byte) error
- func (m *GetFeePercentageResponse) XXX_DiscardUnknown()
- func (m *GetFeePercentageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeePercentageResponse) XXX_Merge(src proto.Message)
- func (m *GetFeePercentageResponse) XXX_Size() int
- func (m *GetFeePercentageResponse) XXX_Unmarshal(b []byte) error
- type GetFeeRequest
- func (*GetFeeRequest) Descriptor() ([]byte, []int)
- func (m *GetFeeRequest) GetAmt() string
- func (m *GetFeeRequest) GetDstChainId() uint64
- func (m *GetFeeRequest) GetLpAddr() string
- func (m *GetFeeRequest) GetSrcChainId() uint64
- func (m *GetFeeRequest) GetSrcTokenAddr() string
- func (m *GetFeeRequest) Marshal() (dAtA []byte, err error)
- func (m *GetFeeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeeRequest) ProtoMessage()
- func (m *GetFeeRequest) Reset()
- func (m *GetFeeRequest) Size() (n int)
- func (m *GetFeeRequest) String() string
- func (m *GetFeeRequest) Unmarshal(dAtA []byte) error
- func (m *GetFeeRequest) XXX_DiscardUnknown()
- func (m *GetFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeeRequest) XXX_Merge(src proto.Message)
- func (m *GetFeeRequest) XXX_Size() int
- func (m *GetFeeRequest) XXX_Unmarshal(b []byte) error
- type GetFeeResponse
- func (*GetFeeResponse) Descriptor() ([]byte, []int)
- func (m *GetFeeResponse) GetBaseFee() string
- func (m *GetFeeResponse) GetDecimal() uint64
- func (m *GetFeeResponse) GetEqValueTokenAmt() string
- func (m *GetFeeResponse) GetPercFee() string
- func (m *GetFeeResponse) Marshal() (dAtA []byte, err error)
- func (m *GetFeeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeeResponse) ProtoMessage()
- func (m *GetFeeResponse) Reset()
- func (m *GetFeeResponse) Size() (n int)
- func (m *GetFeeResponse) String() string
- func (m *GetFeeResponse) Unmarshal(dAtA []byte) error
- func (m *GetFeeResponse) XXX_DiscardUnknown()
- func (m *GetFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeeResponse) XXX_Merge(src proto.Message)
- func (m *GetFeeResponse) XXX_Size() int
- func (m *GetFeeResponse) XXX_Unmarshal(b []byte) error
- type LatestSigners
- func (*LatestSigners) Descriptor() ([]byte, []int)
- func (ls *LatestSigners) GenerateSignersBytes()
- func (m *LatestSigners) GetLastSignTime() uint64
- func (m *LatestSigners) GetSignersBytes() []byte
- func (m *LatestSigners) GetSortedSigners() []*Signer
- func (m *LatestSigners) GetTriggerTime() uint64
- func (ls *LatestSigners) Len() int
- func (ls *LatestSigners) Less(i, j int) bool
- func (m *LatestSigners) Marshal() (dAtA []byte, err error)
- func (m *LatestSigners) MarshalTo(dAtA []byte) (int, error)
- func (m *LatestSigners) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LatestSigners) ProtoMessage()
- func (m *LatestSigners) Reset()
- func (m *LatestSigners) Size() (n int)
- func (ls *LatestSigners) Sort()
- func (ls *LatestSigners) String() string
- func (ls *LatestSigners) Swap(i, j int)
- func (m *LatestSigners) Unmarshal(dAtA []byte) error
- func (m *LatestSigners) XXX_DiscardUnknown()
- func (m *LatestSigners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LatestSigners) XXX_Merge(src proto.Message)
- func (m *LatestSigners) XXX_Size() int
- func (m *LatestSigners) XXX_Unmarshal(b []byte) error
- type LiquidityDetail
- func (*LiquidityDetail) Descriptor() ([]byte, []int)
- func (m *LiquidityDetail) GetChainId() uint64
- func (m *LiquidityDetail) GetToken() *Token
- func (m *LiquidityDetail) GetTotalLiquidity() string
- func (m *LiquidityDetail) GetUsrLiquidity() string
- func (m *LiquidityDetail) GetUsrLpFeeEarning() string
- func (m *LiquidityDetail) Marshal() (dAtA []byte, err error)
- func (m *LiquidityDetail) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityDetail) ProtoMessage()
- func (m *LiquidityDetail) Reset()
- func (m *LiquidityDetail) Size() (n int)
- func (m *LiquidityDetail) String() string
- func (m *LiquidityDetail) Unmarshal(dAtA []byte) error
- func (m *LiquidityDetail) XXX_DiscardUnknown()
- func (m *LiquidityDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityDetail) XXX_Merge(src proto.Message)
- func (m *LiquidityDetail) XXX_Size() int
- func (m *LiquidityDetail) XXX_Unmarshal(b []byte) error
- type LiquidityDetailListRequest
- func (*LiquidityDetailListRequest) Descriptor() ([]byte, []int)
- func (m *LiquidityDetailListRequest) GetChainToken() []*ChainTokenAddrPair
- func (m *LiquidityDetailListRequest) GetLpAddr() string
- func (m *LiquidityDetailListRequest) Marshal() (dAtA []byte, err error)
- func (m *LiquidityDetailListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityDetailListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityDetailListRequest) ProtoMessage()
- func (m *LiquidityDetailListRequest) Reset()
- func (m *LiquidityDetailListRequest) Size() (n int)
- func (m *LiquidityDetailListRequest) String() string
- func (m *LiquidityDetailListRequest) Unmarshal(dAtA []byte) error
- func (m *LiquidityDetailListRequest) XXX_DiscardUnknown()
- func (m *LiquidityDetailListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityDetailListRequest) XXX_Merge(src proto.Message)
- func (m *LiquidityDetailListRequest) XXX_Size() int
- func (m *LiquidityDetailListRequest) XXX_Unmarshal(b []byte) error
- type LiquidityDetailListResponse
- func (*LiquidityDetailListResponse) Descriptor() ([]byte, []int)
- func (m *LiquidityDetailListResponse) GetLiquidityDetail() []*LiquidityDetail
- func (m *LiquidityDetailListResponse) Marshal() (dAtA []byte, err error)
- func (m *LiquidityDetailListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityDetailListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityDetailListResponse) ProtoMessage()
- func (m *LiquidityDetailListResponse) Reset()
- func (m *LiquidityDetailListResponse) Size() (n int)
- func (m *LiquidityDetailListResponse) String() string
- func (m *LiquidityDetailListResponse) Unmarshal(dAtA []byte) error
- func (m *LiquidityDetailListResponse) XXX_DiscardUnknown()
- func (m *LiquidityDetailListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityDetailListResponse) XXX_Merge(src proto.Message)
- func (m *LiquidityDetailListResponse) XXX_Size() int
- func (m *LiquidityDetailListResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgInitWithdraw
- func (*MsgInitWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgInitWithdraw) GetCreator() string
- func (msg *MsgInitWithdraw) GetSignBytes() []byte
- func (msg *MsgInitWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgInitWithdraw) GetUserSig() []byte
- func (m *MsgInitWithdraw) GetWithdrawReq() []byte
- func (m *MsgInitWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgInitWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitWithdraw) ProtoMessage()
- func (m *MsgInitWithdraw) Reset()
- func (msg *MsgInitWithdraw) Route() string
- func (m *MsgInitWithdraw) Size() (n int)
- func (m *MsgInitWithdraw) String() string
- func (msg *MsgInitWithdraw) Type() string
- func (m *MsgInitWithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgInitWithdraw) ValidateBasic() error
- func (m *MsgInitWithdraw) XXX_DiscardUnknown()
- func (m *MsgInitWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgInitWithdraw) XXX_Size() int
- func (m *MsgInitWithdraw) XXX_Unmarshal(b []byte) error
- type MsgInitWithdrawResp
- func (*MsgInitWithdrawResp) Descriptor() ([]byte, []int)
- func (m *MsgInitWithdrawResp) Marshal() (dAtA []byte, err error)
- func (m *MsgInitWithdrawResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitWithdrawResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitWithdrawResp) ProtoMessage()
- func (m *MsgInitWithdrawResp) Reset()
- func (m *MsgInitWithdrawResp) Size() (n int)
- func (m *MsgInitWithdrawResp) String() string
- func (m *MsgInitWithdrawResp) Unmarshal(dAtA []byte) error
- func (m *MsgInitWithdrawResp) XXX_DiscardUnknown()
- func (m *MsgInitWithdrawResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitWithdrawResp) XXX_Merge(src proto.Message)
- func (m *MsgInitWithdrawResp) XXX_Size() int
- func (m *MsgInitWithdrawResp) XXX_Unmarshal(b []byte) error
- type MsgSendMySig
- func (*MsgSendMySig) Descriptor() ([]byte, []int)
- func (m *MsgSendMySig) GetCreator() string
- func (m *MsgSendMySig) GetData() []byte
- func (m *MsgSendMySig) GetDatatype() SignDataType
- func (m *MsgSendMySig) GetMySigs() []*MySig
- func (msg *MsgSendMySig) GetSignBytes() []byte
- func (msg *MsgSendMySig) GetSigners() []sdk.AccAddress
- func (m *MsgSendMySig) Marshal() (dAtA []byte, err error)
- func (m *MsgSendMySig) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendMySig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendMySig) ProtoMessage()
- func (m *MsgSendMySig) Reset()
- func (msg *MsgSendMySig) Route() string
- func (m *MsgSendMySig) Size() (n int)
- func (m *MsgSendMySig) String() string
- func (msg *MsgSendMySig) Type() string
- func (m *MsgSendMySig) Unmarshal(dAtA []byte) error
- func (msg *MsgSendMySig) ValidateBasic() error
- func (m *MsgSendMySig) XXX_DiscardUnknown()
- func (m *MsgSendMySig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendMySig) XXX_Merge(src proto.Message)
- func (m *MsgSendMySig) XXX_Size() int
- func (m *MsgSendMySig) XXX_Unmarshal(b []byte) error
- type MsgSendMySigResp
- func (*MsgSendMySigResp) Descriptor() ([]byte, []int)
- func (m *MsgSendMySigResp) Marshal() (dAtA []byte, err error)
- func (m *MsgSendMySigResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendMySigResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendMySigResp) ProtoMessage()
- func (m *MsgSendMySigResp) Reset()
- func (m *MsgSendMySigResp) Size() (n int)
- func (m *MsgSendMySigResp) String() string
- func (m *MsgSendMySigResp) Unmarshal(dAtA []byte) error
- func (m *MsgSendMySigResp) XXX_DiscardUnknown()
- func (m *MsgSendMySigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendMySigResp) XXX_Merge(src proto.Message)
- func (m *MsgSendMySigResp) XXX_Size() int
- func (m *MsgSendMySigResp) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetLiquidityCap
- func (*MsgSetLiquidityCap) Descriptor() ([]byte, []int)
- func (m *MsgSetLiquidityCap) GetChainId() uint64
- func (m *MsgSetLiquidityCap) GetLiquidityCap() string
- func (m *MsgSetLiquidityCap) GetSender() string
- func (msg *MsgSetLiquidityCap) GetSignBytes() []byte
- func (msg *MsgSetLiquidityCap) GetSigners() []sdk.AccAddress
- func (m *MsgSetLiquidityCap) GetTokenAddress() string
- func (m *MsgSetLiquidityCap) Marshal() (dAtA []byte, err error)
- func (m *MsgSetLiquidityCap) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetLiquidityCap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetLiquidityCap) ProtoMessage()
- func (m *MsgSetLiquidityCap) Reset()
- func (msg *MsgSetLiquidityCap) Route() string
- func (m *MsgSetLiquidityCap) Size() (n int)
- func (m *MsgSetLiquidityCap) String() string
- func (msg *MsgSetLiquidityCap) Type() string
- func (m *MsgSetLiquidityCap) Unmarshal(dAtA []byte) error
- func (msg *MsgSetLiquidityCap) ValidateBasic() error
- func (m *MsgSetLiquidityCap) XXX_DiscardUnknown()
- func (m *MsgSetLiquidityCap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetLiquidityCap) XXX_Merge(src proto.Message)
- func (m *MsgSetLiquidityCap) XXX_Size() int
- func (m *MsgSetLiquidityCap) XXX_Unmarshal(b []byte) error
- type MsgSetLiquidityCapResp
- func (*MsgSetLiquidityCapResp) Descriptor() ([]byte, []int)
- func (m *MsgSetLiquidityCapResp) Marshal() (dAtA []byte, err error)
- func (m *MsgSetLiquidityCapResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetLiquidityCapResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetLiquidityCapResp) ProtoMessage()
- func (m *MsgSetLiquidityCapResp) Reset()
- func (m *MsgSetLiquidityCapResp) Size() (n int)
- func (m *MsgSetLiquidityCapResp) String() string
- func (m *MsgSetLiquidityCapResp) Unmarshal(dAtA []byte) error
- func (m *MsgSetLiquidityCapResp) XXX_DiscardUnknown()
- func (m *MsgSetLiquidityCapResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetLiquidityCapResp) XXX_Merge(src proto.Message)
- func (m *MsgSetLiquidityCapResp) XXX_Size() int
- func (m *MsgSetLiquidityCapResp) XXX_Unmarshal(b []byte) error
- type MsgSignAgain
- func (*MsgSignAgain) Descriptor() ([]byte, []int)
- func (m *MsgSignAgain) GetCreator() string
- func (m *MsgSignAgain) GetDataType() SignDataType
- func (m *MsgSignAgain) GetReqId() uint64
- func (msg *MsgSignAgain) GetSignBytes() []byte
- func (msg *MsgSignAgain) GetSigners() []sdk.AccAddress
- func (m *MsgSignAgain) GetUserAddr() []byte
- func (m *MsgSignAgain) GetXferId() []byte
- func (m *MsgSignAgain) Marshal() (dAtA []byte, err error)
- func (m *MsgSignAgain) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSignAgain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSignAgain) ProtoMessage()
- func (m *MsgSignAgain) Reset()
- func (msg *MsgSignAgain) Route() string
- func (m *MsgSignAgain) Size() (n int)
- func (m *MsgSignAgain) String() string
- func (msg *MsgSignAgain) Type() string
- func (m *MsgSignAgain) Unmarshal(dAtA []byte) error
- func (msg *MsgSignAgain) ValidateBasic() error
- func (m *MsgSignAgain) XXX_DiscardUnknown()
- func (m *MsgSignAgain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSignAgain) XXX_Merge(src proto.Message)
- func (m *MsgSignAgain) XXX_Size() int
- func (m *MsgSignAgain) XXX_Unmarshal(b []byte) error
- type MsgSignAgainResp
- func (*MsgSignAgainResp) Descriptor() ([]byte, []int)
- func (m *MsgSignAgainResp) Marshal() (dAtA []byte, err error)
- func (m *MsgSignAgainResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSignAgainResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSignAgainResp) ProtoMessage()
- func (m *MsgSignAgainResp) Reset()
- func (m *MsgSignAgainResp) Size() (n int)
- func (m *MsgSignAgainResp) String() string
- func (m *MsgSignAgainResp) Unmarshal(dAtA []byte) error
- func (m *MsgSignAgainResp) XXX_DiscardUnknown()
- func (m *MsgSignAgainResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSignAgainResp) XXX_Merge(src proto.Message)
- func (m *MsgSignAgainResp) XXX_Size() int
- func (m *MsgSignAgainResp) XXX_Unmarshal(b []byte) error
- type MsgSyncFarming
- func (*MsgSyncFarming) Descriptor() ([]byte, []int)
- func (m *MsgSyncFarming) GetChainId() uint64
- func (m *MsgSyncFarming) GetCreator() string
- func (m *MsgSyncFarming) GetLpAddress() string
- func (msg *MsgSyncFarming) GetSignBytes() []byte
- func (msg *MsgSyncFarming) GetSigners() []sdk.AccAddress
- func (m *MsgSyncFarming) GetTokenAddress() string
- func (m *MsgSyncFarming) Marshal() (dAtA []byte, err error)
- func (m *MsgSyncFarming) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSyncFarming) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSyncFarming) ProtoMessage()
- func (m *MsgSyncFarming) Reset()
- func (msg *MsgSyncFarming) Route() string
- func (m *MsgSyncFarming) Size() (n int)
- func (m *MsgSyncFarming) String() string
- func (msg *MsgSyncFarming) Type() string
- func (m *MsgSyncFarming) Unmarshal(dAtA []byte) error
- func (msg *MsgSyncFarming) ValidateBasic() error
- func (m *MsgSyncFarming) XXX_DiscardUnknown()
- func (m *MsgSyncFarming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSyncFarming) XXX_Merge(src proto.Message)
- func (m *MsgSyncFarming) XXX_Size() int
- func (m *MsgSyncFarming) XXX_Unmarshal(b []byte) error
- type MsgSyncFarmingResponse
- func (*MsgSyncFarmingResponse) Descriptor() ([]byte, []int)
- func (m *MsgSyncFarmingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSyncFarmingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSyncFarmingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSyncFarmingResponse) ProtoMessage()
- func (m *MsgSyncFarmingResponse) Reset()
- func (m *MsgSyncFarmingResponse) Size() (n int)
- func (m *MsgSyncFarmingResponse) String() string
- func (m *MsgSyncFarmingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSyncFarmingResponse) XXX_DiscardUnknown()
- func (m *MsgSyncFarmingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSyncFarmingResponse) XXX_Merge(src proto.Message)
- func (m *MsgSyncFarmingResponse) XXX_Size() int
- func (m *MsgSyncFarmingResponse) XXX_Unmarshal(b []byte) error
- type MsgTriggerSetRefund
- func (*MsgTriggerSetRefund) Descriptor() ([]byte, []int)
- func (m *MsgTriggerSetRefund) GetAmount() string
- func (m *MsgTriggerSetRefund) GetCreator() string
- func (m *MsgTriggerSetRefund) GetDstChainId() uint64
- func (m *MsgTriggerSetRefund) GetNonce() uint64
- func (m *MsgTriggerSetRefund) GetReceiver() string
- func (m *MsgTriggerSetRefund) GetSender() string
- func (msg *MsgTriggerSetRefund) GetSignBytes() []byte
- func (msg *MsgTriggerSetRefund) GetSigners() []sdk.AccAddress
- func (m *MsgTriggerSetRefund) GetSrcChainId() uint64
- func (m *MsgTriggerSetRefund) GetToken() string
- func (m *MsgTriggerSetRefund) Marshal() (dAtA []byte, err error)
- func (m *MsgTriggerSetRefund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTriggerSetRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTriggerSetRefund) ProtoMessage()
- func (m *MsgTriggerSetRefund) Reset()
- func (msg *MsgTriggerSetRefund) Route() string
- func (m *MsgTriggerSetRefund) Size() (n int)
- func (m *MsgTriggerSetRefund) String() string
- func (msg *MsgTriggerSetRefund) Type() string
- func (m *MsgTriggerSetRefund) Unmarshal(dAtA []byte) error
- func (msg *MsgTriggerSetRefund) ValidateBasic() error
- func (m *MsgTriggerSetRefund) XXX_DiscardUnknown()
- func (m *MsgTriggerSetRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTriggerSetRefund) XXX_Merge(src proto.Message)
- func (m *MsgTriggerSetRefund) XXX_Size() int
- func (m *MsgTriggerSetRefund) XXX_Unmarshal(b []byte) error
- type MsgTriggerSetRefundResp
- func (*MsgTriggerSetRefundResp) Descriptor() ([]byte, []int)
- func (m *MsgTriggerSetRefundResp) Marshal() (dAtA []byte, err error)
- func (m *MsgTriggerSetRefundResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTriggerSetRefundResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTriggerSetRefundResp) ProtoMessage()
- func (m *MsgTriggerSetRefundResp) Reset()
- func (m *MsgTriggerSetRefundResp) Size() (n int)
- func (m *MsgTriggerSetRefundResp) String() string
- func (m *MsgTriggerSetRefundResp) Unmarshal(dAtA []byte) error
- func (m *MsgTriggerSetRefundResp) XXX_DiscardUnknown()
- func (m *MsgTriggerSetRefundResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTriggerSetRefundResp) XXX_Merge(src proto.Message)
- func (m *MsgTriggerSetRefundResp) XXX_Size() int
- func (m *MsgTriggerSetRefundResp) XXX_Unmarshal(b []byte) error
- type MsgUpdateLatestSigners
- func (*MsgUpdateLatestSigners) Descriptor() ([]byte, []int)
- func (m *MsgUpdateLatestSigners) GetCreator() string
- func (msg *MsgUpdateLatestSigners) GetSignBytes() []byte
- func (msg *MsgUpdateLatestSigners) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateLatestSigners) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateLatestSigners) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateLatestSigners) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateLatestSigners) ProtoMessage()
- func (m *MsgUpdateLatestSigners) Reset()
- func (msg *MsgUpdateLatestSigners) Route() string
- func (m *MsgUpdateLatestSigners) Size() (n int)
- func (m *MsgUpdateLatestSigners) String() string
- func (msg *MsgUpdateLatestSigners) Type() string
- func (m *MsgUpdateLatestSigners) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateLatestSigners) ValidateBasic() error
- func (m *MsgUpdateLatestSigners) XXX_DiscardUnknown()
- func (m *MsgUpdateLatestSigners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateLatestSigners) XXX_Merge(src proto.Message)
- func (m *MsgUpdateLatestSigners) XXX_Size() int
- func (m *MsgUpdateLatestSigners) XXX_Unmarshal(b []byte) error
- type MsgUpdateLatestSignersResp
- func (*MsgUpdateLatestSignersResp) Descriptor() ([]byte, []int)
- func (m *MsgUpdateLatestSignersResp) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateLatestSignersResp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateLatestSignersResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateLatestSignersResp) ProtoMessage()
- func (m *MsgUpdateLatestSignersResp) Reset()
- func (m *MsgUpdateLatestSignersResp) Size() (n int)
- func (m *MsgUpdateLatestSignersResp) String() string
- func (m *MsgUpdateLatestSignersResp) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateLatestSignersResp) XXX_DiscardUnknown()
- func (m *MsgUpdateLatestSignersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateLatestSignersResp) XXX_Merge(src proto.Message)
- func (m *MsgUpdateLatestSignersResp) XXX_Size() int
- func (m *MsgUpdateLatestSignersResp) XXX_Unmarshal(b []byte) error
- type MySig
- func (*MySig) Descriptor() ([]byte, []int)
- func (m *MySig) GetChainId() uint64
- func (m *MySig) GetSig() []byte
- func (m *MySig) Marshal() (dAtA []byte, err error)
- func (m *MySig) MarshalTo(dAtA []byte) (int, error)
- func (m *MySig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MySig) ProtoMessage()
- func (m *MySig) Reset()
- func (m *MySig) Size() (n int)
- func (m *MySig) String() string
- func (m *MySig) Unmarshal(dAtA []byte) error
- func (m *MySig) XXX_DiscardUnknown()
- func (m *MySig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MySig) XXX_Merge(src proto.Message)
- func (m *MySig) XXX_Size() int
- func (m *MySig) XXX_Unmarshal(b []byte) error
- type OnChainEvent
- func (*OnChainEvent) Descriptor() ([]byte, []int)
- func (m *OnChainEvent) GetChainid() uint64
- func (m *OnChainEvent) GetElog() []byte
- func (m *OnChainEvent) GetEvtype() string
- func (m *OnChainEvent) Marshal() (dAtA []byte, err error)
- func (m *OnChainEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *OnChainEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OnChainEvent) ProtoMessage()
- func (m *OnChainEvent) Reset()
- func (m *OnChainEvent) Size() (n int)
- func (m *OnChainEvent) String() string
- func (m *OnChainEvent) Unmarshal(dAtA []byte) error
- func (m *OnChainEvent) XXX_DiscardUnknown()
- func (m *OnChainEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OnChainEvent) XXX_Merge(src proto.Message)
- func (m *OnChainEvent) XXX_Size() int
- func (m *OnChainEvent) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetSignAgainCoolDownDuration() time.Duration
- func (m *Params) GetSignerUpdateDuration() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PerChainPairAssetOverride
- func (*PerChainPairAssetOverride) Descriptor() ([]byte, []int)
- func (m *PerChainPairAssetOverride) GetChpair() *ChainPair
- func (m *PerChainPairAssetOverride) GetSymbol() string
- func (m *PerChainPairAssetOverride) Marshal() (dAtA []byte, err error)
- func (m *PerChainPairAssetOverride) MarshalTo(dAtA []byte) (int, error)
- func (m *PerChainPairAssetOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerChainPairAssetOverride) ProtoMessage()
- func (m *PerChainPairAssetOverride) Reset()
- func (m *PerChainPairAssetOverride) Size() (n int)
- func (m *PerChainPairAssetOverride) String() string
- func (m *PerChainPairAssetOverride) Unmarshal(dAtA []byte) error
- func (m *PerChainPairAssetOverride) XXX_DiscardUnknown()
- func (m *PerChainPairAssetOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerChainPairAssetOverride) XXX_Merge(src proto.Message)
- func (m *PerChainPairAssetOverride) XXX_Size() int
- func (m *PerChainPairAssetOverride) XXX_Unmarshal(b []byte) error
- type PerFeeSplitChainOverride
- func (*PerFeeSplitChainOverride) Descriptor() ([]byte, []int)
- func (m *PerFeeSplitChainOverride) GetDstChainId() uint64
- func (m *PerFeeSplitChainOverride) GetFeeSplit() *FeeSplit
- func (m *PerFeeSplitChainOverride) Marshal() (dAtA []byte, err error)
- func (m *PerFeeSplitChainOverride) MarshalTo(dAtA []byte) (int, error)
- func (m *PerFeeSplitChainOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerFeeSplitChainOverride) ProtoMessage()
- func (m *PerFeeSplitChainOverride) Reset()
- func (m *PerFeeSplitChainOverride) Size() (n int)
- func (m *PerFeeSplitChainOverride) String() string
- func (m *PerFeeSplitChainOverride) Unmarshal(dAtA []byte) error
- func (m *PerFeeSplitChainOverride) XXX_DiscardUnknown()
- func (m *PerFeeSplitChainOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerFeeSplitChainOverride) XXX_Merge(src proto.Message)
- func (m *PerFeeSplitChainOverride) XXX_Size() int
- func (m *PerFeeSplitChainOverride) XXX_Unmarshal(b []byte) error
- type PerFeeSplitPoolOverride
- func (*PerFeeSplitPoolOverride) Descriptor() ([]byte, []int)
- func (m *PerFeeSplitPoolOverride) GetDstChainId() uint64
- func (m *PerFeeSplitPoolOverride) GetFeeSplit() *FeeSplit
- func (m *PerFeeSplitPoolOverride) GetSymbol() string
- func (m *PerFeeSplitPoolOverride) Marshal() (dAtA []byte, err error)
- func (m *PerFeeSplitPoolOverride) MarshalTo(dAtA []byte) (int, error)
- func (m *PerFeeSplitPoolOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerFeeSplitPoolOverride) ProtoMessage()
- func (m *PerFeeSplitPoolOverride) Reset()
- func (m *PerFeeSplitPoolOverride) Size() (n int)
- func (m *PerFeeSplitPoolOverride) String() string
- func (m *PerFeeSplitPoolOverride) Unmarshal(dAtA []byte) error
- func (m *PerFeeSplitPoolOverride) XXX_DiscardUnknown()
- func (m *PerFeeSplitPoolOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerFeeSplitPoolOverride) XXX_Merge(src proto.Message)
- func (m *PerFeeSplitPoolOverride) XXX_Size() int
- func (m *PerFeeSplitPoolOverride) XXX_Unmarshal(b []byte) error
- type QueryAddLiquidityStatusRequest
- func (*QueryAddLiquidityStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryAddLiquidityStatusRequest) GetChainId() uint64
- func (m *QueryAddLiquidityStatusRequest) GetSeqNum() uint64
- func (m *QueryAddLiquidityStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAddLiquidityStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddLiquidityStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddLiquidityStatusRequest) ProtoMessage()
- func (m *QueryAddLiquidityStatusRequest) Reset()
- func (m *QueryAddLiquidityStatusRequest) Size() (n int)
- func (m *QueryAddLiquidityStatusRequest) String() string
- func (m *QueryAddLiquidityStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAddLiquidityStatusRequest) XXX_DiscardUnknown()
- func (m *QueryAddLiquidityStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddLiquidityStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryAddLiquidityStatusRequest) XXX_Size() int
- func (m *QueryAddLiquidityStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryAssetPriceRequest
- func (*QueryAssetPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryAssetPriceRequest) GetSymbol() string
- func (m *QueryAssetPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetPriceRequest) ProtoMessage()
- func (m *QueryAssetPriceRequest) Reset()
- func (m *QueryAssetPriceRequest) Size() (n int)
- func (m *QueryAssetPriceRequest) String() string
- func (m *QueryAssetPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAssetPriceRequest) XXX_DiscardUnknown()
- func (m *QueryAssetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryAssetPriceRequest) XXX_Size() int
- func (m *QueryAssetPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryAssetPriceResponse
- func (*QueryAssetPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryAssetPriceResponse) GetExtraPower10() uint32
- func (m *QueryAssetPriceResponse) GetPrice() uint32
- func (m *QueryAssetPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetPriceResponse) ProtoMessage()
- func (m *QueryAssetPriceResponse) Reset()
- func (m *QueryAssetPriceResponse) Size() (n int)
- func (m *QueryAssetPriceResponse) String() string
- func (m *QueryAssetPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAssetPriceResponse) XXX_DiscardUnknown()
- func (m *QueryAssetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryAssetPriceResponse) XXX_Size() int
- func (m *QueryAssetPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryAssetsInfosRequest
- func (*QueryAssetsInfosRequest) Descriptor() ([]byte, []int)
- func (m *QueryAssetsInfosRequest) GetChainIds() []uint64
- func (m *QueryAssetsInfosRequest) GetSymbols() []string
- func (m *QueryAssetsInfosRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetsInfosRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetsInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetsInfosRequest) ProtoMessage()
- func (m *QueryAssetsInfosRequest) Reset()
- func (m *QueryAssetsInfosRequest) Size() (n int)
- func (m *QueryAssetsInfosRequest) String() string
- func (m *QueryAssetsInfosRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAssetsInfosRequest) XXX_DiscardUnknown()
- func (m *QueryAssetsInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetsInfosRequest) XXX_Merge(src proto.Message)
- func (m *QueryAssetsInfosRequest) XXX_Size() int
- func (m *QueryAssetsInfosRequest) XXX_Unmarshal(b []byte) error
- type QueryAssetsInfosResponse
- func (*QueryAssetsInfosResponse) Descriptor() ([]byte, []int)
- func (m *QueryAssetsInfosResponse) GetAssets() []*ChainAsset
- func (m *QueryAssetsInfosResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetsInfosResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetsInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetsInfosResponse) ProtoMessage()
- func (m *QueryAssetsInfosResponse) Reset()
- func (m *QueryAssetsInfosResponse) Size() (n int)
- func (m *QueryAssetsInfosResponse) String() string
- func (m *QueryAssetsInfosResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAssetsInfosResponse) XXX_DiscardUnknown()
- func (m *QueryAssetsInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetsInfosResponse) XXX_Merge(src proto.Message)
- func (m *QueryAssetsInfosResponse) XXX_Size() int
- func (m *QueryAssetsInfosResponse) XXX_Unmarshal(b []byte) error
- type QueryAssetsResponse
- func (*QueryAssetsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAssetsResponse) GetAssets() []*ChainAsset
- func (m *QueryAssetsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetsResponse) ProtoMessage()
- func (m *QueryAssetsResponse) Reset()
- func (m *QueryAssetsResponse) Size() (n int)
- func (m *QueryAssetsResponse) String() string
- func (m *QueryAssetsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAssetsResponse) XXX_DiscardUnknown()
- func (m *QueryAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAssetsResponse) XXX_Size() int
- func (m *QueryAssetsResponse) XXX_Unmarshal(b []byte) error
- type QueryAssetsSymbolsRequest
- func (*QueryAssetsSymbolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAssetsSymbolsRequest) GetChainTokens() []*ChainTokenAddrPair
- func (m *QueryAssetsSymbolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetsSymbolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetsSymbolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetsSymbolsRequest) ProtoMessage()
- func (m *QueryAssetsSymbolsRequest) Reset()
- func (m *QueryAssetsSymbolsRequest) Size() (n int)
- func (m *QueryAssetsSymbolsRequest) String() string
- func (m *QueryAssetsSymbolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAssetsSymbolsRequest) XXX_DiscardUnknown()
- func (m *QueryAssetsSymbolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetsSymbolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAssetsSymbolsRequest) XXX_Size() int
- func (m *QueryAssetsSymbolsRequest) XXX_Unmarshal(b []byte) error
- type QueryAssetsSymbolsResponse
- func (*QueryAssetsSymbolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAssetsSymbolsResponse) GetSymbols() []string
- func (m *QueryAssetsSymbolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetsSymbolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetsSymbolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetsSymbolsResponse) ProtoMessage()
- func (m *QueryAssetsSymbolsResponse) Reset()
- func (m *QueryAssetsSymbolsResponse) Size() (n int)
- func (m *QueryAssetsSymbolsResponse) String() string
- func (m *QueryAssetsSymbolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAssetsSymbolsResponse) XXX_DiscardUnknown()
- func (m *QueryAssetsSymbolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetsSymbolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAssetsSymbolsResponse) XXX_Size() int
- func (m *QueryAssetsSymbolsResponse) XXX_Unmarshal(b []byte) error
- type QueryBalancersResponse
- func (*QueryBalancersResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalancersResponse) GetBalancers() []string
- func (m *QueryBalancersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalancersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalancersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalancersResponse) ProtoMessage()
- func (m *QueryBalancersResponse) Reset()
- func (m *QueryBalancersResponse) Size() (n int)
- func (m *QueryBalancersResponse) String() string
- func (m *QueryBalancersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalancersResponse) XXX_DiscardUnknown()
- func (m *QueryBalancersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalancersResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalancersResponse) XXX_Size() int
- func (m *QueryBalancersResponse) XXX_Unmarshal(b []byte) error
- type QueryChainSignersRequest
- func (*QueryChainSignersRequest) Descriptor() ([]byte, []int)
- func (m *QueryChainSignersRequest) GetChainId() uint64
- func (m *QueryChainSignersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryChainSignersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryChainSignersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryChainSignersRequest) ProtoMessage()
- func (m *QueryChainSignersRequest) Reset()
- func (m *QueryChainSignersRequest) Size() (n int)
- func (m *QueryChainSignersRequest) String() string
- func (m *QueryChainSignersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryChainSignersRequest) XXX_DiscardUnknown()
- func (m *QueryChainSignersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryChainSignersRequest) XXX_Merge(src proto.Message)
- func (m *QueryChainSignersRequest) XXX_Size() int
- func (m *QueryChainSignersRequest) XXX_Unmarshal(b []byte) error
- type QueryChainSignersResponse
- func (*QueryChainSignersResponse) Descriptor() ([]byte, []int)
- func (m *QueryChainSignersResponse) GetChainSigners() *ChainSigners
- func (m *QueryChainSignersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryChainSignersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryChainSignersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryChainSignersResponse) ProtoMessage()
- func (m *QueryChainSignersResponse) Reset()
- func (m *QueryChainSignersResponse) Size() (n int)
- func (m *QueryChainSignersResponse) String() string
- func (m *QueryChainSignersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryChainSignersResponse) XXX_DiscardUnknown()
- func (m *QueryChainSignersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryChainSignersResponse) XXX_Merge(src proto.Message)
- func (m *QueryChainSignersResponse) XXX_Size() int
- func (m *QueryChainSignersResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryConfigResponse
- func (*QueryConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryConfigResponse) GetCbrConfig() *CbrConfig
- func (m *QueryConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfigResponse) ProtoMessage()
- func (m *QueryConfigResponse) Reset()
- func (m *QueryConfigResponse) Size() (n int)
- func (m *QueryConfigResponse) String() string
- func (m *QueryConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConfigResponse) XXX_DiscardUnknown()
- func (m *QueryConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryConfigResponse) XXX_Size() int
- func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryDebugAnyRequest
- func (*QueryDebugAnyRequest) Descriptor() ([]byte, []int)
- func (m *QueryDebugAnyRequest) GetKey() []byte
- func (m *QueryDebugAnyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDebugAnyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDebugAnyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDebugAnyRequest) ProtoMessage()
- func (m *QueryDebugAnyRequest) Reset()
- func (m *QueryDebugAnyRequest) Size() (n int)
- func (m *QueryDebugAnyRequest) String() string
- func (m *QueryDebugAnyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDebugAnyRequest) XXX_DiscardUnknown()
- func (m *QueryDebugAnyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDebugAnyRequest) XXX_Merge(src proto.Message)
- func (m *QueryDebugAnyRequest) XXX_Size() int
- func (m *QueryDebugAnyRequest) XXX_Unmarshal(b []byte) error
- type QueryDebugAnyResponse
- func (*QueryDebugAnyResponse) Descriptor() ([]byte, []int)
- func (m *QueryDebugAnyResponse) GetData() []byte
- func (m *QueryDebugAnyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDebugAnyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDebugAnyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDebugAnyResponse) ProtoMessage()
- func (m *QueryDebugAnyResponse) Reset()
- func (m *QueryDebugAnyResponse) Size() (n int)
- func (m *QueryDebugAnyResponse) String() string
- func (m *QueryDebugAnyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDebugAnyResponse) XXX_DiscardUnknown()
- func (m *QueryDebugAnyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDebugAnyResponse) XXX_Merge(src proto.Message)
- func (m *QueryDebugAnyResponse) XXX_Size() int
- func (m *QueryDebugAnyResponse) XXX_Unmarshal(b []byte) error
- type QueryGasPriceRequest
- func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGasPriceRequest) GetChainId() uint64
- func (m *QueryGasPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGasPriceRequest) ProtoMessage()
- func (m *QueryGasPriceRequest) Reset()
- func (m *QueryGasPriceRequest) Size() (n int)
- func (m *QueryGasPriceRequest) String() string
- func (m *QueryGasPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGasPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGasPriceRequest) XXX_Size() int
- func (m *QueryGasPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGasPriceResponse
- func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGasPriceResponse) GetPrice() string
- func (m *QueryGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGasPriceResponse) ProtoMessage()
- func (m *QueryGasPriceResponse) Reset()
- func (m *QueryGasPriceResponse) Size() (n int)
- func (m *QueryGasPriceResponse) String() string
- func (m *QueryGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGasPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGasPriceResponse) XXX_Size() int
- func (m *QueryGasPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryLPOriginRequest
- func (*QueryLPOriginRequest) Descriptor() ([]byte, []int)
- func (m *QueryLPOriginRequest) GetUsrAddr() string
- func (m *QueryLPOriginRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLPOriginRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLPOriginRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLPOriginRequest) ProtoMessage()
- func (m *QueryLPOriginRequest) Reset()
- func (m *QueryLPOriginRequest) Size() (n int)
- func (m *QueryLPOriginRequest) String() string
- func (m *QueryLPOriginRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLPOriginRequest) XXX_DiscardUnknown()
- func (m *QueryLPOriginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLPOriginRequest) XXX_Merge(src proto.Message)
- func (m *QueryLPOriginRequest) XXX_Size() int
- func (m *QueryLPOriginRequest) XXX_Unmarshal(b []byte) error
- type QueryLPOriginResponse
- func (*QueryLPOriginResponse) Descriptor() ([]byte, []int)
- func (m *QueryLPOriginResponse) GetChainId() uint64
- func (m *QueryLPOriginResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLPOriginResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLPOriginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLPOriginResponse) ProtoMessage()
- func (m *QueryLPOriginResponse) Reset()
- func (m *QueryLPOriginResponse) Size() (n int)
- func (m *QueryLPOriginResponse) String() string
- func (m *QueryLPOriginResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLPOriginResponse) XXX_DiscardUnknown()
- func (m *QueryLPOriginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLPOriginResponse) XXX_Merge(src proto.Message)
- func (m *QueryLPOriginResponse) XXX_Size() int
- func (m *QueryLPOriginResponse) XXX_Unmarshal(b []byte) error
- type QueryLPsRequest
- func (*QueryLPsRequest) Descriptor() ([]byte, []int)
- func (m *QueryLPsRequest) GetChainId() uint64
- func (m *QueryLPsRequest) GetTokenAddr() string
- func (m *QueryLPsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLPsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLPsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLPsRequest) ProtoMessage()
- func (m *QueryLPsRequest) Reset()
- func (m *QueryLPsRequest) Size() (n int)
- func (m *QueryLPsRequest) String() string
- func (m *QueryLPsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLPsRequest) XXX_DiscardUnknown()
- func (m *QueryLPsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLPsRequest) XXX_Merge(src proto.Message)
- func (m *QueryLPsRequest) XXX_Size() int
- func (m *QueryLPsRequest) XXX_Unmarshal(b []byte) error
- type QueryLPsResponse
- func (*QueryLPsResponse) Descriptor() ([]byte, []int)
- func (m *QueryLPsResponse) GetLps() []string
- func (m *QueryLPsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLPsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLPsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLPsResponse) ProtoMessage()
- func (m *QueryLPsResponse) Reset()
- func (m *QueryLPsResponse) Size() (n int)
- func (m *QueryLPsResponse) String() string
- func (m *QueryLPsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLPsResponse) XXX_DiscardUnknown()
- func (m *QueryLPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLPsResponse) XXX_Merge(src proto.Message)
- func (m *QueryLPsResponse) XXX_Size() int
- func (m *QueryLPsResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestSignersResponse
- func (*QueryLatestSignersResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestSignersResponse) GetLatestSigners() *LatestSigners
- func (m *QueryLatestSignersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestSignersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestSignersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestSignersResponse) ProtoMessage()
- func (m *QueryLatestSignersResponse) Reset()
- func (m *QueryLatestSignersResponse) Size() (n int)
- func (m *QueryLatestSignersResponse) String() string
- func (m *QueryLatestSignersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestSignersResponse) XXX_DiscardUnknown()
- func (m *QueryLatestSignersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestSignersResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestSignersResponse) XXX_Size() int
- func (m *QueryLatestSignersResponse) XXX_Unmarshal(b []byte) error
- type QueryLiquidityCapRequest
- func (*QueryLiquidityCapRequest) Descriptor() ([]byte, []int)
- func (m *QueryLiquidityCapRequest) GetChainId() uint64
- func (m *QueryLiquidityCapRequest) GetTokenAddr() string
- func (m *QueryLiquidityCapRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidityCapRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidityCapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidityCapRequest) ProtoMessage()
- func (m *QueryLiquidityCapRequest) Reset()
- func (m *QueryLiquidityCapRequest) Size() (n int)
- func (m *QueryLiquidityCapRequest) String() string
- func (m *QueryLiquidityCapRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidityCapRequest) XXX_DiscardUnknown()
- func (m *QueryLiquidityCapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidityCapRequest) XXX_Merge(src proto.Message)
- func (m *QueryLiquidityCapRequest) XXX_Size() int
- func (m *QueryLiquidityCapRequest) XXX_Unmarshal(b []byte) error
- type QueryLiquidityCapResponse
- func (*QueryLiquidityCapResponse) Descriptor() ([]byte, []int)
- func (m *QueryLiquidityCapResponse) GetLiqCap() map[string]string
- func (m *QueryLiquidityCapResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidityCapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidityCapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidityCapResponse) ProtoMessage()
- func (m *QueryLiquidityCapResponse) Reset()
- func (m *QueryLiquidityCapResponse) Size() (n int)
- func (m *QueryLiquidityCapResponse) String() string
- func (m *QueryLiquidityCapResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidityCapResponse) XXX_DiscardUnknown()
- func (m *QueryLiquidityCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidityCapResponse) XXX_Merge(src proto.Message)
- func (m *QueryLiquidityCapResponse) XXX_Size() int
- func (m *QueryLiquidityCapResponse) XXX_Unmarshal(b []byte) error
- type QueryLiquidityRequest
- func (*QueryLiquidityRequest) Descriptor() ([]byte, []int)
- func (m *QueryLiquidityRequest) GetChainId() uint64
- func (m *QueryLiquidityRequest) GetTokenAddr() string
- func (m *QueryLiquidityRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidityRequest) ProtoMessage()
- func (m *QueryLiquidityRequest) Reset()
- func (m *QueryLiquidityRequest) Size() (n int)
- func (m *QueryLiquidityRequest) String() string
- func (m *QueryLiquidityRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidityRequest) XXX_DiscardUnknown()
- func (m *QueryLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidityRequest) XXX_Merge(src proto.Message)
- func (m *QueryLiquidityRequest) XXX_Size() int
- func (m *QueryLiquidityRequest) XXX_Unmarshal(b []byte) error
- type QueryLiquidityResponse
- func (*QueryLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *QueryLiquidityResponse) GetLpBalance() map[string]string
- func (m *QueryLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidityResponse) ProtoMessage()
- func (m *QueryLiquidityResponse) Reset()
- func (m *QueryLiquidityResponse) Size() (n int)
- func (m *QueryLiquidityResponse) String() string
- func (m *QueryLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidityResponse) XXX_DiscardUnknown()
- func (m *QueryLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *QueryLiquidityResponse) XXX_Size() int
- func (m *QueryLiquidityResponse) XXX_Unmarshal(b []byte) error
- type QueryLiquidityStatusResponse
- func (*QueryLiquidityStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryLiquidityStatusResponse) GetDetail() *WithdrawDetail
- func (m *QueryLiquidityStatusResponse) GetStatus() WithdrawStatus
- func (m *QueryLiquidityStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidityStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidityStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidityStatusResponse) ProtoMessage()
- func (m *QueryLiquidityStatusResponse) Reset()
- func (m *QueryLiquidityStatusResponse) Size() (n int)
- func (m *QueryLiquidityStatusResponse) String() string
- func (m *QueryLiquidityStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidityStatusResponse) XXX_DiscardUnknown()
- func (m *QueryLiquidityStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidityStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryLiquidityStatusResponse) XXX_Size() int
- func (m *QueryLiquidityStatusResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryRefundRequest
- func (*QueryRefundRequest) Descriptor() ([]byte, []int)
- func (m *QueryRefundRequest) GetXrefId() []byte
- func (m *QueryRefundRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRefundRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRefundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRefundRequest) ProtoMessage()
- func (m *QueryRefundRequest) Reset()
- func (m *QueryRefundRequest) Size() (n int)
- func (m *QueryRefundRequest) String() string
- func (m *QueryRefundRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRefundRequest) XXX_DiscardUnknown()
- func (m *QueryRefundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRefundRequest) XXX_Merge(src proto.Message)
- func (m *QueryRefundRequest) XXX_Size() int
- func (m *QueryRefundRequest) XXX_Unmarshal(b []byte) error
- type QueryRefundResponse
- func (*QueryRefundResponse) Descriptor() ([]byte, []int)
- func (m *QueryRefundResponse) GetWdOnchain() *WithdrawOnchain
- func (m *QueryRefundResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRefundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRefundResponse) ProtoMessage()
- func (m *QueryRefundResponse) Reset()
- func (m *QueryRefundResponse) Size() (n int)
- func (m *QueryRefundResponse) String() string
- func (m *QueryRefundResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRefundResponse) XXX_DiscardUnknown()
- func (m *QueryRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRefundResponse) XXX_Merge(src proto.Message)
- func (m *QueryRefundResponse) XXX_Size() int
- func (m *QueryRefundResponse) XXX_Unmarshal(b []byte) error
- type QueryRelayRequest
- func (*QueryRelayRequest) Descriptor() ([]byte, []int)
- func (m *QueryRelayRequest) GetXrefId() []byte
- func (m *QueryRelayRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRelayRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRelayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRelayRequest) ProtoMessage()
- func (m *QueryRelayRequest) Reset()
- func (m *QueryRelayRequest) Size() (n int)
- func (m *QueryRelayRequest) String() string
- func (m *QueryRelayRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRelayRequest) XXX_DiscardUnknown()
- func (m *QueryRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRelayRequest) XXX_Merge(src proto.Message)
- func (m *QueryRelayRequest) XXX_Size() int
- func (m *QueryRelayRequest) XXX_Unmarshal(b []byte) error
- type QueryRelayResponse
- func (*QueryRelayResponse) Descriptor() ([]byte, []int)
- func (m *QueryRelayResponse) GetXferRelay() *XferRelay
- func (m *QueryRelayResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRelayResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRelayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRelayResponse) ProtoMessage()
- func (m *QueryRelayResponse) Reset()
- func (m *QueryRelayResponse) Size() (n int)
- func (m *QueryRelayResponse) String() string
- func (m *QueryRelayResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRelayResponse) XXX_DiscardUnknown()
- func (m *QueryRelayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRelayResponse) XXX_Merge(src proto.Message)
- func (m *QueryRelayResponse) XXX_Size() int
- func (m *QueryRelayResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTotalLiquidityRequest
- func (*QueryTotalLiquidityRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalLiquidityRequest) GetChainId() uint64
- func (m *QueryTotalLiquidityRequest) GetTokenAddr() string
- func (m *QueryTotalLiquidityRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalLiquidityRequest) ProtoMessage()
- func (m *QueryTotalLiquidityRequest) Reset()
- func (m *QueryTotalLiquidityRequest) Size() (n int)
- func (m *QueryTotalLiquidityRequest) String() string
- func (m *QueryTotalLiquidityRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalLiquidityRequest) XXX_DiscardUnknown()
- func (m *QueryTotalLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalLiquidityRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalLiquidityRequest) XXX_Size() int
- func (m *QueryTotalLiquidityRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalLiquidityResponse
- func (*QueryTotalLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalLiquidityResponse) GetTotalLiq() string
- func (m *QueryTotalLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalLiquidityResponse) ProtoMessage()
- func (m *QueryTotalLiquidityResponse) Reset()
- func (m *QueryTotalLiquidityResponse) Size() (n int)
- func (m *QueryTotalLiquidityResponse) String() string
- func (m *QueryTotalLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalLiquidityResponse) XXX_DiscardUnknown()
- func (m *QueryTotalLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalLiquidityResponse) XXX_Size() int
- func (m *QueryTotalLiquidityResponse) XXX_Unmarshal(b []byte) error
- type QueryTransferStatusRequest
- func (*QueryTransferStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryTransferStatusRequest) GetTransferId() []string
- func (m *QueryTransferStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTransferStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTransferStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTransferStatusRequest) ProtoMessage()
- func (m *QueryTransferStatusRequest) Reset()
- func (m *QueryTransferStatusRequest) Size() (n int)
- func (m *QueryTransferStatusRequest) String() string
- func (m *QueryTransferStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTransferStatusRequest) XXX_DiscardUnknown()
- func (m *QueryTransferStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTransferStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryTransferStatusRequest) XXX_Size() int
- func (m *QueryTransferStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryTransferStatusResponse
- func (*QueryTransferStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryTransferStatusResponse) GetStatus() map[string]*TransferStatus
- func (m *QueryTransferStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTransferStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTransferStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTransferStatusResponse) ProtoMessage()
- func (m *QueryTransferStatusResponse) Reset()
- func (m *QueryTransferStatusResponse) Size() (n int)
- func (m *QueryTransferStatusResponse) String() string
- func (m *QueryTransferStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTransferStatusResponse) XXX_DiscardUnknown()
- func (m *QueryTransferStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTransferStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryTransferStatusResponse) XXX_Size() int
- func (m *QueryTransferStatusResponse) XXX_Unmarshal(b []byte) error
- type QueryWithdrawLiquidityStatusRequest
- func (*QueryWithdrawLiquidityStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawLiquidityStatusRequest) GetSeqNum() uint64
- func (m *QueryWithdrawLiquidityStatusRequest) GetUsrAddr() string
- func (m *QueryWithdrawLiquidityStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawLiquidityStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawLiquidityStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawLiquidityStatusRequest) ProtoMessage()
- func (m *QueryWithdrawLiquidityStatusRequest) Reset()
- func (m *QueryWithdrawLiquidityStatusRequest) Size() (n int)
- func (m *QueryWithdrawLiquidityStatusRequest) String() string
- func (m *QueryWithdrawLiquidityStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawLiquidityStatusRequest) XXX_DiscardUnknown()
- func (m *QueryWithdrawLiquidityStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawLiquidityStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawLiquidityStatusRequest) XXX_Size() int
- func (m *QueryWithdrawLiquidityStatusRequest) XXX_Unmarshal(b []byte) error
- type RelayGasCostParam
- func (*RelayGasCostParam) Descriptor() ([]byte, []int)
- func (m *RelayGasCostParam) GetChainId() uint64
- func (m *RelayGasCostParam) GetCostBase() uint32
- func (m *RelayGasCostParam) GetPerSig() uint32
- func (m *RelayGasCostParam) GetPerValidator() uint32
- func (m *RelayGasCostParam) Marshal() (dAtA []byte, err error)
- func (m *RelayGasCostParam) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayGasCostParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayGasCostParam) ProtoMessage()
- func (m *RelayGasCostParam) Reset()
- func (m *RelayGasCostParam) Size() (n int)
- func (m *RelayGasCostParam) String() string
- func (m *RelayGasCostParam) Unmarshal(dAtA []byte) error
- func (m *RelayGasCostParam) XXX_DiscardUnknown()
- func (m *RelayGasCostParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayGasCostParam) XXX_Merge(src proto.Message)
- func (m *RelayGasCostParam) XXX_Size() int
- func (m *RelayGasCostParam) XXX_Unmarshal(b []byte) error
- type RelayOnChain
- func (*RelayOnChain) Descriptor() ([]byte, []int)
- func (m *RelayOnChain) GetAmount() []byte
- func (m *RelayOnChain) GetDstChainId() uint64
- func (m *RelayOnChain) GetReceiver() []byte
- func (m *RelayOnChain) GetSender() []byte
- func (m *RelayOnChain) GetSrcChainId() uint64
- func (m *RelayOnChain) GetSrcTransferId() []byte
- func (m *RelayOnChain) GetToken() []byte
- func (m *RelayOnChain) Marshal() (dAtA []byte, err error)
- func (m *RelayOnChain) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayOnChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayOnChain) ProtoMessage()
- func (m *RelayOnChain) Reset()
- func (m *RelayOnChain) Size() (n int)
- func (r *RelayOnChain) String() string
- func (m *RelayOnChain) Unmarshal(dAtA []byte) error
- func (m *RelayOnChain) XXX_DiscardUnknown()
- func (m *RelayOnChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayOnChain) XXX_Merge(src proto.Message)
- func (m *RelayOnChain) XXX_Size() int
- func (m *RelayOnChain) XXX_Unmarshal(b []byte) error
- type SignDataType
- type Signer
- func (*Signer) Descriptor() ([]byte, []int)
- func (m *Signer) GetAddr() []byte
- func (m *Signer) GetPower() []byte
- func (m *Signer) Marshal() (dAtA []byte, err error)
- func (m *Signer) MarshalTo(dAtA []byte) (int, error)
- func (m *Signer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Signer) ProtoMessage()
- func (m *Signer) Reset()
- func (m *Signer) Size() (n int)
- func (s *Signer) String() string
- func (m *Signer) Unmarshal(dAtA []byte) error
- func (m *Signer) XXX_DiscardUnknown()
- func (m *Signer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Signer) XXX_Merge(src proto.Message)
- func (m *Signer) XXX_Size() int
- func (m *Signer) XXX_Unmarshal(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetAddress() string
- func (m *Token) GetDecimal() int32
- func (m *Token) GetSymbol() string
- func (m *Token) GetXferDisabled() bool
- func (m *Token) Marshal() (dAtA []byte, err error)
- func (m *Token) MarshalTo(dAtA []byte) (int, error)
- func (m *Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) Size() (n int)
- func (m *Token) String() string
- func (m *Token) Unmarshal(dAtA []byte) error
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type Tokens
- func (*Tokens) Descriptor() ([]byte, []int)
- func (m *Tokens) GetBlockDelay() uint32
- func (m *Tokens) GetContractAddr() string
- func (m *Tokens) GetTokens() []*Token
- func (m *Tokens) Marshal() (dAtA []byte, err error)
- func (m *Tokens) MarshalTo(dAtA []byte) (int, error)
- func (m *Tokens) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tokens) ProtoMessage()
- func (m *Tokens) Reset()
- func (m *Tokens) Size() (n int)
- func (m *Tokens) String() string
- func (m *Tokens) Unmarshal(dAtA []byte) error
- func (m *Tokens) XXX_DiscardUnknown()
- func (m *Tokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tokens) XXX_Merge(src proto.Message)
- func (m *Tokens) XXX_Size() int
- func (m *Tokens) XXX_Unmarshal(b []byte) error
- type TransferHistoryStatus
- type TransferStatus
- func (*TransferStatus) Descriptor() ([]byte, []int)
- func (m *TransferStatus) GetGatewayStatus() TransferHistoryStatus
- func (m *TransferStatus) GetSgnStatus() XferStatus
- func (m *TransferStatus) Marshal() (dAtA []byte, err error)
- func (m *TransferStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *TransferStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransferStatus) ProtoMessage()
- func (m *TransferStatus) Reset()
- func (m *TransferStatus) Size() (n int)
- func (m *TransferStatus) String() string
- func (m *TransferStatus) Unmarshal(dAtA []byte) error
- func (m *TransferStatus) XXX_DiscardUnknown()
- func (m *TransferStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferStatus) XXX_Merge(src proto.Message)
- func (m *TransferStatus) XXX_Size() int
- func (m *TransferStatus) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) InitWithdraw(ctx context.Context, req *MsgInitWithdraw) (*MsgInitWithdrawResp, error)
- func (*UnimplementedMsgServer) SendMySig(ctx context.Context, req *MsgSendMySig) (*MsgSendMySigResp, error)
- func (*UnimplementedMsgServer) SetLiquidityCap(ctx context.Context, req *MsgSetLiquidityCap) (*MsgSetLiquidityCapResp, error)
- func (*UnimplementedMsgServer) SignAgain(ctx context.Context, req *MsgSignAgain) (*MsgSignAgainResp, error)
- func (*UnimplementedMsgServer) SyncFarming(ctx context.Context, req *MsgSyncFarming) (*MsgSyncFarmingResponse, error)
- func (*UnimplementedMsgServer) TriggerSetRefund(ctx context.Context, req *MsgTriggerSetRefund) (*MsgTriggerSetRefundResp, error)
- func (*UnimplementedMsgServer) UpdateLatestSigners(ctx context.Context, req *MsgUpdateLatestSigners) (*MsgUpdateLatestSignersResp, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ChainTokensConfig(ctx context.Context, req *ChainTokensConfigRequest) (*ChainTokensConfigResponse, error)
- func (*UnimplementedQueryServer) GetFee(ctx context.Context, req *GetFeeRequest) (*GetFeeResponse, error)
- func (*UnimplementedQueryServer) GetFeePercentage(ctx context.Context, req *GetFeePercentageRequest) (*GetFeePercentageResponse, error)
- func (*UnimplementedQueryServer) LiquidityDetailList(ctx context.Context, req *LiquidityDetailListRequest) (*LiquidityDetailListResponse, error)
- func (*UnimplementedQueryServer) QueryAddLiquidityStatus(ctx context.Context, req *QueryAddLiquidityStatusRequest) (*QueryLiquidityStatusResponse, error)
- func (*UnimplementedQueryServer) QueryAssetPrice(ctx context.Context, req *QueryAssetPriceRequest) (*QueryAssetPriceResponse, error)
- func (*UnimplementedQueryServer) QueryAssets(ctx context.Context, req *EmptyRequest) (*QueryAssetsResponse, error)
- func (*UnimplementedQueryServer) QueryAssetsInfos(ctx context.Context, req *QueryAssetsInfosRequest) (*QueryAssetsInfosResponse, error)
- func (*UnimplementedQueryServer) QueryAssetsSymbols(ctx context.Context, req *QueryAssetsSymbolsRequest) (*QueryAssetsSymbolsResponse, error)
- func (*UnimplementedQueryServer) QueryBalancers(ctx context.Context, req *EmptyRequest) (*QueryBalancersResponse, error)
- func (*UnimplementedQueryServer) QueryChainSigners(ctx context.Context, req *QueryChainSignersRequest) (*QueryChainSignersResponse, error)
- func (*UnimplementedQueryServer) QueryCheckChainTokenValid(ctx context.Context, req *CheckChainTokenValidRequest) (*CheckChainTokenValidResponse, error)
- func (*UnimplementedQueryServer) QueryChkLiqSum(ctx context.Context, req *CheckLiqSumRequest) (*CheckLiqSumResponse, error)
- func (*UnimplementedQueryServer) QueryConfig(ctx context.Context, req *EmptyRequest) (*QueryConfigResponse, error)
- func (*UnimplementedQueryServer) QueryDebugAny(ctx context.Context, req *QueryDebugAnyRequest) (*QueryDebugAnyResponse, error)
- func (*UnimplementedQueryServer) QueryGasPrice(ctx context.Context, req *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
- func (*UnimplementedQueryServer) QueryLPOrigin(ctx context.Context, req *QueryLPOriginRequest) (*QueryLPOriginResponse, error)
- func (*UnimplementedQueryServer) QueryLPs(ctx context.Context, req *QueryLPsRequest) (*QueryLPsResponse, error)
- func (*UnimplementedQueryServer) QueryLatestSigners(ctx context.Context, req *EmptyRequest) (*QueryLatestSignersResponse, error)
- func (*UnimplementedQueryServer) QueryLiquidity(ctx context.Context, req *QueryLiquidityRequest) (*QueryLiquidityResponse, error)
- func (*UnimplementedQueryServer) QueryLiquidityCap(ctx context.Context, req *QueryLiquidityCapRequest) (*QueryLiquidityCapResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *EmptyRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryRefund(ctx context.Context, req *QueryRefundRequest) (*QueryRefundResponse, error)
- func (*UnimplementedQueryServer) QueryRelay(ctx context.Context, req *QueryRelayRequest) (*QueryRelayResponse, error)
- func (*UnimplementedQueryServer) QueryTotalLiquidity(ctx context.Context, req *QueryTotalLiquidityRequest) (*QueryTotalLiquidityResponse, error)
- func (*UnimplementedQueryServer) QueryTransferStatus(ctx context.Context, req *QueryTransferStatusRequest) (*QueryTransferStatusResponse, error)
- func (*UnimplementedQueryServer) QueryWithdrawLiquidityStatus(ctx context.Context, req *QueryWithdrawLiquidityStatusRequest) (*QueryLiquidityStatusResponse, error)
- type WithdrawDetail
- func (*WithdrawDetail) Descriptor() ([]byte, []int)
- func (m *WithdrawDetail) GetCompleted() bool
- func (m *WithdrawDetail) GetLastReqTime() int64
- func (m *WithdrawDetail) GetPercFee() string
- func (m *WithdrawDetail) GetSortedSigs() []*AddrSig
- func (m *WithdrawDetail) GetSortedSigsBytes() [][]byte
- func (m *WithdrawDetail) GetWdOnchain() []byte
- func (m *WithdrawDetail) GetXferId() []byte
- func (m *WithdrawDetail) Marshal() (dAtA []byte, err error)
- func (m *WithdrawDetail) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawDetail) ProtoMessage()
- func (m *WithdrawDetail) Reset()
- func (m *WithdrawDetail) SignersStr() string
- func (m *WithdrawDetail) Size() (n int)
- func (m *WithdrawDetail) String() string
- func (m *WithdrawDetail) Unmarshal(dAtA []byte) error
- func (m *WithdrawDetail) XXX_DiscardUnknown()
- func (m *WithdrawDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawDetail) XXX_Merge(src proto.Message)
- func (m *WithdrawDetail) XXX_Size() int
- func (m *WithdrawDetail) XXX_Unmarshal(b []byte) error
- type WithdrawLq
- func (*WithdrawLq) Descriptor() ([]byte, []int)
- func (m *WithdrawLq) GetFromChainId() uint64
- func (m *WithdrawLq) GetMaxSlippage() uint32
- func (m *WithdrawLq) GetRatio() uint32
- func (m *WithdrawLq) GetTokenAddr() string
- func (m *WithdrawLq) Marshal() (dAtA []byte, err error)
- func (m *WithdrawLq) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawLq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawLq) ProtoMessage()
- func (m *WithdrawLq) Reset()
- func (m *WithdrawLq) Size() (n int)
- func (m *WithdrawLq) String() string
- func (m *WithdrawLq) Unmarshal(dAtA []byte) error
- func (m *WithdrawLq) XXX_DiscardUnknown()
- func (m *WithdrawLq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawLq) XXX_Merge(src proto.Message)
- func (m *WithdrawLq) XXX_Size() int
- func (m *WithdrawLq) XXX_Unmarshal(b []byte) error
- type WithdrawOnchain
- func (*WithdrawOnchain) Descriptor() ([]byte, []int)
- func (m *WithdrawOnchain) GetAmount() []byte
- func (m *WithdrawOnchain) GetChainid() uint64
- func (m *WithdrawOnchain) GetReceiver() []byte
- func (m *WithdrawOnchain) GetRefid() []byte
- func (m *WithdrawOnchain) GetSeqnum() uint64
- func (m *WithdrawOnchain) GetToken() []byte
- func (m *WithdrawOnchain) Marshal() (dAtA []byte, err error)
- func (m *WithdrawOnchain) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawOnchain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawOnchain) ProtoMessage()
- func (m *WithdrawOnchain) Reset()
- func (m *WithdrawOnchain) Size() (n int)
- func (w *WithdrawOnchain) String() string
- func (m *WithdrawOnchain) Unmarshal(dAtA []byte) error
- func (m *WithdrawOnchain) XXX_DiscardUnknown()
- func (m *WithdrawOnchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawOnchain) XXX_Merge(src proto.Message)
- func (m *WithdrawOnchain) XXX_Size() int
- func (m *WithdrawOnchain) XXX_Unmarshal(b []byte) error
- type WithdrawReq
- func (*WithdrawReq) Descriptor() ([]byte, []int)
- func (m *WithdrawReq) GetExitChainId() uint64
- func (m *WithdrawReq) GetReqId() uint64
- func (m *WithdrawReq) GetWithdrawType() WithdrawType
- func (m *WithdrawReq) GetWithdraws() []*WithdrawLq
- func (m *WithdrawReq) GetXferId() string
- func (m *WithdrawReq) Marshal() (dAtA []byte, err error)
- func (m *WithdrawReq) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawReq) ProtoMessage()
- func (m *WithdrawReq) Reset()
- func (m *WithdrawReq) Size() (n int)
- func (m *WithdrawReq) String() string
- func (m *WithdrawReq) Unmarshal(dAtA []byte) error
- func (m *WithdrawReq) XXX_DiscardUnknown()
- func (m *WithdrawReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawReq) XXX_Merge(src proto.Message)
- func (m *WithdrawReq) XXX_Size() int
- func (m *WithdrawReq) XXX_Unmarshal(b []byte) error
- type WithdrawStatus
- type WithdrawType
- type XferRelay
- func (*XferRelay) Descriptor() ([]byte, []int)
- func (m *XferRelay) GetBaseFee() []byte
- func (m *XferRelay) GetLastReqTime() int64
- func (m *XferRelay) GetPercFee() []byte
- func (m *XferRelay) GetRelay() []byte
- func (m *XferRelay) GetSortedSigs() []*AddrSig
- func (m *XferRelay) GetSortedSigsBytes() [][]byte
- func (m *XferRelay) Marshal() (dAtA []byte, err error)
- func (m *XferRelay) MarshalTo(dAtA []byte) (int, error)
- func (m *XferRelay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*XferRelay) ProtoMessage()
- func (m *XferRelay) Reset()
- func (m *XferRelay) SignersStr() string
- func (m *XferRelay) Size() (n int)
- func (m *XferRelay) String() string
- func (m *XferRelay) Unmarshal(dAtA []byte) error
- func (m *XferRelay) XXX_DiscardUnknown()
- func (m *XferRelay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *XferRelay) XXX_Merge(src proto.Message)
- func (m *XferRelay) XXX_Size() int
- func (m *XferRelay) XXX_Unmarshal(b []byte) error
- type XferStatus
Constants ¶
const ( // ModuleName defines the module name ModuleName = "cbridge" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_cbridge" // DefaultParamspace default name for parameter store DefaultParamspace = ModuleName CBridgeStakeDenomPrefix = "CB-" CBridgeFeeDenomPrefix = "CBF-" )
Variables ¶
var ( ErrInvalidLengthCbridge = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCbridge = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCbridge = fmt.Errorf("proto: unexpected end of group") )
var ( ChainSignersKey = []byte("signers-chain") LatestSignersKey = []byte("signers-latest") )
var ( CfgKeyFeePerc = []byte("cfg-feeperc") CfgKeyFeeSplitGlobal = []byte("cfg-feesplit") CfgKeyPickLpSize = []byte("cfg-lpsize") CfgKeyMaxGainPerc = []byte("cfg-maxgainperc") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ErrCode_name = map[int32]string{
0: "UNDEFINED",
1: "INVALID_REQ",
2: "INVALID_SIG",
3: "INVALID_STATUS",
4: "NOT_FOUND",
5: "DUP_REQID",
6: "REQ_TOO_SOON",
7: "BAL_NOT_ENOUGH",
10: "XFER_NOT_REFUNDABLE",
11: "XFER_REFUND_STARTED",
12: "WD_INTERNAL_XFER_FAILURE",
13: "WD_EXCEED_MAX_OUT_AMOUNT",
}
var ErrCode_value = map[string]int32{
"UNDEFINED": 0,
"INVALID_REQ": 1,
"INVALID_SIG": 2,
"INVALID_STATUS": 3,
"NOT_FOUND": 4,
"DUP_REQID": 5,
"REQ_TOO_SOON": 6,
"BAL_NOT_ENOUGH": 7,
"XFER_NOT_REFUNDABLE": 10,
"XFER_REFUND_STARTED": 11,
"WD_INTERNAL_XFER_FAILURE": 12,
"WD_EXCEED_MAX_OUT_AMOUNT": 13,
}
var (
ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
var SignDataType_name = map[int32]string{
0: "INVALID",
1: "RELAY",
2: "WITHDRAW",
3: "SIGNERS",
}
var SignDataType_value = map[string]int32{
"INVALID": 0,
"RELAY": 1,
"WITHDRAW": 2,
"SIGNERS": 3,
}
var TransferHistoryStatus_name = map[int32]string{
0: "TRANSFER_UNKNOWN",
1: "TRANSFER_SUBMITTING",
2: "TRANSFER_FAILED",
3: "TRANSFER_WAITING_FOR_SGN_CONFIRMATION",
4: "TRANSFER_WAITING_FOR_FUND_RELEASE",
5: "TRANSFER_COMPLETED",
6: "TRANSFER_TO_BE_REFUNDED",
7: "TRANSFER_REQUESTING_REFUND",
8: "TRANSFER_REFUND_TO_BE_CONFIRMED",
9: "TRANSFER_CONFIRMING_YOUR_REFUND",
10: "TRANSFER_REFUNDED",
11: "TRANSFER_DELAYED",
}
var TransferHistoryStatus_value = map[string]int32{
"TRANSFER_UNKNOWN": 0,
"TRANSFER_SUBMITTING": 1,
"TRANSFER_FAILED": 2,
"TRANSFER_WAITING_FOR_SGN_CONFIRMATION": 3,
"TRANSFER_WAITING_FOR_FUND_RELEASE": 4,
"TRANSFER_COMPLETED": 5,
"TRANSFER_TO_BE_REFUNDED": 6,
"TRANSFER_REQUESTING_REFUND": 7,
"TRANSFER_REFUND_TO_BE_CONFIRMED": 8,
"TRANSFER_CONFIRMING_YOUR_REFUND": 9,
"TRANSFER_REFUNDED": 10,
"TRANSFER_DELAYED": 11,
}
var WithdrawStatus_name = map[int32]string{
0: "WD_UNKNOWN",
1: "WD_WAITING_FOR_SGN",
2: "WD_WAITING_FOR_LP",
3: "WD_SUBMITTING",
4: "WD_COMPLETED",
5: "WD_FAILED",
6: "WD_DELAYED",
}
var WithdrawStatus_value = map[string]int32{
"WD_UNKNOWN": 0,
"WD_WAITING_FOR_SGN": 1,
"WD_WAITING_FOR_LP": 2,
"WD_SUBMITTING": 3,
"WD_COMPLETED": 4,
"WD_FAILED": 5,
"WD_DELAYED": 6,
}
var WithdrawType_name = map[int32]string{
0: "WITHDRAW_TYPE_REMOVE_LIQUIDITY",
1: "WITHDRAW_TYPE_REFUND_TRANSFER",
2: "WITHDRAW_TYPE_CLAIM_FEE_SHARE",
3: "WITHDRAW_TYPE_VALIDATOR_CLAIM_FEE_SHARE",
4: "WITHDRAW_TYPE_CONTRACT_REMOVE_LIQUIDITY",
}
var WithdrawType_value = map[string]int32{
"WITHDRAW_TYPE_REMOVE_LIQUIDITY": 0,
"WITHDRAW_TYPE_REFUND_TRANSFER": 1,
"WITHDRAW_TYPE_CLAIM_FEE_SHARE": 2,
"WITHDRAW_TYPE_VALIDATOR_CLAIM_FEE_SHARE": 3,
"WITHDRAW_TYPE_CONTRACT_REMOVE_LIQUIDITY": 4,
}
var XferStatus_name = map[int32]string{
0: "UNKNOWN",
1: "OK_TO_RELAY",
2: "SUCCESS",
3: "BAD_LIQUIDITY",
4: "BAD_SLIPPAGE",
5: "BAD_TOKEN",
6: "REFUND_REQUESTED",
7: "REFUND_DONE",
8: "BAD_XFER_DISABLED",
9: "BAD_DEST_CHAIN",
10: "EXCEED_MAX_OUT_AMOUNT",
11: "XFER_DELAYED",
12: "BAD_ADDRESS",
}
var XferStatus_value = map[string]int32{
"UNKNOWN": 0,
"OK_TO_RELAY": 1,
"SUCCESS": 2,
"BAD_LIQUIDITY": 3,
"BAD_SLIPPAGE": 4,
"BAD_TOKEN": 5,
"REFUND_REQUESTED": 6,
"REFUND_DONE": 7,
"BAD_XFER_DISABLED": 8,
"BAD_DEST_CHAIN": 9,
"EXCEED_MAX_OUT_AMOUNT": 10,
"XFER_DELAYED": 11,
"BAD_ADDRESS": 12,
}
Functions ¶
func BalancerKey ¶
func BalancerKey(balancer *commontypes.Address) []byte
func BlacklistKey ¶
func BlacklistKey(account *commontypes.Address) []byte
func CfgKeyCbrContract ¶
func CfgKeyChain2EstimateRelayGasCost ¶
store estimate relay gas cost. only updated when monitored CbrEventSignersUpdated
func CfgKeyChain2GasPrice ¶
func CfgKeyChain2RelayGasCostParam ¶
store params used to calculate relay gas cost when genesis
func CfgKeyChain2Sym ¶
func CfgKeyChain2Sym(chid uint64, addr *commontypes.Address) []byte
func CfgKeyChainPair ¶
func CfgKeyChainPairAssetOverride ¶
chid1 must be smaller than chid2
func CfgKeySym2Info ¶
func CfgKeySymbol2UsdPrice ¶
func ConfiscationKey ¶
func ConfiscationKey(chid uint64, token *commontypes.Address) []byte
func EncodeRelayOnChainToSign ¶
todo for NON-EVM-CBR
func EncodeWithdrawOnchainToSign ¶
func EncodeWithdrawOnchainToSign(chainId uint64, contractAddr eth.Addr, withdrawBytes []byte) []byte
todo for NON-EVM-CBR
func EqualSortedSigners ¶
func EvLiqAddKey ¶
value is 0x01 to indicate has applied event
func GetChainSignersKey ¶
func GetLpAddrFromLiqMapKey ¶
func GetLpAddrFromLiqMapKey(key []byte) (*commontypes.Address, error)
func GetSymbolFromStakeToken ¶
func LPOriginKey ¶
func LPOriginKey(lp *commontypes.Address) []byte
func LiqMapKey ¶
func LiqMapKey(chid uint64, token, lp *commontypes.Address) []byte
key for liquidity map, chainid-tokenaddr-lpaddr value is big.Int.Bytes()
func LiqSumKey ¶
func LiqSumKey(chid uint64, token *commontypes.Address) []byte
value is big.Int bytes of sum over all lm-chid-token-xxx
func LpFeeKey ¶
func LpFeeKey(chid uint64, token, lp *commontypes.Address) []byte
for chid, token, how much fee this lp has earned NOTE: Cumulative amount, only increasing
func MinSigsForQuorum ¶
func MustMarshalChainSigners ¶
func MustMarshalChainSigners(cdc codec.BinaryCodec, signers *ChainSigners) []byte
func MustMarshalLatestSigners ¶
func MustMarshalLatestSigners(cdc codec.BinaryCodec, signers *LatestSigners) []byte
func PrintSigners ¶
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SgnFeeKey ¶
func SgnFeeKey(chid uint64, token *commontypes.Address) []byte
Tracks the **total** fee allocated for SGN delegators NOTE: Cumulative amount, only increasing
func ValidateSigQuorum ¶
func ValidateSignatureQuorum ¶
func ValidateSignatureQuorum(sortedSigs []comtypes.Signature, curss []*Signer) (pass bool, sigsBytes [][]byte)
ValidateSignatureQuorum wraps ValidateSigQuorum, converting param Signature type to AddrSig type
func WdDetailKey ¶
func WdDetailKey(usraddr *commontypes.Address, reqid uint64) []byte
func XferRefundKey ¶
func XferRelayKey ¶
serialized relay msg and sigs, add sig when receive msg
Types ¶
type AddrSig ¶
type AddrSig struct { Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` }
func (*AddrSig) Descriptor ¶
func (*AddrSig) MarshalToSizedBuffer ¶
func (*AddrSig) ProtoMessage ¶
func (*AddrSig) ProtoMessage()
func (*AddrSig) XXX_DiscardUnknown ¶
func (m *AddrSig) XXX_DiscardUnknown()
func (*AddrSig) XXX_Marshal ¶
func (*AddrSig) XXX_Unmarshal ¶
type AssetPrice ¶
type AssetPrice struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // these chains uses this asset as native gas token, eg. ETH is gas token for both ethereum and Arbitrum ChainIds []uint64 `protobuf:"varint,2,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` Price uint32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` // in case asset price < $0.0001, we need to add extra power10 in addition to the default 4 // eg. USD float is $0.0000123, then price field is 123, extra_power10 is 3, so total scale is 1e(3+4) // by default this is 0, so no effect // if in the future we have an asset price USD float > MaxUint32/1e4 ~$429,496, we should change above price field // to uint64 instead of uint32 // why not use float64 directly: extra caution to avoid any inconsistency in float handling, so sgn consensus // is always deterministic ExtraPower10 uint32 `protobuf:"varint,4,opt,name=extra_power10,json=extraPower10,proto3" json:"extra_power10,omitempty"` }
if an asset is not used by any chain as native gas token, no need to set chain_id. eg. USDT if an asset is native gas token for some chains, set the chain_ids it's possible an asset is only native gas token but NOT used for transfers (ie. not in CbrConfig.assets) price is in int(USD float * 1e(4+extra_power10))
func (*AssetPrice) Descriptor ¶
func (*AssetPrice) Descriptor() ([]byte, []int)
func (*AssetPrice) GetChainIds ¶
func (m *AssetPrice) GetChainIds() []uint64
func (*AssetPrice) GetExtraPower10 ¶
func (m *AssetPrice) GetExtraPower10() uint32
func (*AssetPrice) GetPrice ¶
func (m *AssetPrice) GetPrice() uint32
func (*AssetPrice) GetSymbol ¶
func (m *AssetPrice) GetSymbol() string
func (*AssetPrice) Marshal ¶
func (m *AssetPrice) Marshal() (dAtA []byte, err error)
func (*AssetPrice) MarshalToSizedBuffer ¶
func (m *AssetPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssetPrice) ProtoMessage ¶
func (*AssetPrice) ProtoMessage()
func (*AssetPrice) Reset ¶
func (m *AssetPrice) Reset()
func (*AssetPrice) Size ¶
func (m *AssetPrice) Size() (n int)
func (*AssetPrice) String ¶
func (m *AssetPrice) String() string
func (*AssetPrice) Unmarshal ¶
func (m *AssetPrice) Unmarshal(dAtA []byte) error
func (*AssetPrice) XXX_DiscardUnknown ¶
func (m *AssetPrice) XXX_DiscardUnknown()
func (*AssetPrice) XXX_Marshal ¶
func (m *AssetPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetPrice) XXX_Merge ¶
func (m *AssetPrice) XXX_Merge(src proto.Message)
func (*AssetPrice) XXX_Size ¶
func (m *AssetPrice) XXX_Size() int
func (*AssetPrice) XXX_Unmarshal ¶
func (m *AssetPrice) XXX_Unmarshal(b []byte) error
type BalancerProposal ¶
type BalancerProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // list of balancer addrs, currently only support fully overwrite, i.e., no individually add or delete Balancers []string `protobuf:"bytes,3,rep,name=balancers,proto3" json:"balancers,omitempty"` // deposit amount for MsgSubmitProposal Deposit github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=deposit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"deposit"` }
func (*BalancerProposal) Descriptor ¶
func (*BalancerProposal) Descriptor() ([]byte, []int)
func (*BalancerProposal) GetBalancers ¶
func (m *BalancerProposal) GetBalancers() []string
func (*BalancerProposal) GetDescription ¶
func (m *BalancerProposal) GetDescription() string
func (*BalancerProposal) GetTitle ¶
func (m *BalancerProposal) GetTitle() string
func (*BalancerProposal) Marshal ¶
func (m *BalancerProposal) Marshal() (dAtA []byte, err error)
func (*BalancerProposal) MarshalToSizedBuffer ¶
func (m *BalancerProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BalancerProposal) ProtoMessage ¶
func (*BalancerProposal) ProtoMessage()
func (*BalancerProposal) Reset ¶
func (m *BalancerProposal) Reset()
func (*BalancerProposal) Size ¶
func (m *BalancerProposal) Size() (n int)
func (*BalancerProposal) String ¶
func (m *BalancerProposal) String() string
func (*BalancerProposal) Unmarshal ¶
func (m *BalancerProposal) Unmarshal(dAtA []byte) error
func (*BalancerProposal) XXX_DiscardUnknown ¶
func (m *BalancerProposal) XXX_DiscardUnknown()
func (*BalancerProposal) XXX_Marshal ¶
func (m *BalancerProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BalancerProposal) XXX_Merge ¶
func (m *BalancerProposal) XXX_Merge(src proto.Message)
func (*BalancerProposal) XXX_Size ¶
func (m *BalancerProposal) XXX_Size() int
func (*BalancerProposal) XXX_Unmarshal ¶
func (m *BalancerProposal) XXX_Unmarshal(b []byte) error
type CbrConfig ¶
type CbrConfig struct { LpFeePerc uint32 `protobuf:"varint,1,opt,name=lp_fee_perc,json=lpFeePerc,proto3" json:"lp_fee_perc,omitempty"` // Deprecated: Do not use. // to improve scalability, we'll first pick this many LPs to see if their total liquidity is enough // if yes, we'll use weighted random sampling among them until xfer can be fulfilled. // if not, we'll continue choose next LPs until we have enough and use all // this param is a trade-off between scalability and fairness, if not set, default is 100 PickLpSize uint32 `protobuf:"varint,4,opt,name=pick_lp_size,json=pickLpSize,proto3" json:"pick_lp_size,omitempty"` // onchain relay tx gas cost param to compute base fee RelayGasCost []*RelayGasCostParam `protobuf:"bytes,5,rep,name=relay_gas_cost,json=relayGasCost,proto3" json:"relay_gas_cost,omitempty"` Assets []*ChainAsset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"` ChainPairs []*ChainPair `protobuf:"bytes,3,rep,name=chain_pairs,json=chainPairs,proto3" json:"chain_pairs,omitempty"` CbrContracts []*types.ContractInfo `protobuf:"bytes,6,rep,name=cbr_contracts,json=cbrContracts,proto3" json:"cbr_contracts,omitempty"` Override []*PerChainPairAssetOverride `protobuf:"bytes,7,rep,name=override,proto3" json:"override,omitempty"` // when calculate dest amount, cap how much gain the user can get. eg. if 1%, means // dest amount must <= 101% of send amount. value is perc * 1M, eg. value 1000 means 0.1% // if not set/default 0, means no cap MaxGainPerc uint32 `protobuf:"varint,8,opt,name=max_gain_perc,json=maxGainPerc,proto3" json:"max_gain_perc,omitempty"` FeeSplitGlobal *FeeSplit `protobuf:"bytes,10,opt,name=fee_split_global,json=feeSplitGlobal,proto3" json:"fee_split_global,omitempty"` FeeSplitChainOverride []*PerFeeSplitChainOverride `` /* 129-byte string literal not displayed */ FeeSplitPoolOverride []*PerFeeSplitPoolOverride `` /* 126-byte string literal not displayed */ }
========== configs use configs to avoid confusion w/ cosmos param Next tag: 7
func (*CbrConfig) Descriptor ¶
func (*CbrConfig) GetAssets ¶
func (m *CbrConfig) GetAssets() []*ChainAsset
func (*CbrConfig) GetCbrContracts ¶
func (m *CbrConfig) GetCbrContracts() []*types.ContractInfo
func (*CbrConfig) GetChainPairs ¶
func (*CbrConfig) GetFeeSplitChainOverride ¶
func (m *CbrConfig) GetFeeSplitChainOverride() []*PerFeeSplitChainOverride
func (*CbrConfig) GetFeeSplitGlobal ¶
func (*CbrConfig) GetFeeSplitPoolOverride ¶
func (m *CbrConfig) GetFeeSplitPoolOverride() []*PerFeeSplitPoolOverride
func (*CbrConfig) GetLpFeePerc
deprecated
func (*CbrConfig) GetMaxGainPerc ¶
func (*CbrConfig) GetOverride ¶
func (m *CbrConfig) GetOverride() []*PerChainPairAssetOverride
func (*CbrConfig) GetPickLpSize ¶
func (*CbrConfig) GetRelayGasCost ¶
func (m *CbrConfig) GetRelayGasCost() []*RelayGasCostParam
func (*CbrConfig) MarshalToSizedBuffer ¶
func (*CbrConfig) ProtoMessage ¶
func (*CbrConfig) ProtoMessage()
func (*CbrConfig) XXX_DiscardUnknown ¶
func (m *CbrConfig) XXX_DiscardUnknown()
func (*CbrConfig) XXX_Marshal ¶
func (*CbrConfig) XXX_Unmarshal ¶
type CbrPrice ¶
type CbrPrice struct { UpdateEpoch uint64 `protobuf:"varint,1,opt,name=update_epoch,json=updateEpoch,proto3" json:"update_epoch,omitempty"` AssetPrice []*AssetPrice `protobuf:"bytes,5,rep,name=asset_price,json=assetPrice,proto3" json:"asset_price,omitempty"` GasPrice []*GasPrice `protobuf:"bytes,6,rep,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` }
needed for base fee calculation. the value set in genesis is only used when first start. then there'll be propose/vote and new price will be saved in x/cbridge kv
func (*CbrPrice) Descriptor ¶
func (*CbrPrice) GetAssetPrice ¶
func (m *CbrPrice) GetAssetPrice() []*AssetPrice
func (*CbrPrice) GetGasPrice ¶
func (*CbrPrice) GetUpdateEpoch ¶
func (*CbrPrice) MarshalToSizedBuffer ¶
func (*CbrPrice) ProtoMessage ¶
func (*CbrPrice) ProtoMessage()
func (*CbrPrice) XXX_DiscardUnknown ¶
func (m *CbrPrice) XXX_DiscardUnknown()
func (*CbrPrice) XXX_Marshal ¶
func (*CbrPrice) XXX_Unmarshal ¶
type CbrProposal ¶
type CbrProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` CbrConfig *CbrConfig `protobuf:"bytes,3,opt,name=cbr_config,json=cbrConfig,proto3" json:"cbr_config,omitempty"` // deposit amount for MsgSubmitProposal Deposit github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=deposit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"deposit"` }
propose new cbr config, note it must be a whole json
func (*CbrProposal) Descriptor ¶
func (*CbrProposal) Descriptor() ([]byte, []int)
func (*CbrProposal) GetCbrConfig ¶
func (m *CbrProposal) GetCbrConfig() *CbrConfig
func (*CbrProposal) GetDescription ¶
func (m *CbrProposal) GetDescription() string
func (*CbrProposal) GetTitle ¶
func (m *CbrProposal) GetTitle() string
func (*CbrProposal) Marshal ¶
func (m *CbrProposal) Marshal() (dAtA []byte, err error)
func (*CbrProposal) MarshalToSizedBuffer ¶
func (m *CbrProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CbrProposal) ProtoMessage ¶
func (*CbrProposal) ProtoMessage()
func (*CbrProposal) Reset ¶
func (m *CbrProposal) Reset()
func (*CbrProposal) Size ¶
func (m *CbrProposal) Size() (n int)
func (*CbrProposal) String ¶
func (m *CbrProposal) String() string
func (*CbrProposal) Unmarshal ¶
func (m *CbrProposal) Unmarshal(dAtA []byte) error
func (*CbrProposal) XXX_DiscardUnknown ¶
func (m *CbrProposal) XXX_DiscardUnknown()
func (*CbrProposal) XXX_Marshal ¶
func (m *CbrProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CbrProposal) XXX_Merge ¶
func (m *CbrProposal) XXX_Merge(src proto.Message)
func (*CbrProposal) XXX_Size ¶
func (m *CbrProposal) XXX_Size() int
func (*CbrProposal) XXX_Unmarshal ¶
func (m *CbrProposal) XXX_Unmarshal(b []byte) error
type ChainAsset ¶
type ChainAsset struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` ChainId uint64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` Decimal uint32 `protobuf:"varint,4,opt,name=decimal,proto3" json:"decimal,omitempty"` MaxFeeAmount string `protobuf:"bytes,5,opt,name=max_fee_amount,json=maxFeeAmount,proto3" json:"max_fee_amount,omitempty"` XferDisabled bool `protobuf:"varint,6,opt,name=xfer_disabled,json=xferDisabled,proto3" json:"xfer_disabled,omitempty"` MaxOutAmt string `protobuf:"bytes,7,opt,name=max_out_amt,json=maxOutAmt,proto3" json:"max_out_amt,omitempty"` }
represent asset detail on one chain.
func (*ChainAsset) Descriptor ¶
func (*ChainAsset) Descriptor() ([]byte, []int)
func (*ChainAsset) GetAddr ¶
func (m *ChainAsset) GetAddr() string
func (*ChainAsset) GetChainId ¶
func (m *ChainAsset) GetChainId() uint64
func (*ChainAsset) GetDecimal ¶
func (m *ChainAsset) GetDecimal() uint32
func (*ChainAsset) GetMaxFeeAmount ¶
func (m *ChainAsset) GetMaxFeeAmount() string
func (*ChainAsset) GetMaxOutAmt ¶
func (m *ChainAsset) GetMaxOutAmt() string
func (*ChainAsset) GetSymbol ¶
func (m *ChainAsset) GetSymbol() string
func (*ChainAsset) GetXferDisabled ¶
func (m *ChainAsset) GetXferDisabled() bool
func (*ChainAsset) Marshal ¶
func (m *ChainAsset) Marshal() (dAtA []byte, err error)
func (*ChainAsset) MarshalToSizedBuffer ¶
func (m *ChainAsset) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainAsset) ProtoMessage ¶
func (*ChainAsset) ProtoMessage()
func (*ChainAsset) Reset ¶
func (m *ChainAsset) Reset()
func (*ChainAsset) Size ¶
func (m *ChainAsset) Size() (n int)
func (*ChainAsset) String ¶
func (m *ChainAsset) String() string
func (*ChainAsset) Unmarshal ¶
func (m *ChainAsset) Unmarshal(dAtA []byte) error
func (*ChainAsset) XXX_DiscardUnknown ¶
func (m *ChainAsset) XXX_DiscardUnknown()
func (*ChainAsset) XXX_Marshal ¶
func (m *ChainAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainAsset) XXX_Merge ¶
func (m *ChainAsset) XXX_Merge(src proto.Message)
func (*ChainAsset) XXX_Size ¶
func (m *ChainAsset) XXX_Size() int
func (*ChainAsset) XXX_Unmarshal ¶
func (m *ChainAsset) XXX_Unmarshal(b []byte) error
type ChainPair ¶
type ChainPair struct { Chid1 uint64 `protobuf:"varint,1,opt,name=chid1,proto3" json:"chid1,omitempty"` Chid2 uint64 `protobuf:"varint,2,opt,name=chid2,proto3" json:"chid2,omitempty"` Weight1 uint32 `protobuf:"varint,3,opt,name=weight1,proto3" json:"weight1,omitempty"` Fee1To2 uint32 `protobuf:"varint,4,opt,name=fee1to2,proto3" json:"fee1to2,omitempty"` Fee2To1 uint32 `protobuf:"varint,5,opt,name=fee2to1,proto3" json:"fee2to1,omitempty"` ConstA uint32 `protobuf:"varint,6,opt,name=const_a,json=constA,proto3" json:"const_a,omitempty"` // no_curve should only be config in PerChainPairAssetOverride. if set, MUST not set weight1 and const_a NoCurve bool `protobuf:"varint,7,opt,name=no_curve,json=noCurve,proto3" json:"no_curve,omitempty"` }
chid1 must be smaller than chid2 order
func (*ChainPair) Descriptor ¶
func (*ChainPair) GetFee1To2 ¶
func (*ChainPair) GetFee2To1 ¶
func (*ChainPair) GetNoCurve ¶
func (*ChainPair) GetWeight1 ¶
func (*ChainPair) MarshalToSizedBuffer ¶
func (*ChainPair) ProtoMessage ¶
func (*ChainPair) ProtoMessage()
func (*ChainPair) XXX_DiscardUnknown ¶
func (m *ChainPair) XXX_DiscardUnknown()
func (*ChainPair) XXX_Marshal ¶
func (*ChainPair) XXX_Unmarshal ¶
type ChainSigners ¶
type ChainSigners struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` SortedSigners []*Signer `protobuf:"bytes,2,rep,name=sorted_signers,json=sortedSigners,proto3" json:"sorted_signers,omitempty"` SortedSigs []*AddrSig `protobuf:"bytes,3,rep,name=sorted_sigs,json=sortedSigs,proto3" json:"sorted_sigs,omitempty"` }
func MustUnmarshalChainSigners ¶
func MustUnmarshalChainSigners(cdc codec.BinaryCodec, value []byte) ChainSigners
func UnmarshalChainSigners ¶
func UnmarshalChainSigners(cdc codec.BinaryCodec, value []byte) (s ChainSigners, err error)
func (*ChainSigners) Descriptor ¶
func (*ChainSigners) Descriptor() ([]byte, []int)
func (*ChainSigners) GetAddrsPowers ¶
func (ss *ChainSigners) GetAddrsPowers() ([]eth.Addr, []*big.Int)
func (*ChainSigners) GetChainId ¶
func (m *ChainSigners) GetChainId() uint64
func (*ChainSigners) GetSortedSigners ¶
func (m *ChainSigners) GetSortedSigners() []*Signer
func (*ChainSigners) GetSortedSigs ¶
func (m *ChainSigners) GetSortedSigs() []*AddrSig
func (*ChainSigners) Marshal ¶
func (m *ChainSigners) Marshal() (dAtA []byte, err error)
func (*ChainSigners) MarshalToSizedBuffer ¶
func (m *ChainSigners) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainSigners) ProtoMessage ¶
func (*ChainSigners) ProtoMessage()
func (*ChainSigners) Reset ¶
func (m *ChainSigners) Reset()
func (*ChainSigners) SetByEvent ¶
func (ss *ChainSigners) SetByEvent(e *eth.BridgeSignersUpdated)
func (*ChainSigners) SignersStr ¶
func (m *ChainSigners) SignersStr() string
func (*ChainSigners) Size ¶
func (m *ChainSigners) Size() (n int)
func (*ChainSigners) String ¶
func (cs *ChainSigners) String() string
func (*ChainSigners) Unmarshal ¶
func (m *ChainSigners) Unmarshal(dAtA []byte) error
func (*ChainSigners) XXX_DiscardUnknown ¶
func (m *ChainSigners) XXX_DiscardUnknown()
func (*ChainSigners) XXX_Marshal ¶
func (m *ChainSigners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainSigners) XXX_Merge ¶
func (m *ChainSigners) XXX_Merge(src proto.Message)
func (*ChainSigners) XXX_Size ¶
func (m *ChainSigners) XXX_Size() int
func (*ChainSigners) XXX_Unmarshal ¶
func (m *ChainSigners) XXX_Unmarshal(b []byte) error
type ChainTokenAddrPair ¶
type ChainTokenAddrPair struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` }
func (*ChainTokenAddrPair) Descriptor ¶
func (*ChainTokenAddrPair) Descriptor() ([]byte, []int)
func (*ChainTokenAddrPair) GetChainId ¶
func (m *ChainTokenAddrPair) GetChainId() uint64
func (*ChainTokenAddrPair) GetTokenAddr ¶
func (m *ChainTokenAddrPair) GetTokenAddr() string
func (*ChainTokenAddrPair) Marshal ¶
func (m *ChainTokenAddrPair) Marshal() (dAtA []byte, err error)
func (*ChainTokenAddrPair) MarshalTo ¶
func (m *ChainTokenAddrPair) MarshalTo(dAtA []byte) (int, error)
func (*ChainTokenAddrPair) MarshalToSizedBuffer ¶
func (m *ChainTokenAddrPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainTokenAddrPair) ProtoMessage ¶
func (*ChainTokenAddrPair) ProtoMessage()
func (*ChainTokenAddrPair) Reset ¶
func (m *ChainTokenAddrPair) Reset()
func (*ChainTokenAddrPair) Size ¶
func (m *ChainTokenAddrPair) Size() (n int)
func (*ChainTokenAddrPair) String ¶
func (m *ChainTokenAddrPair) String() string
func (*ChainTokenAddrPair) Unmarshal ¶
func (m *ChainTokenAddrPair) Unmarshal(dAtA []byte) error
func (*ChainTokenAddrPair) XXX_DiscardUnknown ¶
func (m *ChainTokenAddrPair) XXX_DiscardUnknown()
func (*ChainTokenAddrPair) XXX_Marshal ¶
func (m *ChainTokenAddrPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainTokenAddrPair) XXX_Merge ¶
func (m *ChainTokenAddrPair) XXX_Merge(src proto.Message)
func (*ChainTokenAddrPair) XXX_Size ¶
func (m *ChainTokenAddrPair) XXX_Size() int
func (*ChainTokenAddrPair) XXX_Unmarshal ¶
func (m *ChainTokenAddrPair) XXX_Unmarshal(b []byte) error
type ChainTokensConfigRequest ¶
type ChainTokensConfigRequest struct { }
func (*ChainTokensConfigRequest) Descriptor ¶
func (*ChainTokensConfigRequest) Descriptor() ([]byte, []int)
func (*ChainTokensConfigRequest) Marshal ¶
func (m *ChainTokensConfigRequest) Marshal() (dAtA []byte, err error)
func (*ChainTokensConfigRequest) MarshalTo ¶
func (m *ChainTokensConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*ChainTokensConfigRequest) MarshalToSizedBuffer ¶
func (m *ChainTokensConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainTokensConfigRequest) ProtoMessage ¶
func (*ChainTokensConfigRequest) ProtoMessage()
func (*ChainTokensConfigRequest) Reset ¶
func (m *ChainTokensConfigRequest) Reset()
func (*ChainTokensConfigRequest) Size ¶
func (m *ChainTokensConfigRequest) Size() (n int)
func (*ChainTokensConfigRequest) String ¶
func (m *ChainTokensConfigRequest) String() string
func (*ChainTokensConfigRequest) Unmarshal ¶
func (m *ChainTokensConfigRequest) Unmarshal(dAtA []byte) error
func (*ChainTokensConfigRequest) XXX_DiscardUnknown ¶
func (m *ChainTokensConfigRequest) XXX_DiscardUnknown()
func (*ChainTokensConfigRequest) XXX_Marshal ¶
func (m *ChainTokensConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainTokensConfigRequest) XXX_Merge ¶
func (m *ChainTokensConfigRequest) XXX_Merge(src proto.Message)
func (*ChainTokensConfigRequest) XXX_Size ¶
func (m *ChainTokensConfigRequest) XXX_Size() int
func (*ChainTokensConfigRequest) XXX_Unmarshal ¶
func (m *ChainTokensConfigRequest) XXX_Unmarshal(b []byte) error
type ChainTokensConfigResponse ¶
type ChainTokensConfigResponse struct {
ChainTokens map[string]*Tokens `` /* 182-byte string literal not displayed */
}
func (*ChainTokensConfigResponse) Descriptor ¶
func (*ChainTokensConfigResponse) Descriptor() ([]byte, []int)
func (*ChainTokensConfigResponse) GetChainTokens ¶
func (m *ChainTokensConfigResponse) GetChainTokens() map[string]*Tokens
func (*ChainTokensConfigResponse) Marshal ¶
func (m *ChainTokensConfigResponse) Marshal() (dAtA []byte, err error)
func (*ChainTokensConfigResponse) MarshalTo ¶
func (m *ChainTokensConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*ChainTokensConfigResponse) MarshalToSizedBuffer ¶
func (m *ChainTokensConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainTokensConfigResponse) ProtoMessage ¶
func (*ChainTokensConfigResponse) ProtoMessage()
func (*ChainTokensConfigResponse) Reset ¶
func (m *ChainTokensConfigResponse) Reset()
func (*ChainTokensConfigResponse) Size ¶
func (m *ChainTokensConfigResponse) Size() (n int)
func (*ChainTokensConfigResponse) String ¶
func (m *ChainTokensConfigResponse) String() string
func (*ChainTokensConfigResponse) Unmarshal ¶
func (m *ChainTokensConfigResponse) Unmarshal(dAtA []byte) error
func (*ChainTokensConfigResponse) XXX_DiscardUnknown ¶
func (m *ChainTokensConfigResponse) XXX_DiscardUnknown()
func (*ChainTokensConfigResponse) XXX_Marshal ¶
func (m *ChainTokensConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainTokensConfigResponse) XXX_Merge ¶
func (m *ChainTokensConfigResponse) XXX_Merge(src proto.Message)
func (*ChainTokensConfigResponse) XXX_Size ¶
func (m *ChainTokensConfigResponse) XXX_Size() int
func (*ChainTokensConfigResponse) XXX_Unmarshal ¶
func (m *ChainTokensConfigResponse) XXX_Unmarshal(b []byte) error
type CheckChainTokenValidRequest ¶
type CheckChainTokenValidRequest struct { SrcChainId uint64 `protobuf:"varint,1,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"` SrcTokenAddr string `protobuf:"bytes,2,opt,name=src_token_addr,json=srcTokenAddr,proto3" json:"src_token_addr,omitempty"` DestChainId uint64 `protobuf:"varint,3,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"` }
func (*CheckChainTokenValidRequest) Descriptor ¶
func (*CheckChainTokenValidRequest) Descriptor() ([]byte, []int)
func (*CheckChainTokenValidRequest) GetDestChainId ¶
func (m *CheckChainTokenValidRequest) GetDestChainId() uint64
func (*CheckChainTokenValidRequest) GetSrcChainId ¶
func (m *CheckChainTokenValidRequest) GetSrcChainId() uint64
func (*CheckChainTokenValidRequest) GetSrcTokenAddr ¶
func (m *CheckChainTokenValidRequest) GetSrcTokenAddr() string
func (*CheckChainTokenValidRequest) Marshal ¶
func (m *CheckChainTokenValidRequest) Marshal() (dAtA []byte, err error)
func (*CheckChainTokenValidRequest) MarshalTo ¶
func (m *CheckChainTokenValidRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckChainTokenValidRequest) MarshalToSizedBuffer ¶
func (m *CheckChainTokenValidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckChainTokenValidRequest) ProtoMessage ¶
func (*CheckChainTokenValidRequest) ProtoMessage()
func (*CheckChainTokenValidRequest) Reset ¶
func (m *CheckChainTokenValidRequest) Reset()
func (*CheckChainTokenValidRequest) Size ¶
func (m *CheckChainTokenValidRequest) Size() (n int)
func (*CheckChainTokenValidRequest) String ¶
func (m *CheckChainTokenValidRequest) String() string
func (*CheckChainTokenValidRequest) Unmarshal ¶
func (m *CheckChainTokenValidRequest) Unmarshal(dAtA []byte) error
func (*CheckChainTokenValidRequest) XXX_DiscardUnknown ¶
func (m *CheckChainTokenValidRequest) XXX_DiscardUnknown()
func (*CheckChainTokenValidRequest) XXX_Marshal ¶
func (m *CheckChainTokenValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckChainTokenValidRequest) XXX_Merge ¶
func (m *CheckChainTokenValidRequest) XXX_Merge(src proto.Message)
func (*CheckChainTokenValidRequest) XXX_Size ¶
func (m *CheckChainTokenValidRequest) XXX_Size() int
func (*CheckChainTokenValidRequest) XXX_Unmarshal ¶
func (m *CheckChainTokenValidRequest) XXX_Unmarshal(b []byte) error
type CheckChainTokenValidResponse ¶
type CheckChainTokenValidResponse struct {
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
}
func (*CheckChainTokenValidResponse) Descriptor ¶
func (*CheckChainTokenValidResponse) Descriptor() ([]byte, []int)
func (*CheckChainTokenValidResponse) GetValid ¶
func (m *CheckChainTokenValidResponse) GetValid() bool
func (*CheckChainTokenValidResponse) Marshal ¶
func (m *CheckChainTokenValidResponse) Marshal() (dAtA []byte, err error)
func (*CheckChainTokenValidResponse) MarshalTo ¶
func (m *CheckChainTokenValidResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckChainTokenValidResponse) MarshalToSizedBuffer ¶
func (m *CheckChainTokenValidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckChainTokenValidResponse) ProtoMessage ¶
func (*CheckChainTokenValidResponse) ProtoMessage()
func (*CheckChainTokenValidResponse) Reset ¶
func (m *CheckChainTokenValidResponse) Reset()
func (*CheckChainTokenValidResponse) Size ¶
func (m *CheckChainTokenValidResponse) Size() (n int)
func (*CheckChainTokenValidResponse) String ¶
func (m *CheckChainTokenValidResponse) String() string
func (*CheckChainTokenValidResponse) Unmarshal ¶
func (m *CheckChainTokenValidResponse) Unmarshal(dAtA []byte) error
func (*CheckChainTokenValidResponse) XXX_DiscardUnknown ¶
func (m *CheckChainTokenValidResponse) XXX_DiscardUnknown()
func (*CheckChainTokenValidResponse) XXX_Marshal ¶
func (m *CheckChainTokenValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckChainTokenValidResponse) XXX_Merge ¶
func (m *CheckChainTokenValidResponse) XXX_Merge(src proto.Message)
func (*CheckChainTokenValidResponse) XXX_Size ¶
func (m *CheckChainTokenValidResponse) XXX_Size() int
func (*CheckChainTokenValidResponse) XXX_Unmarshal ¶
func (m *CheckChainTokenValidResponse) XXX_Unmarshal(b []byte) error
type CheckLiqSumRequest ¶
type CheckLiqSumRequest struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` }
get both liqsum and sum of all lm- and compare if they are equal rpc CheckLiqSum (CheckLiqSumRequest) returns (CheckLiqSumResponse) {}
func (*CheckLiqSumRequest) Descriptor ¶
func (*CheckLiqSumRequest) Descriptor() ([]byte, []int)
func (*CheckLiqSumRequest) GetChainId ¶
func (m *CheckLiqSumRequest) GetChainId() uint64
func (*CheckLiqSumRequest) GetTokenAddr ¶
func (m *CheckLiqSumRequest) GetTokenAddr() string
func (*CheckLiqSumRequest) Marshal ¶
func (m *CheckLiqSumRequest) Marshal() (dAtA []byte, err error)
func (*CheckLiqSumRequest) MarshalTo ¶
func (m *CheckLiqSumRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckLiqSumRequest) MarshalToSizedBuffer ¶
func (m *CheckLiqSumRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckLiqSumRequest) ProtoMessage ¶
func (*CheckLiqSumRequest) ProtoMessage()
func (*CheckLiqSumRequest) Reset ¶
func (m *CheckLiqSumRequest) Reset()
func (*CheckLiqSumRequest) Size ¶
func (m *CheckLiqSumRequest) Size() (n int)
func (*CheckLiqSumRequest) String ¶
func (m *CheckLiqSumRequest) String() string
func (*CheckLiqSumRequest) Unmarshal ¶
func (m *CheckLiqSumRequest) Unmarshal(dAtA []byte) error
func (*CheckLiqSumRequest) XXX_DiscardUnknown ¶
func (m *CheckLiqSumRequest) XXX_DiscardUnknown()
func (*CheckLiqSumRequest) XXX_Marshal ¶
func (m *CheckLiqSumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckLiqSumRequest) XXX_Merge ¶
func (m *CheckLiqSumRequest) XXX_Merge(src proto.Message)
func (*CheckLiqSumRequest) XXX_Size ¶
func (m *CheckLiqSumRequest) XXX_Size() int
func (*CheckLiqSumRequest) XXX_Unmarshal ¶
func (m *CheckLiqSumRequest) XXX_Unmarshal(b []byte) error
type CheckLiqSumResponse ¶
type CheckLiqSumResponse struct { Liqsum string `protobuf:"bytes,1,opt,name=liqsum,proto3" json:"liqsum,omitempty"` Sumiter string `protobuf:"bytes,2,opt,name=sumiter,proto3" json:"sumiter,omitempty"` }
func (*CheckLiqSumResponse) Descriptor ¶
func (*CheckLiqSumResponse) Descriptor() ([]byte, []int)
func (*CheckLiqSumResponse) GetLiqsum ¶
func (m *CheckLiqSumResponse) GetLiqsum() string
func (*CheckLiqSumResponse) GetSumiter ¶
func (m *CheckLiqSumResponse) GetSumiter() string
func (*CheckLiqSumResponse) Marshal ¶
func (m *CheckLiqSumResponse) Marshal() (dAtA []byte, err error)
func (*CheckLiqSumResponse) MarshalTo ¶
func (m *CheckLiqSumResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckLiqSumResponse) MarshalToSizedBuffer ¶
func (m *CheckLiqSumResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckLiqSumResponse) ProtoMessage ¶
func (*CheckLiqSumResponse) ProtoMessage()
func (*CheckLiqSumResponse) Reset ¶
func (m *CheckLiqSumResponse) Reset()
func (*CheckLiqSumResponse) Size ¶
func (m *CheckLiqSumResponse) Size() (n int)
func (*CheckLiqSumResponse) String ¶
func (m *CheckLiqSumResponse) String() string
func (*CheckLiqSumResponse) Unmarshal ¶
func (m *CheckLiqSumResponse) Unmarshal(dAtA []byte) error
func (*CheckLiqSumResponse) XXX_DiscardUnknown ¶
func (m *CheckLiqSumResponse) XXX_DiscardUnknown()
func (*CheckLiqSumResponse) XXX_Marshal ¶
func (m *CheckLiqSumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckLiqSumResponse) XXX_Merge ¶
func (m *CheckLiqSumResponse) XXX_Merge(src proto.Message)
func (*CheckLiqSumResponse) XXX_Size ¶
func (m *CheckLiqSumResponse) XXX_Size() int
func (*CheckLiqSumResponse) XXX_Unmarshal ¶
func (m *CheckLiqSumResponse) XXX_Unmarshal(b []byte) error
type EmptyRequest ¶
type EmptyRequest struct { }
func (*EmptyRequest) Descriptor ¶
func (*EmptyRequest) Descriptor() ([]byte, []int)
func (*EmptyRequest) Marshal ¶
func (m *EmptyRequest) Marshal() (dAtA []byte, err error)
func (*EmptyRequest) MarshalToSizedBuffer ¶
func (m *EmptyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) Reset ¶
func (m *EmptyRequest) Reset()
func (*EmptyRequest) Size ¶
func (m *EmptyRequest) Size() (n int)
func (*EmptyRequest) String ¶
func (m *EmptyRequest) String() string
func (*EmptyRequest) Unmarshal ¶
func (m *EmptyRequest) Unmarshal(dAtA []byte) error
func (*EmptyRequest) XXX_DiscardUnknown ¶
func (m *EmptyRequest) XXX_DiscardUnknown()
func (*EmptyRequest) XXX_Marshal ¶
func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyRequest) XXX_Merge ¶
func (m *EmptyRequest) XXX_Merge(src proto.Message)
func (*EmptyRequest) XXX_Size ¶
func (m *EmptyRequest) XXX_Size() int
func (*EmptyRequest) XXX_Unmarshal ¶
func (m *EmptyRequest) XXX_Unmarshal(b []byte) error
type ErrCode ¶
type ErrCode int32
const ( ErrCode_UNDEFINED ErrCode = 0 ErrCode_INVALID_REQ ErrCode = 1 ErrCode_INVALID_SIG ErrCode = 2 ErrCode_INVALID_STATUS ErrCode = 3 ErrCode_NOT_FOUND ErrCode = 4 ErrCode_DUP_REQID ErrCode = 5 ErrCode_REQ_TOO_SOON ErrCode = 6 ErrCode_BAL_NOT_ENOUGH ErrCode = 7 ErrCode_XFER_NOT_REFUNDABLE ErrCode = 10 ErrCode_XFER_REFUND_STARTED ErrCode = 11 ErrCode_WD_INTERNAL_XFER_FAILURE ErrCode = 12 ErrCode_WD_EXCEED_MAX_OUT_AMOUNT ErrCode = 13 )
func (ErrCode) EnumDescriptor ¶
type ErrMsg ¶
type ErrMsg struct { Code ErrCode `protobuf:"varint,1,opt,name=code,proto3,enum=sgn.cbridge.v1.ErrCode" json:"code,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` }
func (*ErrMsg) Descriptor ¶
func (*ErrMsg) MarshalToSizedBuffer ¶
func (*ErrMsg) ProtoMessage ¶
func (*ErrMsg) ProtoMessage()
func (*ErrMsg) XXX_DiscardUnknown ¶
func (m *ErrMsg) XXX_DiscardUnknown()
func (*ErrMsg) XXX_Marshal ¶
func (*ErrMsg) XXX_Unmarshal ¶
type FeeSplit ¶
type FeeSplit struct { LpFeePerc uint32 `protobuf:"varint,1,opt,name=lp_fee_perc,json=lpFeePerc,proto3" json:"lp_fee_perc,omitempty"` CelerTreasuryFeePerc uint32 `` /* 126-byte string literal not displayed */ CelerTreasuryAddr string `protobuf:"bytes,3,opt,name=celer_treasury_addr,json=celerTreasuryAddr,proto3" json:"celer_treasury_addr,omitempty"` }
func (*FeeSplit) Descriptor ¶
func (*FeeSplit) GetCelerTreasuryAddr ¶
func (*FeeSplit) GetCelerTreasuryFeePerc ¶
func (*FeeSplit) GetLpFeePerc ¶
func (*FeeSplit) MarshalToSizedBuffer ¶
func (*FeeSplit) ProtoMessage ¶
func (*FeeSplit) ProtoMessage()
func (*FeeSplit) XXX_DiscardUnknown ¶
func (m *FeeSplit) XXX_DiscardUnknown()
func (*FeeSplit) XXX_Marshal ¶
func (*FeeSplit) XXX_Unmarshal ¶
type GasPrice ¶
type GasPrice struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // price is generally ethclient.SuggestGasPrice big.Int.String(), with special handling for chains whose suggest is off. // Will be uploaded somewhere (eg. S3) via a separate service for relayer to read. Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` }
each chainid's gas price, as it's very dynamic, the goal is only to avoid off too much
func (*GasPrice) Descriptor ¶
func (*GasPrice) GetChainId ¶
func (*GasPrice) MarshalToSizedBuffer ¶
func (*GasPrice) ProtoMessage ¶
func (*GasPrice) ProtoMessage()
func (*GasPrice) XXX_DiscardUnknown ¶
func (m *GasPrice) XXX_DiscardUnknown()
func (*GasPrice) XXX_Marshal ¶
func (*GasPrice) XXX_Unmarshal ¶
type GetFeePercentageRequest ¶
type GetFeePercentageRequest struct { SrcChainId uint64 `protobuf:"varint,1,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"` DstChainId uint64 `protobuf:"varint,2,opt,name=dst_chain_id,json=dstChainId,proto3" json:"dst_chain_id,omitempty"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` }
func (*GetFeePercentageRequest) Descriptor ¶
func (*GetFeePercentageRequest) Descriptor() ([]byte, []int)
func (*GetFeePercentageRequest) GetDstChainId ¶
func (m *GetFeePercentageRequest) GetDstChainId() uint64
func (*GetFeePercentageRequest) GetSrcChainId ¶
func (m *GetFeePercentageRequest) GetSrcChainId() uint64
func (*GetFeePercentageRequest) GetSymbol ¶
func (m *GetFeePercentageRequest) GetSymbol() string
func (*GetFeePercentageRequest) Marshal ¶
func (m *GetFeePercentageRequest) Marshal() (dAtA []byte, err error)
func (*GetFeePercentageRequest) MarshalTo ¶
func (m *GetFeePercentageRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetFeePercentageRequest) MarshalToSizedBuffer ¶
func (m *GetFeePercentageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeePercentageRequest) ProtoMessage ¶
func (*GetFeePercentageRequest) ProtoMessage()
func (*GetFeePercentageRequest) Reset ¶
func (m *GetFeePercentageRequest) Reset()
func (*GetFeePercentageRequest) Size ¶
func (m *GetFeePercentageRequest) Size() (n int)
func (*GetFeePercentageRequest) String ¶
func (m *GetFeePercentageRequest) String() string
func (*GetFeePercentageRequest) Unmarshal ¶
func (m *GetFeePercentageRequest) Unmarshal(dAtA []byte) error
func (*GetFeePercentageRequest) XXX_DiscardUnknown ¶
func (m *GetFeePercentageRequest) XXX_DiscardUnknown()
func (*GetFeePercentageRequest) XXX_Marshal ¶
func (m *GetFeePercentageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeePercentageRequest) XXX_Merge ¶
func (m *GetFeePercentageRequest) XXX_Merge(src proto.Message)
func (*GetFeePercentageRequest) XXX_Size ¶
func (m *GetFeePercentageRequest) XXX_Size() int
func (*GetFeePercentageRequest) XXX_Unmarshal ¶
func (m *GetFeePercentageRequest) XXX_Unmarshal(b []byte) error
type GetFeePercentageResponse ¶
type GetFeePercentageResponse struct {
FeePerc uint32 `protobuf:"varint,1,opt,name=fee_perc,json=feePerc,proto3" json:"fee_perc,omitempty"`
}
func (*GetFeePercentageResponse) Descriptor ¶
func (*GetFeePercentageResponse) Descriptor() ([]byte, []int)
func (*GetFeePercentageResponse) GetFeePerc ¶
func (m *GetFeePercentageResponse) GetFeePerc() uint32
func (*GetFeePercentageResponse) Marshal ¶
func (m *GetFeePercentageResponse) Marshal() (dAtA []byte, err error)
func (*GetFeePercentageResponse) MarshalTo ¶
func (m *GetFeePercentageResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetFeePercentageResponse) MarshalToSizedBuffer ¶
func (m *GetFeePercentageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeePercentageResponse) ProtoMessage ¶
func (*GetFeePercentageResponse) ProtoMessage()
func (*GetFeePercentageResponse) Reset ¶
func (m *GetFeePercentageResponse) Reset()
func (*GetFeePercentageResponse) Size ¶
func (m *GetFeePercentageResponse) Size() (n int)
func (*GetFeePercentageResponse) String ¶
func (m *GetFeePercentageResponse) String() string
func (*GetFeePercentageResponse) Unmarshal ¶
func (m *GetFeePercentageResponse) Unmarshal(dAtA []byte) error
func (*GetFeePercentageResponse) XXX_DiscardUnknown ¶
func (m *GetFeePercentageResponse) XXX_DiscardUnknown()
func (*GetFeePercentageResponse) XXX_Marshal ¶
func (m *GetFeePercentageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeePercentageResponse) XXX_Merge ¶
func (m *GetFeePercentageResponse) XXX_Merge(src proto.Message)
func (*GetFeePercentageResponse) XXX_Size ¶
func (m *GetFeePercentageResponse) XXX_Size() int
func (*GetFeePercentageResponse) XXX_Unmarshal ¶
func (m *GetFeePercentageResponse) XXX_Unmarshal(b []byte) error
type GetFeeRequest ¶
type GetFeeRequest struct { SrcChainId uint64 `protobuf:"varint,1,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"` DstChainId uint64 `protobuf:"varint,2,opt,name=dst_chain_id,json=dstChainId,proto3" json:"dst_chain_id,omitempty"` SrcTokenAddr string `protobuf:"bytes,3,opt,name=src_token_addr,json=srcTokenAddr,proto3" json:"src_token_addr,omitempty"` Amt string `protobuf:"bytes,4,opt,name=amt,proto3" json:"amt,omitempty"` LpAddr string `protobuf:"bytes,5,opt,name=lp_addr,json=lpAddr,proto3" json:"lp_addr,omitempty"` }
func (*GetFeeRequest) Descriptor ¶
func (*GetFeeRequest) Descriptor() ([]byte, []int)
func (*GetFeeRequest) GetAmt ¶
func (m *GetFeeRequest) GetAmt() string
func (*GetFeeRequest) GetDstChainId ¶
func (m *GetFeeRequest) GetDstChainId() uint64
func (*GetFeeRequest) GetLpAddr ¶
func (m *GetFeeRequest) GetLpAddr() string
func (*GetFeeRequest) GetSrcChainId ¶
func (m *GetFeeRequest) GetSrcChainId() uint64
func (*GetFeeRequest) GetSrcTokenAddr ¶
func (m *GetFeeRequest) GetSrcTokenAddr() string
func (*GetFeeRequest) Marshal ¶
func (m *GetFeeRequest) Marshal() (dAtA []byte, err error)
func (*GetFeeRequest) MarshalToSizedBuffer ¶
func (m *GetFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeeRequest) ProtoMessage ¶
func (*GetFeeRequest) ProtoMessage()
func (*GetFeeRequest) Reset ¶
func (m *GetFeeRequest) Reset()
func (*GetFeeRequest) Size ¶
func (m *GetFeeRequest) Size() (n int)
func (*GetFeeRequest) String ¶
func (m *GetFeeRequest) String() string
func (*GetFeeRequest) Unmarshal ¶
func (m *GetFeeRequest) Unmarshal(dAtA []byte) error
func (*GetFeeRequest) XXX_DiscardUnknown ¶
func (m *GetFeeRequest) XXX_DiscardUnknown()
func (*GetFeeRequest) XXX_Marshal ¶
func (m *GetFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeeRequest) XXX_Merge ¶
func (m *GetFeeRequest) XXX_Merge(src proto.Message)
func (*GetFeeRequest) XXX_Size ¶
func (m *GetFeeRequest) XXX_Size() int
func (*GetFeeRequest) XXX_Unmarshal ¶
func (m *GetFeeRequest) XXX_Unmarshal(b []byte) error
type GetFeeResponse ¶
type GetFeeResponse struct { EqValueTokenAmt string `protobuf:"bytes,2,opt,name=eq_value_token_amt,json=eqValueTokenAmt,proto3" json:"eq_value_token_amt,omitempty"` PercFee string `protobuf:"bytes,3,opt,name=perc_fee,json=percFee,proto3" json:"perc_fee,omitempty"` BaseFee string `protobuf:"bytes,5,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"` Decimal uint64 `protobuf:"varint,4,opt,name=decimal,proto3" json:"decimal,omitempty"` }
func (*GetFeeResponse) Descriptor ¶
func (*GetFeeResponse) Descriptor() ([]byte, []int)
func (*GetFeeResponse) GetBaseFee ¶
func (m *GetFeeResponse) GetBaseFee() string
func (*GetFeeResponse) GetDecimal ¶
func (m *GetFeeResponse) GetDecimal() uint64
func (*GetFeeResponse) GetEqValueTokenAmt ¶
func (m *GetFeeResponse) GetEqValueTokenAmt() string
func (*GetFeeResponse) GetPercFee ¶
func (m *GetFeeResponse) GetPercFee() string
func (*GetFeeResponse) Marshal ¶
func (m *GetFeeResponse) Marshal() (dAtA []byte, err error)
func (*GetFeeResponse) MarshalToSizedBuffer ¶
func (m *GetFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeeResponse) ProtoMessage ¶
func (*GetFeeResponse) ProtoMessage()
func (*GetFeeResponse) Reset ¶
func (m *GetFeeResponse) Reset()
func (*GetFeeResponse) Size ¶
func (m *GetFeeResponse) Size() (n int)
func (*GetFeeResponse) String ¶
func (m *GetFeeResponse) String() string
func (*GetFeeResponse) Unmarshal ¶
func (m *GetFeeResponse) Unmarshal(dAtA []byte) error
func (*GetFeeResponse) XXX_DiscardUnknown ¶
func (m *GetFeeResponse) XXX_DiscardUnknown()
func (*GetFeeResponse) XXX_Marshal ¶
func (m *GetFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeeResponse) XXX_Merge ¶
func (m *GetFeeResponse) XXX_Merge(src proto.Message)
func (*GetFeeResponse) XXX_Size ¶
func (m *GetFeeResponse) XXX_Size() int
func (*GetFeeResponse) XXX_Unmarshal ¶
func (m *GetFeeResponse) XXX_Unmarshal(b []byte) error
type LatestSigners ¶
type LatestSigners struct { SortedSigners []*Signer `protobuf:"bytes,1,rep,name=sorted_signers,json=sortedSigners,proto3" json:"sorted_signers,omitempty"` SignersBytes []byte `protobuf:"bytes,2,opt,name=signers_bytes,json=signersBytes,proto3" json:"signers_bytes,omitempty"` TriggerTime uint64 `protobuf:"varint,3,opt,name=trigger_time,json=triggerTime,proto3" json:"trigger_time,omitempty"` LastSignTime uint64 `protobuf:"varint,4,opt,name=last_sign_time,json=lastSignTime,proto3" json:"last_sign_time,omitempty"` }
func MustUnmarshalLatestSigners ¶
func MustUnmarshalLatestSigners(cdc codec.BinaryCodec, value []byte) LatestSigners
func UnmarshalLatestSigners ¶
func UnmarshalLatestSigners(cdc codec.BinaryCodec, value []byte) (s LatestSigners, err error)
func (*LatestSigners) Descriptor ¶
func (*LatestSigners) Descriptor() ([]byte, []int)
func (*LatestSigners) GenerateSignersBytes ¶
func (ls *LatestSigners) GenerateSignersBytes()
func (*LatestSigners) GetLastSignTime ¶
func (m *LatestSigners) GetLastSignTime() uint64
func (*LatestSigners) GetSignersBytes ¶
func (m *LatestSigners) GetSignersBytes() []byte
func (*LatestSigners) GetSortedSigners ¶
func (m *LatestSigners) GetSortedSigners() []*Signer
func (*LatestSigners) GetTriggerTime ¶
func (m *LatestSigners) GetTriggerTime() uint64
func (*LatestSigners) Marshal ¶
func (m *LatestSigners) Marshal() (dAtA []byte, err error)
func (*LatestSigners) MarshalToSizedBuffer ¶
func (m *LatestSigners) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LatestSigners) ProtoMessage ¶
func (*LatestSigners) ProtoMessage()
func (*LatestSigners) Reset ¶
func (m *LatestSigners) Reset()
func (*LatestSigners) Size ¶
func (m *LatestSigners) Size() (n int)
func (*LatestSigners) Sort ¶
func (ls *LatestSigners) Sort()
Sort signers array in ascending address order
func (*LatestSigners) String ¶
func (ls *LatestSigners) String() string
func (*LatestSigners) Unmarshal ¶
func (m *LatestSigners) Unmarshal(dAtA []byte) error
func (*LatestSigners) XXX_DiscardUnknown ¶
func (m *LatestSigners) XXX_DiscardUnknown()
func (*LatestSigners) XXX_Marshal ¶
func (m *LatestSigners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LatestSigners) XXX_Merge ¶
func (m *LatestSigners) XXX_Merge(src proto.Message)
func (*LatestSigners) XXX_Size ¶
func (m *LatestSigners) XXX_Size() int
func (*LatestSigners) XXX_Unmarshal ¶
func (m *LatestSigners) XXX_Unmarshal(b []byte) error
type LiquidityDetail ¶
type LiquidityDetail struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Token *Token `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` UsrLiquidity string `protobuf:"bytes,3,opt,name=usr_liquidity,json=usrLiquidity,proto3" json:"usr_liquidity,omitempty"` UsrLpFeeEarning string `protobuf:"bytes,4,opt,name=usr_lp_fee_earning,json=usrLpFeeEarning,proto3" json:"usr_lp_fee_earning,omitempty"` TotalLiquidity string `protobuf:"bytes,5,opt,name=total_liquidity,json=totalLiquidity,proto3" json:"total_liquidity,omitempty"` }
func (*LiquidityDetail) Descriptor ¶
func (*LiquidityDetail) Descriptor() ([]byte, []int)
func (*LiquidityDetail) GetChainId ¶
func (m *LiquidityDetail) GetChainId() uint64
func (*LiquidityDetail) GetToken ¶
func (m *LiquidityDetail) GetToken() *Token
func (*LiquidityDetail) GetTotalLiquidity ¶
func (m *LiquidityDetail) GetTotalLiquidity() string
func (*LiquidityDetail) GetUsrLiquidity ¶
func (m *LiquidityDetail) GetUsrLiquidity() string
func (*LiquidityDetail) GetUsrLpFeeEarning ¶
func (m *LiquidityDetail) GetUsrLpFeeEarning() string
func (*LiquidityDetail) Marshal ¶
func (m *LiquidityDetail) Marshal() (dAtA []byte, err error)
func (*LiquidityDetail) MarshalToSizedBuffer ¶
func (m *LiquidityDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityDetail) ProtoMessage ¶
func (*LiquidityDetail) ProtoMessage()
func (*LiquidityDetail) Reset ¶
func (m *LiquidityDetail) Reset()
func (*LiquidityDetail) Size ¶
func (m *LiquidityDetail) Size() (n int)
func (*LiquidityDetail) String ¶
func (m *LiquidityDetail) String() string
func (*LiquidityDetail) Unmarshal ¶
func (m *LiquidityDetail) Unmarshal(dAtA []byte) error
func (*LiquidityDetail) XXX_DiscardUnknown ¶
func (m *LiquidityDetail) XXX_DiscardUnknown()
func (*LiquidityDetail) XXX_Marshal ¶
func (m *LiquidityDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityDetail) XXX_Merge ¶
func (m *LiquidityDetail) XXX_Merge(src proto.Message)
func (*LiquidityDetail) XXX_Size ¶
func (m *LiquidityDetail) XXX_Size() int
func (*LiquidityDetail) XXX_Unmarshal ¶
func (m *LiquidityDetail) XXX_Unmarshal(b []byte) error
type LiquidityDetailListRequest ¶
type LiquidityDetailListRequest struct { LpAddr string `protobuf:"bytes,1,opt,name=lp_addr,json=lpAddr,proto3" json:"lp_addr,omitempty"` ChainToken []*ChainTokenAddrPair `protobuf:"bytes,2,rep,name=chain_token,json=chainToken,proto3" json:"chain_token,omitempty"` }
func (*LiquidityDetailListRequest) Descriptor ¶
func (*LiquidityDetailListRequest) Descriptor() ([]byte, []int)
func (*LiquidityDetailListRequest) GetChainToken ¶
func (m *LiquidityDetailListRequest) GetChainToken() []*ChainTokenAddrPair
func (*LiquidityDetailListRequest) GetLpAddr ¶
func (m *LiquidityDetailListRequest) GetLpAddr() string
func (*LiquidityDetailListRequest) Marshal ¶
func (m *LiquidityDetailListRequest) Marshal() (dAtA []byte, err error)
func (*LiquidityDetailListRequest) MarshalTo ¶
func (m *LiquidityDetailListRequest) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityDetailListRequest) MarshalToSizedBuffer ¶
func (m *LiquidityDetailListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityDetailListRequest) ProtoMessage ¶
func (*LiquidityDetailListRequest) ProtoMessage()
func (*LiquidityDetailListRequest) Reset ¶
func (m *LiquidityDetailListRequest) Reset()
func (*LiquidityDetailListRequest) Size ¶
func (m *LiquidityDetailListRequest) Size() (n int)
func (*LiquidityDetailListRequest) String ¶
func (m *LiquidityDetailListRequest) String() string
func (*LiquidityDetailListRequest) Unmarshal ¶
func (m *LiquidityDetailListRequest) Unmarshal(dAtA []byte) error
func (*LiquidityDetailListRequest) XXX_DiscardUnknown ¶
func (m *LiquidityDetailListRequest) XXX_DiscardUnknown()
func (*LiquidityDetailListRequest) XXX_Marshal ¶
func (m *LiquidityDetailListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityDetailListRequest) XXX_Merge ¶
func (m *LiquidityDetailListRequest) XXX_Merge(src proto.Message)
func (*LiquidityDetailListRequest) XXX_Size ¶
func (m *LiquidityDetailListRequest) XXX_Size() int
func (*LiquidityDetailListRequest) XXX_Unmarshal ¶
func (m *LiquidityDetailListRequest) XXX_Unmarshal(b []byte) error
type LiquidityDetailListResponse ¶
type LiquidityDetailListResponse struct {
LiquidityDetail []*LiquidityDetail `protobuf:"bytes,2,rep,name=liquidity_detail,json=liquidityDetail,proto3" json:"liquidity_detail,omitempty"`
}
func (*LiquidityDetailListResponse) Descriptor ¶
func (*LiquidityDetailListResponse) Descriptor() ([]byte, []int)
func (*LiquidityDetailListResponse) GetLiquidityDetail ¶
func (m *LiquidityDetailListResponse) GetLiquidityDetail() []*LiquidityDetail
func (*LiquidityDetailListResponse) Marshal ¶
func (m *LiquidityDetailListResponse) Marshal() (dAtA []byte, err error)
func (*LiquidityDetailListResponse) MarshalTo ¶
func (m *LiquidityDetailListResponse) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityDetailListResponse) MarshalToSizedBuffer ¶
func (m *LiquidityDetailListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityDetailListResponse) ProtoMessage ¶
func (*LiquidityDetailListResponse) ProtoMessage()
func (*LiquidityDetailListResponse) Reset ¶
func (m *LiquidityDetailListResponse) Reset()
func (*LiquidityDetailListResponse) Size ¶
func (m *LiquidityDetailListResponse) Size() (n int)
func (*LiquidityDetailListResponse) String ¶
func (m *LiquidityDetailListResponse) String() string
func (*LiquidityDetailListResponse) Unmarshal ¶
func (m *LiquidityDetailListResponse) Unmarshal(dAtA []byte) error
func (*LiquidityDetailListResponse) XXX_DiscardUnknown ¶
func (m *LiquidityDetailListResponse) XXX_DiscardUnknown()
func (*LiquidityDetailListResponse) XXX_Marshal ¶
func (m *LiquidityDetailListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityDetailListResponse) XXX_Merge ¶
func (m *LiquidityDetailListResponse) XXX_Merge(src proto.Message)
func (*LiquidityDetailListResponse) XXX_Size ¶
func (m *LiquidityDetailListResponse) XXX_Size() int
func (*LiquidityDetailListResponse) XXX_Unmarshal ¶
func (m *LiquidityDetailListResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // called by gateway to start a withdraw flow // async call, client will query by addr and reqid for status // if req is invalid, an error w/ errcode will be returned InitWithdraw(ctx context.Context, in *MsgInitWithdraw, opts ...grpc.CallOption) (*MsgInitWithdrawResp, error) // user can request to sign a previous withdraw again SignAgain(ctx context.Context, in *MsgSignAgain, opts ...grpc.CallOption) (*MsgSignAgainResp, error) // sgn validator send its sig, so the msg can be later submitted onchain SendMySig(ctx context.Context, in *MsgSendMySig, opts ...grpc.CallOption) (*MsgSendMySigResp, error) UpdateLatestSigners(ctx context.Context, in *MsgUpdateLatestSigners, opts ...grpc.CallOption) (*MsgUpdateLatestSignersResp, error) // SyncFarming defines a method to sync the farming status for an LP. // Useful when a new farming pool is enabled. SyncFarming(ctx context.Context, in *MsgSyncFarming, opts ...grpc.CallOption) (*MsgSyncFarmingResponse, error) TriggerSetRefund(ctx context.Context, in *MsgTriggerSetRefund, opts ...grpc.CallOption) (*MsgTriggerSetRefundResp, error) SetLiquidityCap(ctx context.Context, in *MsgSetLiquidityCap, opts ...grpc.CallOption) (*MsgSetLiquidityCapResp, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgInitWithdraw ¶
type MsgInitWithdraw struct { WithdrawReq []byte `protobuf:"bytes,1,opt,name=withdraw_req,json=withdrawReq,proto3" json:"withdraw_req,omitempty"` UserSig []byte `protobuf:"bytes,2,opt,name=user_sig,json=userSig,proto3" json:"user_sig,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` }
func NewMsgInitWithdraw ¶
func NewMsgInitWithdraw(creator string) *MsgInitWithdraw
func (*MsgInitWithdraw) Descriptor ¶
func (*MsgInitWithdraw) Descriptor() ([]byte, []int)
func (*MsgInitWithdraw) GetCreator ¶
func (m *MsgInitWithdraw) GetCreator() string
func (*MsgInitWithdraw) GetSignBytes ¶
func (msg *MsgInitWithdraw) GetSignBytes() []byte
func (*MsgInitWithdraw) GetSigners ¶
func (msg *MsgInitWithdraw) GetSigners() []sdk.AccAddress
func (*MsgInitWithdraw) GetUserSig ¶
func (m *MsgInitWithdraw) GetUserSig() []byte
func (*MsgInitWithdraw) GetWithdrawReq ¶
func (m *MsgInitWithdraw) GetWithdrawReq() []byte
func (*MsgInitWithdraw) Marshal ¶
func (m *MsgInitWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgInitWithdraw) MarshalToSizedBuffer ¶
func (m *MsgInitWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitWithdraw) ProtoMessage ¶
func (*MsgInitWithdraw) ProtoMessage()
func (*MsgInitWithdraw) Reset ¶
func (m *MsgInitWithdraw) Reset()
func (*MsgInitWithdraw) Route ¶
func (msg *MsgInitWithdraw) Route() string
func (*MsgInitWithdraw) Size ¶
func (m *MsgInitWithdraw) Size() (n int)
func (*MsgInitWithdraw) String ¶
func (m *MsgInitWithdraw) String() string
func (*MsgInitWithdraw) Type ¶
func (msg *MsgInitWithdraw) Type() string
func (*MsgInitWithdraw) Unmarshal ¶
func (m *MsgInitWithdraw) Unmarshal(dAtA []byte) error
func (*MsgInitWithdraw) ValidateBasic ¶
func (msg *MsgInitWithdraw) ValidateBasic() error
func (*MsgInitWithdraw) XXX_DiscardUnknown ¶
func (m *MsgInitWithdraw) XXX_DiscardUnknown()
func (*MsgInitWithdraw) XXX_Marshal ¶
func (m *MsgInitWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitWithdraw) XXX_Merge ¶
func (m *MsgInitWithdraw) XXX_Merge(src proto.Message)
func (*MsgInitWithdraw) XXX_Size ¶
func (m *MsgInitWithdraw) XXX_Size() int
func (*MsgInitWithdraw) XXX_Unmarshal ¶
func (m *MsgInitWithdraw) XXX_Unmarshal(b []byte) error
type MsgInitWithdrawResp ¶
type MsgInitWithdrawResp struct { }
func (*MsgInitWithdrawResp) Descriptor ¶
func (*MsgInitWithdrawResp) Descriptor() ([]byte, []int)
func (*MsgInitWithdrawResp) Marshal ¶
func (m *MsgInitWithdrawResp) Marshal() (dAtA []byte, err error)
func (*MsgInitWithdrawResp) MarshalTo ¶
func (m *MsgInitWithdrawResp) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitWithdrawResp) MarshalToSizedBuffer ¶
func (m *MsgInitWithdrawResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitWithdrawResp) ProtoMessage ¶
func (*MsgInitWithdrawResp) ProtoMessage()
func (*MsgInitWithdrawResp) Reset ¶
func (m *MsgInitWithdrawResp) Reset()
func (*MsgInitWithdrawResp) Size ¶
func (m *MsgInitWithdrawResp) Size() (n int)
func (*MsgInitWithdrawResp) String ¶
func (m *MsgInitWithdrawResp) String() string
func (*MsgInitWithdrawResp) Unmarshal ¶
func (m *MsgInitWithdrawResp) Unmarshal(dAtA []byte) error
func (*MsgInitWithdrawResp) XXX_DiscardUnknown ¶
func (m *MsgInitWithdrawResp) XXX_DiscardUnknown()
func (*MsgInitWithdrawResp) XXX_Marshal ¶
func (m *MsgInitWithdrawResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitWithdrawResp) XXX_Merge ¶
func (m *MsgInitWithdrawResp) XXX_Merge(src proto.Message)
func (*MsgInitWithdrawResp) XXX_Size ¶
func (m *MsgInitWithdrawResp) XXX_Size() int
func (*MsgInitWithdrawResp) XXX_Unmarshal ¶
func (m *MsgInitWithdrawResp) XXX_Unmarshal(b []byte) error
type MsgSendMySig ¶
type MsgSendMySig struct { Datatype SignDataType `protobuf:"varint,1,opt,name=datatype,proto3,enum=sgn.cbridge.v1.SignDataType" json:"datatype,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` MySigs []*MySig `protobuf:"bytes,3,rep,name=my_sigs,json=mySigs,proto3" json:"my_sigs,omitempty"` Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*MsgSendMySig) Descriptor ¶
func (*MsgSendMySig) Descriptor() ([]byte, []int)
func (*MsgSendMySig) GetCreator ¶
func (m *MsgSendMySig) GetCreator() string
func (*MsgSendMySig) GetData ¶
func (m *MsgSendMySig) GetData() []byte
func (*MsgSendMySig) GetDatatype ¶
func (m *MsgSendMySig) GetDatatype() SignDataType
func (*MsgSendMySig) GetMySigs ¶
func (m *MsgSendMySig) GetMySigs() []*MySig
func (*MsgSendMySig) GetSignBytes ¶
func (msg *MsgSendMySig) GetSignBytes() []byte
func (*MsgSendMySig) GetSigners ¶
func (msg *MsgSendMySig) GetSigners() []sdk.AccAddress
func (*MsgSendMySig) Marshal ¶
func (m *MsgSendMySig) Marshal() (dAtA []byte, err error)
func (*MsgSendMySig) MarshalToSizedBuffer ¶
func (m *MsgSendMySig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendMySig) ProtoMessage ¶
func (*MsgSendMySig) ProtoMessage()
func (*MsgSendMySig) Reset ¶
func (m *MsgSendMySig) Reset()
func (*MsgSendMySig) Route ¶
func (msg *MsgSendMySig) Route() string
func (*MsgSendMySig) Size ¶
func (m *MsgSendMySig) Size() (n int)
func (*MsgSendMySig) String ¶
func (m *MsgSendMySig) String() string
func (*MsgSendMySig) Type ¶
func (msg *MsgSendMySig) Type() string
func (*MsgSendMySig) Unmarshal ¶
func (m *MsgSendMySig) Unmarshal(dAtA []byte) error
func (*MsgSendMySig) ValidateBasic ¶
func (msg *MsgSendMySig) ValidateBasic() error
func (*MsgSendMySig) XXX_DiscardUnknown ¶
func (m *MsgSendMySig) XXX_DiscardUnknown()
func (*MsgSendMySig) XXX_Marshal ¶
func (m *MsgSendMySig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendMySig) XXX_Merge ¶
func (m *MsgSendMySig) XXX_Merge(src proto.Message)
func (*MsgSendMySig) XXX_Size ¶
func (m *MsgSendMySig) XXX_Size() int
func (*MsgSendMySig) XXX_Unmarshal ¶
func (m *MsgSendMySig) XXX_Unmarshal(b []byte) error
type MsgSendMySigResp ¶
type MsgSendMySigResp struct { }
func (*MsgSendMySigResp) Descriptor ¶
func (*MsgSendMySigResp) Descriptor() ([]byte, []int)
func (*MsgSendMySigResp) Marshal ¶
func (m *MsgSendMySigResp) Marshal() (dAtA []byte, err error)
func (*MsgSendMySigResp) MarshalToSizedBuffer ¶
func (m *MsgSendMySigResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendMySigResp) ProtoMessage ¶
func (*MsgSendMySigResp) ProtoMessage()
func (*MsgSendMySigResp) Reset ¶
func (m *MsgSendMySigResp) Reset()
func (*MsgSendMySigResp) Size ¶
func (m *MsgSendMySigResp) Size() (n int)
func (*MsgSendMySigResp) String ¶
func (m *MsgSendMySigResp) String() string
func (*MsgSendMySigResp) Unmarshal ¶
func (m *MsgSendMySigResp) Unmarshal(dAtA []byte) error
func (*MsgSendMySigResp) XXX_DiscardUnknown ¶
func (m *MsgSendMySigResp) XXX_DiscardUnknown()
func (*MsgSendMySigResp) XXX_Marshal ¶
func (m *MsgSendMySigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendMySigResp) XXX_Merge ¶
func (m *MsgSendMySigResp) XXX_Merge(src proto.Message)
func (*MsgSendMySigResp) XXX_Size ¶
func (m *MsgSendMySigResp) XXX_Size() int
func (*MsgSendMySigResp) XXX_Unmarshal ¶
func (m *MsgSendMySigResp) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // called by gateway to start a withdraw flow // async call, client will query by addr and reqid for status // if req is invalid, an error w/ errcode will be returned InitWithdraw(context.Context, *MsgInitWithdraw) (*MsgInitWithdrawResp, error) // user can request to sign a previous withdraw again SignAgain(context.Context, *MsgSignAgain) (*MsgSignAgainResp, error) // sgn validator send its sig, so the msg can be later submitted onchain SendMySig(context.Context, *MsgSendMySig) (*MsgSendMySigResp, error) UpdateLatestSigners(context.Context, *MsgUpdateLatestSigners) (*MsgUpdateLatestSignersResp, error) // SyncFarming defines a method to sync the farming status for an LP. // Useful when a new farming pool is enabled. SyncFarming(context.Context, *MsgSyncFarming) (*MsgSyncFarmingResponse, error) TriggerSetRefund(context.Context, *MsgTriggerSetRefund) (*MsgTriggerSetRefundResp, error) SetLiquidityCap(context.Context, *MsgSetLiquidityCap) (*MsgSetLiquidityCapResp, error) }
MsgServer is the server API for Msg service.
type MsgSetLiquidityCap ¶
type MsgSetLiquidityCap struct { // chain_id defines the chain ID ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"` // token_address defines the token address TokenAddress string `protobuf:"bytes,2,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty" yaml:"token_address"` // liquidity_cap defines the total liquidity cap (pool size) LiquidityCap string `protobuf:"bytes,3,opt,name=liquidity_cap,json=liquidityCap,proto3" json:"liquidity_cap,omitempty" yaml:"liquidity_cap"` // sender defines the SGN account sending this Msg Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` }
func (*MsgSetLiquidityCap) Descriptor ¶
func (*MsgSetLiquidityCap) Descriptor() ([]byte, []int)
func (*MsgSetLiquidityCap) GetChainId ¶
func (m *MsgSetLiquidityCap) GetChainId() uint64
func (*MsgSetLiquidityCap) GetLiquidityCap ¶
func (m *MsgSetLiquidityCap) GetLiquidityCap() string
func (*MsgSetLiquidityCap) GetSender ¶
func (m *MsgSetLiquidityCap) GetSender() string
func (*MsgSetLiquidityCap) GetSignBytes ¶
func (msg *MsgSetLiquidityCap) GetSignBytes() []byte
func (*MsgSetLiquidityCap) GetSigners ¶
func (msg *MsgSetLiquidityCap) GetSigners() []sdk.AccAddress
func (*MsgSetLiquidityCap) GetTokenAddress ¶
func (m *MsgSetLiquidityCap) GetTokenAddress() string
func (*MsgSetLiquidityCap) Marshal ¶
func (m *MsgSetLiquidityCap) Marshal() (dAtA []byte, err error)
func (*MsgSetLiquidityCap) MarshalTo ¶
func (m *MsgSetLiquidityCap) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetLiquidityCap) MarshalToSizedBuffer ¶
func (m *MsgSetLiquidityCap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetLiquidityCap) ProtoMessage ¶
func (*MsgSetLiquidityCap) ProtoMessage()
func (*MsgSetLiquidityCap) Reset ¶
func (m *MsgSetLiquidityCap) Reset()
func (*MsgSetLiquidityCap) Route ¶
func (msg *MsgSetLiquidityCap) Route() string
func (*MsgSetLiquidityCap) Size ¶
func (m *MsgSetLiquidityCap) Size() (n int)
func (*MsgSetLiquidityCap) String ¶
func (m *MsgSetLiquidityCap) String() string
func (*MsgSetLiquidityCap) Type ¶
func (msg *MsgSetLiquidityCap) Type() string
func (*MsgSetLiquidityCap) Unmarshal ¶
func (m *MsgSetLiquidityCap) Unmarshal(dAtA []byte) error
func (*MsgSetLiquidityCap) ValidateBasic ¶
func (msg *MsgSetLiquidityCap) ValidateBasic() error
func (*MsgSetLiquidityCap) XXX_DiscardUnknown ¶
func (m *MsgSetLiquidityCap) XXX_DiscardUnknown()
func (*MsgSetLiquidityCap) XXX_Marshal ¶
func (m *MsgSetLiquidityCap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetLiquidityCap) XXX_Merge ¶
func (m *MsgSetLiquidityCap) XXX_Merge(src proto.Message)
func (*MsgSetLiquidityCap) XXX_Size ¶
func (m *MsgSetLiquidityCap) XXX_Size() int
func (*MsgSetLiquidityCap) XXX_Unmarshal ¶
func (m *MsgSetLiquidityCap) XXX_Unmarshal(b []byte) error
type MsgSetLiquidityCapResp ¶
type MsgSetLiquidityCapResp struct { }
MsgSetLiquidityCap defines the MsgSetLiquidityCap response type.
func (*MsgSetLiquidityCapResp) Descriptor ¶
func (*MsgSetLiquidityCapResp) Descriptor() ([]byte, []int)
func (*MsgSetLiquidityCapResp) Marshal ¶
func (m *MsgSetLiquidityCapResp) Marshal() (dAtA []byte, err error)
func (*MsgSetLiquidityCapResp) MarshalTo ¶
func (m *MsgSetLiquidityCapResp) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetLiquidityCapResp) MarshalToSizedBuffer ¶
func (m *MsgSetLiquidityCapResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetLiquidityCapResp) ProtoMessage ¶
func (*MsgSetLiquidityCapResp) ProtoMessage()
func (*MsgSetLiquidityCapResp) Reset ¶
func (m *MsgSetLiquidityCapResp) Reset()
func (*MsgSetLiquidityCapResp) Size ¶
func (m *MsgSetLiquidityCapResp) Size() (n int)
func (*MsgSetLiquidityCapResp) String ¶
func (m *MsgSetLiquidityCapResp) String() string
func (*MsgSetLiquidityCapResp) Unmarshal ¶
func (m *MsgSetLiquidityCapResp) Unmarshal(dAtA []byte) error
func (*MsgSetLiquidityCapResp) XXX_DiscardUnknown ¶
func (m *MsgSetLiquidityCapResp) XXX_DiscardUnknown()
func (*MsgSetLiquidityCapResp) XXX_Marshal ¶
func (m *MsgSetLiquidityCapResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetLiquidityCapResp) XXX_Merge ¶
func (m *MsgSetLiquidityCapResp) XXX_Merge(src proto.Message)
func (*MsgSetLiquidityCapResp) XXX_Size ¶
func (m *MsgSetLiquidityCapResp) XXX_Size() int
func (*MsgSetLiquidityCapResp) XXX_Unmarshal ¶
func (m *MsgSetLiquidityCapResp) XXX_Unmarshal(b []byte) error
type MsgSignAgain ¶
type MsgSignAgain struct { DataType SignDataType `protobuf:"varint,4,opt,name=data_type,json=dataType,proto3,enum=sgn.cbridge.v1.SignDataType" json:"data_type,omitempty"` // for withdraw UserAddr []byte `protobuf:"bytes,1,opt,name=user_addr,json=userAddr,proto3" json:"user_addr,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // for relay XferId []byte `protobuf:"bytes,5,opt,name=xfer_id,json=xferId,proto3" json:"xfer_id,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` }
Next tag: 6
func (*MsgSignAgain) Descriptor ¶
func (*MsgSignAgain) Descriptor() ([]byte, []int)
func (*MsgSignAgain) GetCreator ¶
func (m *MsgSignAgain) GetCreator() string
func (*MsgSignAgain) GetDataType ¶
func (m *MsgSignAgain) GetDataType() SignDataType
func (*MsgSignAgain) GetReqId ¶
func (m *MsgSignAgain) GetReqId() uint64
func (*MsgSignAgain) GetSignBytes ¶
func (msg *MsgSignAgain) GetSignBytes() []byte
func (*MsgSignAgain) GetSigners ¶
func (msg *MsgSignAgain) GetSigners() []sdk.AccAddress
func (*MsgSignAgain) GetUserAddr ¶
func (m *MsgSignAgain) GetUserAddr() []byte
func (*MsgSignAgain) GetXferId ¶
func (m *MsgSignAgain) GetXferId() []byte
func (*MsgSignAgain) Marshal ¶
func (m *MsgSignAgain) Marshal() (dAtA []byte, err error)
func (*MsgSignAgain) MarshalToSizedBuffer ¶
func (m *MsgSignAgain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSignAgain) ProtoMessage ¶
func (*MsgSignAgain) ProtoMessage()
func (*MsgSignAgain) Reset ¶
func (m *MsgSignAgain) Reset()
func (*MsgSignAgain) Route ¶
func (msg *MsgSignAgain) Route() string
func (*MsgSignAgain) Size ¶
func (m *MsgSignAgain) Size() (n int)
func (*MsgSignAgain) String ¶
func (m *MsgSignAgain) String() string
func (*MsgSignAgain) Type ¶
func (msg *MsgSignAgain) Type() string
func (*MsgSignAgain) Unmarshal ¶
func (m *MsgSignAgain) Unmarshal(dAtA []byte) error
func (*MsgSignAgain) ValidateBasic ¶
func (msg *MsgSignAgain) ValidateBasic() error
func (*MsgSignAgain) XXX_DiscardUnknown ¶
func (m *MsgSignAgain) XXX_DiscardUnknown()
func (*MsgSignAgain) XXX_Marshal ¶
func (m *MsgSignAgain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSignAgain) XXX_Merge ¶
func (m *MsgSignAgain) XXX_Merge(src proto.Message)
func (*MsgSignAgain) XXX_Size ¶
func (m *MsgSignAgain) XXX_Size() int
func (*MsgSignAgain) XXX_Unmarshal ¶
func (m *MsgSignAgain) XXX_Unmarshal(b []byte) error
type MsgSignAgainResp ¶
type MsgSignAgainResp struct { }
func (*MsgSignAgainResp) Descriptor ¶
func (*MsgSignAgainResp) Descriptor() ([]byte, []int)
func (*MsgSignAgainResp) Marshal ¶
func (m *MsgSignAgainResp) Marshal() (dAtA []byte, err error)
func (*MsgSignAgainResp) MarshalToSizedBuffer ¶
func (m *MsgSignAgainResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSignAgainResp) ProtoMessage ¶
func (*MsgSignAgainResp) ProtoMessage()
func (*MsgSignAgainResp) Reset ¶
func (m *MsgSignAgainResp) Reset()
func (*MsgSignAgainResp) Size ¶
func (m *MsgSignAgainResp) Size() (n int)
func (*MsgSignAgainResp) String ¶
func (m *MsgSignAgainResp) String() string
func (*MsgSignAgainResp) Unmarshal ¶
func (m *MsgSignAgainResp) Unmarshal(dAtA []byte) error
func (*MsgSignAgainResp) XXX_DiscardUnknown ¶
func (m *MsgSignAgainResp) XXX_DiscardUnknown()
func (*MsgSignAgainResp) XXX_Marshal ¶
func (m *MsgSignAgainResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSignAgainResp) XXX_Merge ¶
func (m *MsgSignAgainResp) XXX_Merge(src proto.Message)
func (*MsgSignAgainResp) XXX_Size ¶
func (m *MsgSignAgainResp) XXX_Size() int
func (*MsgSignAgainResp) XXX_Unmarshal ¶
func (m *MsgSignAgainResp) XXX_Unmarshal(b []byte) error
type MsgSyncFarming ¶
type MsgSyncFarming struct { // lp_address defines the liquidity provider's EVM address LpAddress string `protobuf:"bytes,1,opt,name=lp_address,json=lpAddress,proto3" json:"lp_address,omitempty" yaml:"lp_address"` // chain_id defines the EVM chain ID to sync the stake token on ChainId uint64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty" yaml:"chain_id"` // token_address defines the EVM address of the stake token TokenAddress string `protobuf:"bytes,3,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty" yaml:"token_address"` // creator defines the SGN account address sending the message Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"` }
func NewMsgSyncFarming ¶
func NewMsgSyncFarming( lpAddress string, chainId uint64, tokenAddress string, creator string) *MsgSyncFarming
func (*MsgSyncFarming) Descriptor ¶
func (*MsgSyncFarming) Descriptor() ([]byte, []int)
func (*MsgSyncFarming) GetChainId ¶
func (m *MsgSyncFarming) GetChainId() uint64
func (*MsgSyncFarming) GetCreator ¶
func (m *MsgSyncFarming) GetCreator() string
func (*MsgSyncFarming) GetLpAddress ¶
func (m *MsgSyncFarming) GetLpAddress() string
func (*MsgSyncFarming) GetSignBytes ¶
func (msg *MsgSyncFarming) GetSignBytes() []byte
func (*MsgSyncFarming) GetSigners ¶
func (msg *MsgSyncFarming) GetSigners() []sdk.AccAddress
func (*MsgSyncFarming) GetTokenAddress ¶
func (m *MsgSyncFarming) GetTokenAddress() string
func (*MsgSyncFarming) Marshal ¶
func (m *MsgSyncFarming) Marshal() (dAtA []byte, err error)
func (*MsgSyncFarming) MarshalToSizedBuffer ¶
func (m *MsgSyncFarming) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSyncFarming) ProtoMessage ¶
func (*MsgSyncFarming) ProtoMessage()
func (*MsgSyncFarming) Reset ¶
func (m *MsgSyncFarming) Reset()
func (*MsgSyncFarming) Route ¶
func (msg *MsgSyncFarming) Route() string
func (*MsgSyncFarming) Size ¶
func (m *MsgSyncFarming) Size() (n int)
func (*MsgSyncFarming) String ¶
func (m *MsgSyncFarming) String() string
func (*MsgSyncFarming) Type ¶
func (msg *MsgSyncFarming) Type() string
func (*MsgSyncFarming) Unmarshal ¶
func (m *MsgSyncFarming) Unmarshal(dAtA []byte) error
func (*MsgSyncFarming) ValidateBasic ¶
func (msg *MsgSyncFarming) ValidateBasic() error
func (*MsgSyncFarming) XXX_DiscardUnknown ¶
func (m *MsgSyncFarming) XXX_DiscardUnknown()
func (*MsgSyncFarming) XXX_Marshal ¶
func (m *MsgSyncFarming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSyncFarming) XXX_Merge ¶
func (m *MsgSyncFarming) XXX_Merge(src proto.Message)
func (*MsgSyncFarming) XXX_Size ¶
func (m *MsgSyncFarming) XXX_Size() int
func (*MsgSyncFarming) XXX_Unmarshal ¶
func (m *MsgSyncFarming) XXX_Unmarshal(b []byte) error
type MsgSyncFarmingResponse ¶
type MsgSyncFarmingResponse struct { }
func (*MsgSyncFarmingResponse) Descriptor ¶
func (*MsgSyncFarmingResponse) Descriptor() ([]byte, []int)
func (*MsgSyncFarmingResponse) Marshal ¶
func (m *MsgSyncFarmingResponse) Marshal() (dAtA []byte, err error)
func (*MsgSyncFarmingResponse) MarshalTo ¶
func (m *MsgSyncFarmingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSyncFarmingResponse) MarshalToSizedBuffer ¶
func (m *MsgSyncFarmingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSyncFarmingResponse) ProtoMessage ¶
func (*MsgSyncFarmingResponse) ProtoMessage()
func (*MsgSyncFarmingResponse) Reset ¶
func (m *MsgSyncFarmingResponse) Reset()
func (*MsgSyncFarmingResponse) Size ¶
func (m *MsgSyncFarmingResponse) Size() (n int)
func (*MsgSyncFarmingResponse) String ¶
func (m *MsgSyncFarmingResponse) String() string
func (*MsgSyncFarmingResponse) Unmarshal ¶
func (m *MsgSyncFarmingResponse) Unmarshal(dAtA []byte) error
func (*MsgSyncFarmingResponse) XXX_DiscardUnknown ¶
func (m *MsgSyncFarmingResponse) XXX_DiscardUnknown()
func (*MsgSyncFarmingResponse) XXX_Marshal ¶
func (m *MsgSyncFarmingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSyncFarmingResponse) XXX_Merge ¶
func (m *MsgSyncFarmingResponse) XXX_Merge(src proto.Message)
func (*MsgSyncFarmingResponse) XXX_Size ¶
func (m *MsgSyncFarmingResponse) XXX_Size() int
func (*MsgSyncFarmingResponse) XXX_Unmarshal ¶
func (m *MsgSyncFarmingResponse) XXX_Unmarshal(b []byte) error
type MsgTriggerSetRefund ¶
type MsgTriggerSetRefund struct { SrcChainId uint64 `protobuf:"varint,1,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` DstChainId uint64 `protobuf:"varint,6,opt,name=dst_chain_id,json=dstChainId,proto3" json:"dst_chain_id,omitempty"` Nonce uint64 `protobuf:"varint,7,opt,name=nonce,proto3" json:"nonce,omitempty"` Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*MsgTriggerSetRefund) Descriptor ¶
func (*MsgTriggerSetRefund) Descriptor() ([]byte, []int)
func (*MsgTriggerSetRefund) GetAmount ¶
func (m *MsgTriggerSetRefund) GetAmount() string
func (*MsgTriggerSetRefund) GetCreator ¶
func (m *MsgTriggerSetRefund) GetCreator() string
func (*MsgTriggerSetRefund) GetDstChainId ¶
func (m *MsgTriggerSetRefund) GetDstChainId() uint64
func (*MsgTriggerSetRefund) GetNonce ¶
func (m *MsgTriggerSetRefund) GetNonce() uint64
func (*MsgTriggerSetRefund) GetReceiver ¶
func (m *MsgTriggerSetRefund) GetReceiver() string
func (*MsgTriggerSetRefund) GetSender ¶
func (m *MsgTriggerSetRefund) GetSender() string
func (*MsgTriggerSetRefund) GetSignBytes ¶
func (msg *MsgTriggerSetRefund) GetSignBytes() []byte
func (*MsgTriggerSetRefund) GetSigners ¶
func (msg *MsgTriggerSetRefund) GetSigners() []sdk.AccAddress
func (*MsgTriggerSetRefund) GetSrcChainId ¶
func (m *MsgTriggerSetRefund) GetSrcChainId() uint64
func (*MsgTriggerSetRefund) GetToken ¶
func (m *MsgTriggerSetRefund) GetToken() string
func (*MsgTriggerSetRefund) Marshal ¶
func (m *MsgTriggerSetRefund) Marshal() (dAtA []byte, err error)
func (*MsgTriggerSetRefund) MarshalTo ¶
func (m *MsgTriggerSetRefund) MarshalTo(dAtA []byte) (int, error)
func (*MsgTriggerSetRefund) MarshalToSizedBuffer ¶
func (m *MsgTriggerSetRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTriggerSetRefund) ProtoMessage ¶
func (*MsgTriggerSetRefund) ProtoMessage()
func (*MsgTriggerSetRefund) Reset ¶
func (m *MsgTriggerSetRefund) Reset()
func (*MsgTriggerSetRefund) Route ¶
func (msg *MsgTriggerSetRefund) Route() string
func (*MsgTriggerSetRefund) Size ¶
func (m *MsgTriggerSetRefund) Size() (n int)
func (*MsgTriggerSetRefund) String ¶
func (m *MsgTriggerSetRefund) String() string
func (*MsgTriggerSetRefund) Type ¶
func (msg *MsgTriggerSetRefund) Type() string
func (*MsgTriggerSetRefund) Unmarshal ¶
func (m *MsgTriggerSetRefund) Unmarshal(dAtA []byte) error
func (*MsgTriggerSetRefund) ValidateBasic ¶
func (msg *MsgTriggerSetRefund) ValidateBasic() error
func (*MsgTriggerSetRefund) XXX_DiscardUnknown ¶
func (m *MsgTriggerSetRefund) XXX_DiscardUnknown()
func (*MsgTriggerSetRefund) XXX_Marshal ¶
func (m *MsgTriggerSetRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTriggerSetRefund) XXX_Merge ¶
func (m *MsgTriggerSetRefund) XXX_Merge(src proto.Message)
func (*MsgTriggerSetRefund) XXX_Size ¶
func (m *MsgTriggerSetRefund) XXX_Size() int
func (*MsgTriggerSetRefund) XXX_Unmarshal ¶
func (m *MsgTriggerSetRefund) XXX_Unmarshal(b []byte) error
type MsgTriggerSetRefundResp ¶
type MsgTriggerSetRefundResp struct { }
func (*MsgTriggerSetRefundResp) Descriptor ¶
func (*MsgTriggerSetRefundResp) Descriptor() ([]byte, []int)
func (*MsgTriggerSetRefundResp) Marshal ¶
func (m *MsgTriggerSetRefundResp) Marshal() (dAtA []byte, err error)
func (*MsgTriggerSetRefundResp) MarshalTo ¶
func (m *MsgTriggerSetRefundResp) MarshalTo(dAtA []byte) (int, error)
func (*MsgTriggerSetRefundResp) MarshalToSizedBuffer ¶
func (m *MsgTriggerSetRefundResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTriggerSetRefundResp) ProtoMessage ¶
func (*MsgTriggerSetRefundResp) ProtoMessage()
func (*MsgTriggerSetRefundResp) Reset ¶
func (m *MsgTriggerSetRefundResp) Reset()
func (*MsgTriggerSetRefundResp) Size ¶
func (m *MsgTriggerSetRefundResp) Size() (n int)
func (*MsgTriggerSetRefundResp) String ¶
func (m *MsgTriggerSetRefundResp) String() string
func (*MsgTriggerSetRefundResp) Unmarshal ¶
func (m *MsgTriggerSetRefundResp) Unmarshal(dAtA []byte) error
func (*MsgTriggerSetRefundResp) XXX_DiscardUnknown ¶
func (m *MsgTriggerSetRefundResp) XXX_DiscardUnknown()
func (*MsgTriggerSetRefundResp) XXX_Marshal ¶
func (m *MsgTriggerSetRefundResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTriggerSetRefundResp) XXX_Merge ¶
func (m *MsgTriggerSetRefundResp) XXX_Merge(src proto.Message)
func (*MsgTriggerSetRefundResp) XXX_Size ¶
func (m *MsgTriggerSetRefundResp) XXX_Size() int
func (*MsgTriggerSetRefundResp) XXX_Unmarshal ¶
func (m *MsgTriggerSetRefundResp) XXX_Unmarshal(b []byte) error
type MsgUpdateLatestSigners ¶
type MsgUpdateLatestSigners struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func NewMsgUpdateLatestSigners ¶
func NewMsgUpdateLatestSigners(creator string) *MsgUpdateLatestSigners
func (*MsgUpdateLatestSigners) Descriptor ¶
func (*MsgUpdateLatestSigners) Descriptor() ([]byte, []int)
func (*MsgUpdateLatestSigners) GetCreator ¶
func (m *MsgUpdateLatestSigners) GetCreator() string
func (*MsgUpdateLatestSigners) GetSignBytes ¶
func (msg *MsgUpdateLatestSigners) GetSignBytes() []byte
func (*MsgUpdateLatestSigners) GetSigners ¶
func (msg *MsgUpdateLatestSigners) GetSigners() []sdk.AccAddress
func (*MsgUpdateLatestSigners) Marshal ¶
func (m *MsgUpdateLatestSigners) Marshal() (dAtA []byte, err error)
func (*MsgUpdateLatestSigners) MarshalTo ¶
func (m *MsgUpdateLatestSigners) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateLatestSigners) MarshalToSizedBuffer ¶
func (m *MsgUpdateLatestSigners) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateLatestSigners) ProtoMessage ¶
func (*MsgUpdateLatestSigners) ProtoMessage()
func (*MsgUpdateLatestSigners) Reset ¶
func (m *MsgUpdateLatestSigners) Reset()
func (*MsgUpdateLatestSigners) Route ¶
func (msg *MsgUpdateLatestSigners) Route() string
func (*MsgUpdateLatestSigners) Size ¶
func (m *MsgUpdateLatestSigners) Size() (n int)
func (*MsgUpdateLatestSigners) String ¶
func (m *MsgUpdateLatestSigners) String() string
func (*MsgUpdateLatestSigners) Type ¶
func (msg *MsgUpdateLatestSigners) Type() string
func (*MsgUpdateLatestSigners) Unmarshal ¶
func (m *MsgUpdateLatestSigners) Unmarshal(dAtA []byte) error
func (*MsgUpdateLatestSigners) ValidateBasic ¶
func (msg *MsgUpdateLatestSigners) ValidateBasic() error
func (*MsgUpdateLatestSigners) XXX_DiscardUnknown ¶
func (m *MsgUpdateLatestSigners) XXX_DiscardUnknown()
func (*MsgUpdateLatestSigners) XXX_Marshal ¶
func (m *MsgUpdateLatestSigners) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateLatestSigners) XXX_Merge ¶
func (m *MsgUpdateLatestSigners) XXX_Merge(src proto.Message)
func (*MsgUpdateLatestSigners) XXX_Size ¶
func (m *MsgUpdateLatestSigners) XXX_Size() int
func (*MsgUpdateLatestSigners) XXX_Unmarshal ¶
func (m *MsgUpdateLatestSigners) XXX_Unmarshal(b []byte) error
type MsgUpdateLatestSignersResp ¶
type MsgUpdateLatestSignersResp struct { }
func (*MsgUpdateLatestSignersResp) Descriptor ¶
func (*MsgUpdateLatestSignersResp) Descriptor() ([]byte, []int)
func (*MsgUpdateLatestSignersResp) Marshal ¶
func (m *MsgUpdateLatestSignersResp) Marshal() (dAtA []byte, err error)
func (*MsgUpdateLatestSignersResp) MarshalTo ¶
func (m *MsgUpdateLatestSignersResp) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateLatestSignersResp) MarshalToSizedBuffer ¶
func (m *MsgUpdateLatestSignersResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateLatestSignersResp) ProtoMessage ¶
func (*MsgUpdateLatestSignersResp) ProtoMessage()
func (*MsgUpdateLatestSignersResp) Reset ¶
func (m *MsgUpdateLatestSignersResp) Reset()
func (*MsgUpdateLatestSignersResp) Size ¶
func (m *MsgUpdateLatestSignersResp) Size() (n int)
func (*MsgUpdateLatestSignersResp) String ¶
func (m *MsgUpdateLatestSignersResp) String() string
func (*MsgUpdateLatestSignersResp) Unmarshal ¶
func (m *MsgUpdateLatestSignersResp) Unmarshal(dAtA []byte) error
func (*MsgUpdateLatestSignersResp) XXX_DiscardUnknown ¶
func (m *MsgUpdateLatestSignersResp) XXX_DiscardUnknown()
func (*MsgUpdateLatestSignersResp) XXX_Marshal ¶
func (m *MsgUpdateLatestSignersResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateLatestSignersResp) XXX_Merge ¶
func (m *MsgUpdateLatestSignersResp) XXX_Merge(src proto.Message)
func (*MsgUpdateLatestSignersResp) XXX_Size ¶
func (m *MsgUpdateLatestSignersResp) XXX_Size() int
func (*MsgUpdateLatestSignersResp) XXX_Unmarshal ¶
func (m *MsgUpdateLatestSignersResp) XXX_Unmarshal(b []byte) error
type MySig ¶
type MySig struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` }
func (*MySig) Descriptor ¶
func (*MySig) GetChainId ¶
func (*MySig) ProtoMessage ¶
func (*MySig) ProtoMessage()
func (*MySig) XXX_DiscardUnknown ¶
func (m *MySig) XXX_DiscardUnknown()
func (*MySig) XXX_Marshal ¶
func (*MySig) XXX_Unmarshal ¶
type OnChainEvent ¶
type OnChainEvent struct { Chainid uint64 `protobuf:"varint,1,opt,name=chainid,proto3" json:"chainid,omitempty"` Evtype string `protobuf:"bytes,2,opt,name=evtype,proto3" json:"evtype,omitempty"` Elog []byte `protobuf:"bytes,3,opt,name=elog,proto3" json:"elog,omitempty"` }
========== for sync propose to be included in sync propose update, broadcast by syncer to tell others an onchain event happened. for completeness we include chainid, even though propose update also has it
func (*OnChainEvent) Descriptor ¶
func (*OnChainEvent) Descriptor() ([]byte, []int)
func (*OnChainEvent) GetChainid ¶
func (m *OnChainEvent) GetChainid() uint64
func (*OnChainEvent) GetElog ¶
func (m *OnChainEvent) GetElog() []byte
func (*OnChainEvent) GetEvtype ¶
func (m *OnChainEvent) GetEvtype() string
func (*OnChainEvent) Marshal ¶
func (m *OnChainEvent) Marshal() (dAtA []byte, err error)
func (*OnChainEvent) MarshalToSizedBuffer ¶
func (m *OnChainEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OnChainEvent) ProtoMessage ¶
func (*OnChainEvent) ProtoMessage()
func (*OnChainEvent) Reset ¶
func (m *OnChainEvent) Reset()
func (*OnChainEvent) Size ¶
func (m *OnChainEvent) Size() (n int)
func (*OnChainEvent) String ¶
func (m *OnChainEvent) String() string
func (*OnChainEvent) Unmarshal ¶
func (m *OnChainEvent) Unmarshal(dAtA []byte) error
func (*OnChainEvent) XXX_DiscardUnknown ¶
func (m *OnChainEvent) XXX_DiscardUnknown()
func (*OnChainEvent) XXX_Marshal ¶
func (m *OnChainEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OnChainEvent) XXX_Merge ¶
func (m *OnChainEvent) XXX_Merge(src proto.Message)
func (*OnChainEvent) XXX_Size ¶
func (m *OnChainEvent) XXX_Size() int
func (*OnChainEvent) XXX_Unmarshal ¶
func (m *OnChainEvent) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { SignerUpdateDuration time.Duration `` /* 165-byte string literal not displayed */ SignAgainCoolDownDuration time.Duration `` /* 191-byte string literal not displayed */ }
========== params
func (*Params) Descriptor ¶
func (*Params) GetSignAgainCoolDownDuration ¶
func (*Params) GetSignerUpdateDuration ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PerChainPairAssetOverride ¶
type PerChainPairAssetOverride struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Chpair *ChainPair `protobuf:"bytes,2,opt,name=chpair,proto3" json:"chpair,omitempty"` }
some asset requires different const A/weight, fee percentage than ChainPair so we allow per (chain pair, asset) override, if transfer happens between supported chains, these parameters will be used instead of ones in ChainPair. asset must be already configured in ChainAsset note if override
func (*PerChainPairAssetOverride) Descriptor ¶
func (*PerChainPairAssetOverride) Descriptor() ([]byte, []int)
func (*PerChainPairAssetOverride) GetChpair ¶
func (m *PerChainPairAssetOverride) GetChpair() *ChainPair
func (*PerChainPairAssetOverride) GetSymbol ¶
func (m *PerChainPairAssetOverride) GetSymbol() string
func (*PerChainPairAssetOverride) Marshal ¶
func (m *PerChainPairAssetOverride) Marshal() (dAtA []byte, err error)
func (*PerChainPairAssetOverride) MarshalTo ¶
func (m *PerChainPairAssetOverride) MarshalTo(dAtA []byte) (int, error)
func (*PerChainPairAssetOverride) MarshalToSizedBuffer ¶
func (m *PerChainPairAssetOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PerChainPairAssetOverride) ProtoMessage ¶
func (*PerChainPairAssetOverride) ProtoMessage()
func (*PerChainPairAssetOverride) Reset ¶
func (m *PerChainPairAssetOverride) Reset()
func (*PerChainPairAssetOverride) Size ¶
func (m *PerChainPairAssetOverride) Size() (n int)
func (*PerChainPairAssetOverride) String ¶
func (m *PerChainPairAssetOverride) String() string
func (*PerChainPairAssetOverride) Unmarshal ¶
func (m *PerChainPairAssetOverride) Unmarshal(dAtA []byte) error
func (*PerChainPairAssetOverride) XXX_DiscardUnknown ¶
func (m *PerChainPairAssetOverride) XXX_DiscardUnknown()
func (*PerChainPairAssetOverride) XXX_Marshal ¶
func (m *PerChainPairAssetOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PerChainPairAssetOverride) XXX_Merge ¶
func (m *PerChainPairAssetOverride) XXX_Merge(src proto.Message)
func (*PerChainPairAssetOverride) XXX_Size ¶
func (m *PerChainPairAssetOverride) XXX_Size() int
func (*PerChainPairAssetOverride) XXX_Unmarshal ¶
func (m *PerChainPairAssetOverride) XXX_Unmarshal(b []byte) error
type PerFeeSplitChainOverride ¶
type PerFeeSplitChainOverride struct { DstChainId uint64 `protobuf:"varint,1,opt,name=dst_chain_id,json=dstChainId,proto3" json:"dst_chain_id,omitempty"` FeeSplit *FeeSplit `protobuf:"bytes,2,opt,name=fee_split,json=feeSplit,proto3" json:"fee_split,omitempty"` }
Celer treasury is an EOA or a multi-sig wallet. The treasury will share a portion of the cBridge pool-based bridge percentage fee if an override against global lp_fee_perc exists on a chain. Not that lp_fee_perc + celer_treasury_fee_perc should not exceed 100.
func (*PerFeeSplitChainOverride) Descriptor ¶
func (*PerFeeSplitChainOverride) Descriptor() ([]byte, []int)
func (*PerFeeSplitChainOverride) GetDstChainId ¶
func (m *PerFeeSplitChainOverride) GetDstChainId() uint64
func (*PerFeeSplitChainOverride) GetFeeSplit ¶
func (m *PerFeeSplitChainOverride) GetFeeSplit() *FeeSplit
func (*PerFeeSplitChainOverride) Marshal ¶
func (m *PerFeeSplitChainOverride) Marshal() (dAtA []byte, err error)
func (*PerFeeSplitChainOverride) MarshalTo ¶
func (m *PerFeeSplitChainOverride) MarshalTo(dAtA []byte) (int, error)
func (*PerFeeSplitChainOverride) MarshalToSizedBuffer ¶
func (m *PerFeeSplitChainOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PerFeeSplitChainOverride) ProtoMessage ¶
func (*PerFeeSplitChainOverride) ProtoMessage()
func (*PerFeeSplitChainOverride) Reset ¶
func (m *PerFeeSplitChainOverride) Reset()
func (*PerFeeSplitChainOverride) Size ¶
func (m *PerFeeSplitChainOverride) Size() (n int)
func (*PerFeeSplitChainOverride) String ¶
func (m *PerFeeSplitChainOverride) String() string
func (*PerFeeSplitChainOverride) Unmarshal ¶
func (m *PerFeeSplitChainOverride) Unmarshal(dAtA []byte) error
func (*PerFeeSplitChainOverride) XXX_DiscardUnknown ¶
func (m *PerFeeSplitChainOverride) XXX_DiscardUnknown()
func (*PerFeeSplitChainOverride) XXX_Marshal ¶
func (m *PerFeeSplitChainOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PerFeeSplitChainOverride) XXX_Merge ¶
func (m *PerFeeSplitChainOverride) XXX_Merge(src proto.Message)
func (*PerFeeSplitChainOverride) XXX_Size ¶
func (m *PerFeeSplitChainOverride) XXX_Size() int
func (*PerFeeSplitChainOverride) XXX_Unmarshal ¶
func (m *PerFeeSplitChainOverride) XXX_Unmarshal(b []byte) error
type PerFeeSplitPoolOverride ¶
type PerFeeSplitPoolOverride struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` DstChainId uint64 `protobuf:"varint,2,opt,name=dst_chain_id,json=dstChainId,proto3" json:"dst_chain_id,omitempty"` FeeSplit *FeeSplit `protobuf:"bytes,3,opt,name=fee_split,json=feeSplit,proto3" json:"fee_split,omitempty"` }
Celer treasury also supports a pool-level fee split config override. Fee split config takes effect in the priority order: pool base config, chain based config and then the global config.
func (*PerFeeSplitPoolOverride) Descriptor ¶
func (*PerFeeSplitPoolOverride) Descriptor() ([]byte, []int)
func (*PerFeeSplitPoolOverride) GetDstChainId ¶
func (m *PerFeeSplitPoolOverride) GetDstChainId() uint64
func (*PerFeeSplitPoolOverride) GetFeeSplit ¶
func (m *PerFeeSplitPoolOverride) GetFeeSplit() *FeeSplit
func (*PerFeeSplitPoolOverride) GetSymbol ¶
func (m *PerFeeSplitPoolOverride) GetSymbol() string
func (*PerFeeSplitPoolOverride) Marshal ¶
func (m *PerFeeSplitPoolOverride) Marshal() (dAtA []byte, err error)
func (*PerFeeSplitPoolOverride) MarshalTo ¶
func (m *PerFeeSplitPoolOverride) MarshalTo(dAtA []byte) (int, error)
func (*PerFeeSplitPoolOverride) MarshalToSizedBuffer ¶
func (m *PerFeeSplitPoolOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PerFeeSplitPoolOverride) ProtoMessage ¶
func (*PerFeeSplitPoolOverride) ProtoMessage()
func (*PerFeeSplitPoolOverride) Reset ¶
func (m *PerFeeSplitPoolOverride) Reset()
func (*PerFeeSplitPoolOverride) Size ¶
func (m *PerFeeSplitPoolOverride) Size() (n int)
func (*PerFeeSplitPoolOverride) String ¶
func (m *PerFeeSplitPoolOverride) String() string
func (*PerFeeSplitPoolOverride) Unmarshal ¶
func (m *PerFeeSplitPoolOverride) Unmarshal(dAtA []byte) error
func (*PerFeeSplitPoolOverride) XXX_DiscardUnknown ¶
func (m *PerFeeSplitPoolOverride) XXX_DiscardUnknown()
func (*PerFeeSplitPoolOverride) XXX_Marshal ¶
func (m *PerFeeSplitPoolOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PerFeeSplitPoolOverride) XXX_Merge ¶
func (m *PerFeeSplitPoolOverride) XXX_Merge(src proto.Message)
func (*PerFeeSplitPoolOverride) XXX_Size ¶
func (m *PerFeeSplitPoolOverride) XXX_Size() int
func (*PerFeeSplitPoolOverride) XXX_Unmarshal ¶
func (m *PerFeeSplitPoolOverride) XXX_Unmarshal(b []byte) error
type QueryAddLiquidityStatusRequest ¶
type QueryAddLiquidityStatusRequest struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` SeqNum uint64 `protobuf:"varint,2,opt,name=seq_num,json=seqNum,proto3" json:"seq_num,omitempty"` }
func (*QueryAddLiquidityStatusRequest) Descriptor ¶
func (*QueryAddLiquidityStatusRequest) Descriptor() ([]byte, []int)
func (*QueryAddLiquidityStatusRequest) GetChainId ¶
func (m *QueryAddLiquidityStatusRequest) GetChainId() uint64
func (*QueryAddLiquidityStatusRequest) GetSeqNum ¶
func (m *QueryAddLiquidityStatusRequest) GetSeqNum() uint64
func (*QueryAddLiquidityStatusRequest) Marshal ¶
func (m *QueryAddLiquidityStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryAddLiquidityStatusRequest) MarshalTo ¶
func (m *QueryAddLiquidityStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddLiquidityStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryAddLiquidityStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddLiquidityStatusRequest) ProtoMessage ¶
func (*QueryAddLiquidityStatusRequest) ProtoMessage()
func (*QueryAddLiquidityStatusRequest) Reset ¶
func (m *QueryAddLiquidityStatusRequest) Reset()
func (*QueryAddLiquidityStatusRequest) Size ¶
func (m *QueryAddLiquidityStatusRequest) Size() (n int)
func (*QueryAddLiquidityStatusRequest) String ¶
func (m *QueryAddLiquidityStatusRequest) String() string
func (*QueryAddLiquidityStatusRequest) Unmarshal ¶
func (m *QueryAddLiquidityStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryAddLiquidityStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryAddLiquidityStatusRequest) XXX_DiscardUnknown()
func (*QueryAddLiquidityStatusRequest) XXX_Marshal ¶
func (m *QueryAddLiquidityStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddLiquidityStatusRequest) XXX_Merge ¶
func (m *QueryAddLiquidityStatusRequest) XXX_Merge(src proto.Message)
func (*QueryAddLiquidityStatusRequest) XXX_Size ¶
func (m *QueryAddLiquidityStatusRequest) XXX_Size() int
func (*QueryAddLiquidityStatusRequest) XXX_Unmarshal ¶
func (m *QueryAddLiquidityStatusRequest) XXX_Unmarshal(b []byte) error
type QueryAssetPriceRequest ¶
type QueryAssetPriceRequest struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
}
func (*QueryAssetPriceRequest) Descriptor ¶
func (*QueryAssetPriceRequest) Descriptor() ([]byte, []int)
func (*QueryAssetPriceRequest) GetSymbol ¶
func (m *QueryAssetPriceRequest) GetSymbol() string
func (*QueryAssetPriceRequest) Marshal ¶
func (m *QueryAssetPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryAssetPriceRequest) MarshalTo ¶
func (m *QueryAssetPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryAssetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetPriceRequest) ProtoMessage ¶
func (*QueryAssetPriceRequest) ProtoMessage()
func (*QueryAssetPriceRequest) Reset ¶
func (m *QueryAssetPriceRequest) Reset()
func (*QueryAssetPriceRequest) Size ¶
func (m *QueryAssetPriceRequest) Size() (n int)
func (*QueryAssetPriceRequest) String ¶
func (m *QueryAssetPriceRequest) String() string
func (*QueryAssetPriceRequest) Unmarshal ¶
func (m *QueryAssetPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryAssetPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryAssetPriceRequest) XXX_DiscardUnknown()
func (*QueryAssetPriceRequest) XXX_Marshal ¶
func (m *QueryAssetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetPriceRequest) XXX_Merge ¶
func (m *QueryAssetPriceRequest) XXX_Merge(src proto.Message)
func (*QueryAssetPriceRequest) XXX_Size ¶
func (m *QueryAssetPriceRequest) XXX_Size() int
func (*QueryAssetPriceRequest) XXX_Unmarshal ¶
func (m *QueryAssetPriceRequest) XXX_Unmarshal(b []byte) error
type QueryAssetPriceResponse ¶
type QueryAssetPriceResponse struct { Price uint32 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"` ExtraPower10 uint32 `protobuf:"varint,2,opt,name=extra_power10,json=extraPower10,proto3" json:"extra_power10,omitempty"` }
func (*QueryAssetPriceResponse) Descriptor ¶
func (*QueryAssetPriceResponse) Descriptor() ([]byte, []int)
func (*QueryAssetPriceResponse) GetExtraPower10 ¶
func (m *QueryAssetPriceResponse) GetExtraPower10() uint32
func (*QueryAssetPriceResponse) GetPrice ¶
func (m *QueryAssetPriceResponse) GetPrice() uint32
func (*QueryAssetPriceResponse) Marshal ¶
func (m *QueryAssetPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryAssetPriceResponse) MarshalTo ¶
func (m *QueryAssetPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryAssetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetPriceResponse) ProtoMessage ¶
func (*QueryAssetPriceResponse) ProtoMessage()
func (*QueryAssetPriceResponse) Reset ¶
func (m *QueryAssetPriceResponse) Reset()
func (*QueryAssetPriceResponse) Size ¶
func (m *QueryAssetPriceResponse) Size() (n int)
func (*QueryAssetPriceResponse) String ¶
func (m *QueryAssetPriceResponse) String() string
func (*QueryAssetPriceResponse) Unmarshal ¶
func (m *QueryAssetPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryAssetPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryAssetPriceResponse) XXX_DiscardUnknown()
func (*QueryAssetPriceResponse) XXX_Marshal ¶
func (m *QueryAssetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetPriceResponse) XXX_Merge ¶
func (m *QueryAssetPriceResponse) XXX_Merge(src proto.Message)
func (*QueryAssetPriceResponse) XXX_Size ¶
func (m *QueryAssetPriceResponse) XXX_Size() int
func (*QueryAssetPriceResponse) XXX_Unmarshal ¶
func (m *QueryAssetPriceResponse) XXX_Unmarshal(b []byte) error
type QueryAssetsInfosRequest ¶
type QueryAssetsInfosRequest struct { Symbols []string `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"` ChainIds []uint64 `protobuf:"varint,2,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` }
func (*QueryAssetsInfosRequest) Descriptor ¶
func (*QueryAssetsInfosRequest) Descriptor() ([]byte, []int)
func (*QueryAssetsInfosRequest) GetChainIds ¶
func (m *QueryAssetsInfosRequest) GetChainIds() []uint64
func (*QueryAssetsInfosRequest) GetSymbols ¶
func (m *QueryAssetsInfosRequest) GetSymbols() []string
func (*QueryAssetsInfosRequest) Marshal ¶
func (m *QueryAssetsInfosRequest) Marshal() (dAtA []byte, err error)
func (*QueryAssetsInfosRequest) MarshalTo ¶
func (m *QueryAssetsInfosRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetsInfosRequest) MarshalToSizedBuffer ¶
func (m *QueryAssetsInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetsInfosRequest) ProtoMessage ¶
func (*QueryAssetsInfosRequest) ProtoMessage()
func (*QueryAssetsInfosRequest) Reset ¶
func (m *QueryAssetsInfosRequest) Reset()
func (*QueryAssetsInfosRequest) Size ¶
func (m *QueryAssetsInfosRequest) Size() (n int)
func (*QueryAssetsInfosRequest) String ¶
func (m *QueryAssetsInfosRequest) String() string
func (*QueryAssetsInfosRequest) Unmarshal ¶
func (m *QueryAssetsInfosRequest) Unmarshal(dAtA []byte) error
func (*QueryAssetsInfosRequest) XXX_DiscardUnknown ¶
func (m *QueryAssetsInfosRequest) XXX_DiscardUnknown()
func (*QueryAssetsInfosRequest) XXX_Marshal ¶
func (m *QueryAssetsInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetsInfosRequest) XXX_Merge ¶
func (m *QueryAssetsInfosRequest) XXX_Merge(src proto.Message)
func (*QueryAssetsInfosRequest) XXX_Size ¶
func (m *QueryAssetsInfosRequest) XXX_Size() int
func (*QueryAssetsInfosRequest) XXX_Unmarshal ¶
func (m *QueryAssetsInfosRequest) XXX_Unmarshal(b []byte) error
type QueryAssetsInfosResponse ¶
type QueryAssetsInfosResponse struct {
Assets []*ChainAsset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
}
func (*QueryAssetsInfosResponse) Descriptor ¶
func (*QueryAssetsInfosResponse) Descriptor() ([]byte, []int)
func (*QueryAssetsInfosResponse) GetAssets ¶
func (m *QueryAssetsInfosResponse) GetAssets() []*ChainAsset
func (*QueryAssetsInfosResponse) Marshal ¶
func (m *QueryAssetsInfosResponse) Marshal() (dAtA []byte, err error)
func (*QueryAssetsInfosResponse) MarshalTo ¶
func (m *QueryAssetsInfosResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetsInfosResponse) MarshalToSizedBuffer ¶
func (m *QueryAssetsInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetsInfosResponse) ProtoMessage ¶
func (*QueryAssetsInfosResponse) ProtoMessage()
func (*QueryAssetsInfosResponse) Reset ¶
func (m *QueryAssetsInfosResponse) Reset()
func (*QueryAssetsInfosResponse) Size ¶
func (m *QueryAssetsInfosResponse) Size() (n int)
func (*QueryAssetsInfosResponse) String ¶
func (m *QueryAssetsInfosResponse) String() string
func (*QueryAssetsInfosResponse) Unmarshal ¶
func (m *QueryAssetsInfosResponse) Unmarshal(dAtA []byte) error
func (*QueryAssetsInfosResponse) XXX_DiscardUnknown ¶
func (m *QueryAssetsInfosResponse) XXX_DiscardUnknown()
func (*QueryAssetsInfosResponse) XXX_Marshal ¶
func (m *QueryAssetsInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetsInfosResponse) XXX_Merge ¶
func (m *QueryAssetsInfosResponse) XXX_Merge(src proto.Message)
func (*QueryAssetsInfosResponse) XXX_Size ¶
func (m *QueryAssetsInfosResponse) XXX_Size() int
func (*QueryAssetsInfosResponse) XXX_Unmarshal ¶
func (m *QueryAssetsInfosResponse) XXX_Unmarshal(b []byte) error
type QueryAssetsResponse ¶
type QueryAssetsResponse struct {
Assets []*ChainAsset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
}
func (*QueryAssetsResponse) Descriptor ¶
func (*QueryAssetsResponse) Descriptor() ([]byte, []int)
func (*QueryAssetsResponse) GetAssets ¶
func (m *QueryAssetsResponse) GetAssets() []*ChainAsset
func (*QueryAssetsResponse) Marshal ¶
func (m *QueryAssetsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAssetsResponse) MarshalTo ¶
func (m *QueryAssetsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetsResponse) MarshalToSizedBuffer ¶
func (m *QueryAssetsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetsResponse) ProtoMessage ¶
func (*QueryAssetsResponse) ProtoMessage()
func (*QueryAssetsResponse) Reset ¶
func (m *QueryAssetsResponse) Reset()
func (*QueryAssetsResponse) Size ¶
func (m *QueryAssetsResponse) Size() (n int)
func (*QueryAssetsResponse) String ¶
func (m *QueryAssetsResponse) String() string
func (*QueryAssetsResponse) Unmarshal ¶
func (m *QueryAssetsResponse) Unmarshal(dAtA []byte) error
func (*QueryAssetsResponse) XXX_DiscardUnknown ¶
func (m *QueryAssetsResponse) XXX_DiscardUnknown()
func (*QueryAssetsResponse) XXX_Marshal ¶
func (m *QueryAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetsResponse) XXX_Merge ¶
func (m *QueryAssetsResponse) XXX_Merge(src proto.Message)
func (*QueryAssetsResponse) XXX_Size ¶
func (m *QueryAssetsResponse) XXX_Size() int
func (*QueryAssetsResponse) XXX_Unmarshal ¶
func (m *QueryAssetsResponse) XXX_Unmarshal(b []byte) error
type QueryAssetsSymbolsRequest ¶
type QueryAssetsSymbolsRequest struct {
ChainTokens []*ChainTokenAddrPair `protobuf:"bytes,1,rep,name=chain_tokens,json=chainTokens,proto3" json:"chain_tokens,omitempty"`
}
func (*QueryAssetsSymbolsRequest) Descriptor ¶
func (*QueryAssetsSymbolsRequest) Descriptor() ([]byte, []int)
func (*QueryAssetsSymbolsRequest) GetChainTokens ¶
func (m *QueryAssetsSymbolsRequest) GetChainTokens() []*ChainTokenAddrPair
func (*QueryAssetsSymbolsRequest) Marshal ¶
func (m *QueryAssetsSymbolsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAssetsSymbolsRequest) MarshalTo ¶
func (m *QueryAssetsSymbolsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetsSymbolsRequest) MarshalToSizedBuffer ¶
func (m *QueryAssetsSymbolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetsSymbolsRequest) ProtoMessage ¶
func (*QueryAssetsSymbolsRequest) ProtoMessage()
func (*QueryAssetsSymbolsRequest) Reset ¶
func (m *QueryAssetsSymbolsRequest) Reset()
func (*QueryAssetsSymbolsRequest) Size ¶
func (m *QueryAssetsSymbolsRequest) Size() (n int)
func (*QueryAssetsSymbolsRequest) String ¶
func (m *QueryAssetsSymbolsRequest) String() string
func (*QueryAssetsSymbolsRequest) Unmarshal ¶
func (m *QueryAssetsSymbolsRequest) Unmarshal(dAtA []byte) error
func (*QueryAssetsSymbolsRequest) XXX_DiscardUnknown ¶
func (m *QueryAssetsSymbolsRequest) XXX_DiscardUnknown()
func (*QueryAssetsSymbolsRequest) XXX_Marshal ¶
func (m *QueryAssetsSymbolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetsSymbolsRequest) XXX_Merge ¶
func (m *QueryAssetsSymbolsRequest) XXX_Merge(src proto.Message)
func (*QueryAssetsSymbolsRequest) XXX_Size ¶
func (m *QueryAssetsSymbolsRequest) XXX_Size() int
func (*QueryAssetsSymbolsRequest) XXX_Unmarshal ¶
func (m *QueryAssetsSymbolsRequest) XXX_Unmarshal(b []byte) error
type QueryAssetsSymbolsResponse ¶
type QueryAssetsSymbolsResponse struct {
Symbols []string `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
}
func (*QueryAssetsSymbolsResponse) Descriptor ¶
func (*QueryAssetsSymbolsResponse) Descriptor() ([]byte, []int)
func (*QueryAssetsSymbolsResponse) GetSymbols ¶
func (m *QueryAssetsSymbolsResponse) GetSymbols() []string
func (*QueryAssetsSymbolsResponse) Marshal ¶
func (m *QueryAssetsSymbolsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAssetsSymbolsResponse) MarshalTo ¶
func (m *QueryAssetsSymbolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetsSymbolsResponse) MarshalToSizedBuffer ¶
func (m *QueryAssetsSymbolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetsSymbolsResponse) ProtoMessage ¶
func (*QueryAssetsSymbolsResponse) ProtoMessage()
func (*QueryAssetsSymbolsResponse) Reset ¶
func (m *QueryAssetsSymbolsResponse) Reset()
func (*QueryAssetsSymbolsResponse) Size ¶
func (m *QueryAssetsSymbolsResponse) Size() (n int)
func (*QueryAssetsSymbolsResponse) String ¶
func (m *QueryAssetsSymbolsResponse) String() string
func (*QueryAssetsSymbolsResponse) Unmarshal ¶
func (m *QueryAssetsSymbolsResponse) Unmarshal(dAtA []byte) error
func (*QueryAssetsSymbolsResponse) XXX_DiscardUnknown ¶
func (m *QueryAssetsSymbolsResponse) XXX_DiscardUnknown()
func (*QueryAssetsSymbolsResponse) XXX_Marshal ¶
func (m *QueryAssetsSymbolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetsSymbolsResponse) XXX_Merge ¶
func (m *QueryAssetsSymbolsResponse) XXX_Merge(src proto.Message)
func (*QueryAssetsSymbolsResponse) XXX_Size ¶
func (m *QueryAssetsSymbolsResponse) XXX_Size() int
func (*QueryAssetsSymbolsResponse) XXX_Unmarshal ¶
func (m *QueryAssetsSymbolsResponse) XXX_Unmarshal(b []byte) error
type QueryBalancersResponse ¶
type QueryBalancersResponse struct {
Balancers []string `protobuf:"bytes,1,rep,name=balancers,proto3" json:"balancers,omitempty"`
}
func (*QueryBalancersResponse) Descriptor ¶
func (*QueryBalancersResponse) Descriptor() ([]byte, []int)
func (*QueryBalancersResponse) GetBalancers ¶
func (m *QueryBalancersResponse) GetBalancers() []string
func (*QueryBalancersResponse) Marshal ¶
func (m *QueryBalancersResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalancersResponse) MarshalTo ¶
func (m *QueryBalancersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalancersResponse) MarshalToSizedBuffer ¶
func (m *QueryBalancersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalancersResponse) ProtoMessage ¶
func (*QueryBalancersResponse) ProtoMessage()
func (*QueryBalancersResponse) Reset ¶
func (m *QueryBalancersResponse) Reset()
func (*QueryBalancersResponse) Size ¶
func (m *QueryBalancersResponse) Size() (n int)
func (*QueryBalancersResponse) String ¶
func (m *QueryBalancersResponse) String() string
func (*QueryBalancersResponse) Unmarshal ¶
func (m *QueryBalancersResponse) Unmarshal(dAtA []byte) error
func (*QueryBalancersResponse) XXX_DiscardUnknown ¶
func (m *QueryBalancersResponse) XXX_DiscardUnknown()
func (*QueryBalancersResponse) XXX_Marshal ¶
func (m *QueryBalancersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalancersResponse) XXX_Merge ¶
func (m *QueryBalancersResponse) XXX_Merge(src proto.Message)
func (*QueryBalancersResponse) XXX_Size ¶
func (m *QueryBalancersResponse) XXX_Size() int
func (*QueryBalancersResponse) XXX_Unmarshal ¶
func (m *QueryBalancersResponse) XXX_Unmarshal(b []byte) error
type QueryChainSignersRequest ¶
type QueryChainSignersRequest struct {
ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryChainSignersRequest) Descriptor ¶
func (*QueryChainSignersRequest) Descriptor() ([]byte, []int)
func (*QueryChainSignersRequest) GetChainId ¶
func (m *QueryChainSignersRequest) GetChainId() uint64
func (*QueryChainSignersRequest) Marshal ¶
func (m *QueryChainSignersRequest) Marshal() (dAtA []byte, err error)
func (*QueryChainSignersRequest) MarshalTo ¶
func (m *QueryChainSignersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryChainSignersRequest) MarshalToSizedBuffer ¶
func (m *QueryChainSignersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryChainSignersRequest) ProtoMessage ¶
func (*QueryChainSignersRequest) ProtoMessage()
func (*QueryChainSignersRequest) Reset ¶
func (m *QueryChainSignersRequest) Reset()
func (*QueryChainSignersRequest) Size ¶
func (m *QueryChainSignersRequest) Size() (n int)
func (*QueryChainSignersRequest) String ¶
func (m *QueryChainSignersRequest) String() string
func (*QueryChainSignersRequest) Unmarshal ¶
func (m *QueryChainSignersRequest) Unmarshal(dAtA []byte) error
func (*QueryChainSignersRequest) XXX_DiscardUnknown ¶
func (m *QueryChainSignersRequest) XXX_DiscardUnknown()
func (*QueryChainSignersRequest) XXX_Marshal ¶
func (m *QueryChainSignersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryChainSignersRequest) XXX_Merge ¶
func (m *QueryChainSignersRequest) XXX_Merge(src proto.Message)
func (*QueryChainSignersRequest) XXX_Size ¶
func (m *QueryChainSignersRequest) XXX_Size() int
func (*QueryChainSignersRequest) XXX_Unmarshal ¶
func (m *QueryChainSignersRequest) XXX_Unmarshal(b []byte) error
type QueryChainSignersResponse ¶
type QueryChainSignersResponse struct {
ChainSigners *ChainSigners `protobuf:"bytes,1,opt,name=chain_signers,json=chainSigners,proto3" json:"chain_signers,omitempty"`
}
func (*QueryChainSignersResponse) Descriptor ¶
func (*QueryChainSignersResponse) Descriptor() ([]byte, []int)
func (*QueryChainSignersResponse) GetChainSigners ¶
func (m *QueryChainSignersResponse) GetChainSigners() *ChainSigners
func (*QueryChainSignersResponse) Marshal ¶
func (m *QueryChainSignersResponse) Marshal() (dAtA []byte, err error)
func (*QueryChainSignersResponse) MarshalTo ¶
func (m *QueryChainSignersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryChainSignersResponse) MarshalToSizedBuffer ¶
func (m *QueryChainSignersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryChainSignersResponse) ProtoMessage ¶
func (*QueryChainSignersResponse) ProtoMessage()
func (*QueryChainSignersResponse) Reset ¶
func (m *QueryChainSignersResponse) Reset()
func (*QueryChainSignersResponse) Size ¶
func (m *QueryChainSignersResponse) Size() (n int)
func (*QueryChainSignersResponse) String ¶
func (m *QueryChainSignersResponse) String() string
func (*QueryChainSignersResponse) Unmarshal ¶
func (m *QueryChainSignersResponse) Unmarshal(dAtA []byte) error
func (*QueryChainSignersResponse) XXX_DiscardUnknown ¶
func (m *QueryChainSignersResponse) XXX_DiscardUnknown()
func (*QueryChainSignersResponse) XXX_Marshal ¶
func (m *QueryChainSignersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryChainSignersResponse) XXX_Merge ¶
func (m *QueryChainSignersResponse) XXX_Merge(src proto.Message)
func (*QueryChainSignersResponse) XXX_Size ¶
func (m *QueryChainSignersResponse) XXX_Size() int
func (*QueryChainSignersResponse) XXX_Unmarshal ¶
func (m *QueryChainSignersResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { QueryParams(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) QueryConfig(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QueryConfigResponse, error) QueryRelay(ctx context.Context, in *QueryRelayRequest, opts ...grpc.CallOption) (*QueryRelayResponse, error) QueryRefund(ctx context.Context, in *QueryRefundRequest, opts ...grpc.CallOption) (*QueryRefundResponse, error) QueryChainSigners(ctx context.Context, in *QueryChainSignersRequest, opts ...grpc.CallOption) (*QueryChainSignersResponse, error) QueryLatestSigners(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QueryLatestSignersResponse, error) QueryCheckChainTokenValid(ctx context.Context, in *CheckChainTokenValidRequest, opts ...grpc.CallOption) (*CheckChainTokenValidResponse, error) QueryChkLiqSum(ctx context.Context, in *CheckLiqSumRequest, opts ...grpc.CallOption) (*CheckLiqSumResponse, error) QueryDebugAny(ctx context.Context, in *QueryDebugAnyRequest, opts ...grpc.CallOption) (*QueryDebugAnyResponse, error) QueryAssets(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QueryAssetsResponse, error) QueryAssetPrice(ctx context.Context, in *QueryAssetPriceRequest, opts ...grpc.CallOption) (*QueryAssetPriceResponse, error) QueryAssetsSymbols(ctx context.Context, in *QueryAssetsSymbolsRequest, opts ...grpc.CallOption) (*QueryAssetsSymbolsResponse, error) QueryAssetsInfos(ctx context.Context, in *QueryAssetsInfosRequest, opts ...grpc.CallOption) (*QueryAssetsInfosResponse, error) QueryGasPrice(ctx context.Context, in *QueryGasPriceRequest, opts ...grpc.CallOption) (*QueryGasPriceResponse, error) QueryBalancers(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QueryBalancersResponse, error) // for gateway query only below ChainTokensConfig(ctx context.Context, in *ChainTokensConfigRequest, opts ...grpc.CallOption) (*ChainTokensConfigResponse, error) GetFee(ctx context.Context, in *GetFeeRequest, opts ...grpc.CallOption) (*GetFeeResponse, error) // get fee percentage between 2 chains GetFeePercentage(ctx context.Context, in *GetFeePercentageRequest, opts ...grpc.CallOption) (*GetFeePercentageResponse, error) QueryTransferStatus(ctx context.Context, in *QueryTransferStatusRequest, opts ...grpc.CallOption) (*QueryTransferStatusResponse, error) // LP LiquidityDetailList(ctx context.Context, in *LiquidityDetailListRequest, opts ...grpc.CallOption) (*LiquidityDetailListResponse, error) QueryTotalLiquidity(ctx context.Context, in *QueryTotalLiquidityRequest, opts ...grpc.CallOption) (*QueryTotalLiquidityResponse, error) QueryAddLiquidityStatus(ctx context.Context, in *QueryAddLiquidityStatusRequest, opts ...grpc.CallOption) (*QueryLiquidityStatusResponse, error) QueryWithdrawLiquidityStatus(ctx context.Context, in *QueryWithdrawLiquidityStatusRequest, opts ...grpc.CallOption) (*QueryLiquidityStatusResponse, error) QueryLPOrigin(ctx context.Context, in *QueryLPOriginRequest, opts ...grpc.CallOption) (*QueryLPOriginResponse, error) QueryLiquidity(ctx context.Context, in *QueryLiquidityRequest, opts ...grpc.CallOption) (*QueryLiquidityResponse, error) QueryLiquidityCap(ctx context.Context, in *QueryLiquidityCapRequest, opts ...grpc.CallOption) (*QueryLiquidityCapResponse, error) // for sync farming tool QueryLPs(ctx context.Context, in *QueryLPsRequest, opts ...grpc.CallOption) (*QueryLPsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryConfigResponse ¶
type QueryConfigResponse struct {
CbrConfig *CbrConfig `protobuf:"bytes,1,opt,name=cbrConfig,proto3" json:"cbrConfig,omitempty"`
}
func (*QueryConfigResponse) Descriptor ¶
func (*QueryConfigResponse) Descriptor() ([]byte, []int)
func (*QueryConfigResponse) GetCbrConfig ¶
func (m *QueryConfigResponse) GetCbrConfig() *CbrConfig
func (*QueryConfigResponse) Marshal ¶
func (m *QueryConfigResponse) Marshal() (dAtA []byte, err error)
func (*QueryConfigResponse) MarshalTo ¶
func (m *QueryConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConfigResponse) MarshalToSizedBuffer ¶
func (m *QueryConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfigResponse) ProtoMessage ¶
func (*QueryConfigResponse) ProtoMessage()
func (*QueryConfigResponse) Reset ¶
func (m *QueryConfigResponse) Reset()
func (*QueryConfigResponse) Size ¶
func (m *QueryConfigResponse) Size() (n int)
func (*QueryConfigResponse) String ¶
func (m *QueryConfigResponse) String() string
func (*QueryConfigResponse) Unmarshal ¶
func (m *QueryConfigResponse) Unmarshal(dAtA []byte) error
func (*QueryConfigResponse) XXX_DiscardUnknown ¶
func (m *QueryConfigResponse) XXX_DiscardUnknown()
func (*QueryConfigResponse) XXX_Marshal ¶
func (m *QueryConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfigResponse) XXX_Merge ¶
func (m *QueryConfigResponse) XXX_Merge(src proto.Message)
func (*QueryConfigResponse) XXX_Size ¶
func (m *QueryConfigResponse) XXX_Size() int
func (*QueryConfigResponse) XXX_Unmarshal ¶
func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error
type QueryDebugAnyRequest ¶
type QueryDebugAnyRequest struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}
func (*QueryDebugAnyRequest) Descriptor ¶
func (*QueryDebugAnyRequest) Descriptor() ([]byte, []int)
func (*QueryDebugAnyRequest) GetKey ¶
func (m *QueryDebugAnyRequest) GetKey() []byte
func (*QueryDebugAnyRequest) Marshal ¶
func (m *QueryDebugAnyRequest) Marshal() (dAtA []byte, err error)
func (*QueryDebugAnyRequest) MarshalTo ¶
func (m *QueryDebugAnyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDebugAnyRequest) MarshalToSizedBuffer ¶
func (m *QueryDebugAnyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDebugAnyRequest) ProtoMessage ¶
func (*QueryDebugAnyRequest) ProtoMessage()
func (*QueryDebugAnyRequest) Reset ¶
func (m *QueryDebugAnyRequest) Reset()
func (*QueryDebugAnyRequest) Size ¶
func (m *QueryDebugAnyRequest) Size() (n int)
func (*QueryDebugAnyRequest) String ¶
func (m *QueryDebugAnyRequest) String() string
func (*QueryDebugAnyRequest) Unmarshal ¶
func (m *QueryDebugAnyRequest) Unmarshal(dAtA []byte) error
func (*QueryDebugAnyRequest) XXX_DiscardUnknown ¶
func (m *QueryDebugAnyRequest) XXX_DiscardUnknown()
func (*QueryDebugAnyRequest) XXX_Marshal ¶
func (m *QueryDebugAnyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDebugAnyRequest) XXX_Merge ¶
func (m *QueryDebugAnyRequest) XXX_Merge(src proto.Message)
func (*QueryDebugAnyRequest) XXX_Size ¶
func (m *QueryDebugAnyRequest) XXX_Size() int
func (*QueryDebugAnyRequest) XXX_Unmarshal ¶
func (m *QueryDebugAnyRequest) XXX_Unmarshal(b []byte) error
type QueryDebugAnyResponse ¶
type QueryDebugAnyResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*QueryDebugAnyResponse) Descriptor ¶
func (*QueryDebugAnyResponse) Descriptor() ([]byte, []int)
func (*QueryDebugAnyResponse) GetData ¶
func (m *QueryDebugAnyResponse) GetData() []byte
func (*QueryDebugAnyResponse) Marshal ¶
func (m *QueryDebugAnyResponse) Marshal() (dAtA []byte, err error)
func (*QueryDebugAnyResponse) MarshalTo ¶
func (m *QueryDebugAnyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDebugAnyResponse) MarshalToSizedBuffer ¶
func (m *QueryDebugAnyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDebugAnyResponse) ProtoMessage ¶
func (*QueryDebugAnyResponse) ProtoMessage()
func (*QueryDebugAnyResponse) Reset ¶
func (m *QueryDebugAnyResponse) Reset()
func (*QueryDebugAnyResponse) Size ¶
func (m *QueryDebugAnyResponse) Size() (n int)
func (*QueryDebugAnyResponse) String ¶
func (m *QueryDebugAnyResponse) String() string
func (*QueryDebugAnyResponse) Unmarshal ¶
func (m *QueryDebugAnyResponse) Unmarshal(dAtA []byte) error
func (*QueryDebugAnyResponse) XXX_DiscardUnknown ¶
func (m *QueryDebugAnyResponse) XXX_DiscardUnknown()
func (*QueryDebugAnyResponse) XXX_Marshal ¶
func (m *QueryDebugAnyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDebugAnyResponse) XXX_Merge ¶
func (m *QueryDebugAnyResponse) XXX_Merge(src proto.Message)
func (*QueryDebugAnyResponse) XXX_Size ¶
func (m *QueryDebugAnyResponse) XXX_Size() int
func (*QueryDebugAnyResponse) XXX_Unmarshal ¶
func (m *QueryDebugAnyResponse) XXX_Unmarshal(b []byte) error
type QueryGasPriceRequest ¶
type QueryGasPriceRequest struct {
ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryGasPriceRequest) Descriptor ¶
func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGasPriceRequest) GetChainId ¶
func (m *QueryGasPriceRequest) GetChainId() uint64
func (*QueryGasPriceRequest) Marshal ¶
func (m *QueryGasPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGasPriceRequest) MarshalTo ¶
func (m *QueryGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGasPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGasPriceRequest) ProtoMessage ¶
func (*QueryGasPriceRequest) ProtoMessage()
func (*QueryGasPriceRequest) Reset ¶
func (m *QueryGasPriceRequest) Reset()
func (*QueryGasPriceRequest) Size ¶
func (m *QueryGasPriceRequest) Size() (n int)
func (*QueryGasPriceRequest) String ¶
func (m *QueryGasPriceRequest) String() string
func (*QueryGasPriceRequest) Unmarshal ¶
func (m *QueryGasPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGasPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGasPriceRequest) XXX_DiscardUnknown()
func (*QueryGasPriceRequest) XXX_Marshal ¶
func (m *QueryGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGasPriceRequest) XXX_Merge ¶
func (m *QueryGasPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGasPriceRequest) XXX_Size ¶
func (m *QueryGasPriceRequest) XXX_Size() int
func (*QueryGasPriceRequest) XXX_Unmarshal ¶
func (m *QueryGasPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGasPriceResponse ¶
type QueryGasPriceResponse struct {
Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
}
func (*QueryGasPriceResponse) Descriptor ¶
func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGasPriceResponse) GetPrice ¶
func (m *QueryGasPriceResponse) GetPrice() string
func (*QueryGasPriceResponse) Marshal ¶
func (m *QueryGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGasPriceResponse) MarshalTo ¶
func (m *QueryGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGasPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGasPriceResponse) ProtoMessage ¶
func (*QueryGasPriceResponse) ProtoMessage()
func (*QueryGasPriceResponse) Reset ¶
func (m *QueryGasPriceResponse) Reset()
func (*QueryGasPriceResponse) Size ¶
func (m *QueryGasPriceResponse) Size() (n int)
func (*QueryGasPriceResponse) String ¶
func (m *QueryGasPriceResponse) String() string
func (*QueryGasPriceResponse) Unmarshal ¶
func (m *QueryGasPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGasPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGasPriceResponse) XXX_DiscardUnknown()
func (*QueryGasPriceResponse) XXX_Marshal ¶
func (m *QueryGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGasPriceResponse) XXX_Merge ¶
func (m *QueryGasPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGasPriceResponse) XXX_Size ¶
func (m *QueryGasPriceResponse) XXX_Size() int
func (*QueryGasPriceResponse) XXX_Unmarshal ¶
func (m *QueryGasPriceResponse) XXX_Unmarshal(b []byte) error
type QueryLPOriginRequest ¶
type QueryLPOriginRequest struct {
UsrAddr string `protobuf:"bytes,1,opt,name=usr_addr,json=usrAddr,proto3" json:"usr_addr,omitempty"`
}
func (*QueryLPOriginRequest) Descriptor ¶
func (*QueryLPOriginRequest) Descriptor() ([]byte, []int)
func (*QueryLPOriginRequest) GetUsrAddr ¶
func (m *QueryLPOriginRequest) GetUsrAddr() string
func (*QueryLPOriginRequest) Marshal ¶
func (m *QueryLPOriginRequest) Marshal() (dAtA []byte, err error)
func (*QueryLPOriginRequest) MarshalTo ¶
func (m *QueryLPOriginRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLPOriginRequest) MarshalToSizedBuffer ¶
func (m *QueryLPOriginRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLPOriginRequest) ProtoMessage ¶
func (*QueryLPOriginRequest) ProtoMessage()
func (*QueryLPOriginRequest) Reset ¶
func (m *QueryLPOriginRequest) Reset()
func (*QueryLPOriginRequest) Size ¶
func (m *QueryLPOriginRequest) Size() (n int)
func (*QueryLPOriginRequest) String ¶
func (m *QueryLPOriginRequest) String() string
func (*QueryLPOriginRequest) Unmarshal ¶
func (m *QueryLPOriginRequest) Unmarshal(dAtA []byte) error
func (*QueryLPOriginRequest) XXX_DiscardUnknown ¶
func (m *QueryLPOriginRequest) XXX_DiscardUnknown()
func (*QueryLPOriginRequest) XXX_Marshal ¶
func (m *QueryLPOriginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLPOriginRequest) XXX_Merge ¶
func (m *QueryLPOriginRequest) XXX_Merge(src proto.Message)
func (*QueryLPOriginRequest) XXX_Size ¶
func (m *QueryLPOriginRequest) XXX_Size() int
func (*QueryLPOriginRequest) XXX_Unmarshal ¶
func (m *QueryLPOriginRequest) XXX_Unmarshal(b []byte) error
type QueryLPOriginResponse ¶
type QueryLPOriginResponse struct {
ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryLPOriginResponse) Descriptor ¶
func (*QueryLPOriginResponse) Descriptor() ([]byte, []int)
func (*QueryLPOriginResponse) GetChainId ¶
func (m *QueryLPOriginResponse) GetChainId() uint64
func (*QueryLPOriginResponse) Marshal ¶
func (m *QueryLPOriginResponse) Marshal() (dAtA []byte, err error)
func (*QueryLPOriginResponse) MarshalTo ¶
func (m *QueryLPOriginResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLPOriginResponse) MarshalToSizedBuffer ¶
func (m *QueryLPOriginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLPOriginResponse) ProtoMessage ¶
func (*QueryLPOriginResponse) ProtoMessage()
func (*QueryLPOriginResponse) Reset ¶
func (m *QueryLPOriginResponse) Reset()
func (*QueryLPOriginResponse) Size ¶
func (m *QueryLPOriginResponse) Size() (n int)
func (*QueryLPOriginResponse) String ¶
func (m *QueryLPOriginResponse) String() string
func (*QueryLPOriginResponse) Unmarshal ¶
func (m *QueryLPOriginResponse) Unmarshal(dAtA []byte) error
func (*QueryLPOriginResponse) XXX_DiscardUnknown ¶
func (m *QueryLPOriginResponse) XXX_DiscardUnknown()
func (*QueryLPOriginResponse) XXX_Marshal ¶
func (m *QueryLPOriginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLPOriginResponse) XXX_Merge ¶
func (m *QueryLPOriginResponse) XXX_Merge(src proto.Message)
func (*QueryLPOriginResponse) XXX_Size ¶
func (m *QueryLPOriginResponse) XXX_Size() int
func (*QueryLPOriginResponse) XXX_Unmarshal ¶
func (m *QueryLPOriginResponse) XXX_Unmarshal(b []byte) error
type QueryLPsRequest ¶
type QueryLPsRequest struct { // omit any of these params to get lps in all respects. if both are omitted, returns all lps ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` }
func (*QueryLPsRequest) Descriptor ¶
func (*QueryLPsRequest) Descriptor() ([]byte, []int)
func (*QueryLPsRequest) GetChainId ¶
func (m *QueryLPsRequest) GetChainId() uint64
func (*QueryLPsRequest) GetTokenAddr ¶
func (m *QueryLPsRequest) GetTokenAddr() string
func (*QueryLPsRequest) Marshal ¶
func (m *QueryLPsRequest) Marshal() (dAtA []byte, err error)
func (*QueryLPsRequest) MarshalToSizedBuffer ¶
func (m *QueryLPsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLPsRequest) ProtoMessage ¶
func (*QueryLPsRequest) ProtoMessage()
func (*QueryLPsRequest) Reset ¶
func (m *QueryLPsRequest) Reset()
func (*QueryLPsRequest) Size ¶
func (m *QueryLPsRequest) Size() (n int)
func (*QueryLPsRequest) String ¶
func (m *QueryLPsRequest) String() string
func (*QueryLPsRequest) Unmarshal ¶
func (m *QueryLPsRequest) Unmarshal(dAtA []byte) error
func (*QueryLPsRequest) XXX_DiscardUnknown ¶
func (m *QueryLPsRequest) XXX_DiscardUnknown()
func (*QueryLPsRequest) XXX_Marshal ¶
func (m *QueryLPsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLPsRequest) XXX_Merge ¶
func (m *QueryLPsRequest) XXX_Merge(src proto.Message)
func (*QueryLPsRequest) XXX_Size ¶
func (m *QueryLPsRequest) XXX_Size() int
func (*QueryLPsRequest) XXX_Unmarshal ¶
func (m *QueryLPsRequest) XXX_Unmarshal(b []byte) error
type QueryLPsResponse ¶
type QueryLPsResponse struct {
Lps []string `protobuf:"bytes,1,rep,name=lps,proto3" json:"lps,omitempty"`
}
func (*QueryLPsResponse) Descriptor ¶
func (*QueryLPsResponse) Descriptor() ([]byte, []int)
func (*QueryLPsResponse) GetLps ¶
func (m *QueryLPsResponse) GetLps() []string
func (*QueryLPsResponse) Marshal ¶
func (m *QueryLPsResponse) Marshal() (dAtA []byte, err error)
func (*QueryLPsResponse) MarshalToSizedBuffer ¶
func (m *QueryLPsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLPsResponse) ProtoMessage ¶
func (*QueryLPsResponse) ProtoMessage()
func (*QueryLPsResponse) Reset ¶
func (m *QueryLPsResponse) Reset()
func (*QueryLPsResponse) Size ¶
func (m *QueryLPsResponse) Size() (n int)
func (*QueryLPsResponse) String ¶
func (m *QueryLPsResponse) String() string
func (*QueryLPsResponse) Unmarshal ¶
func (m *QueryLPsResponse) Unmarshal(dAtA []byte) error
func (*QueryLPsResponse) XXX_DiscardUnknown ¶
func (m *QueryLPsResponse) XXX_DiscardUnknown()
func (*QueryLPsResponse) XXX_Marshal ¶
func (m *QueryLPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLPsResponse) XXX_Merge ¶
func (m *QueryLPsResponse) XXX_Merge(src proto.Message)
func (*QueryLPsResponse) XXX_Size ¶
func (m *QueryLPsResponse) XXX_Size() int
func (*QueryLPsResponse) XXX_Unmarshal ¶
func (m *QueryLPsResponse) XXX_Unmarshal(b []byte) error
type QueryLatestSignersResponse ¶
type QueryLatestSignersResponse struct {
LatestSigners *LatestSigners `protobuf:"bytes,1,opt,name=latest_signers,json=latestSigners,proto3" json:"latest_signers,omitempty"`
}
func (*QueryLatestSignersResponse) Descriptor ¶
func (*QueryLatestSignersResponse) Descriptor() ([]byte, []int)
func (*QueryLatestSignersResponse) GetLatestSigners ¶
func (m *QueryLatestSignersResponse) GetLatestSigners() *LatestSigners
func (*QueryLatestSignersResponse) Marshal ¶
func (m *QueryLatestSignersResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestSignersResponse) MarshalTo ¶
func (m *QueryLatestSignersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestSignersResponse) MarshalToSizedBuffer ¶
func (m *QueryLatestSignersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestSignersResponse) ProtoMessage ¶
func (*QueryLatestSignersResponse) ProtoMessage()
func (*QueryLatestSignersResponse) Reset ¶
func (m *QueryLatestSignersResponse) Reset()
func (*QueryLatestSignersResponse) Size ¶
func (m *QueryLatestSignersResponse) Size() (n int)
func (*QueryLatestSignersResponse) String ¶
func (m *QueryLatestSignersResponse) String() string
func (*QueryLatestSignersResponse) Unmarshal ¶
func (m *QueryLatestSignersResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestSignersResponse) XXX_DiscardUnknown ¶
func (m *QueryLatestSignersResponse) XXX_DiscardUnknown()
func (*QueryLatestSignersResponse) XXX_Marshal ¶
func (m *QueryLatestSignersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestSignersResponse) XXX_Merge ¶
func (m *QueryLatestSignersResponse) XXX_Merge(src proto.Message)
func (*QueryLatestSignersResponse) XXX_Size ¶
func (m *QueryLatestSignersResponse) XXX_Size() int
func (*QueryLatestSignersResponse) XXX_Unmarshal ¶
func (m *QueryLatestSignersResponse) XXX_Unmarshal(b []byte) error
type QueryLiquidityCapRequest ¶
type QueryLiquidityCapRequest struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // if token_addr is empty, get all non-zero token caps TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` }
func (*QueryLiquidityCapRequest) Descriptor ¶
func (*QueryLiquidityCapRequest) Descriptor() ([]byte, []int)
func (*QueryLiquidityCapRequest) GetChainId ¶
func (m *QueryLiquidityCapRequest) GetChainId() uint64
func (*QueryLiquidityCapRequest) GetTokenAddr ¶
func (m *QueryLiquidityCapRequest) GetTokenAddr() string
func (*QueryLiquidityCapRequest) Marshal ¶
func (m *QueryLiquidityCapRequest) Marshal() (dAtA []byte, err error)
func (*QueryLiquidityCapRequest) MarshalTo ¶
func (m *QueryLiquidityCapRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidityCapRequest) MarshalToSizedBuffer ¶
func (m *QueryLiquidityCapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidityCapRequest) ProtoMessage ¶
func (*QueryLiquidityCapRequest) ProtoMessage()
func (*QueryLiquidityCapRequest) Reset ¶
func (m *QueryLiquidityCapRequest) Reset()
func (*QueryLiquidityCapRequest) Size ¶
func (m *QueryLiquidityCapRequest) Size() (n int)
func (*QueryLiquidityCapRequest) String ¶
func (m *QueryLiquidityCapRequest) String() string
func (*QueryLiquidityCapRequest) Unmarshal ¶
func (m *QueryLiquidityCapRequest) Unmarshal(dAtA []byte) error
func (*QueryLiquidityCapRequest) XXX_DiscardUnknown ¶
func (m *QueryLiquidityCapRequest) XXX_DiscardUnknown()
func (*QueryLiquidityCapRequest) XXX_Marshal ¶
func (m *QueryLiquidityCapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidityCapRequest) XXX_Merge ¶
func (m *QueryLiquidityCapRequest) XXX_Merge(src proto.Message)
func (*QueryLiquidityCapRequest) XXX_Size ¶
func (m *QueryLiquidityCapRequest) XXX_Size() int
func (*QueryLiquidityCapRequest) XXX_Unmarshal ¶
func (m *QueryLiquidityCapRequest) XXX_Unmarshal(b []byte) error
type QueryLiquidityCapResponse ¶
type QueryLiquidityCapResponse struct { // key is token addr, value is cap amt LiqCap map[string]string `` /* 167-byte string literal not displayed */ }
func (*QueryLiquidityCapResponse) Descriptor ¶
func (*QueryLiquidityCapResponse) Descriptor() ([]byte, []int)
func (*QueryLiquidityCapResponse) GetLiqCap ¶
func (m *QueryLiquidityCapResponse) GetLiqCap() map[string]string
func (*QueryLiquidityCapResponse) Marshal ¶
func (m *QueryLiquidityCapResponse) Marshal() (dAtA []byte, err error)
func (*QueryLiquidityCapResponse) MarshalTo ¶
func (m *QueryLiquidityCapResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidityCapResponse) MarshalToSizedBuffer ¶
func (m *QueryLiquidityCapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidityCapResponse) ProtoMessage ¶
func (*QueryLiquidityCapResponse) ProtoMessage()
func (*QueryLiquidityCapResponse) Reset ¶
func (m *QueryLiquidityCapResponse) Reset()
func (*QueryLiquidityCapResponse) Size ¶
func (m *QueryLiquidityCapResponse) Size() (n int)
func (*QueryLiquidityCapResponse) String ¶
func (m *QueryLiquidityCapResponse) String() string
func (*QueryLiquidityCapResponse) Unmarshal ¶
func (m *QueryLiquidityCapResponse) Unmarshal(dAtA []byte) error
func (*QueryLiquidityCapResponse) XXX_DiscardUnknown ¶
func (m *QueryLiquidityCapResponse) XXX_DiscardUnknown()
func (*QueryLiquidityCapResponse) XXX_Marshal ¶
func (m *QueryLiquidityCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidityCapResponse) XXX_Merge ¶
func (m *QueryLiquidityCapResponse) XXX_Merge(src proto.Message)
func (*QueryLiquidityCapResponse) XXX_Size ¶
func (m *QueryLiquidityCapResponse) XXX_Size() int
func (*QueryLiquidityCapResponse) XXX_Unmarshal ¶
func (m *QueryLiquidityCapResponse) XXX_Unmarshal(b []byte) error
type QueryLiquidityRequest ¶
type QueryLiquidityRequest struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` }
func (*QueryLiquidityRequest) Descriptor ¶
func (*QueryLiquidityRequest) Descriptor() ([]byte, []int)
func (*QueryLiquidityRequest) GetChainId ¶
func (m *QueryLiquidityRequest) GetChainId() uint64
func (*QueryLiquidityRequest) GetTokenAddr ¶
func (m *QueryLiquidityRequest) GetTokenAddr() string
func (*QueryLiquidityRequest) Marshal ¶
func (m *QueryLiquidityRequest) Marshal() (dAtA []byte, err error)
func (*QueryLiquidityRequest) MarshalTo ¶
func (m *QueryLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidityRequest) MarshalToSizedBuffer ¶
func (m *QueryLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidityRequest) ProtoMessage ¶
func (*QueryLiquidityRequest) ProtoMessage()
func (*QueryLiquidityRequest) Reset ¶
func (m *QueryLiquidityRequest) Reset()
func (*QueryLiquidityRequest) Size ¶
func (m *QueryLiquidityRequest) Size() (n int)
func (*QueryLiquidityRequest) String ¶
func (m *QueryLiquidityRequest) String() string
func (*QueryLiquidityRequest) Unmarshal ¶
func (m *QueryLiquidityRequest) Unmarshal(dAtA []byte) error
func (*QueryLiquidityRequest) XXX_DiscardUnknown ¶
func (m *QueryLiquidityRequest) XXX_DiscardUnknown()
func (*QueryLiquidityRequest) XXX_Marshal ¶
func (m *QueryLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidityRequest) XXX_Merge ¶
func (m *QueryLiquidityRequest) XXX_Merge(src proto.Message)
func (*QueryLiquidityRequest) XXX_Size ¶
func (m *QueryLiquidityRequest) XXX_Size() int
func (*QueryLiquidityRequest) XXX_Unmarshal ¶
func (m *QueryLiquidityRequest) XXX_Unmarshal(b []byte) error
type QueryLiquidityResponse ¶
type QueryLiquidityResponse struct { // key is LP addr, value is balance amt LpBalance map[string]string `` /* 176-byte string literal not displayed */ }
func (*QueryLiquidityResponse) Descriptor ¶
func (*QueryLiquidityResponse) Descriptor() ([]byte, []int)
func (*QueryLiquidityResponse) GetLpBalance ¶
func (m *QueryLiquidityResponse) GetLpBalance() map[string]string
func (*QueryLiquidityResponse) Marshal ¶
func (m *QueryLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*QueryLiquidityResponse) MarshalTo ¶
func (m *QueryLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidityResponse) MarshalToSizedBuffer ¶
func (m *QueryLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidityResponse) ProtoMessage ¶
func (*QueryLiquidityResponse) ProtoMessage()
func (*QueryLiquidityResponse) Reset ¶
func (m *QueryLiquidityResponse) Reset()
func (*QueryLiquidityResponse) Size ¶
func (m *QueryLiquidityResponse) Size() (n int)
func (*QueryLiquidityResponse) String ¶
func (m *QueryLiquidityResponse) String() string
func (*QueryLiquidityResponse) Unmarshal ¶
func (m *QueryLiquidityResponse) Unmarshal(dAtA []byte) error
func (*QueryLiquidityResponse) XXX_DiscardUnknown ¶
func (m *QueryLiquidityResponse) XXX_DiscardUnknown()
func (*QueryLiquidityResponse) XXX_Marshal ¶
func (m *QueryLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidityResponse) XXX_Merge ¶
func (m *QueryLiquidityResponse) XXX_Merge(src proto.Message)
func (*QueryLiquidityResponse) XXX_Size ¶
func (m *QueryLiquidityResponse) XXX_Size() int
func (*QueryLiquidityResponse) XXX_Unmarshal ¶
func (m *QueryLiquidityResponse) XXX_Unmarshal(b []byte) error
type QueryLiquidityStatusResponse ¶
type QueryLiquidityStatusResponse struct { Status WithdrawStatus `protobuf:"varint,1,opt,name=status,proto3,enum=sgn.cbridge.v1.WithdrawStatus" json:"status,omitempty"` Detail *WithdrawDetail `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` }
func (*QueryLiquidityStatusResponse) Descriptor ¶
func (*QueryLiquidityStatusResponse) Descriptor() ([]byte, []int)
func (*QueryLiquidityStatusResponse) GetDetail ¶
func (m *QueryLiquidityStatusResponse) GetDetail() *WithdrawDetail
func (*QueryLiquidityStatusResponse) GetStatus ¶
func (m *QueryLiquidityStatusResponse) GetStatus() WithdrawStatus
func (*QueryLiquidityStatusResponse) Marshal ¶
func (m *QueryLiquidityStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryLiquidityStatusResponse) MarshalTo ¶
func (m *QueryLiquidityStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidityStatusResponse) MarshalToSizedBuffer ¶
func (m *QueryLiquidityStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidityStatusResponse) ProtoMessage ¶
func (*QueryLiquidityStatusResponse) ProtoMessage()
func (*QueryLiquidityStatusResponse) Reset ¶
func (m *QueryLiquidityStatusResponse) Reset()
func (*QueryLiquidityStatusResponse) Size ¶
func (m *QueryLiquidityStatusResponse) Size() (n int)
func (*QueryLiquidityStatusResponse) String ¶
func (m *QueryLiquidityStatusResponse) String() string
func (*QueryLiquidityStatusResponse) Unmarshal ¶
func (m *QueryLiquidityStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryLiquidityStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryLiquidityStatusResponse) XXX_DiscardUnknown()
func (*QueryLiquidityStatusResponse) XXX_Marshal ¶
func (m *QueryLiquidityStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidityStatusResponse) XXX_Merge ¶
func (m *QueryLiquidityStatusResponse) XXX_Merge(src proto.Message)
func (*QueryLiquidityStatusResponse) XXX_Size ¶
func (m *QueryLiquidityStatusResponse) XXX_Size() int
func (*QueryLiquidityStatusResponse) XXX_Unmarshal ¶
func (m *QueryLiquidityStatusResponse) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryRefundRequest ¶
type QueryRefundRequest struct {
XrefId []byte `protobuf:"bytes,1,opt,name=xref_id,json=xrefId,proto3" json:"xref_id,omitempty"`
}
func (*QueryRefundRequest) Descriptor ¶
func (*QueryRefundRequest) Descriptor() ([]byte, []int)
func (*QueryRefundRequest) GetXrefId ¶
func (m *QueryRefundRequest) GetXrefId() []byte
func (*QueryRefundRequest) Marshal ¶
func (m *QueryRefundRequest) Marshal() (dAtA []byte, err error)
func (*QueryRefundRequest) MarshalTo ¶
func (m *QueryRefundRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRefundRequest) MarshalToSizedBuffer ¶
func (m *QueryRefundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRefundRequest) ProtoMessage ¶
func (*QueryRefundRequest) ProtoMessage()
func (*QueryRefundRequest) Reset ¶
func (m *QueryRefundRequest) Reset()
func (*QueryRefundRequest) Size ¶
func (m *QueryRefundRequest) Size() (n int)
func (*QueryRefundRequest) String ¶
func (m *QueryRefundRequest) String() string
func (*QueryRefundRequest) Unmarshal ¶
func (m *QueryRefundRequest) Unmarshal(dAtA []byte) error
func (*QueryRefundRequest) XXX_DiscardUnknown ¶
func (m *QueryRefundRequest) XXX_DiscardUnknown()
func (*QueryRefundRequest) XXX_Marshal ¶
func (m *QueryRefundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRefundRequest) XXX_Merge ¶
func (m *QueryRefundRequest) XXX_Merge(src proto.Message)
func (*QueryRefundRequest) XXX_Size ¶
func (m *QueryRefundRequest) XXX_Size() int
func (*QueryRefundRequest) XXX_Unmarshal ¶
func (m *QueryRefundRequest) XXX_Unmarshal(b []byte) error
type QueryRefundResponse ¶
type QueryRefundResponse struct {
WdOnchain *WithdrawOnchain `protobuf:"bytes,1,opt,name=wd_onchain,json=wdOnchain,proto3" json:"wd_onchain,omitempty"`
}
func (*QueryRefundResponse) Descriptor ¶
func (*QueryRefundResponse) Descriptor() ([]byte, []int)
func (*QueryRefundResponse) GetWdOnchain ¶
func (m *QueryRefundResponse) GetWdOnchain() *WithdrawOnchain
func (*QueryRefundResponse) Marshal ¶
func (m *QueryRefundResponse) Marshal() (dAtA []byte, err error)
func (*QueryRefundResponse) MarshalTo ¶
func (m *QueryRefundResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRefundResponse) MarshalToSizedBuffer ¶
func (m *QueryRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRefundResponse) ProtoMessage ¶
func (*QueryRefundResponse) ProtoMessage()
func (*QueryRefundResponse) Reset ¶
func (m *QueryRefundResponse) Reset()
func (*QueryRefundResponse) Size ¶
func (m *QueryRefundResponse) Size() (n int)
func (*QueryRefundResponse) String ¶
func (m *QueryRefundResponse) String() string
func (*QueryRefundResponse) Unmarshal ¶
func (m *QueryRefundResponse) Unmarshal(dAtA []byte) error
func (*QueryRefundResponse) XXX_DiscardUnknown ¶
func (m *QueryRefundResponse) XXX_DiscardUnknown()
func (*QueryRefundResponse) XXX_Marshal ¶
func (m *QueryRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRefundResponse) XXX_Merge ¶
func (m *QueryRefundResponse) XXX_Merge(src proto.Message)
func (*QueryRefundResponse) XXX_Size ¶
func (m *QueryRefundResponse) XXX_Size() int
func (*QueryRefundResponse) XXX_Unmarshal ¶
func (m *QueryRefundResponse) XXX_Unmarshal(b []byte) error
type QueryRelayRequest ¶
type QueryRelayRequest struct {
XrefId []byte `protobuf:"bytes,1,opt,name=xref_id,json=xrefId,proto3" json:"xref_id,omitempty"`
}
func (*QueryRelayRequest) Descriptor ¶
func (*QueryRelayRequest) Descriptor() ([]byte, []int)
func (*QueryRelayRequest) GetXrefId ¶
func (m *QueryRelayRequest) GetXrefId() []byte
func (*QueryRelayRequest) Marshal ¶
func (m *QueryRelayRequest) Marshal() (dAtA []byte, err error)
func (*QueryRelayRequest) MarshalTo ¶
func (m *QueryRelayRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRelayRequest) MarshalToSizedBuffer ¶
func (m *QueryRelayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRelayRequest) ProtoMessage ¶
func (*QueryRelayRequest) ProtoMessage()
func (*QueryRelayRequest) Reset ¶
func (m *QueryRelayRequest) Reset()
func (*QueryRelayRequest) Size ¶
func (m *QueryRelayRequest) Size() (n int)
func (*QueryRelayRequest) String ¶
func (m *QueryRelayRequest) String() string
func (*QueryRelayRequest) Unmarshal ¶
func (m *QueryRelayRequest) Unmarshal(dAtA []byte) error
func (*QueryRelayRequest) XXX_DiscardUnknown ¶
func (m *QueryRelayRequest) XXX_DiscardUnknown()
func (*QueryRelayRequest) XXX_Marshal ¶
func (m *QueryRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRelayRequest) XXX_Merge ¶
func (m *QueryRelayRequest) XXX_Merge(src proto.Message)
func (*QueryRelayRequest) XXX_Size ¶
func (m *QueryRelayRequest) XXX_Size() int
func (*QueryRelayRequest) XXX_Unmarshal ¶
func (m *QueryRelayRequest) XXX_Unmarshal(b []byte) error
type QueryRelayResponse ¶
type QueryRelayResponse struct {
XferRelay *XferRelay `protobuf:"bytes,1,opt,name=xfer_relay,json=xferRelay,proto3" json:"xfer_relay,omitempty"`
}
func (*QueryRelayResponse) Descriptor ¶
func (*QueryRelayResponse) Descriptor() ([]byte, []int)
func (*QueryRelayResponse) GetXferRelay ¶
func (m *QueryRelayResponse) GetXferRelay() *XferRelay
func (*QueryRelayResponse) Marshal ¶
func (m *QueryRelayResponse) Marshal() (dAtA []byte, err error)
func (*QueryRelayResponse) MarshalTo ¶
func (m *QueryRelayResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRelayResponse) MarshalToSizedBuffer ¶
func (m *QueryRelayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRelayResponse) ProtoMessage ¶
func (*QueryRelayResponse) ProtoMessage()
func (*QueryRelayResponse) Reset ¶
func (m *QueryRelayResponse) Reset()
func (*QueryRelayResponse) Size ¶
func (m *QueryRelayResponse) Size() (n int)
func (*QueryRelayResponse) String ¶
func (m *QueryRelayResponse) String() string
func (*QueryRelayResponse) Unmarshal ¶
func (m *QueryRelayResponse) Unmarshal(dAtA []byte) error
func (*QueryRelayResponse) XXX_DiscardUnknown ¶
func (m *QueryRelayResponse) XXX_DiscardUnknown()
func (*QueryRelayResponse) XXX_Marshal ¶
func (m *QueryRelayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRelayResponse) XXX_Merge ¶
func (m *QueryRelayResponse) XXX_Merge(src proto.Message)
func (*QueryRelayResponse) XXX_Size ¶
func (m *QueryRelayResponse) XXX_Size() int
func (*QueryRelayResponse) XXX_Unmarshal ¶
func (m *QueryRelayResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { QueryParams(context.Context, *EmptyRequest) (*QueryParamsResponse, error) QueryConfig(context.Context, *EmptyRequest) (*QueryConfigResponse, error) QueryRelay(context.Context, *QueryRelayRequest) (*QueryRelayResponse, error) QueryRefund(context.Context, *QueryRefundRequest) (*QueryRefundResponse, error) QueryChainSigners(context.Context, *QueryChainSignersRequest) (*QueryChainSignersResponse, error) QueryLatestSigners(context.Context, *EmptyRequest) (*QueryLatestSignersResponse, error) QueryCheckChainTokenValid(context.Context, *CheckChainTokenValidRequest) (*CheckChainTokenValidResponse, error) QueryChkLiqSum(context.Context, *CheckLiqSumRequest) (*CheckLiqSumResponse, error) QueryDebugAny(context.Context, *QueryDebugAnyRequest) (*QueryDebugAnyResponse, error) QueryAssets(context.Context, *EmptyRequest) (*QueryAssetsResponse, error) QueryAssetPrice(context.Context, *QueryAssetPriceRequest) (*QueryAssetPriceResponse, error) QueryAssetsSymbols(context.Context, *QueryAssetsSymbolsRequest) (*QueryAssetsSymbolsResponse, error) QueryAssetsInfos(context.Context, *QueryAssetsInfosRequest) (*QueryAssetsInfosResponse, error) QueryGasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error) QueryBalancers(context.Context, *EmptyRequest) (*QueryBalancersResponse, error) // for gateway query only below ChainTokensConfig(context.Context, *ChainTokensConfigRequest) (*ChainTokensConfigResponse, error) GetFee(context.Context, *GetFeeRequest) (*GetFeeResponse, error) // get fee percentage between 2 chains GetFeePercentage(context.Context, *GetFeePercentageRequest) (*GetFeePercentageResponse, error) QueryTransferStatus(context.Context, *QueryTransferStatusRequest) (*QueryTransferStatusResponse, error) // LP LiquidityDetailList(context.Context, *LiquidityDetailListRequest) (*LiquidityDetailListResponse, error) QueryTotalLiquidity(context.Context, *QueryTotalLiquidityRequest) (*QueryTotalLiquidityResponse, error) QueryAddLiquidityStatus(context.Context, *QueryAddLiquidityStatusRequest) (*QueryLiquidityStatusResponse, error) QueryWithdrawLiquidityStatus(context.Context, *QueryWithdrawLiquidityStatusRequest) (*QueryLiquidityStatusResponse, error) QueryLPOrigin(context.Context, *QueryLPOriginRequest) (*QueryLPOriginResponse, error) QueryLiquidity(context.Context, *QueryLiquidityRequest) (*QueryLiquidityResponse, error) QueryLiquidityCap(context.Context, *QueryLiquidityCapRequest) (*QueryLiquidityCapResponse, error) // for sync farming tool QueryLPs(context.Context, *QueryLPsRequest) (*QueryLPsResponse, error) }
QueryServer is the server API for Query service.
type QueryTotalLiquidityRequest ¶
type QueryTotalLiquidityRequest struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` }
func (*QueryTotalLiquidityRequest) Descriptor ¶
func (*QueryTotalLiquidityRequest) Descriptor() ([]byte, []int)
func (*QueryTotalLiquidityRequest) GetChainId ¶
func (m *QueryTotalLiquidityRequest) GetChainId() uint64
func (*QueryTotalLiquidityRequest) GetTokenAddr ¶
func (m *QueryTotalLiquidityRequest) GetTokenAddr() string
func (*QueryTotalLiquidityRequest) Marshal ¶
func (m *QueryTotalLiquidityRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalLiquidityRequest) MarshalTo ¶
func (m *QueryTotalLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalLiquidityRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalLiquidityRequest) ProtoMessage ¶
func (*QueryTotalLiquidityRequest) ProtoMessage()
func (*QueryTotalLiquidityRequest) Reset ¶
func (m *QueryTotalLiquidityRequest) Reset()
func (*QueryTotalLiquidityRequest) Size ¶
func (m *QueryTotalLiquidityRequest) Size() (n int)
func (*QueryTotalLiquidityRequest) String ¶
func (m *QueryTotalLiquidityRequest) String() string
func (*QueryTotalLiquidityRequest) Unmarshal ¶
func (m *QueryTotalLiquidityRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalLiquidityRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalLiquidityRequest) XXX_DiscardUnknown()
func (*QueryTotalLiquidityRequest) XXX_Marshal ¶
func (m *QueryTotalLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalLiquidityRequest) XXX_Merge ¶
func (m *QueryTotalLiquidityRequest) XXX_Merge(src proto.Message)
func (*QueryTotalLiquidityRequest) XXX_Size ¶
func (m *QueryTotalLiquidityRequest) XXX_Size() int
func (*QueryTotalLiquidityRequest) XXX_Unmarshal ¶
func (m *QueryTotalLiquidityRequest) XXX_Unmarshal(b []byte) error
type QueryTotalLiquidityResponse ¶
type QueryTotalLiquidityResponse struct {
TotalLiq string `protobuf:"bytes,1,opt,name=total_liq,json=totalLiq,proto3" json:"total_liq,omitempty"`
}
func (*QueryTotalLiquidityResponse) Descriptor ¶
func (*QueryTotalLiquidityResponse) Descriptor() ([]byte, []int)
func (*QueryTotalLiquidityResponse) GetTotalLiq ¶
func (m *QueryTotalLiquidityResponse) GetTotalLiq() string
func (*QueryTotalLiquidityResponse) Marshal ¶
func (m *QueryTotalLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalLiquidityResponse) MarshalTo ¶
func (m *QueryTotalLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalLiquidityResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalLiquidityResponse) ProtoMessage ¶
func (*QueryTotalLiquidityResponse) ProtoMessage()
func (*QueryTotalLiquidityResponse) Reset ¶
func (m *QueryTotalLiquidityResponse) Reset()
func (*QueryTotalLiquidityResponse) Size ¶
func (m *QueryTotalLiquidityResponse) Size() (n int)
func (*QueryTotalLiquidityResponse) String ¶
func (m *QueryTotalLiquidityResponse) String() string
func (*QueryTotalLiquidityResponse) Unmarshal ¶
func (m *QueryTotalLiquidityResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalLiquidityResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalLiquidityResponse) XXX_DiscardUnknown()
func (*QueryTotalLiquidityResponse) XXX_Marshal ¶
func (m *QueryTotalLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalLiquidityResponse) XXX_Merge ¶
func (m *QueryTotalLiquidityResponse) XXX_Merge(src proto.Message)
func (*QueryTotalLiquidityResponse) XXX_Size ¶
func (m *QueryTotalLiquidityResponse) XXX_Size() int
func (*QueryTotalLiquidityResponse) XXX_Unmarshal ¶
func (m *QueryTotalLiquidityResponse) XXX_Unmarshal(b []byte) error
type QueryTransferStatusRequest ¶
type QueryTransferStatusRequest struct {
TransferId []string `protobuf:"bytes,1,rep,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
}
func (*QueryTransferStatusRequest) Descriptor ¶
func (*QueryTransferStatusRequest) Descriptor() ([]byte, []int)
func (*QueryTransferStatusRequest) GetTransferId ¶
func (m *QueryTransferStatusRequest) GetTransferId() []string
func (*QueryTransferStatusRequest) Marshal ¶
func (m *QueryTransferStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryTransferStatusRequest) MarshalTo ¶
func (m *QueryTransferStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTransferStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryTransferStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTransferStatusRequest) ProtoMessage ¶
func (*QueryTransferStatusRequest) ProtoMessage()
func (*QueryTransferStatusRequest) Reset ¶
func (m *QueryTransferStatusRequest) Reset()
func (*QueryTransferStatusRequest) Size ¶
func (m *QueryTransferStatusRequest) Size() (n int)
func (*QueryTransferStatusRequest) String ¶
func (m *QueryTransferStatusRequest) String() string
func (*QueryTransferStatusRequest) Unmarshal ¶
func (m *QueryTransferStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryTransferStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryTransferStatusRequest) XXX_DiscardUnknown()
func (*QueryTransferStatusRequest) XXX_Marshal ¶
func (m *QueryTransferStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTransferStatusRequest) XXX_Merge ¶
func (m *QueryTransferStatusRequest) XXX_Merge(src proto.Message)
func (*QueryTransferStatusRequest) XXX_Size ¶
func (m *QueryTransferStatusRequest) XXX_Size() int
func (*QueryTransferStatusRequest) XXX_Unmarshal ¶
func (m *QueryTransferStatusRequest) XXX_Unmarshal(b []byte) error
type QueryTransferStatusResponse ¶
type QueryTransferStatusResponse struct {
Status map[string]*TransferStatus `` /* 153-byte string literal not displayed */
}
func (*QueryTransferStatusResponse) Descriptor ¶
func (*QueryTransferStatusResponse) Descriptor() ([]byte, []int)
func (*QueryTransferStatusResponse) GetStatus ¶
func (m *QueryTransferStatusResponse) GetStatus() map[string]*TransferStatus
func (*QueryTransferStatusResponse) Marshal ¶
func (m *QueryTransferStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryTransferStatusResponse) MarshalTo ¶
func (m *QueryTransferStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTransferStatusResponse) MarshalToSizedBuffer ¶
func (m *QueryTransferStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTransferStatusResponse) ProtoMessage ¶
func (*QueryTransferStatusResponse) ProtoMessage()
func (*QueryTransferStatusResponse) Reset ¶
func (m *QueryTransferStatusResponse) Reset()
func (*QueryTransferStatusResponse) Size ¶
func (m *QueryTransferStatusResponse) Size() (n int)
func (*QueryTransferStatusResponse) String ¶
func (m *QueryTransferStatusResponse) String() string
func (*QueryTransferStatusResponse) Unmarshal ¶
func (m *QueryTransferStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryTransferStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryTransferStatusResponse) XXX_DiscardUnknown()
func (*QueryTransferStatusResponse) XXX_Marshal ¶
func (m *QueryTransferStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTransferStatusResponse) XXX_Merge ¶
func (m *QueryTransferStatusResponse) XXX_Merge(src proto.Message)
func (*QueryTransferStatusResponse) XXX_Size ¶
func (m *QueryTransferStatusResponse) XXX_Size() int
func (*QueryTransferStatusResponse) XXX_Unmarshal ¶
func (m *QueryTransferStatusResponse) XXX_Unmarshal(b []byte) error
type QueryWithdrawLiquidityStatusRequest ¶
type QueryWithdrawLiquidityStatusRequest struct { SeqNum uint64 `protobuf:"varint,1,opt,name=seq_num,json=seqNum,proto3" json:"seq_num,omitempty"` UsrAddr string `protobuf:"bytes,2,opt,name=usr_addr,json=usrAddr,proto3" json:"usr_addr,omitempty"` }
func (*QueryWithdrawLiquidityStatusRequest) Descriptor ¶
func (*QueryWithdrawLiquidityStatusRequest) Descriptor() ([]byte, []int)
func (*QueryWithdrawLiquidityStatusRequest) GetSeqNum ¶
func (m *QueryWithdrawLiquidityStatusRequest) GetSeqNum() uint64
func (*QueryWithdrawLiquidityStatusRequest) GetUsrAddr ¶
func (m *QueryWithdrawLiquidityStatusRequest) GetUsrAddr() string
func (*QueryWithdrawLiquidityStatusRequest) Marshal ¶
func (m *QueryWithdrawLiquidityStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawLiquidityStatusRequest) MarshalTo ¶
func (m *QueryWithdrawLiquidityStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawLiquidityStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryWithdrawLiquidityStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawLiquidityStatusRequest) ProtoMessage ¶
func (*QueryWithdrawLiquidityStatusRequest) ProtoMessage()
func (*QueryWithdrawLiquidityStatusRequest) Reset ¶
func (m *QueryWithdrawLiquidityStatusRequest) Reset()
func (*QueryWithdrawLiquidityStatusRequest) Size ¶
func (m *QueryWithdrawLiquidityStatusRequest) Size() (n int)
func (*QueryWithdrawLiquidityStatusRequest) String ¶
func (m *QueryWithdrawLiquidityStatusRequest) String() string
func (*QueryWithdrawLiquidityStatusRequest) Unmarshal ¶
func (m *QueryWithdrawLiquidityStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryWithdrawLiquidityStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryWithdrawLiquidityStatusRequest) XXX_DiscardUnknown()
func (*QueryWithdrawLiquidityStatusRequest) XXX_Marshal ¶
func (m *QueryWithdrawLiquidityStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawLiquidityStatusRequest) XXX_Merge ¶
func (m *QueryWithdrawLiquidityStatusRequest) XXX_Merge(src proto.Message)
func (*QueryWithdrawLiquidityStatusRequest) XXX_Size ¶
func (m *QueryWithdrawLiquidityStatusRequest) XXX_Size() int
func (*QueryWithdrawLiquidityStatusRequest) XXX_Unmarshal ¶
func (m *QueryWithdrawLiquidityStatusRequest) XXX_Unmarshal(b []byte) error
type RelayGasCostParam ¶
type RelayGasCostParam struct { ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` CostBase uint32 `protobuf:"varint,2,opt,name=cost_base,json=costBase,proto3" json:"cost_base,omitempty"` PerValidator uint32 `protobuf:"varint,3,opt,name=per_validator,json=perValidator,proto3" json:"per_validator,omitempty"` PerSig uint32 `protobuf:"varint,4,opt,name=per_sig,json=perSig,proto3" json:"per_sig,omitempty"` }
needed for gas cost calculation for different chain. the equation is cost_base + per_validator * V + per_sig * Sigs, where V is the number of validators and Sigs stands for the number of signs needed for quorum
func (*RelayGasCostParam) Descriptor ¶
func (*RelayGasCostParam) Descriptor() ([]byte, []int)
func (*RelayGasCostParam) GetChainId ¶
func (m *RelayGasCostParam) GetChainId() uint64
func (*RelayGasCostParam) GetCostBase ¶
func (m *RelayGasCostParam) GetCostBase() uint32
func (*RelayGasCostParam) GetPerSig ¶
func (m *RelayGasCostParam) GetPerSig() uint32
func (*RelayGasCostParam) GetPerValidator ¶
func (m *RelayGasCostParam) GetPerValidator() uint32
func (*RelayGasCostParam) Marshal ¶
func (m *RelayGasCostParam) Marshal() (dAtA []byte, err error)
func (*RelayGasCostParam) MarshalTo ¶
func (m *RelayGasCostParam) MarshalTo(dAtA []byte) (int, error)
func (*RelayGasCostParam) MarshalToSizedBuffer ¶
func (m *RelayGasCostParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayGasCostParam) ProtoMessage ¶
func (*RelayGasCostParam) ProtoMessage()
func (*RelayGasCostParam) Reset ¶
func (m *RelayGasCostParam) Reset()
func (*RelayGasCostParam) Size ¶
func (m *RelayGasCostParam) Size() (n int)
func (*RelayGasCostParam) String ¶
func (m *RelayGasCostParam) String() string
func (*RelayGasCostParam) Unmarshal ¶
func (m *RelayGasCostParam) Unmarshal(dAtA []byte) error
func (*RelayGasCostParam) XXX_DiscardUnknown ¶
func (m *RelayGasCostParam) XXX_DiscardUnknown()
func (*RelayGasCostParam) XXX_Marshal ¶
func (m *RelayGasCostParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayGasCostParam) XXX_Merge ¶
func (m *RelayGasCostParam) XXX_Merge(src proto.Message)
func (*RelayGasCostParam) XXX_Size ¶
func (m *RelayGasCostParam) XXX_Size() int
func (*RelayGasCostParam) XXX_Unmarshal ¶
func (m *RelayGasCostParam) XXX_Unmarshal(b []byte) error
type RelayOnChain ¶
type RelayOnChain struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Receiver []byte `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Token []byte `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` Amount []byte `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` SrcChainId uint64 `protobuf:"varint,5,opt,name=src_chain_id,json=srcChainId,proto3" json:"src_chain_id,omitempty"` DstChainId uint64 `protobuf:"varint,6,opt,name=dst_chain_id,json=dstChainId,proto3" json:"dst_chain_id,omitempty"` SrcTransferId []byte `protobuf:"bytes,7,opt,name=src_transfer_id,json=srcTransferId,proto3" json:"src_transfer_id,omitempty"` }
========== onchain tx data same proto used by solidity, serialized bytes are signed by sgn nodes then submit onchain to relay function x/cbridge will emit tendermint event, relayer monitor and send msg w/ its signature
func (*RelayOnChain) Descriptor ¶
func (*RelayOnChain) Descriptor() ([]byte, []int)
func (*RelayOnChain) GetAmount ¶
func (m *RelayOnChain) GetAmount() []byte
func (*RelayOnChain) GetDstChainId ¶
func (m *RelayOnChain) GetDstChainId() uint64
func (*RelayOnChain) GetReceiver ¶
func (m *RelayOnChain) GetReceiver() []byte
func (*RelayOnChain) GetSender ¶
func (m *RelayOnChain) GetSender() []byte
func (*RelayOnChain) GetSrcChainId ¶
func (m *RelayOnChain) GetSrcChainId() uint64
func (*RelayOnChain) GetSrcTransferId ¶
func (m *RelayOnChain) GetSrcTransferId() []byte
func (*RelayOnChain) GetToken ¶
func (m *RelayOnChain) GetToken() []byte
func (*RelayOnChain) Marshal ¶
func (m *RelayOnChain) Marshal() (dAtA []byte, err error)
func (*RelayOnChain) MarshalToSizedBuffer ¶
func (m *RelayOnChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayOnChain) ProtoMessage ¶
func (*RelayOnChain) ProtoMessage()
func (*RelayOnChain) Reset ¶
func (m *RelayOnChain) Reset()
func (*RelayOnChain) Size ¶
func (m *RelayOnChain) Size() (n int)
func (*RelayOnChain) String ¶
func (r *RelayOnChain) String() string
func (*RelayOnChain) Unmarshal ¶
func (m *RelayOnChain) Unmarshal(dAtA []byte) error
func (*RelayOnChain) XXX_DiscardUnknown ¶
func (m *RelayOnChain) XXX_DiscardUnknown()
func (*RelayOnChain) XXX_Marshal ¶
func (m *RelayOnChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayOnChain) XXX_Merge ¶
func (m *RelayOnChain) XXX_Merge(src proto.Message)
func (*RelayOnChain) XXX_Size ¶
func (m *RelayOnChain) XXX_Size() int
func (*RelayOnChain) XXX_Unmarshal ¶
func (m *RelayOnChain) XXX_Unmarshal(b []byte) error
type SignDataType ¶
type SignDataType int32
const ( SignDataType_INVALID SignDataType = 0 SignDataType_RELAY SignDataType = 1 SignDataType_WITHDRAW SignDataType = 2 SignDataType_SIGNERS SignDataType = 3 )
func (SignDataType) EnumDescriptor ¶
func (SignDataType) EnumDescriptor() ([]byte, []int)
func (SignDataType) String ¶
func (x SignDataType) String() string
type Signer ¶
type Signer struct { Addr []byte `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Power []byte `protobuf:"bytes,2,opt,name=power,proto3" json:"power,omitempty"` }
func (*Signer) Descriptor ¶
func (*Signer) MarshalToSizedBuffer ¶
func (*Signer) ProtoMessage ¶
func (*Signer) ProtoMessage()
func (*Signer) XXX_DiscardUnknown ¶
func (m *Signer) XXX_DiscardUnknown()
func (*Signer) XXX_Marshal ¶
func (*Signer) XXX_Unmarshal ¶
type Token ¶
type Token struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Decimal int32 `protobuf:"varint,3,opt,name=decimal,proto3" json:"decimal,omitempty"` XferDisabled bool `protobuf:"varint,4,opt,name=xfer_disabled,json=xferDisabled,proto3" json:"xfer_disabled,omitempty"` }
func (*Token) Descriptor ¶
func (*Token) GetAddress ¶
func (*Token) GetDecimal ¶
func (*Token) GetXferDisabled ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type Tokens ¶
type Tokens struct { Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"` BlockDelay uint32 `protobuf:"varint,3,opt,name=block_delay,json=blockDelay,proto3" json:"block_delay,omitempty"` }
func (*Tokens) Descriptor ¶
func (*Tokens) GetBlockDelay ¶
func (*Tokens) GetContractAddr ¶
func (*Tokens) MarshalToSizedBuffer ¶
func (*Tokens) ProtoMessage ¶
func (*Tokens) ProtoMessage()
func (*Tokens) XXX_DiscardUnknown ¶
func (m *Tokens) XXX_DiscardUnknown()
func (*Tokens) XXX_Marshal ¶
func (*Tokens) XXX_Unmarshal ¶
type TransferHistoryStatus ¶
type TransferHistoryStatus int32
const ( TransferHistoryStatus_TRANSFER_UNKNOWN TransferHistoryStatus = 0 TransferHistoryStatus_TRANSFER_SUBMITTING TransferHistoryStatus = 1 TransferHistoryStatus_TRANSFER_FAILED TransferHistoryStatus = 2 TransferHistoryStatus_TRANSFER_WAITING_FOR_SGN_CONFIRMATION TransferHistoryStatus = 3 TransferHistoryStatus_TRANSFER_WAITING_FOR_FUND_RELEASE TransferHistoryStatus = 4 TransferHistoryStatus_TRANSFER_COMPLETED TransferHistoryStatus = 5 TransferHistoryStatus_TRANSFER_TO_BE_REFUNDED TransferHistoryStatus = 6 TransferHistoryStatus_TRANSFER_REQUESTING_REFUND TransferHistoryStatus = 7 TransferHistoryStatus_TRANSFER_REFUND_TO_BE_CONFIRMED TransferHistoryStatus = 8 TransferHistoryStatus_TRANSFER_CONFIRMING_YOUR_REFUND TransferHistoryStatus = 9 TransferHistoryStatus_TRANSFER_REFUNDED TransferHistoryStatus = 10 TransferHistoryStatus_TRANSFER_DELAYED TransferHistoryStatus = 11 )
func (TransferHistoryStatus) EnumDescriptor ¶
func (TransferHistoryStatus) EnumDescriptor() ([]byte, []int)
func (TransferHistoryStatus) String ¶
func (x TransferHistoryStatus) String() string
type TransferStatus ¶
type TransferStatus struct { GatewayStatus TransferHistoryStatus `` /* 143-byte string literal not displayed */ SgnStatus XferStatus `protobuf:"varint,2,opt,name=sgn_status,json=sgnStatus,proto3,enum=sgn.cbridge.v1.XferStatus" json:"sgn_status,omitempty"` }
func (*TransferStatus) Descriptor ¶
func (*TransferStatus) Descriptor() ([]byte, []int)
func (*TransferStatus) GetGatewayStatus ¶
func (m *TransferStatus) GetGatewayStatus() TransferHistoryStatus
func (*TransferStatus) GetSgnStatus ¶
func (m *TransferStatus) GetSgnStatus() XferStatus
func (*TransferStatus) Marshal ¶
func (m *TransferStatus) Marshal() (dAtA []byte, err error)
func (*TransferStatus) MarshalToSizedBuffer ¶
func (m *TransferStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransferStatus) ProtoMessage ¶
func (*TransferStatus) ProtoMessage()
func (*TransferStatus) Reset ¶
func (m *TransferStatus) Reset()
func (*TransferStatus) Size ¶
func (m *TransferStatus) Size() (n int)
func (*TransferStatus) String ¶
func (m *TransferStatus) String() string
func (*TransferStatus) Unmarshal ¶
func (m *TransferStatus) Unmarshal(dAtA []byte) error
func (*TransferStatus) XXX_DiscardUnknown ¶
func (m *TransferStatus) XXX_DiscardUnknown()
func (*TransferStatus) XXX_Marshal ¶
func (m *TransferStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferStatus) XXX_Merge ¶
func (m *TransferStatus) XXX_Merge(src proto.Message)
func (*TransferStatus) XXX_Size ¶
func (m *TransferStatus) XXX_Size() int
func (*TransferStatus) XXX_Unmarshal ¶
func (m *TransferStatus) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) InitWithdraw ¶
func (*UnimplementedMsgServer) InitWithdraw(ctx context.Context, req *MsgInitWithdraw) (*MsgInitWithdrawResp, error)
func (*UnimplementedMsgServer) SendMySig ¶
func (*UnimplementedMsgServer) SendMySig(ctx context.Context, req *MsgSendMySig) (*MsgSendMySigResp, error)
func (*UnimplementedMsgServer) SetLiquidityCap ¶
func (*UnimplementedMsgServer) SetLiquidityCap(ctx context.Context, req *MsgSetLiquidityCap) (*MsgSetLiquidityCapResp, error)
func (*UnimplementedMsgServer) SignAgain ¶
func (*UnimplementedMsgServer) SignAgain(ctx context.Context, req *MsgSignAgain) (*MsgSignAgainResp, error)
func (*UnimplementedMsgServer) SyncFarming ¶
func (*UnimplementedMsgServer) SyncFarming(ctx context.Context, req *MsgSyncFarming) (*MsgSyncFarmingResponse, error)
func (*UnimplementedMsgServer) TriggerSetRefund ¶
func (*UnimplementedMsgServer) TriggerSetRefund(ctx context.Context, req *MsgTriggerSetRefund) (*MsgTriggerSetRefundResp, error)
func (*UnimplementedMsgServer) UpdateLatestSigners ¶
func (*UnimplementedMsgServer) UpdateLatestSigners(ctx context.Context, req *MsgUpdateLatestSigners) (*MsgUpdateLatestSignersResp, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ChainTokensConfig ¶
func (*UnimplementedQueryServer) ChainTokensConfig(ctx context.Context, req *ChainTokensConfigRequest) (*ChainTokensConfigResponse, error)
func (*UnimplementedQueryServer) GetFee ¶
func (*UnimplementedQueryServer) GetFee(ctx context.Context, req *GetFeeRequest) (*GetFeeResponse, error)
func (*UnimplementedQueryServer) GetFeePercentage ¶
func (*UnimplementedQueryServer) GetFeePercentage(ctx context.Context, req *GetFeePercentageRequest) (*GetFeePercentageResponse, error)
func (*UnimplementedQueryServer) LiquidityDetailList ¶
func (*UnimplementedQueryServer) LiquidityDetailList(ctx context.Context, req *LiquidityDetailListRequest) (*LiquidityDetailListResponse, error)
func (*UnimplementedQueryServer) QueryAddLiquidityStatus ¶
func (*UnimplementedQueryServer) QueryAddLiquidityStatus(ctx context.Context, req *QueryAddLiquidityStatusRequest) (*QueryLiquidityStatusResponse, error)
func (*UnimplementedQueryServer) QueryAssetPrice ¶
func (*UnimplementedQueryServer) QueryAssetPrice(ctx context.Context, req *QueryAssetPriceRequest) (*QueryAssetPriceResponse, error)
func (*UnimplementedQueryServer) QueryAssets ¶
func (*UnimplementedQueryServer) QueryAssets(ctx context.Context, req *EmptyRequest) (*QueryAssetsResponse, error)
func (*UnimplementedQueryServer) QueryAssetsInfos ¶
func (*UnimplementedQueryServer) QueryAssetsInfos(ctx context.Context, req *QueryAssetsInfosRequest) (*QueryAssetsInfosResponse, error)
func (*UnimplementedQueryServer) QueryAssetsSymbols ¶
func (*UnimplementedQueryServer) QueryAssetsSymbols(ctx context.Context, req *QueryAssetsSymbolsRequest) (*QueryAssetsSymbolsResponse, error)
func (*UnimplementedQueryServer) QueryBalancers ¶
func (*UnimplementedQueryServer) QueryBalancers(ctx context.Context, req *EmptyRequest) (*QueryBalancersResponse, error)
func (*UnimplementedQueryServer) QueryChainSigners ¶
func (*UnimplementedQueryServer) QueryChainSigners(ctx context.Context, req *QueryChainSignersRequest) (*QueryChainSignersResponse, error)
func (*UnimplementedQueryServer) QueryCheckChainTokenValid ¶
func (*UnimplementedQueryServer) QueryCheckChainTokenValid(ctx context.Context, req *CheckChainTokenValidRequest) (*CheckChainTokenValidResponse, error)
func (*UnimplementedQueryServer) QueryChkLiqSum ¶
func (*UnimplementedQueryServer) QueryChkLiqSum(ctx context.Context, req *CheckLiqSumRequest) (*CheckLiqSumResponse, error)
func (*UnimplementedQueryServer) QueryConfig ¶
func (*UnimplementedQueryServer) QueryConfig(ctx context.Context, req *EmptyRequest) (*QueryConfigResponse, error)
func (*UnimplementedQueryServer) QueryDebugAny ¶
func (*UnimplementedQueryServer) QueryDebugAny(ctx context.Context, req *QueryDebugAnyRequest) (*QueryDebugAnyResponse, error)
func (*UnimplementedQueryServer) QueryGasPrice ¶
func (*UnimplementedQueryServer) QueryGasPrice(ctx context.Context, req *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
func (*UnimplementedQueryServer) QueryLPOrigin ¶
func (*UnimplementedQueryServer) QueryLPOrigin(ctx context.Context, req *QueryLPOriginRequest) (*QueryLPOriginResponse, error)
func (*UnimplementedQueryServer) QueryLPs ¶
func (*UnimplementedQueryServer) QueryLPs(ctx context.Context, req *QueryLPsRequest) (*QueryLPsResponse, error)
func (*UnimplementedQueryServer) QueryLatestSigners ¶
func (*UnimplementedQueryServer) QueryLatestSigners(ctx context.Context, req *EmptyRequest) (*QueryLatestSignersResponse, error)
func (*UnimplementedQueryServer) QueryLiquidity ¶
func (*UnimplementedQueryServer) QueryLiquidity(ctx context.Context, req *QueryLiquidityRequest) (*QueryLiquidityResponse, error)
func (*UnimplementedQueryServer) QueryLiquidityCap ¶
func (*UnimplementedQueryServer) QueryLiquidityCap(ctx context.Context, req *QueryLiquidityCapRequest) (*QueryLiquidityCapResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *EmptyRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueryRefund ¶
func (*UnimplementedQueryServer) QueryRefund(ctx context.Context, req *QueryRefundRequest) (*QueryRefundResponse, error)
func (*UnimplementedQueryServer) QueryRelay ¶
func (*UnimplementedQueryServer) QueryRelay(ctx context.Context, req *QueryRelayRequest) (*QueryRelayResponse, error)
func (*UnimplementedQueryServer) QueryTotalLiquidity ¶
func (*UnimplementedQueryServer) QueryTotalLiquidity(ctx context.Context, req *QueryTotalLiquidityRequest) (*QueryTotalLiquidityResponse, error)
func (*UnimplementedQueryServer) QueryTransferStatus ¶
func (*UnimplementedQueryServer) QueryTransferStatus(ctx context.Context, req *QueryTransferStatusRequest) (*QueryTransferStatusResponse, error)
func (*UnimplementedQueryServer) QueryWithdrawLiquidityStatus ¶
func (*UnimplementedQueryServer) QueryWithdrawLiquidityStatus(ctx context.Context, req *QueryWithdrawLiquidityStatusRequest) (*QueryLiquidityStatusResponse, error)
type WithdrawDetail ¶
type WithdrawDetail struct { WdOnchain []byte `protobuf:"bytes,1,opt,name=wd_onchain,json=wdOnchain,proto3" json:"wd_onchain,omitempty"` SortedSigs []*AddrSig `protobuf:"bytes,2,rep,name=sorted_sigs,json=sortedSigs,proto3" json:"sorted_sigs,omitempty"` Completed bool `protobuf:"varint,3,opt,name=completed,proto3" json:"completed,omitempty"` LastReqTime int64 `protobuf:"varint,4,opt,name=last_req_time,json=lastReqTime,proto3" json:"last_req_time,omitempty"` XferId []byte `protobuf:"bytes,5,opt,name=xferId,proto3" json:"xferId,omitempty"` PercFee string `protobuf:"bytes,6,opt,name=perc_fee,json=percFee,proto3" json:"perc_fee,omitempty"` }
func (*WithdrawDetail) Descriptor ¶
func (*WithdrawDetail) Descriptor() ([]byte, []int)
func (*WithdrawDetail) GetCompleted ¶
func (m *WithdrawDetail) GetCompleted() bool
func (*WithdrawDetail) GetLastReqTime ¶
func (m *WithdrawDetail) GetLastReqTime() int64
func (*WithdrawDetail) GetPercFee ¶
func (m *WithdrawDetail) GetPercFee() string
func (*WithdrawDetail) GetSortedSigs ¶
func (m *WithdrawDetail) GetSortedSigs() []*AddrSig
func (*WithdrawDetail) GetSortedSigsBytes ¶
func (m *WithdrawDetail) GetSortedSigsBytes() [][]byte
func (*WithdrawDetail) GetWdOnchain ¶
func (m *WithdrawDetail) GetWdOnchain() []byte
func (*WithdrawDetail) GetXferId ¶
func (m *WithdrawDetail) GetXferId() []byte
func (*WithdrawDetail) Marshal ¶
func (m *WithdrawDetail) Marshal() (dAtA []byte, err error)
func (*WithdrawDetail) MarshalToSizedBuffer ¶
func (m *WithdrawDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawDetail) ProtoMessage ¶
func (*WithdrawDetail) ProtoMessage()
func (*WithdrawDetail) Reset ¶
func (m *WithdrawDetail) Reset()
func (*WithdrawDetail) SignersStr ¶
func (m *WithdrawDetail) SignersStr() string
func (*WithdrawDetail) Size ¶
func (m *WithdrawDetail) Size() (n int)
func (*WithdrawDetail) String ¶
func (m *WithdrawDetail) String() string
func (*WithdrawDetail) Unmarshal ¶
func (m *WithdrawDetail) Unmarshal(dAtA []byte) error
func (*WithdrawDetail) XXX_DiscardUnknown ¶
func (m *WithdrawDetail) XXX_DiscardUnknown()
func (*WithdrawDetail) XXX_Marshal ¶
func (m *WithdrawDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawDetail) XXX_Merge ¶
func (m *WithdrawDetail) XXX_Merge(src proto.Message)
func (*WithdrawDetail) XXX_Size ¶
func (m *WithdrawDetail) XXX_Size() int
func (*WithdrawDetail) XXX_Unmarshal ¶
func (m *WithdrawDetail) XXX_Unmarshal(b []byte) error
type WithdrawLq ¶
type WithdrawLq struct { FromChainId uint64 `protobuf:"varint,1,opt,name=from_chain_id,json=fromChainId,proto3" json:"from_chain_id,omitempty"` TokenAddr string `protobuf:"bytes,2,opt,name=token_addr,json=tokenAddr,proto3" json:"token_addr,omitempty"` Ratio uint32 `protobuf:"varint,3,opt,name=ratio,proto3" json:"ratio,omitempty"` MaxSlippage uint32 `protobuf:"varint,4,opt,name=max_slippage,json=maxSlippage,proto3" json:"max_slippage,omitempty"` }
func (*WithdrawLq) Descriptor ¶
func (*WithdrawLq) Descriptor() ([]byte, []int)
func (*WithdrawLq) GetFromChainId ¶
func (m *WithdrawLq) GetFromChainId() uint64
func (*WithdrawLq) GetMaxSlippage ¶
func (m *WithdrawLq) GetMaxSlippage() uint32
func (*WithdrawLq) GetRatio ¶
func (m *WithdrawLq) GetRatio() uint32
func (*WithdrawLq) GetTokenAddr ¶
func (m *WithdrawLq) GetTokenAddr() string
func (*WithdrawLq) Marshal ¶
func (m *WithdrawLq) Marshal() (dAtA []byte, err error)
func (*WithdrawLq) MarshalToSizedBuffer ¶
func (m *WithdrawLq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawLq) ProtoMessage ¶
func (*WithdrawLq) ProtoMessage()
func (*WithdrawLq) Reset ¶
func (m *WithdrawLq) Reset()
func (*WithdrawLq) Size ¶
func (m *WithdrawLq) Size() (n int)
func (*WithdrawLq) String ¶
func (m *WithdrawLq) String() string
func (*WithdrawLq) Unmarshal ¶
func (m *WithdrawLq) Unmarshal(dAtA []byte) error
func (*WithdrawLq) XXX_DiscardUnknown ¶
func (m *WithdrawLq) XXX_DiscardUnknown()
func (*WithdrawLq) XXX_Marshal ¶
func (m *WithdrawLq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawLq) XXX_Merge ¶
func (m *WithdrawLq) XXX_Merge(src proto.Message)
func (*WithdrawLq) XXX_Size ¶
func (m *WithdrawLq) XXX_Size() int
func (*WithdrawLq) XXX_Unmarshal ¶
func (m *WithdrawLq) XXX_Unmarshal(b []byte) error
type WithdrawOnchain ¶
type WithdrawOnchain struct { Chainid uint64 `protobuf:"varint,1,opt,name=chainid,proto3" json:"chainid,omitempty"` Seqnum uint64 `protobuf:"varint,2,opt,name=seqnum,proto3" json:"seqnum,omitempty"` Receiver []byte `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` Token []byte `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` Refid []byte `protobuf:"bytes,6,opt,name=refid,proto3" json:"refid,omitempty"` }
data when call withdraw onchain
func (*WithdrawOnchain) Descriptor ¶
func (*WithdrawOnchain) Descriptor() ([]byte, []int)
func (*WithdrawOnchain) GetAmount ¶
func (m *WithdrawOnchain) GetAmount() []byte
func (*WithdrawOnchain) GetChainid ¶
func (m *WithdrawOnchain) GetChainid() uint64
func (*WithdrawOnchain) GetReceiver ¶
func (m *WithdrawOnchain) GetReceiver() []byte
func (*WithdrawOnchain) GetRefid ¶
func (m *WithdrawOnchain) GetRefid() []byte
func (*WithdrawOnchain) GetSeqnum ¶
func (m *WithdrawOnchain) GetSeqnum() uint64
func (*WithdrawOnchain) GetToken ¶
func (m *WithdrawOnchain) GetToken() []byte
func (*WithdrawOnchain) Marshal ¶
func (m *WithdrawOnchain) Marshal() (dAtA []byte, err error)
func (*WithdrawOnchain) MarshalToSizedBuffer ¶
func (m *WithdrawOnchain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawOnchain) ProtoMessage ¶
func (*WithdrawOnchain) ProtoMessage()
func (*WithdrawOnchain) Reset ¶
func (m *WithdrawOnchain) Reset()
func (*WithdrawOnchain) Size ¶
func (m *WithdrawOnchain) Size() (n int)
func (*WithdrawOnchain) String ¶
func (w *WithdrawOnchain) String() string
func (*WithdrawOnchain) Unmarshal ¶
func (m *WithdrawOnchain) Unmarshal(dAtA []byte) error
func (*WithdrawOnchain) XXX_DiscardUnknown ¶
func (m *WithdrawOnchain) XXX_DiscardUnknown()
func (*WithdrawOnchain) XXX_Marshal ¶
func (m *WithdrawOnchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawOnchain) XXX_Merge ¶
func (m *WithdrawOnchain) XXX_Merge(src proto.Message)
func (*WithdrawOnchain) XXX_Size ¶
func (m *WithdrawOnchain) XXX_Size() int
func (*WithdrawOnchain) XXX_Unmarshal ¶
func (m *WithdrawOnchain) XXX_Unmarshal(b []byte) error
type WithdrawReq ¶
type WithdrawReq struct { // if set, user refund src transfer id XferId string `protobuf:"bytes,1,opt,name=xfer_id,json=xferId,proto3" json:"xfer_id,omitempty"` // lp withdraw, only set if xfer_id is empty Withdraws []*WithdrawLq `protobuf:"bytes,2,rep,name=withdraws,proto3" json:"withdraws,omitempty"` ExitChainId uint64 `protobuf:"varint,3,opt,name=exit_chain_id,json=exitChainId,proto3" json:"exit_chain_id,omitempty"` // per user unique request id. generated by client, duplicated req_id will be ignored ReqId uint64 `protobuf:"varint,4,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` WithdrawType WithdrawType `` /* 131-byte string literal not displayed */ }
func (*WithdrawReq) Descriptor ¶
func (*WithdrawReq) Descriptor() ([]byte, []int)
func (*WithdrawReq) GetExitChainId ¶
func (m *WithdrawReq) GetExitChainId() uint64
func (*WithdrawReq) GetReqId ¶
func (m *WithdrawReq) GetReqId() uint64
func (*WithdrawReq) GetWithdrawType ¶
func (m *WithdrawReq) GetWithdrawType() WithdrawType
func (*WithdrawReq) GetWithdraws ¶
func (m *WithdrawReq) GetWithdraws() []*WithdrawLq
func (*WithdrawReq) GetXferId ¶
func (m *WithdrawReq) GetXferId() string
func (*WithdrawReq) Marshal ¶
func (m *WithdrawReq) Marshal() (dAtA []byte, err error)
func (*WithdrawReq) MarshalToSizedBuffer ¶
func (m *WithdrawReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawReq) ProtoMessage ¶
func (*WithdrawReq) ProtoMessage()
func (*WithdrawReq) Reset ¶
func (m *WithdrawReq) Reset()
func (*WithdrawReq) Size ¶
func (m *WithdrawReq) Size() (n int)
func (*WithdrawReq) String ¶
func (m *WithdrawReq) String() string
func (*WithdrawReq) Unmarshal ¶
func (m *WithdrawReq) Unmarshal(dAtA []byte) error
func (*WithdrawReq) XXX_DiscardUnknown ¶
func (m *WithdrawReq) XXX_DiscardUnknown()
func (*WithdrawReq) XXX_Marshal ¶
func (m *WithdrawReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawReq) XXX_Merge ¶
func (m *WithdrawReq) XXX_Merge(src proto.Message)
func (*WithdrawReq) XXX_Size ¶
func (m *WithdrawReq) XXX_Size() int
func (*WithdrawReq) XXX_Unmarshal ¶
func (m *WithdrawReq) XXX_Unmarshal(b []byte) error
type WithdrawStatus ¶
type WithdrawStatus int32
const ( WithdrawStatus_WD_UNKNOWN WithdrawStatus = 0 // user for withdraw: after calling withdraw api // relayer for add: monitored add event WithdrawStatus_WD_WAITING_FOR_SGN WithdrawStatus = 1 WithdrawStatus_WD_WAITING_FOR_LP WithdrawStatus = 2 WithdrawStatus_WD_SUBMITTING WithdrawStatus = 3 WithdrawStatus_WD_COMPLETED WithdrawStatus = 4 // user for add: check if tx reverted when shown status is WD_SUBMITTING // x for withdraw: sgn rejected WithdrawStatus_WD_FAILED WithdrawStatus = 5 WithdrawStatus_WD_DELAYED WithdrawStatus = 6 )
func (WithdrawStatus) EnumDescriptor ¶
func (WithdrawStatus) EnumDescriptor() ([]byte, []int)
func (WithdrawStatus) String ¶
func (x WithdrawStatus) String() string
type WithdrawType ¶
type WithdrawType int32
WithdrawType enumerates the withdraw types.
const ( RemoveLiquidity WithdrawType = 0 RefundTransfer WithdrawType = 1 ContractRemoveLiquidity WithdrawType = 4 )
func (WithdrawType) EnumDescriptor ¶
func (WithdrawType) EnumDescriptor() ([]byte, []int)
func (WithdrawType) String ¶
func (x WithdrawType) String() string
type XferRelay ¶
type XferRelay struct { Relay []byte `protobuf:"bytes,1,opt,name=relay,proto3" json:"relay,omitempty"` // each sgn node send SendMySig and x/cbridge add to sigs, // NOTE sigs need to be sorted by recovered signer address SortedSigs []*AddrSig `protobuf:"bytes,2,rep,name=sorted_sigs,json=sortedSigs,proto3" json:"sorted_sigs,omitempty"` LastReqTime int64 `protobuf:"varint,3,opt,name=last_req_time,json=lastReqTime,proto3" json:"last_req_time,omitempty"` PercFee []byte `protobuf:"bytes,4,opt,name=perc_fee,json=percFee,proto3" json:"perc_fee,omitempty"` BaseFee []byte `protobuf:"bytes,5,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"` }
saved and updated when new sig is added
func (*XferRelay) Descriptor ¶
func (*XferRelay) GetBaseFee ¶
func (*XferRelay) GetLastReqTime ¶
func (*XferRelay) GetPercFee ¶
func (*XferRelay) GetSortedSigs ¶
func (*XferRelay) GetSortedSigsBytes ¶
func (*XferRelay) MarshalToSizedBuffer ¶
func (*XferRelay) ProtoMessage ¶
func (*XferRelay) ProtoMessage()
func (*XferRelay) SignersStr ¶
func (*XferRelay) XXX_DiscardUnknown ¶
func (m *XferRelay) XXX_DiscardUnknown()
func (*XferRelay) XXX_Marshal ¶
func (*XferRelay) XXX_Unmarshal ¶
type XferStatus ¶
type XferStatus int32
========== x/cbridge kv value types for src transfer id normal status flow: after sgn applied user's Send event, status is OK_TO_RELAY. then after apply Relay event status is SUCCESS can't relay flow: after apply send, status will be BAD_xxx, and there'll be no relay. so user need to InitWithdraw, status becomes refund_requested when sgn apply withdrawDone event, status becomes REFUND_DONE
const ( XferStatus_UNKNOWN XferStatus = 0 // normal flow only has ok then success XferStatus_OK_TO_RELAY XferStatus = 1 XferStatus_SUCCESS XferStatus = 2 // can't relay flow status XferStatus_BAD_LIQUIDITY XferStatus = 3 XferStatus_BAD_SLIPPAGE XferStatus = 4 XferStatus_BAD_TOKEN XferStatus = 5 // refund, using withdraw flow XferStatus_REFUND_REQUESTED XferStatus = 6 XferStatus_REFUND_DONE XferStatus = 7 XferStatus_BAD_XFER_DISABLED XferStatus = 8 // come, we should go to refund flow. XferStatus_BAD_DEST_CHAIN XferStatus = 9 XferStatus_EXCEED_MAX_OUT_AMOUNT XferStatus = 10 XferStatus_XFER_DELAYED XferStatus = 11 // delayThreshold XferStatus_BAD_ADDRESS XferStatus = 12 )
func (XferStatus) EnumDescriptor ¶
func (XferStatus) EnumDescriptor() ([]byte, []int)
func (XferStatus) String ¶
func (x XferStatus) String() string