Documentation ¶
Overview ¶
Please put all the test related function to here
Index ¶
- Constants
- Variables
- func GetCurrentVersion() semver.Version
- func GetRandomBCHAddress() common.Address
- func GetRandomBTCAddress() common.Address
- func GetRandomBech32Addr() cosmos.AccAddress
- func GetRandomBech32ConsensusPubKey() string
- func GetRandomDOGEAddress() common.Address
- func GetRandomETHAddress() common.Address
- func GetRandomGAIAAddress() common.Address
- func GetRandomLTCAddress() common.Address
- func GetRandomPubKey() common.PubKey
- func GetRandomPubKeySet() common.PubKeySet
- func GetRandomRUNEAddress() common.Address
- func GetRandomTHORAddress() common.Address
- func GetRandomTx() common.Tx
- func GetRandomTxHash() common.TxID
- func HasMinority(signers, total int) bool
- func HasSimpleMajority(signers, total int) bool
- func HasSuperMajority(signers, total int) bool
- func MakeTestCodec() *codec.LegacyAmino
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func SetupConfigForTest()
- type AffiliateFeeCollector
- func (*AffiliateFeeCollector) Descriptor() ([]byte, []int)
- func (m *AffiliateFeeCollector) GetOwnerAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *AffiliateFeeCollector) Marshal() (dAtA []byte, err error)
- func (m *AffiliateFeeCollector) MarshalTo(dAtA []byte) (int, error)
- func (m *AffiliateFeeCollector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AffiliateFeeCollector) ProtoMessage()
- func (m *AffiliateFeeCollector) Reset()
- func (m *AffiliateFeeCollector) Size() (n int)
- func (m *AffiliateFeeCollector) String() string
- func (m *AffiliateFeeCollector) Unmarshal(dAtA []byte) error
- func (m *AffiliateFeeCollector) XXX_DiscardUnknown()
- func (m *AffiliateFeeCollector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AffiliateFeeCollector) XXX_Merge(src proto.Message)
- func (m *AffiliateFeeCollector) XXX_Size() int
- func (m *AffiliateFeeCollector) XXX_Unmarshal(b []byte) error
- type BanVoter
- func (*BanVoter) Descriptor() ([]byte, []int)
- func (m *BanVoter) GetSigners() []cosmos.AccAddress
- func (m *BanVoter) HasConsensus(nodeAccounts NodeAccounts) bool
- func (m *BanVoter) HasSigned(signer cosmos.AccAddress) bool
- func (m *BanVoter) IsEmpty() bool
- func (m *BanVoter) Marshal() (dAtA []byte, err error)
- func (m *BanVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *BanVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BanVoter) ProtoMessage()
- func (m *BanVoter) Reset()
- func (m *BanVoter) Sign(signer cosmos.AccAddress)
- func (m *BanVoter) Size() (n int)
- func (m *BanVoter) String() string
- func (m *BanVoter) Unmarshal(dAtA []byte) error
- func (m *BanVoter) Valid() error
- func (m *BanVoter) XXX_DiscardUnknown()
- func (m *BanVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BanVoter) XXX_Merge(src proto.Message)
- func (m *BanVoter) XXX_Size() int
- func (m *BanVoter) XXX_Unmarshal(b []byte) error
- type Blame
- func (*Blame) Descriptor() ([]byte, []int)
- func (m *Blame) IsEmpty() bool
- func (m *Blame) Marshal() (dAtA []byte, err error)
- func (m *Blame) MarshalTo(dAtA []byte) (int, error)
- func (m *Blame) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Blame) ProtoMessage()
- func (m *Blame) Reset()
- func (m *Blame) Size() (n int)
- func (m *Blame) String() string
- func (m *Blame) Unmarshal(dAtA []byte) error
- func (m *Blame) XXX_DiscardUnknown()
- func (m *Blame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Blame) XXX_Merge(src proto.Message)
- func (m *Blame) XXX_Size() int
- func (m *Blame) XXX_Unmarshal(b []byte) error
- type BondProvider
- func (*BondProvider) Descriptor() ([]byte, []int)
- func (m *BondProvider) IsEmpty() bool
- func (m *BondProvider) Marshal() (dAtA []byte, err error)
- func (m *BondProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *BondProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondProvider) ProtoMessage()
- func (m *BondProvider) Reset()
- func (m *BondProvider) Size() (n int)
- func (this *BondProvider) String() string
- func (m *BondProvider) Unmarshal(dAtA []byte) error
- func (m *BondProvider) XXX_DiscardUnknown()
- func (m *BondProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondProvider) XXX_Merge(src proto.Message)
- func (m *BondProvider) XXX_Size() int
- func (m *BondProvider) XXX_Unmarshal(b []byte) error
- type BondProviders
- func (bp *BondProviders) Adjust(nodeBond cosmos.Uint)
- func (bp *BondProviders) Bond(bond cosmos.Uint, acc cosmos.AccAddress)
- func (*BondProviders) Descriptor() ([]byte, []int)
- func (bp *BondProviders) Get(acc cosmos.AccAddress) BondProvider
- func (bp *BondProviders) Has(acc cosmos.AccAddress) bool
- func (bp *BondProviders) HasProviderBonded(opBondAddress cosmos.AccAddress) bool
- func (m *BondProviders) Marshal() (dAtA []byte, err error)
- func (m *BondProviders) MarshalTo(dAtA []byte) (int, error)
- func (m *BondProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BondProviders) ProtoMessage()
- func (bp *BondProviders) Remove(acc cosmos.AccAddress) bool
- func (m *BondProviders) Reset()
- func (m *BondProviders) Size() (n int)
- func (this *BondProviders) String() string
- func (bp *BondProviders) Unbond(bond cosmos.Uint, acc cosmos.AccAddress)
- func (m *BondProviders) Unmarshal(dAtA []byte) error
- func (m *BondProviders) XXX_DiscardUnknown()
- func (m *BondProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondProviders) XXX_Merge(src proto.Message)
- func (m *BondProviders) XXX_Size() int
- func (m *BondProviders) XXX_Unmarshal(b []byte) error
- type BondType
- type ChainContract
- func (*ChainContract) Descriptor() ([]byte, []int)
- func (m *ChainContract) IsEmpty() bool
- func (m *ChainContract) Marshal() (dAtA []byte, err error)
- func (m *ChainContract) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainContract) ProtoMessage()
- func (m *ChainContract) Reset()
- func (m *ChainContract) Size() (n int)
- func (m *ChainContract) String() string
- func (m *ChainContract) Unmarshal(dAtA []byte) error
- func (m *ChainContract) XXX_DiscardUnknown()
- func (m *ChainContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainContract) XXX_Merge(src proto.Message)
- func (m *ChainContract) XXX_Size() int
- func (m *ChainContract) XXX_Unmarshal(b []byte) error
- type ErrataTxVoter
- func (*ErrataTxVoter) Descriptor() ([]byte, []int)
- func (m *ErrataTxVoter) Empty() bool
- func (m *ErrataTxVoter) GetSigners() []cosmos.AccAddress
- func (m *ErrataTxVoter) HasConsensus(nas NodeAccounts) bool
- func (m *ErrataTxVoter) HasSigned(signer cosmos.AccAddress) bool
- func (m *ErrataTxVoter) Marshal() (dAtA []byte, err error)
- func (m *ErrataTxVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *ErrataTxVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ErrataTxVoter) ProtoMessage()
- func (m *ErrataTxVoter) Reset()
- func (m *ErrataTxVoter) Sign(signer cosmos.AccAddress) bool
- func (m *ErrataTxVoter) Size() (n int)
- func (m *ErrataTxVoter) String() string
- func (m *ErrataTxVoter) Unmarshal(dAtA []byte) error
- func (m *ErrataTxVoter) XXX_DiscardUnknown()
- func (m *ErrataTxVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrataTxVoter) XXX_Merge(src proto.Message)
- func (m *ErrataTxVoter) XXX_Size() int
- func (m *ErrataTxVoter) XXX_Unmarshal(b []byte) error
- type EventAddLiquidity
- func (*EventAddLiquidity) Descriptor() ([]byte, []int)
- func (m *EventAddLiquidity) Events() (cosmos.Events, error)
- func (m *EventAddLiquidity) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventAddLiquidity) GetAssetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventAddLiquidity) GetPool() common.Asset
- func (m *EventAddLiquidity) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventAddLiquidity) GetRuneTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventAddLiquidity) Marshal() (dAtA []byte, err error)
- func (m *EventAddLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAddLiquidity) ProtoMessage()
- func (m *EventAddLiquidity) Reset()
- func (m *EventAddLiquidity) Size() (n int)
- func (m *EventAddLiquidity) String() string
- func (m *EventAddLiquidity) Type() string
- func (m *EventAddLiquidity) Unmarshal(dAtA []byte) error
- func (m *EventAddLiquidity) XXX_DiscardUnknown()
- func (m *EventAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAddLiquidity) XXX_Merge(src proto.Message)
- func (m *EventAddLiquidity) XXX_Size() int
- func (m *EventAddLiquidity) XXX_Unmarshal(b []byte) error
- type EventBond
- func (*EventBond) Descriptor() ([]byte, []int)
- func (m *EventBond) Events() (cosmos.Events, error)
- func (m *EventBond) GetBondAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *EventBond) GetBondType() BondType
- func (m *EventBond) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *EventBond) GetTxIn() common.Tx
- func (m *EventBond) Marshal() (dAtA []byte, err error)
- func (m *EventBond) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBond) ProtoMessage()
- func (m *EventBond) Reset()
- func (m *EventBond) Size() (n int)
- func (m *EventBond) String() string
- func (m *EventBond) Type() string
- func (m *EventBond) Unmarshal(dAtA []byte) error
- func (m *EventBond) XXX_DiscardUnknown()
- func (m *EventBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBond) XXX_Merge(src proto.Message)
- func (m *EventBond) XXX_Size() int
- func (m *EventBond) XXX_Unmarshal(b []byte) error
- type EventDonate
- func (*EventDonate) Descriptor() ([]byte, []int)
- func (m *EventDonate) Events() (cosmos.Events, error)
- func (m *EventDonate) GetInTx() common.Tx
- func (m *EventDonate) GetPool() common.Asset
- func (m *EventDonate) Marshal() (dAtA []byte, err error)
- func (m *EventDonate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDonate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDonate) ProtoMessage()
- func (m *EventDonate) Reset()
- func (m *EventDonate) Size() (n int)
- func (m *EventDonate) String() string
- func (m *EventDonate) Type() string
- func (m *EventDonate) Unmarshal(dAtA []byte) error
- func (m *EventDonate) XXX_DiscardUnknown()
- func (m *EventDonate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDonate) XXX_Merge(src proto.Message)
- func (m *EventDonate) XXX_Size() int
- func (m *EventDonate) XXX_Unmarshal(b []byte) error
- type EventErrata
- func (*EventErrata) Descriptor() ([]byte, []int)
- func (m *EventErrata) Events() (cosmos.Events, error)
- func (m *EventErrata) GetPools() PoolMods
- func (m *EventErrata) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventErrata) Marshal() (dAtA []byte, err error)
- func (m *EventErrata) MarshalTo(dAtA []byte) (int, error)
- func (m *EventErrata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventErrata) ProtoMessage()
- func (m *EventErrata) Reset()
- func (m *EventErrata) Size() (n int)
- func (m *EventErrata) String() string
- func (m *EventErrata) Type() string
- func (m *EventErrata) Unmarshal(dAtA []byte) error
- func (m *EventErrata) XXX_DiscardUnknown()
- func (m *EventErrata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventErrata) XXX_Merge(src proto.Message)
- func (m *EventErrata) XXX_Size() int
- func (m *EventErrata) XXX_Unmarshal(b []byte) error
- type EventFee
- func (*EventFee) Descriptor() ([]byte, []int)
- func (m *EventFee) Events() (cosmos.Events, error)
- func (m *EventFee) GetFee() common.Fee
- func (m *EventFee) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventFee) Marshal() (dAtA []byte, err error)
- func (m *EventFee) MarshalTo(dAtA []byte) (int, error)
- func (m *EventFee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventFee) ProtoMessage()
- func (m *EventFee) Reset()
- func (m *EventFee) Size() (n int)
- func (m *EventFee) String() string
- func (m *EventFee) Type() string
- func (m *EventFee) Unmarshal(dAtA []byte) error
- func (m *EventFee) XXX_DiscardUnknown()
- func (m *EventFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventFee) XXX_Merge(src proto.Message)
- func (m *EventFee) XXX_Size() int
- func (m *EventFee) XXX_Unmarshal(b []byte) error
- type EventGas
- func (*EventGas) Descriptor() ([]byte, []int)
- func (m *EventGas) Events() (cosmos.Events, error)
- func (m *EventGas) GetPools() []GasPool
- func (m *EventGas) Marshal() (dAtA []byte, err error)
- func (m *EventGas) MarshalTo(dAtA []byte) (int, error)
- func (m *EventGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventGas) ProtoMessage()
- func (m *EventGas) Reset()
- func (m *EventGas) Size() (n int)
- func (m *EventGas) String() string
- func (m *EventGas) Type() string
- func (m *EventGas) Unmarshal(dAtA []byte) error
- func (m *EventGas) UpsertGasPool(pool GasPool)
- func (m *EventGas) XXX_DiscardUnknown()
- func (m *EventGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventGas) XXX_Merge(src proto.Message)
- func (m *EventGas) XXX_Size() int
- func (m *EventGas) XXX_Unmarshal(b []byte) error
- type EventLimitOrder
- func (*EventLimitOrder) Descriptor() ([]byte, []int)
- func (m *EventLimitOrder) Events() (cosmos.Events, error)
- func (m *EventLimitOrder) GetSource() common.Coin
- func (m *EventLimitOrder) GetTarget() common.Coin
- func (m *EventLimitOrder) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *EventLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLimitOrder) ProtoMessage()
- func (m *EventLimitOrder) Reset()
- func (m *EventLimitOrder) Size() (n int)
- func (m *EventLimitOrder) String() string
- func (m *EventLimitOrder) Type() string
- func (m *EventLimitOrder) Unmarshal(dAtA []byte) error
- func (m *EventLimitOrder) XXX_DiscardUnknown()
- func (m *EventLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLimitOrder) XXX_Merge(src proto.Message)
- func (m *EventLimitOrder) XXX_Size() int
- func (m *EventLimitOrder) XXX_Unmarshal(b []byte) error
- type EventLoanOpen
- func (*EventLoanOpen) Descriptor() ([]byte, []int)
- func (m *EventLoanOpen) Events() (cosmos.Events, error)
- func (m *EventLoanOpen) GetCollateralAsset() common.Asset
- func (m *EventLoanOpen) GetOwner() gitlab_com_thorchain_thornode_common.Address
- func (m *EventLoanOpen) GetTargetAsset() common.Asset
- func (m *EventLoanOpen) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventLoanOpen) Marshal() (dAtA []byte, err error)
- func (m *EventLoanOpen) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLoanOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLoanOpen) ProtoMessage()
- func (m *EventLoanOpen) Reset()
- func (m *EventLoanOpen) Size() (n int)
- func (m *EventLoanOpen) String() string
- func (m *EventLoanOpen) Type() string
- func (m *EventLoanOpen) Unmarshal(dAtA []byte) error
- func (m *EventLoanOpen) XXX_DiscardUnknown()
- func (m *EventLoanOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLoanOpen) XXX_Merge(src proto.Message)
- func (m *EventLoanOpen) XXX_Size() int
- func (m *EventLoanOpen) XXX_Unmarshal(b []byte) error
- type EventLoanRepayment
- func (*EventLoanRepayment) Descriptor() ([]byte, []int)
- func (m *EventLoanRepayment) Events() (cosmos.Events, error)
- func (m *EventLoanRepayment) GetCollateralAsset() common.Asset
- func (m *EventLoanRepayment) GetOwner() gitlab_com_thorchain_thornode_common.Address
- func (m *EventLoanRepayment) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventLoanRepayment) Marshal() (dAtA []byte, err error)
- func (m *EventLoanRepayment) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLoanRepayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLoanRepayment) ProtoMessage()
- func (m *EventLoanRepayment) Reset()
- func (m *EventLoanRepayment) Size() (n int)
- func (m *EventLoanRepayment) String() string
- func (m *EventLoanRepayment) Type() string
- func (m *EventLoanRepayment) Unmarshal(dAtA []byte) error
- func (m *EventLoanRepayment) XXX_DiscardUnknown()
- func (m *EventLoanRepayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLoanRepayment) XXX_Merge(src proto.Message)
- func (m *EventLoanRepayment) XXX_Size() int
- func (m *EventLoanRepayment) XXX_Unmarshal(b []byte) error
- type EventMintBurn
- func (*EventMintBurn) Descriptor() ([]byte, []int)
- func (m *EventMintBurn) Events() (cosmos.Events, error)
- func (m *EventMintBurn) GetDenom() string
- func (m *EventMintBurn) GetReason() string
- func (m *EventMintBurn) GetSupply() MintBurnSupplyType
- func (m *EventMintBurn) Marshal() (dAtA []byte, err error)
- func (m *EventMintBurn) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMintBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMintBurn) ProtoMessage()
- func (m *EventMintBurn) Reset()
- func (m *EventMintBurn) Size() (n int)
- func (m *EventMintBurn) String() string
- func (m *EventMintBurn) Type() string
- func (m *EventMintBurn) Unmarshal(dAtA []byte) error
- func (m *EventMintBurn) XXX_DiscardUnknown()
- func (m *EventMintBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMintBurn) XXX_Merge(src proto.Message)
- func (m *EventMintBurn) XXX_Size() int
- func (m *EventMintBurn) XXX_Unmarshal(b []byte) error
- type EventOutbound
- func (*EventOutbound) Descriptor() ([]byte, []int)
- func (m *EventOutbound) Events() (cosmos.Events, error)
- func (m *EventOutbound) GetInTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventOutbound) GetTx() common.Tx
- func (m *EventOutbound) Marshal() (dAtA []byte, err error)
- func (m *EventOutbound) MarshalTo(dAtA []byte) (int, error)
- func (m *EventOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventOutbound) ProtoMessage()
- func (m *EventOutbound) Reset()
- func (m *EventOutbound) Size() (n int)
- func (m *EventOutbound) String() string
- func (m *EventOutbound) Type() string
- func (m *EventOutbound) Unmarshal(dAtA []byte) error
- func (m *EventOutbound) XXX_DiscardUnknown()
- func (m *EventOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventOutbound) XXX_Merge(src proto.Message)
- func (m *EventOutbound) XXX_Size() int
- func (m *EventOutbound) XXX_Unmarshal(b []byte) error
- type EventPendingLiquidity
- func (*EventPendingLiquidity) Descriptor() ([]byte, []int)
- func (m *EventPendingLiquidity) Events() (cosmos.Events, error)
- func (m *EventPendingLiquidity) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventPendingLiquidity) GetAssetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventPendingLiquidity) GetPendingType() PendingLiquidityType
- func (m *EventPendingLiquidity) GetPool() common.Asset
- func (m *EventPendingLiquidity) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventPendingLiquidity) GetRuneTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventPendingLiquidity) Marshal() (dAtA []byte, err error)
- func (m *EventPendingLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPendingLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPendingLiquidity) ProtoMessage()
- func (m *EventPendingLiquidity) Reset()
- func (m *EventPendingLiquidity) Size() (n int)
- func (m *EventPendingLiquidity) String() string
- func (m *EventPendingLiquidity) Type() string
- func (m *EventPendingLiquidity) Unmarshal(dAtA []byte) error
- func (m *EventPendingLiquidity) XXX_DiscardUnknown()
- func (m *EventPendingLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPendingLiquidity) XXX_Merge(src proto.Message)
- func (m *EventPendingLiquidity) XXX_Size() int
- func (m *EventPendingLiquidity) XXX_Unmarshal(b []byte) error
- type EventPool
- func (*EventPool) Descriptor() ([]byte, []int)
- func (m *EventPool) Events() (cosmos.Events, error)
- func (m *EventPool) GetPool() common.Asset
- func (m *EventPool) GetStatus() PoolStatus
- func (m *EventPool) Marshal() (dAtA []byte, err error)
- func (m *EventPool) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPool) ProtoMessage()
- func (m *EventPool) Reset()
- func (m *EventPool) Size() (n int)
- func (m *EventPool) String() string
- func (m *EventPool) Type() string
- func (m *EventPool) Unmarshal(dAtA []byte) error
- func (m *EventPool) XXX_DiscardUnknown()
- func (m *EventPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPool) XXX_Merge(src proto.Message)
- func (m *EventPool) XXX_Size() int
- func (m *EventPool) XXX_Unmarshal(b []byte) error
- type EventPoolBalanceChanged
- func (*EventPoolBalanceChanged) Descriptor() ([]byte, []int)
- func (m *EventPoolBalanceChanged) Events() (cosmos.Events, error)
- func (m *EventPoolBalanceChanged) GetPoolChange() PoolMod
- func (m *EventPoolBalanceChanged) GetReason() string
- func (m *EventPoolBalanceChanged) Marshal() (dAtA []byte, err error)
- func (m *EventPoolBalanceChanged) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPoolBalanceChanged) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPoolBalanceChanged) ProtoMessage()
- func (m *EventPoolBalanceChanged) Reset()
- func (m *EventPoolBalanceChanged) Size() (n int)
- func (m *EventPoolBalanceChanged) String() string
- func (m *EventPoolBalanceChanged) Type() string
- func (m *EventPoolBalanceChanged) Unmarshal(dAtA []byte) error
- func (m *EventPoolBalanceChanged) XXX_DiscardUnknown()
- func (m *EventPoolBalanceChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPoolBalanceChanged) XXX_Merge(src proto.Message)
- func (m *EventPoolBalanceChanged) XXX_Size() int
- func (m *EventPoolBalanceChanged) XXX_Unmarshal(b []byte) error
- type EventRUNEPoolDeposit
- func (*EventRUNEPoolDeposit) Descriptor() ([]byte, []int)
- func (m *EventRUNEPoolDeposit) Events() (cosmos.Events, error)
- func (m *EventRUNEPoolDeposit) GetRuneAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *EventRUNEPoolDeposit) GetTxId() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventRUNEPoolDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventRUNEPoolDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRUNEPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRUNEPoolDeposit) ProtoMessage()
- func (m *EventRUNEPoolDeposit) Reset()
- func (m *EventRUNEPoolDeposit) Size() (n int)
- func (m *EventRUNEPoolDeposit) String() string
- func (m *EventRUNEPoolDeposit) Type() string
- func (m *EventRUNEPoolDeposit) Unmarshal(dAtA []byte) error
- func (m *EventRUNEPoolDeposit) XXX_DiscardUnknown()
- func (m *EventRUNEPoolDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRUNEPoolDeposit) XXX_Merge(src proto.Message)
- func (m *EventRUNEPoolDeposit) XXX_Size() int
- func (m *EventRUNEPoolDeposit) XXX_Unmarshal(b []byte) error
- type EventRUNEPoolWithdraw
- func (*EventRUNEPoolWithdraw) Descriptor() ([]byte, []int)
- func (m *EventRUNEPoolWithdraw) Events() (cosmos.Events, error)
- func (m *EventRUNEPoolWithdraw) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventRUNEPoolWithdraw) GetAffiliateBasisPts() int64
- func (m *EventRUNEPoolWithdraw) GetBasisPoints() int64
- func (m *EventRUNEPoolWithdraw) GetRuneAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *EventRUNEPoolWithdraw) GetTxId() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventRUNEPoolWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventRUNEPoolWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRUNEPoolWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRUNEPoolWithdraw) ProtoMessage()
- func (m *EventRUNEPoolWithdraw) Reset()
- func (m *EventRUNEPoolWithdraw) Size() (n int)
- func (m *EventRUNEPoolWithdraw) String() string
- func (m *EventRUNEPoolWithdraw) Type() string
- func (m *EventRUNEPoolWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventRUNEPoolWithdraw) XXX_DiscardUnknown()
- func (m *EventRUNEPoolWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRUNEPoolWithdraw) XXX_Merge(src proto.Message)
- func (m *EventRUNEPoolWithdraw) XXX_Size() int
- func (m *EventRUNEPoolWithdraw) XXX_Unmarshal(b []byte) error
- type EventRefund
- func (*EventRefund) Descriptor() ([]byte, []int)
- func (m *EventRefund) Events() (cosmos.Events, error)
- func (m *EventRefund) GetCode() uint32
- func (m *EventRefund) GetFee() common.Fee
- func (m *EventRefund) GetInTx() common.Tx
- func (m *EventRefund) GetReason() string
- func (m *EventRefund) Marshal() (dAtA []byte, err error)
- func (m *EventRefund) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRefund) ProtoMessage()
- func (m *EventRefund) Reset()
- func (m *EventRefund) Size() (n int)
- func (m *EventRefund) String() string
- func (m *EventRefund) Type() string
- func (m *EventRefund) Unmarshal(dAtA []byte) error
- func (m *EventRefund) XXX_DiscardUnknown()
- func (m *EventRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRefund) XXX_Merge(src proto.Message)
- func (m *EventRefund) XXX_Size() int
- func (m *EventRefund) XXX_Unmarshal(b []byte) error
- type EventReserve
- func (*EventReserve) Descriptor() ([]byte, []int)
- func (m *EventReserve) Events() (cosmos.Events, error)
- func (m *EventReserve) GetInTx() common.Tx
- func (m *EventReserve) GetReserveContributor() ReserveContributor
- func (m *EventReserve) Marshal() (dAtA []byte, err error)
- func (m *EventReserve) MarshalTo(dAtA []byte) (int, error)
- func (m *EventReserve) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventReserve) ProtoMessage()
- func (m *EventReserve) Reset()
- func (m *EventReserve) Size() (n int)
- func (m *EventReserve) String() string
- func (m *EventReserve) Type() string
- func (m *EventReserve) Unmarshal(dAtA []byte) error
- func (m *EventReserve) XXX_DiscardUnknown()
- func (m *EventReserve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventReserve) XXX_Merge(src proto.Message)
- func (m *EventReserve) XXX_Size() int
- func (m *EventReserve) XXX_Unmarshal(b []byte) error
- type EventRewards
- func (*EventRewards) Descriptor() ([]byte, []int)
- func (m *EventRewards) Events() (cosmos.Events, error)
- func (m *EventRewards) GetPoolRewards() []PoolAmt
- func (m *EventRewards) Marshal() (dAtA []byte, err error)
- func (m *EventRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRewards) ProtoMessage()
- func (m *EventRewards) Reset()
- func (m *EventRewards) Size() (n int)
- func (m *EventRewards) String() string
- func (m *EventRewards) Type() string
- func (m *EventRewards) Unmarshal(dAtA []byte) error
- func (m *EventRewards) XXX_DiscardUnknown()
- func (m *EventRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRewards) XXX_Merge(src proto.Message)
- func (m *EventRewards) XXX_Size() int
- func (m *EventRewards) XXX_Unmarshal(b []byte) error
- type EventScheduledOutbound
- func (*EventScheduledOutbound) Descriptor() ([]byte, []int)
- func (m *EventScheduledOutbound) Events() (cosmos.Events, error)
- func (m *EventScheduledOutbound) GetOutTx() TxOutItem
- func (m *EventScheduledOutbound) Marshal() (dAtA []byte, err error)
- func (m *EventScheduledOutbound) MarshalTo(dAtA []byte) (int, error)
- func (m *EventScheduledOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventScheduledOutbound) ProtoMessage()
- func (m *EventScheduledOutbound) Reset()
- func (m *EventScheduledOutbound) Size() (n int)
- func (m *EventScheduledOutbound) String() string
- func (m *EventScheduledOutbound) Type() string
- func (m *EventScheduledOutbound) Unmarshal(dAtA []byte) error
- func (m *EventScheduledOutbound) XXX_DiscardUnknown()
- func (m *EventScheduledOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventScheduledOutbound) XXX_Merge(src proto.Message)
- func (m *EventScheduledOutbound) XXX_Size() int
- func (m *EventScheduledOutbound) XXX_Unmarshal(b []byte) error
- type EventSecurity
- func (*EventSecurity) Descriptor() ([]byte, []int)
- func (m *EventSecurity) Events() (cosmos.Events, error)
- func (m *EventSecurity) GetMsg() string
- func (m *EventSecurity) GetTx() common.Tx
- func (m *EventSecurity) Marshal() (dAtA []byte, err error)
- func (m *EventSecurity) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSecurity) ProtoMessage()
- func (m *EventSecurity) Reset()
- func (m *EventSecurity) Size() (n int)
- func (m *EventSecurity) String() string
- func (m *EventSecurity) Type() string
- func (m *EventSecurity) Unmarshal(dAtA []byte) error
- func (m *EventSecurity) XXX_DiscardUnknown()
- func (m *EventSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSecurity) XXX_Merge(src proto.Message)
- func (m *EventSecurity) XXX_Size() int
- func (m *EventSecurity) XXX_Unmarshal(b []byte) error
- type EventSetMimir
- func (*EventSetMimir) Descriptor() ([]byte, []int)
- func (m *EventSetMimir) Events() (cosmos.Events, error)
- func (m *EventSetMimir) GetKey() string
- func (m *EventSetMimir) GetValue() string
- func (m *EventSetMimir) Marshal() (dAtA []byte, err error)
- func (m *EventSetMimir) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSetMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSetMimir) ProtoMessage()
- func (m *EventSetMimir) Reset()
- func (m *EventSetMimir) Size() (n int)
- func (m *EventSetMimir) String() string
- func (m *EventSetMimir) Type() string
- func (m *EventSetMimir) Unmarshal(dAtA []byte) error
- func (m *EventSetMimir) XXX_DiscardUnknown()
- func (m *EventSetMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSetMimir) XXX_Merge(src proto.Message)
- func (m *EventSetMimir) XXX_Size() int
- func (m *EventSetMimir) XXX_Unmarshal(b []byte) error
- type EventSetNodeMimir
- func (*EventSetNodeMimir) Descriptor() ([]byte, []int)
- func (m *EventSetNodeMimir) Events() (cosmos.Events, error)
- func (m *EventSetNodeMimir) GetAddress() string
- func (m *EventSetNodeMimir) GetKey() string
- func (m *EventSetNodeMimir) GetValue() string
- func (m *EventSetNodeMimir) Marshal() (dAtA []byte, err error)
- func (m *EventSetNodeMimir) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSetNodeMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSetNodeMimir) ProtoMessage()
- func (m *EventSetNodeMimir) Reset()
- func (m *EventSetNodeMimir) Size() (n int)
- func (m *EventSetNodeMimir) String() string
- func (m *EventSetNodeMimir) Type() string
- func (m *EventSetNodeMimir) Unmarshal(dAtA []byte) error
- func (m *EventSetNodeMimir) XXX_DiscardUnknown()
- func (m *EventSetNodeMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSetNodeMimir) XXX_Merge(src proto.Message)
- func (m *EventSetNodeMimir) XXX_Size() int
- func (m *EventSetNodeMimir) XXX_Unmarshal(b []byte) error
- type EventSlash
- func (*EventSlash) Descriptor() ([]byte, []int)
- func (m *EventSlash) Events() (cosmos.Events, error)
- func (m *EventSlash) GetPool() common.Asset
- func (m *EventSlash) GetSlashAmount() []PoolAmt
- func (m *EventSlash) Marshal() (dAtA []byte, err error)
- func (m *EventSlash) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSlash) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSlash) ProtoMessage()
- func (m *EventSlash) Reset()
- func (m *EventSlash) Size() (n int)
- func (m *EventSlash) String() string
- func (m *EventSlash) Type() string
- func (m *EventSlash) Unmarshal(dAtA []byte) error
- func (m *EventSlash) XXX_DiscardUnknown()
- func (m *EventSlash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSlash) XXX_Merge(src proto.Message)
- func (m *EventSlash) XXX_Size() int
- func (m *EventSlash) XXX_Unmarshal(b []byte) error
- type EventSlashPoint
- func (*EventSlashPoint) Descriptor() ([]byte, []int)
- func (m *EventSlashPoint) Events() (cosmos.Events, error)
- func (m *EventSlashPoint) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *EventSlashPoint) GetReason() string
- func (m *EventSlashPoint) GetSlashPoints() int64
- func (m *EventSlashPoint) Marshal() (dAtA []byte, err error)
- func (m *EventSlashPoint) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSlashPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSlashPoint) ProtoMessage()
- func (m *EventSlashPoint) Reset()
- func (m *EventSlashPoint) Size() (n int)
- func (m *EventSlashPoint) String() string
- func (m *EventSlashPoint) Type() string
- func (m *EventSlashPoint) Unmarshal(dAtA []byte) error
- func (m *EventSlashPoint) XXX_DiscardUnknown()
- func (m *EventSlashPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSlashPoint) XXX_Merge(src proto.Message)
- func (m *EventSlashPoint) XXX_Size() int
- func (m *EventSlashPoint) XXX_Unmarshal(b []byte) error
- type EventStreamingSwap
- func (*EventStreamingSwap) Descriptor() ([]byte, []int)
- func (m *EventStreamingSwap) Events() (cosmos.Events, error)
- func (m *EventStreamingSwap) GetCount() uint64
- func (m *EventStreamingSwap) GetDeposit() common.Coin
- func (m *EventStreamingSwap) GetFailedSwapReasons() []string
- func (m *EventStreamingSwap) GetFailedSwaps() []uint64
- func (m *EventStreamingSwap) GetIn() common.Coin
- func (m *EventStreamingSwap) GetInterval() uint64
- func (m *EventStreamingSwap) GetLastHeight() int64
- func (m *EventStreamingSwap) GetOut() common.Coin
- func (m *EventStreamingSwap) GetQuantity() uint64
- func (m *EventStreamingSwap) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventStreamingSwap) Marshal() (dAtA []byte, err error)
- func (m *EventStreamingSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStreamingSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStreamingSwap) ProtoMessage()
- func (m *EventStreamingSwap) Reset()
- func (m *EventStreamingSwap) Size() (n int)
- func (m *EventStreamingSwap) String() string
- func (m *EventStreamingSwap) Type() string
- func (m *EventStreamingSwap) Unmarshal(dAtA []byte) error
- func (m *EventStreamingSwap) XXX_DiscardUnknown()
- func (m *EventStreamingSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStreamingSwap) XXX_Merge(src proto.Message)
- func (m *EventStreamingSwap) XXX_Size() int
- func (m *EventStreamingSwap) XXX_Unmarshal(b []byte) error
- type EventSwap
- func (*EventSwap) Descriptor() ([]byte, []int)
- func (m *EventSwap) Events() (cosmos.Events, error)
- func (m *EventSwap) GetEmitAsset() common.Coin
- func (m *EventSwap) GetInTx() common.Tx
- func (m *EventSwap) GetOutTxs() common.Tx
- func (m *EventSwap) GetPool() common.Asset
- func (m *EventSwap) GetStreamingSwapCount() uint64
- func (m *EventSwap) GetStreamingSwapQuantity() uint64
- func (m *EventSwap) Marshal() (dAtA []byte, err error)
- func (m *EventSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSwap) ProtoMessage()
- func (m *EventSwap) Reset()
- func (m *EventSwap) Size() (n int)
- func (m *EventSwap) String() string
- func (m *EventSwap) Type() string
- func (m *EventSwap) Unmarshal(dAtA []byte) error
- func (m *EventSwap) XXX_DiscardUnknown()
- func (m *EventSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSwap) XXX_Merge(src proto.Message)
- func (m *EventSwap) XXX_Size() int
- func (m *EventSwap) XXX_Unmarshal(b []byte) error
- type EventTHORName
- func (*EventTHORName) Descriptor() ([]byte, []int)
- func (m *EventTHORName) Events() (cosmos.Events, error)
- func (m *EventTHORName) GetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventTHORName) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *EventTHORName) GetExpire() int64
- func (m *EventTHORName) GetName() string
- func (m *EventTHORName) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *EventTHORName) Marshal() (dAtA []byte, err error)
- func (m *EventTHORName) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTHORName) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTHORName) ProtoMessage()
- func (m *EventTHORName) Reset()
- func (m *EventTHORName) Size() (n int)
- func (m *EventTHORName) String() string
- func (m *EventTHORName) Type() string
- func (m *EventTHORName) Unmarshal(dAtA []byte) error
- func (m *EventTHORName) XXX_DiscardUnknown()
- func (m *EventTHORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTHORName) XXX_Merge(src proto.Message)
- func (m *EventTHORName) XXX_Size() int
- func (m *EventTHORName) XXX_Unmarshal(b []byte) error
- type EventTradeAccountDeposit
- func (*EventTradeAccountDeposit) Descriptor() ([]byte, []int)
- func (m *EventTradeAccountDeposit) Events() (cosmos.Events, error)
- func (m *EventTradeAccountDeposit) GetAsset() common.Asset
- func (m *EventTradeAccountDeposit) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventTradeAccountDeposit) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventTradeAccountDeposit) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventTradeAccountDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventTradeAccountDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTradeAccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTradeAccountDeposit) ProtoMessage()
- func (m *EventTradeAccountDeposit) Reset()
- func (m *EventTradeAccountDeposit) Size() (n int)
- func (m *EventTradeAccountDeposit) String() string
- func (m *EventTradeAccountDeposit) Type() string
- func (m *EventTradeAccountDeposit) Unmarshal(dAtA []byte) error
- func (m *EventTradeAccountDeposit) XXX_DiscardUnknown()
- func (m *EventTradeAccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTradeAccountDeposit) XXX_Merge(src proto.Message)
- func (m *EventTradeAccountDeposit) XXX_Size() int
- func (m *EventTradeAccountDeposit) XXX_Unmarshal(b []byte) error
- type EventTradeAccountWithdraw
- func (*EventTradeAccountWithdraw) Descriptor() ([]byte, []int)
- func (m *EventTradeAccountWithdraw) Events() (cosmos.Events, error)
- func (m *EventTradeAccountWithdraw) GetAsset() common.Asset
- func (m *EventTradeAccountWithdraw) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventTradeAccountWithdraw) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *EventTradeAccountWithdraw) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventTradeAccountWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventTradeAccountWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTradeAccountWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTradeAccountWithdraw) ProtoMessage()
- func (m *EventTradeAccountWithdraw) Reset()
- func (m *EventTradeAccountWithdraw) Size() (n int)
- func (m *EventTradeAccountWithdraw) String() string
- func (m *EventTradeAccountWithdraw) Type() string
- func (m *EventTradeAccountWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventTradeAccountWithdraw) XXX_DiscardUnknown()
- func (m *EventTradeAccountWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTradeAccountWithdraw) XXX_Merge(src proto.Message)
- func (m *EventTradeAccountWithdraw) XXX_Size() int
- func (m *EventTradeAccountWithdraw) XXX_Unmarshal(b []byte) error
- type EventTssKeygenFailure
- func (*EventTssKeygenFailure) Descriptor() ([]byte, []int)
- func (m *EventTssKeygenFailure) Events() (cosmos.Events, error)
- func (m *EventTssKeygenFailure) GetBlameNodes() []string
- func (m *EventTssKeygenFailure) GetFailReason() string
- func (m *EventTssKeygenFailure) GetHeight() int64
- func (m *EventTssKeygenFailure) GetIsUnicast() bool
- func (m *EventTssKeygenFailure) GetRound() string
- func (m *EventTssKeygenFailure) Marshal() (dAtA []byte, err error)
- func (m *EventTssKeygenFailure) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTssKeygenFailure) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTssKeygenFailure) ProtoMessage()
- func (m *EventTssKeygenFailure) Reset()
- func (m *EventTssKeygenFailure) Size() (n int)
- func (m *EventTssKeygenFailure) String() string
- func (m *EventTssKeygenFailure) Type() string
- func (m *EventTssKeygenFailure) Unmarshal(dAtA []byte) error
- func (m *EventTssKeygenFailure) XXX_DiscardUnknown()
- func (m *EventTssKeygenFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTssKeygenFailure) XXX_Merge(src proto.Message)
- func (m *EventTssKeygenFailure) XXX_Size() int
- func (m *EventTssKeygenFailure) XXX_Unmarshal(b []byte) error
- type EventTssKeygenMetric
- func (*EventTssKeygenMetric) Descriptor() ([]byte, []int)
- func (m *EventTssKeygenMetric) Events() (cosmos.Events, error)
- func (m *EventTssKeygenMetric) GetMedianDurationMs() int64
- func (m *EventTssKeygenMetric) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
- func (m *EventTssKeygenMetric) Marshal() (dAtA []byte, err error)
- func (m *EventTssKeygenMetric) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTssKeygenMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTssKeygenMetric) ProtoMessage()
- func (m *EventTssKeygenMetric) Reset()
- func (m *EventTssKeygenMetric) Size() (n int)
- func (m *EventTssKeygenMetric) String() string
- func (m *EventTssKeygenMetric) Type() string
- func (m *EventTssKeygenMetric) Unmarshal(dAtA []byte) error
- func (m *EventTssKeygenMetric) XXX_DiscardUnknown()
- func (m *EventTssKeygenMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTssKeygenMetric) XXX_Merge(src proto.Message)
- func (m *EventTssKeygenMetric) XXX_Size() int
- func (m *EventTssKeygenMetric) XXX_Unmarshal(b []byte) error
- type EventTssKeygenSuccess
- func (*EventTssKeygenSuccess) Descriptor() ([]byte, []int)
- func (m *EventTssKeygenSuccess) Events() (cosmos.Events, error)
- func (m *EventTssKeygenSuccess) GetHeight() int64
- func (m *EventTssKeygenSuccess) GetMembers() []string
- func (m *EventTssKeygenSuccess) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
- func (m *EventTssKeygenSuccess) Marshal() (dAtA []byte, err error)
- func (m *EventTssKeygenSuccess) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTssKeygenSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTssKeygenSuccess) ProtoMessage()
- func (m *EventTssKeygenSuccess) Reset()
- func (m *EventTssKeygenSuccess) Size() (n int)
- func (m *EventTssKeygenSuccess) String() string
- func (m *EventTssKeygenSuccess) Type() string
- func (m *EventTssKeygenSuccess) Unmarshal(dAtA []byte) error
- func (m *EventTssKeygenSuccess) XXX_DiscardUnknown()
- func (m *EventTssKeygenSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTssKeygenSuccess) XXX_Merge(src proto.Message)
- func (m *EventTssKeygenSuccess) XXX_Size() int
- func (m *EventTssKeygenSuccess) XXX_Unmarshal(b []byte) error
- type EventTssKeysignMetric
- func (*EventTssKeysignMetric) Descriptor() ([]byte, []int)
- func (m *EventTssKeysignMetric) Events() (cosmos.Events, error)
- func (m *EventTssKeysignMetric) GetMedianDurationMs() int64
- func (m *EventTssKeysignMetric) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *EventTssKeysignMetric) Marshal() (dAtA []byte, err error)
- func (m *EventTssKeysignMetric) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTssKeysignMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTssKeysignMetric) ProtoMessage()
- func (m *EventTssKeysignMetric) Reset()
- func (m *EventTssKeysignMetric) Size() (n int)
- func (m *EventTssKeysignMetric) String() string
- func (m *EventTssKeysignMetric) Type() string
- func (m *EventTssKeysignMetric) Unmarshal(dAtA []byte) error
- func (m *EventTssKeysignMetric) XXX_DiscardUnknown()
- func (m *EventTssKeysignMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTssKeysignMetric) XXX_Merge(src proto.Message)
- func (m *EventTssKeysignMetric) XXX_Size() int
- func (m *EventTssKeysignMetric) XXX_Unmarshal(b []byte) error
- type EventVersion
- func (*EventVersion) Descriptor() ([]byte, []int)
- func (m *EventVersion) Events() (cosmos.Events, error)
- func (m *EventVersion) GetVersion() string
- func (m *EventVersion) Marshal() (dAtA []byte, err error)
- func (m *EventVersion) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVersion) ProtoMessage()
- func (m *EventVersion) Reset()
- func (m *EventVersion) Size() (n int)
- func (m *EventVersion) String() string
- func (m *EventVersion) Type() string
- func (m *EventVersion) Unmarshal(dAtA []byte) error
- func (m *EventVersion) XXX_DiscardUnknown()
- func (m *EventVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVersion) XXX_Merge(src proto.Message)
- func (m *EventVersion) XXX_Size() int
- func (m *EventVersion) XXX_Unmarshal(b []byte) error
- type EventWithdraw
- func (*EventWithdraw) Descriptor() ([]byte, []int)
- func (m *EventWithdraw) Events() (cosmos.Events, error)
- func (m *EventWithdraw) GetBasisPoints() int64
- func (m *EventWithdraw) GetInTx() common.Tx
- func (m *EventWithdraw) GetPool() common.Asset
- func (m *EventWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventWithdraw) ProtoMessage()
- func (m *EventWithdraw) Reset()
- func (m *EventWithdraw) Size() (n int)
- func (m *EventWithdraw) String() string
- func (m *EventWithdraw) Type() string
- func (m *EventWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventWithdraw) XXX_DiscardUnknown()
- func (m *EventWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventWithdraw) XXX_Merge(src proto.Message)
- func (m *EventWithdraw) XXX_Size() int
- func (m *EventWithdraw) XXX_Unmarshal(b []byte) error
- type GasPool
- func (*GasPool) Descriptor() ([]byte, []int)
- func (m *GasPool) GetAsset() common.Asset
- func (m *GasPool) GetCount() int64
- func (m *GasPool) Marshal() (dAtA []byte, err error)
- func (m *GasPool) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPool) ProtoMessage()
- func (m *GasPool) Reset()
- func (m *GasPool) Size() (n int)
- func (m *GasPool) String() string
- func (m *GasPool) Unmarshal(dAtA []byte) error
- func (m *GasPool) XXX_DiscardUnknown()
- func (m *GasPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPool) XXX_Merge(src proto.Message)
- func (m *GasPool) XXX_Size() int
- func (m *GasPool) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Jail
- func (*Jail) Descriptor() ([]byte, []int)
- func (m *Jail) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *Jail) GetReason() string
- func (m *Jail) GetReleaseHeight() int64
- func (m *Jail) IsJailed(ctx cosmos.Context) bool
- func (m *Jail) Marshal() (dAtA []byte, err error)
- func (m *Jail) MarshalTo(dAtA []byte) (int, error)
- func (m *Jail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Jail) ProtoMessage()
- func (m *Jail) Reset()
- func (m *Jail) Size() (n int)
- func (m *Jail) String() string
- func (m *Jail) Unmarshal(dAtA []byte) error
- func (m *Jail) XXX_DiscardUnknown()
- func (m *Jail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Jail) XXX_Merge(src proto.Message)
- func (m *Jail) XXX_Size() int
- func (m *Jail) XXX_Unmarshal(b []byte) error
- type Keygen
- func (*Keygen) Descriptor() ([]byte, []int)
- func (m *Keygen) GetMembers() common.PubKeys
- func (m *Keygen) IsEmpty() bool
- func (m *Keygen) Marshal() (dAtA []byte, err error)
- func (m *Keygen) MarshalTo(dAtA []byte) (int, error)
- func (m *Keygen) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Keygen) ProtoMessage()
- func (m *Keygen) Reset()
- func (m *Keygen) Size() (n int)
- func (m *Keygen) String() string
- func (m *Keygen) Unmarshal(dAtA []byte) error
- func (m *Keygen) Valid() error
- func (m *Keygen) XXX_DiscardUnknown()
- func (m *Keygen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Keygen) XXX_Merge(src proto.Message)
- func (m *Keygen) XXX_Size() int
- func (m *Keygen) XXX_Unmarshal(b []byte) error
- type KeygenBlock
- func (m *KeygenBlock) Contains(keygen Keygen) bool
- func (*KeygenBlock) Descriptor() ([]byte, []int)
- func (m *KeygenBlock) IsEmpty() bool
- func (m *KeygenBlock) Marshal() (dAtA []byte, err error)
- func (m *KeygenBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *KeygenBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KeygenBlock) ProtoMessage()
- func (m *KeygenBlock) Reset()
- func (m *KeygenBlock) Size() (n int)
- func (m *KeygenBlock) String() string
- func (m *KeygenBlock) Unmarshal(dAtA []byte) error
- func (m *KeygenBlock) XXX_DiscardUnknown()
- func (m *KeygenBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeygenBlock) XXX_Merge(src proto.Message)
- func (m *KeygenBlock) XXX_Size() int
- func (m *KeygenBlock) XXX_Unmarshal(b []byte) error
- type KeygenType
- type LiquidityProvider
- func (*LiquidityProvider) Descriptor() ([]byte, []int)
- func (lp LiquidityProvider) GetAddress() common.Address
- func (m *LiquidityProvider) GetAsset() common.Asset
- func (m *LiquidityProvider) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (lp LiquidityProvider) GetAssetRedeemValue(pool Pool, synthSupply cosmos.Uint) (error, cosmos.Uint)
- func (m *LiquidityProvider) GetLastAddHeight() int64
- func (m *LiquidityProvider) GetLastWithdrawHeight() int64
- func (lp LiquidityProvider) GetLuviDepositValue(pool Pool) (error, cosmos.Uint)
- func (lp LiquidityProvider) GetLuviRedeemValue(runeRedeemValue, assetRedeemValue cosmos.Uint) (error, cosmos.Uint)
- func (m *LiquidityProvider) GetPendingTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *LiquidityProvider) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
- func (lp LiquidityProvider) GetRuneRedeemValue(pool Pool, synthSupply cosmos.Uint) (error, cosmos.Uint)
- func (lp LiquidityProvider) GetSaversAssetRedeemValue(pool Pool) cosmos.Uint
- func (lp LiquidityProvider) Key() string
- func (m *LiquidityProvider) Marshal() (dAtA []byte, err error)
- func (m *LiquidityProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *LiquidityProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LiquidityProvider) ProtoMessage()
- func (m *LiquidityProvider) Reset()
- func (m *LiquidityProvider) Size() (n int)
- func (m *LiquidityProvider) String() string
- func (m *LiquidityProvider) Unmarshal(dAtA []byte) error
- func (m *LiquidityProvider) Valid() error
- func (m *LiquidityProvider) XXX_DiscardUnknown()
- func (m *LiquidityProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityProvider) XXX_Merge(src proto.Message)
- func (m *LiquidityProvider) XXX_Size() int
- func (m *LiquidityProvider) XXX_Unmarshal(b []byte) error
- type LiquidityProviders
- type Loan
- func (m *Loan) Collateral() cosmos.Uint
- func (m *Loan) Debt() cosmos.Uint
- func (*Loan) Descriptor() ([]byte, []int)
- func (m *Loan) GetAsset() common.Asset
- func (m *Loan) GetLastOpenHeight() int64
- func (m *Loan) GetLastRepayHeight() int64
- func (m *Loan) GetOwner() gitlab_com_thorchain_thornode_common.Address
- func (m Loan) Key() string
- func (m *Loan) Marshal() (dAtA []byte, err error)
- func (m *Loan) MarshalTo(dAtA []byte) (int, error)
- func (m *Loan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Loan) ProtoMessage()
- func (m *Loan) Reset()
- func (m *Loan) Size() (n int)
- func (m *Loan) String() string
- func (m *Loan) Unmarshal(dAtA []byte) error
- func (m *Loan) Valid() error
- func (m *Loan) XXX_DiscardUnknown()
- func (m *Loan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Loan) XXX_Merge(src proto.Message)
- func (m *Loan) XXX_Size() int
- func (m *Loan) XXX_Unmarshal(b []byte) error
- type Loans
- type MinJoinLast
- func (*MinJoinLast) Descriptor() ([]byte, []int)
- func (m *MinJoinLast) Marshal() (dAtA []byte, err error)
- func (m *MinJoinLast) MarshalTo(dAtA []byte) (int, error)
- func (m *MinJoinLast) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MinJoinLast) ProtoMessage()
- func (m *MinJoinLast) Reset()
- func (m *MinJoinLast) Size() (n int)
- func (this *MinJoinLast) String() string
- func (m *MinJoinLast) Unmarshal(dAtA []byte) error
- func (m *MinJoinLast) XXX_DiscardUnknown()
- func (m *MinJoinLast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MinJoinLast) XXX_Merge(src proto.Message)
- func (m *MinJoinLast) XXX_Size() int
- func (m *MinJoinLast) XXX_Unmarshal(b []byte) error
- type MintBurnSupplyType
- type MsgAddLiquidity
- func (*MsgAddLiquidity) Descriptor() ([]byte, []int)
- func (m *MsgAddLiquidity) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgAddLiquidity) GetAsset() common.Asset
- func (m *MsgAddLiquidity) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgAddLiquidity) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgAddLiquidity) GetSignBytes() []byte
- func (m *MsgAddLiquidity) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgAddLiquidity) GetSigners() []cosmos.AccAddress
- func (m *MsgAddLiquidity) GetTx() common.Tx
- func (m *MsgAddLiquidity) Marshal() (dAtA []byte, err error)
- func (m *MsgAddLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddLiquidity) ProtoMessage()
- func (m *MsgAddLiquidity) Reset()
- func (m *MsgAddLiquidity) Route() string
- func (m *MsgAddLiquidity) Size() (n int)
- func (m *MsgAddLiquidity) String() string
- func (m MsgAddLiquidity) Type() string
- func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) error
- func (m *MsgAddLiquidity) ValidateBasic() error
- func (m *MsgAddLiquidity) XXX_DiscardUnknown()
- func (m *MsgAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddLiquidity) XXX_Merge(src proto.Message)
- func (m *MsgAddLiquidity) XXX_Size() int
- func (m *MsgAddLiquidity) XXX_Unmarshal(b []byte) error
- type MsgApproveUpgrade
- func (*MsgApproveUpgrade) Descriptor() ([]byte, []int)
- func (m *MsgApproveUpgrade) GetSignBytes() []byte
- func (m *MsgApproveUpgrade) GetSigners() []cosmos.AccAddress
- func (m *MsgApproveUpgrade) Marshal() (dAtA []byte, err error)
- func (m *MsgApproveUpgrade) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgApproveUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgApproveUpgrade) ProtoMessage()
- func (m *MsgApproveUpgrade) Reset()
- func (m *MsgApproveUpgrade) Route() string
- func (m *MsgApproveUpgrade) Size() (n int)
- func (m *MsgApproveUpgrade) String() string
- func (m MsgApproveUpgrade) Type() string
- func (m *MsgApproveUpgrade) Unmarshal(dAtA []byte) error
- func (m *MsgApproveUpgrade) ValidateBasic() error
- func (m *MsgApproveUpgrade) XXX_DiscardUnknown()
- func (m *MsgApproveUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgApproveUpgrade) XXX_Merge(src proto.Message)
- func (m *MsgApproveUpgrade) XXX_Size() int
- func (m *MsgApproveUpgrade) XXX_Unmarshal(b []byte) error
- type MsgBan
- func (*MsgBan) Descriptor() ([]byte, []int)
- func (m *MsgBan) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgBan) GetSignBytes() []byte
- func (m *MsgBan) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgBan) GetSigners() []cosmos.AccAddress
- func (m *MsgBan) Marshal() (dAtA []byte, err error)
- func (m *MsgBan) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBan) ProtoMessage()
- func (m *MsgBan) Reset()
- func (m *MsgBan) Route() string
- func (m *MsgBan) Size() (n int)
- func (m *MsgBan) String() string
- func (m MsgBan) Type() string
- func (m *MsgBan) Unmarshal(dAtA []byte) error
- func (m *MsgBan) ValidateBasic() error
- func (m *MsgBan) XXX_DiscardUnknown()
- func (m *MsgBan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBan) XXX_Merge(src proto.Message)
- func (m *MsgBan) XXX_Size() int
- func (m *MsgBan) XXX_Unmarshal(b []byte) error
- type MsgBond
- func (*MsgBond) Descriptor() ([]byte, []int)
- func (m *MsgBond) GetBondAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgBond) GetBondProviderAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgBond) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgBond) GetOperatorFee() int64
- func (m *MsgBond) GetSignBytes() []byte
- func (m *MsgBond) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgBond) GetSigners() []cosmos.AccAddress
- func (m *MsgBond) GetTxIn() common.Tx
- func (m *MsgBond) Marshal() (dAtA []byte, err error)
- func (m *MsgBond) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBond) ProtoMessage()
- func (m *MsgBond) Reset()
- func (m *MsgBond) Route() string
- func (m *MsgBond) Size() (n int)
- func (m *MsgBond) String() string
- func (m MsgBond) Type() string
- func (m *MsgBond) Unmarshal(dAtA []byte) error
- func (m *MsgBond) ValidateBasic() error
- func (m *MsgBond) XXX_DiscardUnknown()
- func (m *MsgBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBond) XXX_Merge(src proto.Message)
- func (m *MsgBond) XXX_Size() int
- func (m *MsgBond) XXX_Unmarshal(b []byte) error
- type MsgConsolidate
- func (*MsgConsolidate) Descriptor() ([]byte, []int)
- func (m *MsgConsolidate) GetObservedTx() ObservedTx
- func (m *MsgConsolidate) GetSignBytes() []byte
- func (m *MsgConsolidate) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgConsolidate) GetSigners() []cosmos.AccAddress
- func (m *MsgConsolidate) Marshal() (dAtA []byte, err error)
- func (m *MsgConsolidate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsolidate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsolidate) ProtoMessage()
- func (m *MsgConsolidate) Reset()
- func (m *MsgConsolidate) Route() string
- func (m *MsgConsolidate) Size() (n int)
- func (m *MsgConsolidate) String() string
- func (m MsgConsolidate) Type() string
- func (m *MsgConsolidate) Unmarshal(dAtA []byte) error
- func (m *MsgConsolidate) ValidateBasic() error
- func (m *MsgConsolidate) XXX_DiscardUnknown()
- func (m *MsgConsolidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsolidate) XXX_Merge(src proto.Message)
- func (m *MsgConsolidate) XXX_Size() int
- func (m *MsgConsolidate) XXX_Unmarshal(b []byte) error
- type MsgDeposit
- func (*MsgDeposit) Descriptor() ([]byte, []int)
- func (m *MsgDeposit) GetCoins() gitlab_com_thorchain_thornode_common.Coins
- func (m *MsgDeposit) GetMemo() string
- func (m *MsgDeposit) GetSignBytes() []byte
- func (m *MsgDeposit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgDeposit) GetSigners() []cosmos.AccAddress
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeposit) ProtoMessage()
- func (m *MsgDeposit) Reset()
- func (m *MsgDeposit) Route() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) String() string
- func (m MsgDeposit) Type() string
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- func (m *MsgDeposit) ValidateBasic() error
- func (m *MsgDeposit) XXX_DiscardUnknown()
- func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeposit) XXX_Merge(src proto.Message)
- func (m *MsgDeposit) XXX_Size() int
- func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
- type MsgDonate
- func (*MsgDonate) Descriptor() ([]byte, []int)
- func (m *MsgDonate) GetAsset() common.Asset
- func (m *MsgDonate) GetSignBytes() []byte
- func (m *MsgDonate) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgDonate) GetSigners() []cosmos.AccAddress
- func (m *MsgDonate) GetTx() common.Tx
- func (m *MsgDonate) Marshal() (dAtA []byte, err error)
- func (m *MsgDonate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDonate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDonate) ProtoMessage()
- func (m *MsgDonate) Reset()
- func (m *MsgDonate) Route() string
- func (m *MsgDonate) Size() (n int)
- func (m *MsgDonate) String() string
- func (m MsgDonate) Type() string
- func (m *MsgDonate) Unmarshal(dAtA []byte) error
- func (m *MsgDonate) ValidateBasic() error
- func (m *MsgDonate) XXX_DiscardUnknown()
- func (m *MsgDonate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDonate) XXX_Merge(src proto.Message)
- func (m *MsgDonate) XXX_Size() int
- func (m *MsgDonate) XXX_Unmarshal(b []byte) error
- type MsgErrataTx
- func (*MsgErrataTx) Descriptor() ([]byte, []int)
- func (m *MsgErrataTx) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *MsgErrataTx) GetSignBytes() []byte
- func (m *MsgErrataTx) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgErrataTx) GetSigners() []cosmos.AccAddress
- func (m *MsgErrataTx) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *MsgErrataTx) Marshal() (dAtA []byte, err error)
- func (m *MsgErrataTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgErrataTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgErrataTx) ProtoMessage()
- func (m *MsgErrataTx) Reset()
- func (m *MsgErrataTx) Route() string
- func (m *MsgErrataTx) Size() (n int)
- func (m *MsgErrataTx) String() string
- func (m MsgErrataTx) Type() string
- func (m *MsgErrataTx) Unmarshal(dAtA []byte) error
- func (m *MsgErrataTx) ValidateBasic() error
- func (m *MsgErrataTx) XXX_DiscardUnknown()
- func (m *MsgErrataTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgErrataTx) XXX_Merge(src proto.Message)
- func (m *MsgErrataTx) XXX_Size() int
- func (m *MsgErrataTx) XXX_Unmarshal(b []byte) error
- type MsgLeave
- func (*MsgLeave) Descriptor() ([]byte, []int)
- func (m *MsgLeave) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgLeave) GetSignBytes() []byte
- func (m *MsgLeave) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgLeave) GetSigners() []cosmos.AccAddress
- func (m *MsgLeave) GetTx() common.Tx
- func (m *MsgLeave) Marshal() (dAtA []byte, err error)
- func (m *MsgLeave) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLeave) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLeave) ProtoMessage()
- func (m *MsgLeave) Reset()
- func (m *MsgLeave) Route() string
- func (m *MsgLeave) Size() (n int)
- func (m *MsgLeave) String() string
- func (m MsgLeave) Type() string
- func (m *MsgLeave) Unmarshal(dAtA []byte) error
- func (m *MsgLeave) ValidateBasic() error
- func (m *MsgLeave) XXX_DiscardUnknown()
- func (m *MsgLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLeave) XXX_Merge(src proto.Message)
- func (m *MsgLeave) XXX_Size() int
- func (m *MsgLeave) XXX_Unmarshal(b []byte) error
- type MsgLoanOpen
- func (*MsgLoanOpen) Descriptor() ([]byte, []int)
- func (m *MsgLoanOpen) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgLoanOpen) GetAggregator() string
- func (m *MsgLoanOpen) GetAggregatorTargetAddress() string
- func (m *MsgLoanOpen) GetCollateralAsset() common.Asset
- func (m *MsgLoanOpen) GetOwner() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgLoanOpen) GetSignBytes() []byte
- func (m *MsgLoanOpen) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgLoanOpen) GetSigners() []cosmos.AccAddress
- func (m *MsgLoanOpen) GetTargetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgLoanOpen) GetTargetAsset() common.Asset
- func (m *MsgLoanOpen) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *MsgLoanOpen) Marshal() (dAtA []byte, err error)
- func (m *MsgLoanOpen) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLoanOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLoanOpen) ProtoMessage()
- func (m *MsgLoanOpen) Reset()
- func (m *MsgLoanOpen) Route() string
- func (m *MsgLoanOpen) Size() (n int)
- func (m *MsgLoanOpen) String() string
- func (m MsgLoanOpen) Type() string
- func (m *MsgLoanOpen) Unmarshal(dAtA []byte) error
- func (m *MsgLoanOpen) ValidateBasic() error
- func (m *MsgLoanOpen) XXX_DiscardUnknown()
- func (m *MsgLoanOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLoanOpen) XXX_Merge(src proto.Message)
- func (m *MsgLoanOpen) XXX_Size() int
- func (m *MsgLoanOpen) XXX_Unmarshal(b []byte) error
- type MsgLoanRepayment
- func (*MsgLoanRepayment) Descriptor() ([]byte, []int)
- func (m *MsgLoanRepayment) GetCoin() common.Coin
- func (m *MsgLoanRepayment) GetCollateralAsset() common.Asset
- func (m *MsgLoanRepayment) GetFrom() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgLoanRepayment) GetOwner() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgLoanRepayment) GetSignBytes() []byte
- func (m *MsgLoanRepayment) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgLoanRepayment) GetSigners() []cosmos.AccAddress
- func (m *MsgLoanRepayment) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *MsgLoanRepayment) Marshal() (dAtA []byte, err error)
- func (m *MsgLoanRepayment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLoanRepayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLoanRepayment) ProtoMessage()
- func (m *MsgLoanRepayment) Reset()
- func (m *MsgLoanRepayment) Route() string
- func (m *MsgLoanRepayment) Size() (n int)
- func (m *MsgLoanRepayment) String() string
- func (m MsgLoanRepayment) Type() string
- func (m *MsgLoanRepayment) Unmarshal(dAtA []byte) error
- func (m *MsgLoanRepayment) ValidateBasic() error
- func (m *MsgLoanRepayment) XXX_DiscardUnknown()
- func (m *MsgLoanRepayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLoanRepayment) XXX_Merge(src proto.Message)
- func (m *MsgLoanRepayment) XXX_Size() int
- func (m *MsgLoanRepayment) XXX_Unmarshal(b []byte) error
- type MsgManageTHORName
- func (*MsgManageTHORName) Descriptor() ([]byte, []int)
- func (m *MsgManageTHORName) GetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgManageTHORName) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *MsgManageTHORName) GetCoin() common.Coin
- func (m *MsgManageTHORName) GetExpireBlockHeight() int64
- func (m *MsgManageTHORName) GetName() string
- func (m *MsgManageTHORName) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgManageTHORName) GetPreferredAsset() common.Asset
- func (m *MsgManageTHORName) GetSignBytes() []byte
- func (m *MsgManageTHORName) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgManageTHORName) GetSigners() []cosmos.AccAddress
- func (m *MsgManageTHORName) Marshal() (dAtA []byte, err error)
- func (m *MsgManageTHORName) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgManageTHORName) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgManageTHORName) ProtoMessage()
- func (m *MsgManageTHORName) Reset()
- func (m *MsgManageTHORName) Route() string
- func (m *MsgManageTHORName) Size() (n int)
- func (m *MsgManageTHORName) String() string
- func (m MsgManageTHORName) Type() string
- func (m *MsgManageTHORName) Unmarshal(dAtA []byte) error
- func (m *MsgManageTHORName) ValidateBasic() error
- func (m *MsgManageTHORName) XXX_DiscardUnknown()
- func (m *MsgManageTHORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgManageTHORName) XXX_Merge(src proto.Message)
- func (m *MsgManageTHORName) XXX_Size() int
- func (m *MsgManageTHORName) XXX_Unmarshal(b []byte) error
- type MsgMigrate
- func (*MsgMigrate) Descriptor() ([]byte, []int)
- func (m *MsgMigrate) GetBlockHeight() int64
- func (m *MsgMigrate) GetSignBytes() []byte
- func (m *MsgMigrate) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgMigrate) GetSigners() []cosmos.AccAddress
- func (m *MsgMigrate) GetTx() ObservedTx
- func (m *MsgMigrate) Marshal() (dAtA []byte, err error)
- func (m *MsgMigrate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMigrate) ProtoMessage()
- func (m *MsgMigrate) Reset()
- func (m *MsgMigrate) Route() string
- func (m *MsgMigrate) Size() (n int)
- func (m *MsgMigrate) String() string
- func (m MsgMigrate) Type() string
- func (m *MsgMigrate) Unmarshal(dAtA []byte) error
- func (m *MsgMigrate) ValidateBasic() error
- func (m *MsgMigrate) XXX_DiscardUnknown()
- func (m *MsgMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMigrate) XXX_Merge(src proto.Message)
- func (m *MsgMigrate) XXX_Size() int
- func (m *MsgMigrate) XXX_Unmarshal(b []byte) error
- type MsgMimir
- func (*MsgMimir) Descriptor() ([]byte, []int)
- func (m *MsgMimir) GetKey() string
- func (m *MsgMimir) GetSignBytes() []byte
- func (m *MsgMimir) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgMimir) GetSigners() []cosmos.AccAddress
- func (m *MsgMimir) GetValue() int64
- func (m *MsgMimir) Marshal() (dAtA []byte, err error)
- func (m *MsgMimir) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMimir) ProtoMessage()
- func (m *MsgMimir) Reset()
- func (m *MsgMimir) Route() string
- func (m *MsgMimir) Size() (n int)
- func (m *MsgMimir) String() string
- func (m MsgMimir) Type() string
- func (m *MsgMimir) Unmarshal(dAtA []byte) error
- func (m *MsgMimir) ValidateBasic() error
- func (m *MsgMimir) XXX_DiscardUnknown()
- func (m *MsgMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMimir) XXX_Merge(src proto.Message)
- func (m *MsgMimir) XXX_Size() int
- func (m *MsgMimir) XXX_Unmarshal(b []byte) error
- type MsgNetworkFee
- func (*MsgNetworkFee) Descriptor() ([]byte, []int)
- func (m *MsgNetworkFee) GetBlockHeight() int64
- func (m *MsgNetworkFee) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *MsgNetworkFee) GetSignBytes() []byte
- func (m *MsgNetworkFee) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgNetworkFee) GetSigners() []cosmos.AccAddress
- func (m *MsgNetworkFee) GetTransactionFeeRate() uint64
- func (m *MsgNetworkFee) GetTransactionSize() uint64
- func (m *MsgNetworkFee) Marshal() (dAtA []byte, err error)
- func (m *MsgNetworkFee) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgNetworkFee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgNetworkFee) ProtoMessage()
- func (m *MsgNetworkFee) Reset()
- func (m *MsgNetworkFee) Route() string
- func (m *MsgNetworkFee) Size() (n int)
- func (m *MsgNetworkFee) String() string
- func (m MsgNetworkFee) Type() string
- func (m *MsgNetworkFee) Unmarshal(dAtA []byte) error
- func (m *MsgNetworkFee) ValidateBasic() error
- func (m *MsgNetworkFee) XXX_DiscardUnknown()
- func (m *MsgNetworkFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgNetworkFee) XXX_Merge(src proto.Message)
- func (m *MsgNetworkFee) XXX_Size() int
- func (m *MsgNetworkFee) XXX_Unmarshal(b []byte) error
- type MsgNoOp
- func (*MsgNoOp) Descriptor() ([]byte, []int)
- func (m *MsgNoOp) GetAction() string
- func (m *MsgNoOp) GetObservedTx() ObservedTx
- func (m *MsgNoOp) GetSignBytes() []byte
- func (m *MsgNoOp) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgNoOp) GetSigners() []cosmos.AccAddress
- func (m *MsgNoOp) Marshal() (dAtA []byte, err error)
- func (m *MsgNoOp) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgNoOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgNoOp) ProtoMessage()
- func (m *MsgNoOp) Reset()
- func (m *MsgNoOp) Route() string
- func (m *MsgNoOp) Size() (n int)
- func (m *MsgNoOp) String() string
- func (m MsgNoOp) Type() string
- func (m *MsgNoOp) Unmarshal(dAtA []byte) error
- func (m *MsgNoOp) ValidateBasic() error
- func (m *MsgNoOp) XXX_DiscardUnknown()
- func (m *MsgNoOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgNoOp) XXX_Merge(src proto.Message)
- func (m *MsgNoOp) XXX_Size() int
- func (m *MsgNoOp) XXX_Unmarshal(b []byte) error
- type MsgNodePauseChain
- func (*MsgNodePauseChain) Descriptor() ([]byte, []int)
- func (m *MsgNodePauseChain) GetSignBytes() []byte
- func (m *MsgNodePauseChain) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgNodePauseChain) GetSigners() []cosmos.AccAddress
- func (m *MsgNodePauseChain) GetValue() int64
- func (m *MsgNodePauseChain) Marshal() (dAtA []byte, err error)
- func (m *MsgNodePauseChain) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgNodePauseChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgNodePauseChain) ProtoMessage()
- func (m *MsgNodePauseChain) Reset()
- func (m *MsgNodePauseChain) Route() string
- func (m *MsgNodePauseChain) Size() (n int)
- func (m *MsgNodePauseChain) String() string
- func (m MsgNodePauseChain) Type() string
- func (m *MsgNodePauseChain) Unmarshal(dAtA []byte) error
- func (m *MsgNodePauseChain) ValidateBasic() error
- func (m *MsgNodePauseChain) XXX_DiscardUnknown()
- func (m *MsgNodePauseChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgNodePauseChain) XXX_Merge(src proto.Message)
- func (m *MsgNodePauseChain) XXX_Size() int
- func (m *MsgNodePauseChain) XXX_Unmarshal(b []byte) error
- type MsgObservedTxIn
- func (*MsgObservedTxIn) Descriptor() ([]byte, []int)
- func (m *MsgObservedTxIn) GetSignBytes() []byte
- func (m *MsgObservedTxIn) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgObservedTxIn) GetSigners() []cosmos.AccAddress
- func (m *MsgObservedTxIn) GetTxs() ObservedTxs
- func (m *MsgObservedTxIn) Marshal() (dAtA []byte, err error)
- func (m *MsgObservedTxIn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgObservedTxIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgObservedTxIn) ProtoMessage()
- func (m *MsgObservedTxIn) Reset()
- func (m *MsgObservedTxIn) Route() string
- func (m *MsgObservedTxIn) Size() (n int)
- func (m *MsgObservedTxIn) String() string
- func (m MsgObservedTxIn) Type() string
- func (m *MsgObservedTxIn) Unmarshal(dAtA []byte) error
- func (m *MsgObservedTxIn) ValidateBasic() error
- func (m *MsgObservedTxIn) XXX_DiscardUnknown()
- func (m *MsgObservedTxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgObservedTxIn) XXX_Merge(src proto.Message)
- func (m *MsgObservedTxIn) XXX_Size() int
- func (m *MsgObservedTxIn) XXX_Unmarshal(b []byte) error
- type MsgObservedTxOut
- func (*MsgObservedTxOut) Descriptor() ([]byte, []int)
- func (m *MsgObservedTxOut) GetSignBytes() []byte
- func (m *MsgObservedTxOut) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgObservedTxOut) GetSigners() []cosmos.AccAddress
- func (m *MsgObservedTxOut) GetTxs() ObservedTxs
- func (m *MsgObservedTxOut) Marshal() (dAtA []byte, err error)
- func (m *MsgObservedTxOut) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgObservedTxOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgObservedTxOut) ProtoMessage()
- func (m *MsgObservedTxOut) Reset()
- func (m *MsgObservedTxOut) Route() string
- func (m *MsgObservedTxOut) Size() (n int)
- func (m *MsgObservedTxOut) String() string
- func (m MsgObservedTxOut) Type() string
- func (m *MsgObservedTxOut) Unmarshal(dAtA []byte) error
- func (m *MsgObservedTxOut) ValidateBasic() error
- func (m *MsgObservedTxOut) XXX_DiscardUnknown()
- func (m *MsgObservedTxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgObservedTxOut) XXX_Merge(src proto.Message)
- func (m *MsgObservedTxOut) XXX_Size() int
- func (m *MsgObservedTxOut) XXX_Unmarshal(b []byte) error
- type MsgOutboundTx
- func (*MsgOutboundTx) Descriptor() ([]byte, []int)
- func (m *MsgOutboundTx) GetInTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *MsgOutboundTx) GetSignBytes() []byte
- func (m *MsgOutboundTx) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgOutboundTx) GetSigners() []cosmos.AccAddress
- func (m *MsgOutboundTx) GetTx() ObservedTx
- func (m *MsgOutboundTx) Marshal() (dAtA []byte, err error)
- func (m *MsgOutboundTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOutboundTx) ProtoMessage()
- func (m *MsgOutboundTx) Reset()
- func (m *MsgOutboundTx) Route() string
- func (m *MsgOutboundTx) Size() (n int)
- func (m *MsgOutboundTx) String() string
- func (m MsgOutboundTx) Type() string
- func (m *MsgOutboundTx) Unmarshal(dAtA []byte) error
- func (m *MsgOutboundTx) ValidateBasic() error
- func (m *MsgOutboundTx) XXX_DiscardUnknown()
- func (m *MsgOutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOutboundTx) XXX_Merge(src proto.Message)
- func (m *MsgOutboundTx) XXX_Size() int
- func (m *MsgOutboundTx) XXX_Unmarshal(b []byte) error
- type MsgProposeUpgrade
- func (*MsgProposeUpgrade) Descriptor() ([]byte, []int)
- func (m *MsgProposeUpgrade) GetSignBytes() []byte
- func (m *MsgProposeUpgrade) GetSigners() []cosmos.AccAddress
- func (m *MsgProposeUpgrade) Marshal() (dAtA []byte, err error)
- func (m *MsgProposeUpgrade) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProposeUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProposeUpgrade) ProtoMessage()
- func (m *MsgProposeUpgrade) Reset()
- func (m *MsgProposeUpgrade) Route() string
- func (m *MsgProposeUpgrade) Size() (n int)
- func (m *MsgProposeUpgrade) String() string
- func (m MsgProposeUpgrade) Type() string
- func (m *MsgProposeUpgrade) Unmarshal(dAtA []byte) error
- func (m *MsgProposeUpgrade) ValidateBasic() error
- func (m *MsgProposeUpgrade) XXX_DiscardUnknown()
- func (m *MsgProposeUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProposeUpgrade) XXX_Merge(src proto.Message)
- func (m *MsgProposeUpgrade) XXX_Size() int
- func (m *MsgProposeUpgrade) XXX_Unmarshal(b []byte) error
- type MsgRagnarok
- func (*MsgRagnarok) Descriptor() ([]byte, []int)
- func (m *MsgRagnarok) GetBlockHeight() int64
- func (m *MsgRagnarok) GetSignBytes() []byte
- func (m *MsgRagnarok) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgRagnarok) GetSigners() []cosmos.AccAddress
- func (m *MsgRagnarok) GetTx() ObservedTx
- func (m *MsgRagnarok) Marshal() (dAtA []byte, err error)
- func (m *MsgRagnarok) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRagnarok) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRagnarok) ProtoMessage()
- func (m *MsgRagnarok) Reset()
- func (m *MsgRagnarok) Route() string
- func (m *MsgRagnarok) Size() (n int)
- func (m *MsgRagnarok) String() string
- func (m MsgRagnarok) Type() string
- func (m *MsgRagnarok) Unmarshal(dAtA []byte) error
- func (m *MsgRagnarok) ValidateBasic() error
- func (m *MsgRagnarok) XXX_DiscardUnknown()
- func (m *MsgRagnarok) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRagnarok) XXX_Merge(src proto.Message)
- func (m *MsgRagnarok) XXX_Size() int
- func (m *MsgRagnarok) XXX_Unmarshal(b []byte) error
- type MsgRefundTx
- func (*MsgRefundTx) Descriptor() ([]byte, []int)
- func (m *MsgRefundTx) GetInTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *MsgRefundTx) GetSignBytes() []byte
- func (m *MsgRefundTx) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgRefundTx) GetSigners() []cosmos.AccAddress
- func (m *MsgRefundTx) GetTx() ObservedTx
- func (m *MsgRefundTx) Marshal() (dAtA []byte, err error)
- func (m *MsgRefundTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRefundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRefundTx) ProtoMessage()
- func (m *MsgRefundTx) Reset()
- func (m *MsgRefundTx) Route() string
- func (m *MsgRefundTx) Size() (n int)
- func (m *MsgRefundTx) String() string
- func (m MsgRefundTx) Type() string
- func (m *MsgRefundTx) Unmarshal(dAtA []byte) error
- func (m *MsgRefundTx) ValidateBasic() error
- func (m *MsgRefundTx) XXX_DiscardUnknown()
- func (m *MsgRefundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRefundTx) XXX_Merge(src proto.Message)
- func (m *MsgRefundTx) XXX_Size() int
- func (m *MsgRefundTx) XXX_Unmarshal(b []byte) error
- type MsgRejectUpgrade
- func (*MsgRejectUpgrade) Descriptor() ([]byte, []int)
- func (m *MsgRejectUpgrade) GetSignBytes() []byte
- func (m *MsgRejectUpgrade) GetSigners() []cosmos.AccAddress
- func (m *MsgRejectUpgrade) Marshal() (dAtA []byte, err error)
- func (m *MsgRejectUpgrade) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRejectUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRejectUpgrade) ProtoMessage()
- func (m *MsgRejectUpgrade) Reset()
- func (m *MsgRejectUpgrade) Route() string
- func (m *MsgRejectUpgrade) Size() (n int)
- func (m *MsgRejectUpgrade) String() string
- func (m MsgRejectUpgrade) Type() string
- func (m *MsgRejectUpgrade) Unmarshal(dAtA []byte) error
- func (m *MsgRejectUpgrade) ValidateBasic() error
- func (m *MsgRejectUpgrade) XXX_DiscardUnknown()
- func (m *MsgRejectUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRejectUpgrade) XXX_Merge(src proto.Message)
- func (m *MsgRejectUpgrade) XXX_Size() int
- func (m *MsgRejectUpgrade) XXX_Unmarshal(b []byte) error
- type MsgReserveContributor
- func (*MsgReserveContributor) Descriptor() ([]byte, []int)
- func (m *MsgReserveContributor) GetContributor() ReserveContributor
- func (m *MsgReserveContributor) GetSignBytes() []byte
- func (m *MsgReserveContributor) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgReserveContributor) GetSigners() []cosmos.AccAddress
- func (m *MsgReserveContributor) GetTx() common.Tx
- func (m *MsgReserveContributor) Marshal() (dAtA []byte, err error)
- func (m *MsgReserveContributor) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReserveContributor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReserveContributor) ProtoMessage()
- func (m *MsgReserveContributor) Reset()
- func (m *MsgReserveContributor) Route() string
- func (m *MsgReserveContributor) Size() (n int)
- func (m *MsgReserveContributor) String() string
- func (m MsgReserveContributor) Type() string
- func (m *MsgReserveContributor) Unmarshal(dAtA []byte) error
- func (m *MsgReserveContributor) ValidateBasic() error
- func (m *MsgReserveContributor) XXX_DiscardUnknown()
- func (m *MsgReserveContributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReserveContributor) XXX_Merge(src proto.Message)
- func (m *MsgReserveContributor) XXX_Size() int
- func (m *MsgReserveContributor) XXX_Unmarshal(b []byte) error
- type MsgRunePoolDeposit
- func (*MsgRunePoolDeposit) Descriptor() ([]byte, []int)
- func (m *MsgRunePoolDeposit) GetSignBytes() []byte
- func (m *MsgRunePoolDeposit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgRunePoolDeposit) GetSigners() []cosmos.AccAddress
- func (m *MsgRunePoolDeposit) GetTx() common.Tx
- func (m *MsgRunePoolDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgRunePoolDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRunePoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRunePoolDeposit) ProtoMessage()
- func (m *MsgRunePoolDeposit) Reset()
- func (m *MsgRunePoolDeposit) Route() string
- func (m *MsgRunePoolDeposit) Size() (n int)
- func (m *MsgRunePoolDeposit) String() string
- func (m MsgRunePoolDeposit) Type() string
- func (m *MsgRunePoolDeposit) Unmarshal(dAtA []byte) error
- func (m *MsgRunePoolDeposit) ValidateBasic() error
- func (m *MsgRunePoolDeposit) XXX_DiscardUnknown()
- func (m *MsgRunePoolDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRunePoolDeposit) XXX_Merge(src proto.Message)
- func (m *MsgRunePoolDeposit) XXX_Size() int
- func (m *MsgRunePoolDeposit) XXX_Unmarshal(b []byte) error
- type MsgRunePoolWithdraw
- func (*MsgRunePoolWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgRunePoolWithdraw) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgRunePoolWithdraw) GetSignBytes() []byte
- func (m *MsgRunePoolWithdraw) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgRunePoolWithdraw) GetSigners() []cosmos.AccAddress
- func (m *MsgRunePoolWithdraw) GetTx() common.Tx
- func (m *MsgRunePoolWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgRunePoolWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRunePoolWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRunePoolWithdraw) ProtoMessage()
- func (m *MsgRunePoolWithdraw) Reset()
- func (m *MsgRunePoolWithdraw) Route() string
- func (m *MsgRunePoolWithdraw) Size() (n int)
- func (m *MsgRunePoolWithdraw) String() string
- func (m MsgRunePoolWithdraw) Type() string
- func (m *MsgRunePoolWithdraw) Unmarshal(dAtA []byte) error
- func (m *MsgRunePoolWithdraw) ValidateBasic() error
- func (m *MsgRunePoolWithdraw) XXX_DiscardUnknown()
- func (m *MsgRunePoolWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRunePoolWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgRunePoolWithdraw) XXX_Size() int
- func (m *MsgRunePoolWithdraw) XXX_Unmarshal(b []byte) error
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)
- func (m *MsgSend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgSend) GetFromAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgSend) GetSignBytes() []byte
- func (m *MsgSend) GetSigners() []cosmos.AccAddress
- func (m *MsgSend) GetToAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgSend) Marshal() (dAtA []byte, err error)
- func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend) ProtoMessage()
- func (m *MsgSend) Reset()
- func (m *MsgSend) Route() string
- func (m *MsgSend) Size() (n int)
- func (m *MsgSend) String() string
- func (m MsgSend) Type() string
- func (m *MsgSend) Unmarshal(dAtA []byte) error
- func (m *MsgSend) ValidateBasic() error
- func (m *MsgSend) XXX_DiscardUnknown()
- func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend) XXX_Merge(src proto.Message)
- func (m *MsgSend) XXX_Size() int
- func (m *MsgSend) XXX_Unmarshal(b []byte) error
- type MsgSetIPAddress
- func (*MsgSetIPAddress) Descriptor() ([]byte, []int)
- func (m *MsgSetIPAddress) GetIPAddress() string
- func (m *MsgSetIPAddress) GetSignBytes() []byte
- func (m *MsgSetIPAddress) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgSetIPAddress) GetSigners() []cosmos.AccAddress
- func (m *MsgSetIPAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgSetIPAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetIPAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetIPAddress) ProtoMessage()
- func (m *MsgSetIPAddress) Reset()
- func (m *MsgSetIPAddress) Route() string
- func (m *MsgSetIPAddress) Size() (n int)
- func (m *MsgSetIPAddress) String() string
- func (m MsgSetIPAddress) Type() string
- func (m *MsgSetIPAddress) Unmarshal(dAtA []byte) error
- func (m *MsgSetIPAddress) ValidateBasic() error
- func (m *MsgSetIPAddress) XXX_DiscardUnknown()
- func (m *MsgSetIPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetIPAddress) XXX_Merge(src proto.Message)
- func (m *MsgSetIPAddress) XXX_Size() int
- func (m *MsgSetIPAddress) XXX_Unmarshal(b []byte) error
- type MsgSetNodeKeys
- func (*MsgSetNodeKeys) Descriptor() ([]byte, []int)
- func (m *MsgSetNodeKeys) GetPubKeySetSet() common.PubKeySet
- func (m *MsgSetNodeKeys) GetSignBytes() []byte
- func (m *MsgSetNodeKeys) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgSetNodeKeys) GetSigners() []cosmos.AccAddress
- func (m *MsgSetNodeKeys) GetValidatorConsPubKey() string
- func (m *MsgSetNodeKeys) Marshal() (dAtA []byte, err error)
- func (m *MsgSetNodeKeys) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetNodeKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetNodeKeys) ProtoMessage()
- func (m *MsgSetNodeKeys) Reset()
- func (m *MsgSetNodeKeys) Route() string
- func (m *MsgSetNodeKeys) Size() (n int)
- func (m *MsgSetNodeKeys) String() string
- func (m MsgSetNodeKeys) Type() string
- func (m *MsgSetNodeKeys) Unmarshal(dAtA []byte) error
- func (m *MsgSetNodeKeys) ValidateBasic() error
- func (m *MsgSetNodeKeys) XXX_DiscardUnknown()
- func (m *MsgSetNodeKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetNodeKeys) XXX_Merge(src proto.Message)
- func (m *MsgSetNodeKeys) XXX_Size() int
- func (m *MsgSetNodeKeys) XXX_Unmarshal(b []byte) error
- type MsgSetVersion
- func (*MsgSetVersion) Descriptor() ([]byte, []int)
- func (m *MsgSetVersion) GetSignBytes() []byte
- func (m *MsgSetVersion) GetSigners() []cosmos.AccAddress
- func (m *MsgSetVersion) GetVersion() (semver.Version, error)
- func (m *MsgSetVersion) Marshal() (dAtA []byte, err error)
- func (m *MsgSetVersion) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetVersion) ProtoMessage()
- func (m *MsgSetVersion) Reset()
- func (m *MsgSetVersion) Route() string
- func (m *MsgSetVersion) Size() (n int)
- func (m *MsgSetVersion) String() string
- func (m MsgSetVersion) Type() string
- func (m *MsgSetVersion) Unmarshal(dAtA []byte) error
- func (m *MsgSetVersion) ValidateBasic() error
- func (m *MsgSetVersion) XXX_DiscardUnknown()
- func (m *MsgSetVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetVersion) XXX_Merge(src proto.Message)
- func (m *MsgSetVersion) XXX_Size() int
- func (m *MsgSetVersion) XXX_Unmarshal(b []byte) error
- type MsgSolvency
- func (*MsgSolvency) Descriptor() ([]byte, []int)
- func (m *MsgSolvency) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *MsgSolvency) GetCoins() gitlab_com_thorchain_thornode_common.Coins
- func (m *MsgSolvency) GetHeight() int64
- func (m *MsgSolvency) GetId() gitlab_com_thorchain_thornode_common.TxID
- func (m *MsgSolvency) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
- func (m *MsgSolvency) GetSignBytes() []byte
- func (m *MsgSolvency) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgSolvency) GetSigners() []cosmos.AccAddress
- func (m *MsgSolvency) Marshal() (dAtA []byte, err error)
- func (m *MsgSolvency) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSolvency) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSolvency) ProtoMessage()
- func (m *MsgSolvency) Reset()
- func (m *MsgSolvency) Route() string
- func (m *MsgSolvency) Size() (n int)
- func (m *MsgSolvency) String() string
- func (m MsgSolvency) Type() string
- func (m *MsgSolvency) Unmarshal(dAtA []byte) error
- func (m *MsgSolvency) ValidateBasic() error
- func (m *MsgSolvency) XXX_DiscardUnknown()
- func (m *MsgSolvency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSolvency) XXX_Merge(src proto.Message)
- func (m *MsgSolvency) XXX_Size() int
- func (m *MsgSolvency) XXX_Unmarshal(b []byte) error
- type MsgSwap
- func (*MsgSwap) Descriptor() ([]byte, []int)
- func (m *MsgSwap) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgSwap) GetAggregator() string
- func (m *MsgSwap) GetAggregatorTargetAddress() string
- func (m *MsgSwap) GetDestination() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgSwap) GetOrderType() OrderType
- func (m *MsgSwap) GetSignBytes() []byte
- func (m *MsgSwap) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgSwap) GetSigners() []cosmos.AccAddress
- func (m *MsgSwap) GetStreamInterval() uint64
- func (m *MsgSwap) GetStreamQuantity() uint64
- func (m *MsgSwap) GetStreamingSwap() StreamingSwap
- func (m *MsgSwap) GetTargetAsset() common.Asset
- func (m *MsgSwap) GetTotalAffiliateFee() cosmos.Uint
- func (m *MsgSwap) GetTx() common.Tx
- func (m *MsgSwap) IsStreaming() bool
- func (m *MsgSwap) Marshal() (dAtA []byte, err error)
- func (m *MsgSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSwap) ProtoMessage()
- func (m *MsgSwap) Reset()
- func (m *MsgSwap) Route() string
- func (m *MsgSwap) Size() (n int)
- func (m *MsgSwap) String() string
- func (m MsgSwap) Type() string
- func (m *MsgSwap) Unmarshal(dAtA []byte) error
- func (m *MsgSwap) ValidateBasic() error
- func (m *MsgSwap) XXX_DiscardUnknown()
- func (m *MsgSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSwap) XXX_Merge(src proto.Message)
- func (m *MsgSwap) XXX_Size() int
- func (m *MsgSwap) XXX_Unmarshal(b []byte) error
- type MsgTradeAccountDeposit
- func (*MsgTradeAccountDeposit) Descriptor() ([]byte, []int)
- func (m *MsgTradeAccountDeposit) GetAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgTradeAccountDeposit) GetAsset() common.Asset
- func (m *MsgTradeAccountDeposit) GetSignBytes() []byte
- func (m *MsgTradeAccountDeposit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgTradeAccountDeposit) GetSigners() []cosmos.AccAddress
- func (m *MsgTradeAccountDeposit) GetTx() common.Tx
- func (m *MsgTradeAccountDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgTradeAccountDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTradeAccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTradeAccountDeposit) ProtoMessage()
- func (m *MsgTradeAccountDeposit) Reset()
- func (m *MsgTradeAccountDeposit) Route() string
- func (m *MsgTradeAccountDeposit) Size() (n int)
- func (m *MsgTradeAccountDeposit) String() string
- func (m MsgTradeAccountDeposit) Type() string
- func (m *MsgTradeAccountDeposit) Unmarshal(dAtA []byte) error
- func (m *MsgTradeAccountDeposit) ValidateBasic() error
- func (m *MsgTradeAccountDeposit) XXX_DiscardUnknown()
- func (m *MsgTradeAccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTradeAccountDeposit) XXX_Merge(src proto.Message)
- func (m *MsgTradeAccountDeposit) XXX_Size() int
- func (m *MsgTradeAccountDeposit) XXX_Unmarshal(b []byte) error
- type MsgTradeAccountWithdrawal
- func (*MsgTradeAccountWithdrawal) Descriptor() ([]byte, []int)
- func (m *MsgTradeAccountWithdrawal) GetAsset() common.Asset
- func (m *MsgTradeAccountWithdrawal) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgTradeAccountWithdrawal) GetSignBytes() []byte
- func (m *MsgTradeAccountWithdrawal) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgTradeAccountWithdrawal) GetSigners() []cosmos.AccAddress
- func (m *MsgTradeAccountWithdrawal) GetTx() common.Tx
- func (m *MsgTradeAccountWithdrawal) Marshal() (dAtA []byte, err error)
- func (m *MsgTradeAccountWithdrawal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTradeAccountWithdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTradeAccountWithdrawal) ProtoMessage()
- func (m *MsgTradeAccountWithdrawal) Reset()
- func (m *MsgTradeAccountWithdrawal) Route() string
- func (m *MsgTradeAccountWithdrawal) Size() (n int)
- func (m *MsgTradeAccountWithdrawal) String() string
- func (m MsgTradeAccountWithdrawal) Type() string
- func (m *MsgTradeAccountWithdrawal) Unmarshal(dAtA []byte) error
- func (m *MsgTradeAccountWithdrawal) ValidateBasic() error
- func (m *MsgTradeAccountWithdrawal) XXX_DiscardUnknown()
- func (m *MsgTradeAccountWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTradeAccountWithdrawal) XXX_Merge(src proto.Message)
- func (m *MsgTradeAccountWithdrawal) XXX_Size() int
- func (m *MsgTradeAccountWithdrawal) XXX_Unmarshal(b []byte) error
- type MsgTssKeysignFail
- func (*MsgTssKeysignFail) Descriptor() ([]byte, []int)
- func (m *MsgTssKeysignFail) GetSignBytes() []byte
- func (m *MsgTssKeysignFail) GetSigners() []cosmos.AccAddress
- func (m *MsgTssKeysignFail) Marshal() (dAtA []byte, err error)
- func (m *MsgTssKeysignFail) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTssKeysignFail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTssKeysignFail) ProtoMessage()
- func (m *MsgTssKeysignFail) Reset()
- func (m *MsgTssKeysignFail) Route() string
- func (m *MsgTssKeysignFail) Size() (n int)
- func (m *MsgTssKeysignFail) String() string
- func (m MsgTssKeysignFail) Type() string
- func (m *MsgTssKeysignFail) Unmarshal(dAtA []byte) error
- func (m *MsgTssKeysignFail) ValidateBasic() error
- func (m *MsgTssKeysignFail) XXX_DiscardUnknown()
- func (m *MsgTssKeysignFail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTssKeysignFail) XXX_Merge(src proto.Message)
- func (m *MsgTssKeysignFail) XXX_Size() int
- func (m *MsgTssKeysignFail) XXX_Unmarshal(b []byte) error
- type MsgTssPool
- func (*MsgTssPool) Descriptor() ([]byte, []int)
- func (m MsgTssPool) GetChains() common.Chains
- func (m MsgTssPool) GetPubKeys() common.PubKeys
- func (m *MsgTssPool) GetSignBytes() []byte
- func (m *MsgTssPool) GetSigners() []cosmos.AccAddress
- func (m MsgTssPool) IsSuccess() bool
- func (m *MsgTssPool) Marshal() (dAtA []byte, err error)
- func (m *MsgTssPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTssPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTssPool) ProtoMessage()
- func (m *MsgTssPool) Reset()
- func (m *MsgTssPool) Route() string
- func (m *MsgTssPool) Size() (n int)
- func (m *MsgTssPool) String() string
- func (m MsgTssPool) Type() string
- func (m *MsgTssPool) Unmarshal(dAtA []byte) error
- func (m *MsgTssPool) ValidateBasic() error
- func (m *MsgTssPool) XXX_DiscardUnknown()
- func (m *MsgTssPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTssPool) XXX_Merge(src proto.Message)
- func (m *MsgTssPool) XXX_Size() int
- func (m *MsgTssPool) XXX_Unmarshal(b []byte) error
- type MsgUnBond
- func (*MsgUnBond) Descriptor() ([]byte, []int)
- func (m *MsgUnBond) GetBondAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgUnBond) GetBondProviderAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgUnBond) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgUnBond) GetSignBytes() []byte
- func (m *MsgUnBond) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgUnBond) GetSigners() []cosmos.AccAddress
- func (m *MsgUnBond) GetTxIn() common.Tx
- func (m *MsgUnBond) Marshal() (dAtA []byte, err error)
- func (m *MsgUnBond) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnBond) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnBond) ProtoMessage()
- func (m *MsgUnBond) Reset()
- func (m *MsgUnBond) Route() string
- func (m *MsgUnBond) Size() (n int)
- func (m *MsgUnBond) String() string
- func (m MsgUnBond) Type() string
- func (m *MsgUnBond) Unmarshal(dAtA []byte) error
- func (m *MsgUnBond) ValidateBasic() error
- func (m *MsgUnBond) XXX_DiscardUnknown()
- func (m *MsgUnBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnBond) XXX_Merge(src proto.Message)
- func (m *MsgUnBond) XXX_Size() int
- func (m *MsgUnBond) XXX_Unmarshal(b []byte) error
- type MsgWithdrawLiquidity
- func (*MsgWithdrawLiquidity) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawLiquidity) GetAsset() common.Asset
- func (m *MsgWithdrawLiquidity) GetSignBytes() []byte
- func (m *MsgWithdrawLiquidity) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *MsgWithdrawLiquidity) GetSigners() []cosmos.AccAddress
- func (m *MsgWithdrawLiquidity) GetTx() common.Tx
- func (m *MsgWithdrawLiquidity) GetWithdrawAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *MsgWithdrawLiquidity) GetWithdrawalAsset() common.Asset
- func (m *MsgWithdrawLiquidity) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawLiquidity) ProtoMessage()
- func (m *MsgWithdrawLiquidity) Reset()
- func (m *MsgWithdrawLiquidity) Route() string
- func (m *MsgWithdrawLiquidity) Size() (n int)
- func (m *MsgWithdrawLiquidity) String() string
- func (m MsgWithdrawLiquidity) Type() string
- func (m *MsgWithdrawLiquidity) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawLiquidity) ValidateBasic() error
- func (m *MsgWithdrawLiquidity) XXX_DiscardUnknown()
- func (m *MsgWithdrawLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawLiquidity) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawLiquidity) XXX_Size() int
- func (m *MsgWithdrawLiquidity) XXX_Unmarshal(b []byte) error
- type Network
- func (m *Network) CalcNodeRewards(nodeUnits cosmos.Uint) cosmos.Uint
- func (*Network) Descriptor() ([]byte, []int)
- func (m *Network) GetLPIncomeSplit() int64
- func (m *Network) GetNodeIncomeSplit() int64
- func (m *Network) GetOutboundGasSpentRune() uint64
- func (m *Network) GetOutboundGasWithheldRune() uint64
- func (m *Network) Marshal() (dAtA []byte, err error)
- func (m *Network) MarshalTo(dAtA []byte) (int, error)
- func (m *Network) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Network) ProtoMessage()
- func (m *Network) Reset()
- func (m *Network) Size() (n int)
- func (m *Network) String() string
- func (m *Network) Unmarshal(dAtA []byte) error
- func (m *Network) XXX_DiscardUnknown()
- func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Network) XXX_Merge(src proto.Message)
- func (m *Network) XXX_Size() int
- func (m *Network) XXX_Unmarshal(b []byte) error
- type NetworkFee
- func (*NetworkFee) Descriptor() ([]byte, []int)
- func (m *NetworkFee) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *NetworkFee) GetTransactionFeeRate() uint64
- func (m *NetworkFee) GetTransactionSize() uint64
- func (m *NetworkFee) Marshal() (dAtA []byte, err error)
- func (m *NetworkFee) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkFee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkFee) ProtoMessage()
- func (m *NetworkFee) Reset()
- func (m *NetworkFee) Size() (n int)
- func (m *NetworkFee) String() string
- func (m *NetworkFee) Unmarshal(dAtA []byte) error
- func (m *NetworkFee) Valid() error
- func (m *NetworkFee) XXX_DiscardUnknown()
- func (m *NetworkFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkFee) XXX_Merge(src proto.Message)
- func (m *NetworkFee) XXX_Size() int
- func (m *NetworkFee) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeAccount
- func (m *NodeAccount) CalcBondUnits(height, slashpoints int64) cosmos.Uint
- func (*NodeAccount) Descriptor() ([]byte, []int)
- func (m *NodeAccount) Equals(n1 NodeAccount) bool
- func (m *NodeAccount) GetSignerMembership() common.PubKeys
- func (m *NodeAccount) GetVersion() semver.Version
- func (m *NodeAccount) IsEmpty() bool
- func (m *NodeAccount) Marshal() (dAtA []byte, err error)
- func (m *NodeAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeAccount) ProtoMessage()
- func (m *NodeAccount) Reset()
- func (m *NodeAccount) Size() (n int)
- func (m *NodeAccount) String() string
- func (m *NodeAccount) TryAddSignerPubKey(key common.PubKey)
- func (m *NodeAccount) TryRemoveSignerPubKey(key common.PubKey)
- func (m *NodeAccount) Unmarshal(dAtA []byte) error
- func (m *NodeAccount) UpdateStatus(status NodeStatus, height int64)
- func (m *NodeAccount) Valid() error
- func (m *NodeAccount) XXX_DiscardUnknown()
- func (m *NodeAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeAccount) XXX_Merge(src proto.Message)
- func (m *NodeAccount) XXX_Size() int
- func (m *NodeAccount) XXX_Unmarshal(b []byte) error
- type NodeAccounts
- func (nas NodeAccounts) Contains(na NodeAccount) bool
- func (nas NodeAccounts) GetNodeAddresses() []cosmos.AccAddress
- func (nas NodeAccounts) IsEmpty() bool
- func (nas NodeAccounts) IsNodeKeys(addr cosmos.AccAddress) bool
- func (nas NodeAccounts) Len() int
- func (nas NodeAccounts) Less(i, j int) bool
- func (nas NodeAccounts) Swap(i, j int)
- type NodeMimir
- func (*NodeMimir) Descriptor() ([]byte, []int)
- func (m *NodeMimir) GetKey() string
- func (m *NodeMimir) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *NodeMimir) GetValue() int64
- func (m *NodeMimir) Marshal() (dAtA []byte, err error)
- func (m *NodeMimir) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeMimir) ProtoMessage()
- func (m *NodeMimir) Reset()
- func (m *NodeMimir) Size() (n int)
- func (m *NodeMimir) String() string
- func (m *NodeMimir) Unmarshal(dAtA []byte) error
- func (m *NodeMimir) XXX_DiscardUnknown()
- func (m *NodeMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeMimir) XXX_Merge(src proto.Message)
- func (m *NodeMimir) XXX_Size() int
- func (m *NodeMimir) XXX_Unmarshal(b []byte) error
- type NodeMimirs
- func (m *NodeMimirs) Delete(key string, acc cosmos.AccAddress)
- func (*NodeMimirs) Descriptor() ([]byte, []int)
- func (m NodeMimirs) Get(key string, acc cosmos.AccAddress) (int64, bool)
- func (m *NodeMimirs) GetMimirs() []NodeMimir
- func (m NodeMimirs) Has(key string, acc cosmos.AccAddress) bool
- func (m NodeMimirs) HasMinority(key string, nas []cosmos.AccAddress) (int64, bool)
- func (m NodeMimirs) HasSimpleMajority(key string, nas []cosmos.AccAddress) (int64, bool)
- func (m NodeMimirs) HasSuperMajority(key string, nas []cosmos.AccAddress) (int64, bool)
- func (m *NodeMimirs) Marshal() (dAtA []byte, err error)
- func (m *NodeMimirs) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeMimirs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeMimirs) ProtoMessage()
- func (m *NodeMimirs) Reset()
- func (m *NodeMimirs) Set(key string, val int64, acc cosmos.AccAddress)
- func (m *NodeMimirs) Size() (n int)
- func (m *NodeMimirs) String() string
- func (m *NodeMimirs) Unmarshal(dAtA []byte) error
- func (m NodeMimirs) ValueOfEconomic(key string, active []cosmos.AccAddress) int64
- func (m NodeMimirs) ValueOfOperational(key string, minVotes int64, active []cosmos.AccAddress) int64
- func (m *NodeMimirs) XXX_DiscardUnknown()
- func (m *NodeMimirs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeMimirs) XXX_Merge(src proto.Message)
- func (m *NodeMimirs) XXX_Size() int
- func (m *NodeMimirs) XXX_Unmarshal(b []byte) error
- type NodePauseChain
- func (*NodePauseChain) Descriptor() ([]byte, []int)
- func (m *NodePauseChain) GetBlockHeight() int64
- func (m *NodePauseChain) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *NodePauseChain) Marshal() (dAtA []byte, err error)
- func (m *NodePauseChain) MarshalTo(dAtA []byte) (int, error)
- func (m *NodePauseChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodePauseChain) ProtoMessage()
- func (m *NodePauseChain) Reset()
- func (m *NodePauseChain) Size() (n int)
- func (m *NodePauseChain) String() string
- func (m *NodePauseChain) Unmarshal(dAtA []byte) error
- func (m *NodePauseChain) XXX_DiscardUnknown()
- func (m *NodePauseChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodePauseChain) XXX_Merge(src proto.Message)
- func (m *NodePauseChain) XXX_Size() int
- func (m *NodePauseChain) XXX_Unmarshal(b []byte) error
- type NodeStatus
- type NodeTssTime
- func (*NodeTssTime) Descriptor() ([]byte, []int)
- func (m *NodeTssTime) GetAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *NodeTssTime) GetTssTime() int64
- func (m *NodeTssTime) Marshal() (dAtA []byte, err error)
- func (m *NodeTssTime) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeTssTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeTssTime) ProtoMessage()
- func (m *NodeTssTime) Reset()
- func (m *NodeTssTime) Size() (n int)
- func (m *NodeTssTime) String() string
- func (m *NodeTssTime) Unmarshal(dAtA []byte) error
- func (m *NodeTssTime) XXX_DiscardUnknown()
- func (m *NodeTssTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeTssTime) XXX_Merge(src proto.Message)
- func (m *NodeTssTime) XXX_Size() int
- func (m *NodeTssTime) XXX_Unmarshal(b []byte) error
- type NodeType
- type ObservedNetworkFeeVoter
- func (*ObservedNetworkFeeVoter) Descriptor() ([]byte, []int)
- func (m *ObservedNetworkFeeVoter) GetSigners() []cosmos.AccAddress
- func (m *ObservedNetworkFeeVoter) HasConsensus(nas NodeAccounts) bool
- func (m *ObservedNetworkFeeVoter) HasSigned(signer cosmos.AccAddress) bool
- func (m *ObservedNetworkFeeVoter) ID() string
- func (m *ObservedNetworkFeeVoter) IsEmpty() bool
- func (m *ObservedNetworkFeeVoter) Marshal() (dAtA []byte, err error)
- func (m *ObservedNetworkFeeVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *ObservedNetworkFeeVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObservedNetworkFeeVoter) ProtoMessage()
- func (m *ObservedNetworkFeeVoter) Reset()
- func (m *ObservedNetworkFeeVoter) Sign(signer cosmos.AccAddress) bool
- func (m *ObservedNetworkFeeVoter) Size() (n int)
- func (m *ObservedNetworkFeeVoter) String() string
- func (m *ObservedNetworkFeeVoter) Unmarshal(dAtA []byte) error
- func (m *ObservedNetworkFeeVoter) XXX_DiscardUnknown()
- func (m *ObservedNetworkFeeVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObservedNetworkFeeVoter) XXX_Merge(src proto.Message)
- func (m *ObservedNetworkFeeVoter) XXX_Size() int
- func (m *ObservedNetworkFeeVoter) XXX_Unmarshal(b []byte) error
- type ObservedTx
- func (*ObservedTx) Descriptor() ([]byte, []int)
- func (m ObservedTx) Equals(tx2 ObservedTx) bool
- func (m *ObservedTx) GetOutHashes() common.TxIDs
- func (m *ObservedTx) GetSigners() []cosmos.AccAddress
- func (m *ObservedTx) HasSigned(signer cosmos.AccAddress) bool
- func (m *ObservedTx) IsDone(numOuts int) bool
- func (m *ObservedTx) IsEmpty() bool
- func (m *ObservedTx) IsFinal() bool
- func (m *ObservedTx) Marshal() (dAtA []byte, err error)
- func (m *ObservedTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ObservedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObservedTx) ProtoMessage()
- func (m *ObservedTx) Reset()
- func (m *ObservedTx) SetDone(hash common.TxID, numOuts int)
- func (m *ObservedTx) Sign(signer cosmos.AccAddress) bool
- func (m *ObservedTx) Size() (n int)
- func (m *ObservedTx) String() string
- func (m *ObservedTx) Unmarshal(dAtA []byte) error
- func (m *ObservedTx) Valid() error
- func (m *ObservedTx) XXX_DiscardUnknown()
- func (m *ObservedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObservedTx) XXX_Merge(src proto.Message)
- func (m *ObservedTx) XXX_Size() int
- func (m *ObservedTx) XXX_Unmarshal(b []byte) error
- type ObservedTxVoter
- func (m *ObservedTxVoter) Add(observedTx ObservedTx, signer cosmos.AccAddress) bool
- func (m *ObservedTxVoter) AddOutTx(in common.Tx) bool
- func (*ObservedTxVoter) Descriptor() ([]byte, []int)
- func (m *ObservedTxVoter) GetConsensusSigners() []cosmos.AccAddress
- func (m *ObservedTxVoter) GetTx(nodeAccounts NodeAccounts) ObservedTx
- func (m *ObservedTxVoter) HasConsensus(nodeAccounts NodeAccounts) bool
- func (m *ObservedTxVoter) HasFinalised(nodeAccounts NodeAccounts) bool
- func (m *ObservedTxVoter) IsDone() bool
- func (m *ObservedTxVoter) Key() common.TxID
- func (m *ObservedTxVoter) Marshal() (dAtA []byte, err error)
- func (m *ObservedTxVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *ObservedTxVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObservedTxVoter) ProtoMessage()
- func (m *ObservedTxVoter) Reset()
- func (m *ObservedTxVoter) SetDone()
- func (m *ObservedTxVoter) SetReverted()
- func (m *ObservedTxVoter) Size() (n int)
- func (m *ObservedTxVoter) String() string
- func (m *ObservedTxVoter) Unmarshal(dAtA []byte) error
- func (m *ObservedTxVoter) Valid() error
- func (m *ObservedTxVoter) XXX_DiscardUnknown()
- func (m *ObservedTxVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObservedTxVoter) XXX_Merge(src proto.Message)
- func (m *ObservedTxVoter) XXX_Size() int
- func (m *ObservedTxVoter) XXX_Unmarshal(b []byte) error
- type ObservedTxVoters
- type ObservedTxs
- type OrderType
- type PendingLiquidityType
- type Pool
- func (m Pool) AssetDisbursementForRuneAdd(amt cosmos.Uint) cosmos.Uint
- func (m Pool) AssetValueInRune(amt cosmos.Uint) cosmos.Uint
- func (m *Pool) CalcUnits(s cosmos.Uint) cosmos.Uint
- func (*Pool) Descriptor() ([]byte, []int)
- func (m Pool) EnsureValidPoolStatus(msg cosmos.Msg) error
- func (m Pool) GetLUVI() cosmos.Uint
- func (m *Pool) GetPoolUnits() cosmos.Uint
- func (m Pool) IsAvailable() bool
- func (m Pool) IsEmpty() bool
- func (m Pool) IsStaged() bool
- func (m *Pool) Marshal() (dAtA []byte, err error)
- func (m *Pool) MarshalTo(dAtA []byte) (int, error)
- func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pool) ProtoMessage()
- func (m *Pool) Reset()
- func (m Pool) RuneDisbursementForAssetAdd(amt cosmos.Uint) cosmos.Uint
- func (m Pool) RuneReimbursementForAssetWithdrawal(amt cosmos.Uint) cosmos.Uint
- func (m Pool) RuneValueInAsset(amt cosmos.Uint) cosmos.Uint
- func (m *Pool) Size() (n int)
- func (m Pool) String() string
- func (m *Pool) Unmarshal(dAtA []byte) error
- func (m Pool) Valid() error
- func (m *Pool) XXX_DiscardUnknown()
- func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pool) XXX_Merge(src proto.Message)
- func (m *Pool) XXX_Size() int
- func (m *Pool) XXX_Unmarshal(b []byte) error
- type PoolAmt
- func (*PoolAmt) Descriptor() ([]byte, []int)
- func (m *PoolAmt) GetAmount() int64
- func (m *PoolAmt) GetAsset() common.Asset
- func (m *PoolAmt) Marshal() (dAtA []byte, err error)
- func (m *PoolAmt) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolAmt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolAmt) ProtoMessage()
- func (m *PoolAmt) Reset()
- func (m *PoolAmt) Size() (n int)
- func (m *PoolAmt) String() string
- func (m *PoolAmt) Unmarshal(dAtA []byte) error
- func (m *PoolAmt) XXX_DiscardUnknown()
- func (m *PoolAmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolAmt) XXX_Merge(src proto.Message)
- func (m *PoolAmt) XXX_Size() int
- func (m *PoolAmt) XXX_Unmarshal(b []byte) error
- type PoolMod
- func (*PoolMod) Descriptor() ([]byte, []int)
- func (m *PoolMod) GetAsset() common.Asset
- func (m *PoolMod) GetAssetAdd() bool
- func (m *PoolMod) GetRuneAdd() bool
- func (m *PoolMod) Marshal() (dAtA []byte, err error)
- func (m *PoolMod) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolMod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolMod) ProtoMessage()
- func (m *PoolMod) Reset()
- func (m *PoolMod) Size() (n int)
- func (m *PoolMod) String() string
- func (m *PoolMod) Unmarshal(dAtA []byte) error
- func (m *PoolMod) XXX_DiscardUnknown()
- func (m *PoolMod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolMod) XXX_Merge(src proto.Message)
- func (m *PoolMod) XXX_Size() int
- func (m *PoolMod) XXX_Unmarshal(b []byte) error
- type PoolMods
- type PoolStatus
- type Pools
- type ProtoAccAddresses
- func (*ProtoAccAddresses) Descriptor() ([]byte, []int)
- func (m *ProtoAccAddresses) GetValue() []github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *ProtoAccAddresses) Marshal() (dAtA []byte, err error)
- func (m *ProtoAccAddresses) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtoAccAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtoAccAddresses) ProtoMessage()
- func (m *ProtoAccAddresses) Reset()
- func (m *ProtoAccAddresses) Size() (n int)
- func (m *ProtoAccAddresses) String() string
- func (m *ProtoAccAddresses) Unmarshal(dAtA []byte) error
- func (m *ProtoAccAddresses) XXX_DiscardUnknown()
- func (m *ProtoAccAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoAccAddresses) XXX_Merge(src proto.Message)
- func (m *ProtoAccAddresses) XXX_Size() int
- func (m *ProtoAccAddresses) XXX_Unmarshal(b []byte) error
- type ProtoBools
- func (*ProtoBools) Descriptor() ([]byte, []int)
- func (m *ProtoBools) GetValue() []bool
- func (m *ProtoBools) Marshal() (dAtA []byte, err error)
- func (m *ProtoBools) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtoBools) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtoBools) ProtoMessage()
- func (m *ProtoBools) Reset()
- func (m *ProtoBools) Size() (n int)
- func (m *ProtoBools) String() string
- func (m *ProtoBools) Unmarshal(dAtA []byte) error
- func (m *ProtoBools) XXX_DiscardUnknown()
- func (m *ProtoBools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoBools) XXX_Merge(src proto.Message)
- func (m *ProtoBools) XXX_Size() int
- func (m *ProtoBools) XXX_Unmarshal(b []byte) error
- type ProtoInt64
- func (*ProtoInt64) Descriptor() ([]byte, []int)
- func (m *ProtoInt64) GetValue() int64
- func (m *ProtoInt64) Marshal() (dAtA []byte, err error)
- func (m *ProtoInt64) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtoInt64) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtoInt64) ProtoMessage()
- func (m *ProtoInt64) Reset()
- func (m *ProtoInt64) Size() (n int)
- func (m *ProtoInt64) String() string
- func (m *ProtoInt64) Unmarshal(dAtA []byte) error
- func (m *ProtoInt64) XXX_DiscardUnknown()
- func (m *ProtoInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoInt64) XXX_Merge(src proto.Message)
- func (m *ProtoInt64) XXX_Size() int
- func (m *ProtoInt64) XXX_Unmarshal(b []byte) error
- type ProtoStrings
- func (*ProtoStrings) Descriptor() ([]byte, []int)
- func (m *ProtoStrings) GetValue() []string
- func (m *ProtoStrings) Marshal() (dAtA []byte, err error)
- func (m *ProtoStrings) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtoStrings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtoStrings) ProtoMessage()
- func (m *ProtoStrings) Reset()
- func (m *ProtoStrings) Size() (n int)
- func (m *ProtoStrings) String() string
- func (m *ProtoStrings) Unmarshal(dAtA []byte) error
- func (m *ProtoStrings) XXX_DiscardUnknown()
- func (m *ProtoStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoStrings) XXX_Merge(src proto.Message)
- func (m *ProtoStrings) XXX_Size() int
- func (m *ProtoStrings) XXX_Unmarshal(b []byte) error
- type ProtoUint64
- func (*ProtoUint64) Descriptor() ([]byte, []int)
- func (m *ProtoUint64) GetValue() uint64
- func (m *ProtoUint64) Marshal() (dAtA []byte, err error)
- func (m *ProtoUint64) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtoUint64) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProtoUint64) ProtoMessage()
- func (m *ProtoUint64) Reset()
- func (m *ProtoUint64) Size() (n int)
- func (m *ProtoUint64) String() string
- func (m *ProtoUint64) Unmarshal(dAtA []byte) error
- func (m *ProtoUint64) XXX_DiscardUnknown()
- func (m *ProtoUint64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtoUint64) XXX_Merge(src proto.Message)
- func (m *ProtoUint64) XXX_Size() int
- func (m *ProtoUint64) XXX_Unmarshal(b []byte) error
- type ProtocolOwnedLiquidity
- func (pol ProtocolOwnedLiquidity) CurrentDeposit() cosmos.Int
- func (*ProtocolOwnedLiquidity) Descriptor() ([]byte, []int)
- func (m *ProtocolOwnedLiquidity) Marshal() (dAtA []byte, err error)
- func (m *ProtocolOwnedLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *ProtocolOwnedLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (pol ProtocolOwnedLiquidity) PnL(value cosmos.Uint) cosmos.Int
- func (*ProtocolOwnedLiquidity) ProtoMessage()
- func (m *ProtocolOwnedLiquidity) Reset()
- func (m *ProtocolOwnedLiquidity) Size() (n int)
- func (m *ProtocolOwnedLiquidity) String() string
- func (m *ProtocolOwnedLiquidity) Unmarshal(dAtA []byte) error
- func (m *ProtocolOwnedLiquidity) XXX_DiscardUnknown()
- func (m *ProtocolOwnedLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProtocolOwnedLiquidity) XXX_Merge(src proto.Message)
- func (m *ProtocolOwnedLiquidity) XXX_Size() int
- func (m *ProtocolOwnedLiquidity) XXX_Unmarshal(b []byte) error
- type QueryBlockResponse
- type QueryBlockTx
- type RUNEPool
- func (rp RUNEPool) CurrentDeposit() cosmos.Int
- func (*RUNEPool) Descriptor() ([]byte, []int)
- func (m *RUNEPool) Marshal() (dAtA []byte, err error)
- func (m *RUNEPool) MarshalTo(dAtA []byte) (int, error)
- func (m *RUNEPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RUNEPool) ProtoMessage()
- func (m *RUNEPool) Reset()
- func (m *RUNEPool) Size() (n int)
- func (m *RUNEPool) String() string
- func (rp RUNEPool) TotalUnits() cosmos.Uint
- func (m *RUNEPool) Unmarshal(dAtA []byte) error
- func (m *RUNEPool) XXX_DiscardUnknown()
- func (m *RUNEPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RUNEPool) XXX_Merge(src proto.Message)
- func (m *RUNEPool) XXX_Size() int
- func (m *RUNEPool) XXX_Unmarshal(b []byte) error
- type RUNEProvider
- func (*RUNEProvider) Descriptor() ([]byte, []int)
- func (m *RUNEProvider) GetLastDepositHeight() int64
- func (m *RUNEProvider) GetLastWithdrawHeight() int64
- func (m *RUNEProvider) GetRuneAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (rp RUNEProvider) Key() string
- func (m *RUNEProvider) Marshal() (dAtA []byte, err error)
- func (m *RUNEProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *RUNEProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RUNEProvider) ProtoMessage()
- func (m *RUNEProvider) Reset()
- func (m *RUNEProvider) Size() (n int)
- func (m *RUNEProvider) String() string
- func (m *RUNEProvider) Unmarshal(dAtA []byte) error
- func (m *RUNEProvider) XXX_DiscardUnknown()
- func (m *RUNEProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RUNEProvider) XXX_Merge(src proto.Message)
- func (m *RUNEProvider) XXX_Size() int
- func (m *RUNEProvider) XXX_Unmarshal(b []byte) error
- type RagnarokWithdrawPosition
- func (*RagnarokWithdrawPosition) Descriptor() ([]byte, []int)
- func (m *RagnarokWithdrawPosition) GetNumber() int64
- func (m *RagnarokWithdrawPosition) GetPool() common.Asset
- func (m RagnarokWithdrawPosition) IsEmpty() bool
- func (m *RagnarokWithdrawPosition) Marshal() (dAtA []byte, err error)
- func (m *RagnarokWithdrawPosition) MarshalTo(dAtA []byte) (int, error)
- func (m *RagnarokWithdrawPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RagnarokWithdrawPosition) ProtoMessage()
- func (m *RagnarokWithdrawPosition) Reset()
- func (m *RagnarokWithdrawPosition) Size() (n int)
- func (m *RagnarokWithdrawPosition) String() string
- func (m *RagnarokWithdrawPosition) Unmarshal(dAtA []byte) error
- func (m *RagnarokWithdrawPosition) XXX_DiscardUnknown()
- func (m *RagnarokWithdrawPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RagnarokWithdrawPosition) XXX_Merge(src proto.Message)
- func (m *RagnarokWithdrawPosition) XXX_Size() int
- func (m *RagnarokWithdrawPosition) XXX_Unmarshal(b []byte) error
- type ReserveContributor
- func (*ReserveContributor) Descriptor() ([]byte, []int)
- func (m *ReserveContributor) GetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *ReserveContributor) IsEmpty() bool
- func (m *ReserveContributor) Marshal() (dAtA []byte, err error)
- func (m *ReserveContributor) MarshalTo(dAtA []byte) (int, error)
- func (m *ReserveContributor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReserveContributor) ProtoMessage()
- func (m *ReserveContributor) Reset()
- func (m *ReserveContributor) Size() (n int)
- func (m *ReserveContributor) String() string
- func (m *ReserveContributor) Unmarshal(dAtA []byte) error
- func (m *ReserveContributor) Valid() error
- func (m *ReserveContributor) XXX_DiscardUnknown()
- func (m *ReserveContributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReserveContributor) XXX_Merge(src proto.Message)
- func (m *ReserveContributor) XXX_Size() int
- func (m *ReserveContributor) XXX_Unmarshal(b []byte) error
- type ReserveContributors
- type SolvencyVoter
- func (*SolvencyVoter) Descriptor() ([]byte, []int)
- func (m *SolvencyVoter) Empty() bool
- func (m *SolvencyVoter) GetSigners() []cosmos.AccAddress
- func (m *SolvencyVoter) HasConsensus(nas NodeAccounts) bool
- func (m *SolvencyVoter) HasSigned(signer cosmos.AccAddress) bool
- func (m *SolvencyVoter) Marshal() (dAtA []byte, err error)
- func (m *SolvencyVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *SolvencyVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SolvencyVoter) ProtoMessage()
- func (m *SolvencyVoter) Reset()
- func (m *SolvencyVoter) Sign(signer cosmos.AccAddress) bool
- func (m *SolvencyVoter) Size() (n int)
- func (m *SolvencyVoter) String() string
- func (m *SolvencyVoter) Unmarshal(dAtA []byte) error
- func (m *SolvencyVoter) XXX_DiscardUnknown()
- func (m *SolvencyVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SolvencyVoter) XXX_Merge(src proto.Message)
- func (m *SolvencyVoter) XXX_Size() int
- func (m *SolvencyVoter) XXX_Unmarshal(b []byte) error
- type Status
- type StreamingSwap
- func (m *StreamingSwap) DefaultSwapSize() cosmos.Uint
- func (*StreamingSwap) Descriptor() ([]byte, []int)
- func (m *StreamingSwap) GetCount() uint64
- func (m *StreamingSwap) GetFailedSwapReasons() []string
- func (m *StreamingSwap) GetFailedSwaps() []uint64
- func (m *StreamingSwap) GetInterval() uint64
- func (m *StreamingSwap) GetLastHeight() int64
- func (m *StreamingSwap) GetQuantity() uint64
- func (m *StreamingSwap) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *StreamingSwap) IsDone() bool
- func (m *StreamingSwap) IsLastSwap() bool
- func (m *StreamingSwap) Marshal() (dAtA []byte, err error)
- func (m *StreamingSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamingSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *StreamingSwap) NextSize() (cosmos.Uint, cosmos.Uint)
- func (*StreamingSwap) ProtoMessage()
- func (m *StreamingSwap) Reset()
- func (m *StreamingSwap) Size() (n int)
- func (m *StreamingSwap) String() string
- func (m *StreamingSwap) Unmarshal(dAtA []byte) error
- func (m *StreamingSwap) Valid() error
- func (m *StreamingSwap) XXX_DiscardUnknown()
- func (m *StreamingSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamingSwap) XXX_Merge(src proto.Message)
- func (m *StreamingSwap) XXX_Size() int
- func (m *StreamingSwap) XXX_Unmarshal(b []byte) error
- type StreamingSwaps
- type SwapperClout
- func (c SwapperClout) Available() cosmos.Uint
- func (c SwapperClout) Claimable() cosmos.Uint
- func (*SwapperClout) Descriptor() ([]byte, []int)
- func (m *SwapperClout) GetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *SwapperClout) GetLastReclaimHeight() int64
- func (m *SwapperClout) GetLastSpentHeight() int64
- func (m *SwapperClout) Marshal() (dAtA []byte, err error)
- func (m *SwapperClout) MarshalTo(dAtA []byte) (int, error)
- func (m *SwapperClout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SwapperClout) ProtoMessage()
- func (c *SwapperClout) Reclaim(value cosmos.Uint)
- func (m *SwapperClout) Reset()
- func (c *SwapperClout) Restore(height, limit int64)
- func (m *SwapperClout) Size() (n int)
- func (m *SwapperClout) String() string
- func (m *SwapperClout) Unmarshal(dAtA []byte) error
- func (c SwapperClout) Valid() error
- func (m *SwapperClout) XXX_DiscardUnknown()
- func (m *SwapperClout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SwapperClout) XXX_Merge(src proto.Message)
- func (m *SwapperClout) XXX_Size() int
- func (m *SwapperClout) XXX_Unmarshal(b []byte) error
- type THORName
- func (m *THORName) CanReceiveAffiliateFee() bool
- func (*THORName) Descriptor() ([]byte, []int)
- func (m *THORName) GetAlias(chain common.Chain) common.Address
- func (m *THORName) GetAliases() []THORNameAlias
- func (m *THORName) GetExpireBlockHeight() int64
- func (m *THORName) GetName() string
- func (m *THORName) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *THORName) GetPreferredAsset() common.Asset
- func (m *THORName) Key() string
- func (m *THORName) Marshal() (dAtA []byte, err error)
- func (m *THORName) MarshalTo(dAtA []byte) (int, error)
- func (m *THORName) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*THORName) ProtoMessage()
- func (m *THORName) Reset()
- func (m *THORName) SetAlias(chain common.Chain, addr common.Address)
- func (m *THORName) Size() (n int)
- func (m *THORName) String() string
- func (m *THORName) Unmarshal(dAtA []byte) error
- func (m *THORName) Valid() error
- func (m *THORName) XXX_DiscardUnknown()
- func (m *THORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *THORName) XXX_Merge(src proto.Message)
- func (m *THORName) XXX_Size() int
- func (m *THORName) XXX_Unmarshal(b []byte) error
- type THORNameAlias
- func (*THORNameAlias) Descriptor() ([]byte, []int)
- func (m *THORNameAlias) GetAddress() gitlab_com_thorchain_thornode_common.Address
- func (m *THORNameAlias) GetChain() gitlab_com_thorchain_thornode_common.Chain
- func (m *THORNameAlias) Marshal() (dAtA []byte, err error)
- func (m *THORNameAlias) MarshalTo(dAtA []byte) (int, error)
- func (m *THORNameAlias) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*THORNameAlias) ProtoMessage()
- func (m *THORNameAlias) Reset()
- func (m *THORNameAlias) Size() (n int)
- func (m *THORNameAlias) String() string
- func (m *THORNameAlias) Unmarshal(dAtA []byte) error
- func (m *THORNameAlias) XXX_DiscardUnknown()
- func (m *THORNameAlias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *THORNameAlias) XXX_Merge(src proto.Message)
- func (m *THORNameAlias) XXX_Size() int
- func (m *THORNameAlias) XXX_Unmarshal(b []byte) error
- type TradeAccount
- func (*TradeAccount) Descriptor() ([]byte, []int)
- func (m *TradeAccount) GetAsset() common.Asset
- func (m *TradeAccount) GetLastAddHeight() int64
- func (m *TradeAccount) GetLastWithdrawHeight() int64
- func (m *TradeAccount) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (tr TradeAccount) Key() string
- func (m *TradeAccount) Marshal() (dAtA []byte, err error)
- func (m *TradeAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *TradeAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradeAccount) ProtoMessage()
- func (m *TradeAccount) Reset()
- func (m *TradeAccount) Size() (n int)
- func (m *TradeAccount) String() string
- func (m *TradeAccount) Unmarshal(dAtA []byte) error
- func (m *TradeAccount) XXX_DiscardUnknown()
- func (m *TradeAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeAccount) XXX_Merge(src proto.Message)
- func (m *TradeAccount) XXX_Size() int
- func (m *TradeAccount) XXX_Unmarshal(b []byte) error
- type TradeUnit
- func (*TradeUnit) Descriptor() ([]byte, []int)
- func (m *TradeUnit) GetAsset() common.Asset
- func (tu TradeUnit) Key() string
- func (m *TradeUnit) Marshal() (dAtA []byte, err error)
- func (m *TradeUnit) MarshalTo(dAtA []byte) (int, error)
- func (m *TradeUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradeUnit) ProtoMessage()
- func (m *TradeUnit) Reset()
- func (m *TradeUnit) Size() (n int)
- func (m *TradeUnit) String() string
- func (m *TradeUnit) Unmarshal(dAtA []byte) error
- func (m *TradeUnit) XXX_DiscardUnknown()
- func (m *TradeUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeUnit) XXX_Merge(src proto.Message)
- func (m *TradeUnit) XXX_Size() int
- func (m *TradeUnit) XXX_Unmarshal(b []byte) error
- type TssKeygenMetric
- func (m *TssKeygenMetric) AddNodeTssTime(addr cosmos.AccAddress, keygenTime int64)
- func (*TssKeygenMetric) Descriptor() ([]byte, []int)
- func (m *TssKeygenMetric) GetMedianTime() int64
- func (m *TssKeygenMetric) GetNodeTssTimes() []NodeTssTime
- func (m *TssKeygenMetric) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
- func (m *TssKeygenMetric) Marshal() (dAtA []byte, err error)
- func (m *TssKeygenMetric) MarshalTo(dAtA []byte) (int, error)
- func (m *TssKeygenMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TssKeygenMetric) ProtoMessage()
- func (m *TssKeygenMetric) Reset()
- func (m *TssKeygenMetric) Size() (n int)
- func (m *TssKeygenMetric) String() string
- func (m *TssKeygenMetric) Unmarshal(dAtA []byte) error
- func (m *TssKeygenMetric) XXX_DiscardUnknown()
- func (m *TssKeygenMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TssKeygenMetric) XXX_Merge(src proto.Message)
- func (m *TssKeygenMetric) XXX_Size() int
- func (m *TssKeygenMetric) XXX_Unmarshal(b []byte) error
- type TssKeysignFailVoter
- func (*TssKeysignFailVoter) Descriptor() ([]byte, []int)
- func (m *TssKeysignFailVoter) Empty() bool
- func (m *TssKeysignFailVoter) GetSigners() []cosmos.AccAddress
- func (m *TssKeysignFailVoter) HasConsensus(nas NodeAccounts) bool
- func (m *TssKeysignFailVoter) HasSigned(signer cosmos.AccAddress) bool
- func (m *TssKeysignFailVoter) Marshal() (dAtA []byte, err error)
- func (m *TssKeysignFailVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *TssKeysignFailVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TssKeysignFailVoter) ProtoMessage()
- func (m *TssKeysignFailVoter) Reset()
- func (m *TssKeysignFailVoter) Sign(signer cosmos.AccAddress) bool
- func (m *TssKeysignFailVoter) Size() (n int)
- func (m *TssKeysignFailVoter) String() string
- func (m *TssKeysignFailVoter) Unmarshal(dAtA []byte) error
- func (m *TssKeysignFailVoter) XXX_DiscardUnknown()
- func (m *TssKeysignFailVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TssKeysignFailVoter) XXX_Merge(src proto.Message)
- func (m *TssKeysignFailVoter) XXX_Size() int
- func (m *TssKeysignFailVoter) XXX_Unmarshal(b []byte) error
- type TssKeysignMetric
- func (m *TssKeysignMetric) AddNodeTssTime(addr cosmos.AccAddress, keygenTime int64)
- func (*TssKeysignMetric) Descriptor() ([]byte, []int)
- func (m *TssKeysignMetric) GetMedianTime() int64
- func (m *TssKeysignMetric) GetNodeTssTimes() []NodeTssTime
- func (m *TssKeysignMetric) GetTxID() gitlab_com_thorchain_thornode_common.TxID
- func (m *TssKeysignMetric) Marshal() (dAtA []byte, err error)
- func (m *TssKeysignMetric) MarshalTo(dAtA []byte) (int, error)
- func (m *TssKeysignMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TssKeysignMetric) ProtoMessage()
- func (m *TssKeysignMetric) Reset()
- func (m *TssKeysignMetric) Size() (n int)
- func (m *TssKeysignMetric) String() string
- func (m *TssKeysignMetric) Unmarshal(dAtA []byte) error
- func (m *TssKeysignMetric) XXX_DiscardUnknown()
- func (m *TssKeysignMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TssKeysignMetric) XXX_Merge(src proto.Message)
- func (m *TssKeysignMetric) XXX_Size() int
- func (m *TssKeysignMetric) XXX_Unmarshal(b []byte) error
- type TssVoter
- func (m *TssVoter) ConsensusChains() common.Chains
- func (m *TssVoter) ConsensusCheckSignature() (string, bool)
- func (*TssVoter) Descriptor() ([]byte, []int)
- func (m *TssVoter) GetChains() common.Chains
- func (m *TssVoter) GetPubKeys() common.PubKeys
- func (m *TssVoter) GetSigners() []cosmos.AccAddress
- func (m *TssVoter) HasCompleteConsensus() bool
- func (m *TssVoter) HasConsensus() bool
- func (m *TssVoter) HasSigned(signer cosmos.AccAddress) bool
- func (m *TssVoter) IsEmpty() bool
- func (m *TssVoter) Marshal() (dAtA []byte, err error)
- func (m *TssVoter) MarshalTo(dAtA []byte) (int, error)
- func (m *TssVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TssVoter) ProtoMessage()
- func (m *TssVoter) Reset()
- func (m *TssVoter) Sign(signer cosmos.AccAddress, chains []string, secp256k1Signature string) bool
- func (m *TssVoter) Size() (n int)
- func (m *TssVoter) String() string
- func (m *TssVoter) Unmarshal(dAtA []byte) error
- func (m *TssVoter) XXX_DiscardUnknown()
- func (m *TssVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TssVoter) XXX_Merge(src proto.Message)
- func (m *TssVoter) XXX_Size() int
- func (m *TssVoter) XXX_Unmarshal(b []byte) error
- type TxOut
- func (*TxOut) Descriptor() ([]byte, []int)
- func (m *TxOut) IsEmpty() bool
- func (m *TxOut) Marshal() (dAtA []byte, err error)
- func (m *TxOut) MarshalTo(dAtA []byte) (int, error)
- func (m *TxOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxOut) ProtoMessage()
- func (m *TxOut) Reset()
- func (m *TxOut) Size() (n int)
- func (this *TxOut) String() string
- func (m *TxOut) Unmarshal(dAtA []byte) error
- func (m *TxOut) Valid() error
- func (m *TxOut) XXX_DiscardUnknown()
- func (m *TxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOut) XXX_Merge(src proto.Message)
- func (m *TxOut) XXX_Size() int
- func (m *TxOut) XXX_Unmarshal(b []byte) error
- type TxOutItem
- func (*TxOutItem) Descriptor() ([]byte, []int)
- func (m TxOutItem) Equals(toi2 TxOutItem) bool
- func (toi TxOutItem) GetModuleName() string
- func (m *TxOutItem) Marshal() (dAtA []byte, err error)
- func (m *TxOutItem) MarshalTo(dAtA []byte) (int, error)
- func (m *TxOutItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxOutItem) ProtoMessage()
- func (m *TxOutItem) Reset()
- func (m *TxOutItem) Size() (n int)
- func (m TxOutItem) String() string
- func (m *TxOutItem) Unmarshal(dAtA []byte) error
- func (m TxOutItem) Valid() error
- func (m *TxOutItem) XXX_DiscardUnknown()
- func (m *TxOutItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOutItem) XXX_Merge(src proto.Message)
- func (m *TxOutItem) XXX_Size() int
- func (m *TxOutItem) XXX_Unmarshal(b []byte) error
- type Upgrade
- func (*Upgrade) Descriptor() ([]byte, []int)
- func (m *Upgrade) Marshal() (dAtA []byte, err error)
- func (m *Upgrade) MarshalTo(dAtA []byte) (int, error)
- func (m *Upgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Upgrade) ProtoMessage()
- func (m *Upgrade) Reset()
- func (m *Upgrade) Size() (n int)
- func (m *Upgrade) String() string
- func (m *Upgrade) Unmarshal(dAtA []byte) error
- func (m *Upgrade) XXX_DiscardUnknown()
- func (m *Upgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Upgrade) XXX_Merge(src proto.Message)
- func (m *Upgrade) XXX_Size() int
- func (m *Upgrade) XXX_Unmarshal(b []byte) error
- type Vault
- func (m *Vault) AddFunds(coins common.Coins)
- func (m *Vault) AppendPendingTxBlockHeights(blockHeight int64, constAccessor constants.ConstantValues)
- func (m Vault) CoinLength() (count int)
- func (m Vault) CoinLengthByChain(c common.Chain) int
- func (m Vault) Contains(pubkey common.PubKey) bool
- func (m *Vault) DeductVaultPendingOutbounds(pendingOutbounds []TxOutItem)
- func (*Vault) Descriptor() ([]byte, []int)
- func (m Vault) GetChains() common.Chains
- func (m Vault) GetCoin(asset common.Asset) common.Coin
- func (v Vault) GetContract(chain common.Chain) ChainContract
- func (m Vault) GetMembers(activeObservers []cosmos.AccAddress) (common.PubKeys, error)
- func (m Vault) GetMembership() common.PubKeys
- func (m Vault) HasAsset(asset common.Asset) bool
- func (m Vault) HasFunds() bool
- func (m Vault) HasFundsForChain(chain common.Chain) bool
- func (m Vault) IsActive() bool
- func (m Vault) IsAsgard() bool
- func (m Vault) IsEmpty() bool
- func (m Vault) IsRetiring() bool
- func (m Vault) IsType(vtype VaultType) bool
- func (m *Vault) LenPendingTxBlockHeights(currentBlockHeight, maxBlocks int64) int
- func (m *Vault) Marshal() (dAtA []byte, err error)
- func (m *Vault) MarshalTo(dAtA []byte) (int, error)
- func (m *Vault) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m Vault) MembershipEquals(pks common.PubKeys) bool
- func (*Vault) ProtoMessage()
- func (m *Vault) RemovePendingTxBlockHeights(blockHeight int64)
- func (m *Vault) Reset()
- func (m *Vault) Size() (n int)
- func (m *Vault) String() string
- func (m *Vault) SubFunds(coins common.Coins)
- func (m *Vault) Unmarshal(dAtA []byte) error
- func (v *Vault) UpdateContract(chainContract ChainContract)
- func (m *Vault) UpdateStatus(s VaultStatus, height int64)
- func (m Vault) Valid() error
- func (m *Vault) XXX_DiscardUnknown()
- func (m *Vault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vault) XXX_Merge(src proto.Message)
- func (m *Vault) XXX_Size() int
- func (m *Vault) XXX_Unmarshal(b []byte) error
- type VaultStatus
- type VaultType
- type Vaults
- func (vs Vaults) Has(target common.Coin) Vaults
- func (vs Vaults) HasAddress(chain common.Chain, address common.Address) (bool, error)
- func (vs Vaults) SelectByMaxCoin(asset common.Asset) (vault Vault)
- func (vs Vaults) SelectByMinCoin(asset common.Asset) (vault Vault)
- func (vs Vaults) SortBy(sortBy common.Asset) Vaults
Constants ¶
const ( // ModuleName name of THORChain module ModuleName = "thorchain" // DefaultCodespace is the same as ModuleName DefaultCodespace = ModuleName // ReserveName the module account name to keep reserve ReserveName = "reserve" // AsgardName the module account name to keep asgard fund AsgardName = "asgard" // BondName the name of account used to store bond BondName = "bond" // LendingName LendingName = "lending" // AffiliateCollectorName the name of the account used to store rune for affiliate fee swaps AffiliateCollectorName = "affiliate_collector" // TreasuryName the name of the account used for treasury governance TreasuryName = "treasury" // RUNEPoolName the name of the account used to track RUNEPool RUNEPoolName = "rune_pool" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey used in the RPC query RouterKey = ModuleName // this was defined in your key.go file )
const ( AddLiquidityEventType = "add_liquidity" BondEventType = "bond" DonateEventType = "donate" ErrataEventType = "errata" FeeEventType = "fee" GasEventType = "gas" OutboundEventType = "outbound" PendingLiquidity = "pending_liquidity" PoolBalanceChangeEventType = "pool_balance_change" PoolEventType = "pool" RefundEventType = "refund" ReserveEventType = "reserve" RewardEventType = "rewards" ScheduledOutboundEventType = "scheduled_outbound" SecurityEventType = "security" SetMimirEventType = "set_mimir" SetNodeMimirEventType = "set_node_mimir" SlashEventType = "slash" SlashPointEventType = "slash_points" StreamingSwapEventType = "streaming_swap" SwapEventType = "swap" LimitOrderEventType = "limit_order" MintBurnType = "mint_burn" THORNameEventType = "thorname" LoanOpenEventType = "loan_open" LoanRepaymentEventType = "loan_repayment" TradeAccountDepositEventType = "trade_account_deposit" TradeAccountWithdrawEventType = "trade_account_withdraw" RUNEPoolDepositEventType = "rune_pool_deposit" RUNEPoolWithdrawEventType = "rune_pool_withdraw" TSSKeygenSuccess = "tss_keygen_success" TSSKeygenFailure = "tss_keygen_failure" TSSKeygenMetricEventType = "tss_keygen" TSSKeysignMetricEventType = "tss_keysign" VersionEventType = "version" WithdrawEventType = "withdraw" )
all event types support by THORChain
const ( // SuperMajorityFactor - super majority 2/3 SuperMajorityFactor = 3 // SimpleMajorityFactor - simple majority 1/2 SimpleMajorityFactor = 2 )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const MaxAffiliateFeeBasisPoints = 1_000
MaxAffiliateFeeBasisPoints basis points for withdrawals
const MaxWithdrawBasisPoints = 10_000
MaxWithdrawBasisPoints basis points for withdrawals
const ( // encrypted keyshares for mocknet, which were always greater than 7, this is just a // sanity check and is safe to set lower. MinKeysharesBackupEntropy float64 = 7 )
Variables ¶
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMisc = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMisc = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMisc = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgAddLiquidity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgAddLiquidity = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgAddLiquidity = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgBan = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgBan = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgBan = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgBond = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgBond = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgBond = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgConsolidate = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgConsolidate = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgConsolidate = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgDeposit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgDeposit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgDeposit = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgDonate = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgDonate = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgDonate = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgErrata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgErrata = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgErrata = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgLeave = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgLeave = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgLeave = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgLoan = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgLoan = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgLoan = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgManageThorname = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgManageThorname = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgManageThorname = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgMigrate = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgMigrate = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgMigrate = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgMimir = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgMimir = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgMimir = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgNetworkFee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgNetworkFee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgNetworkFee = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgNodePauseChain = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgNodePauseChain = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgNodePauseChain = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgNoop = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgNoop = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgNoop = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgObservedTxin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgObservedTxin = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgObservedTxin = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgObservedTxout = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgObservedTxout = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgObservedTxout = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgRagnarok = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgRagnarok = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgRagnarok = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgRefund = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgRefund = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgRefund = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgReserveContributor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgReserveContributor = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgReserveContributor = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgRunePool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgRunePool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgRunePool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgSend = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgSend = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgSend = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgSetIpAddress = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgSetIpAddress = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgSetIpAddress = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgSetNodeKeys = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgSetNodeKeys = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgSetNodeKeys = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgSolvency = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgSolvency = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgSolvency = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgSwap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgSwap = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgSwap = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgTradeAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgTradeAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgTradeAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgTssKeysignFail = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgTssKeysignFail = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgTssKeysignFail = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgTssPool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgTssPool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgTssPool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgTxOutbound = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgTxOutbound = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgTxOutbound = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgUnbond = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgUnbond = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgUnbond = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgUpgrade = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgUpgrade = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgUpgrade = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgVersion = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgVersion = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgVersion = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsgWithdrawLiquidity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsgWithdrawLiquidity = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsgWithdrawLiquidity = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeAffiliateFeeCollector = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeAffiliateFeeCollector = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeAffiliateFeeCollector = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeBanVoter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeBanVoter = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeBanVoter = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeBlame = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeBlame = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeBlame = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeChainContract = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeChainContract = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeChainContract = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeClout = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeClout = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeClout = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeErrataTxVoter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeErrataTxVoter = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeErrataTxVoter = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeJail = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeJail = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeJail = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeKeygen = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeKeygen = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeKeygen = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeLiquidityProvider = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeLiquidityProvider = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeLiquidityProvider = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeLoan = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeLoan = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeLoan = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeMimir = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeMimir = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeMimir = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeNetwork = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeNetwork = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeNetwork = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeNetworkFee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeNetworkFee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeNetworkFee = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeNodeAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeNodeAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeNodeAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeNodePauseChain = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeNodePauseChain = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeNodePauseChain = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeObservedNetworkFee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeObservedNetworkFee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeObservedNetworkFee = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeObservedTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeObservedTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeObservedTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypePol = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypePol = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypePol = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypePool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypePool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypePool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeRagnarok = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeRagnarok = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeRagnarok = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeReserveContributor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeReserveContributor = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeReserveContributor = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeRunePool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeRunePool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeRunePool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeRuneProvider = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeRuneProvider = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeRuneProvider = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeSolvencyVoter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeSolvencyVoter = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeSolvencyVoter = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeStreamingSwap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeStreamingSwap = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeStreamingSwap = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeThorname = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeThorname = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeThorname = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeTradeAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeTradeAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeTradeAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeTss = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeTss = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeTss = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeTssKeysign = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeTssKeysign = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeTssKeysign = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeTssMetric = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeTssMetric = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeTssMetric = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeTxOut = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeTxOut = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeTxOut = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypeVault = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypeVault = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypeVault = fmt.Errorf("proto: unexpected end of group") )
var BondType_name = map[int32]string{
0: "bond_paid",
1: "bond_returned",
2: "bond_reward",
3: "bond_cost",
}
var BondType_value = map[string]int32{
"bond_paid": 0,
"bond_returned": 1,
"bond_reward": 2,
"bond_cost": 3,
}
var KeygenType_name = map[int32]string{
0: "UnknownKeygen",
1: "AsgardKeygen",
}
var KeygenType_value = map[string]int32{
"UnknownKeygen": 0,
"AsgardKeygen": 1,
}
var MatchMnemonic = regexp.MustCompile(`([a-zA-Z]+ ){11}[a-zA-Z]+`)
MatchMnemonic will match substrings that look like a 12+ word mnemonic.
var MintBurnSupplyType_name = map[int32]string{
0: "mint",
1: "burn",
}
var MintBurnSupplyType_value = map[string]int32{
"mint": 0,
"burn": 1,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var NodeStatus_name = map[int32]string{
0: "Unknown",
1: "Whitelisted",
2: "Standby",
3: "Ready",
4: "Active",
5: "Disabled",
}
var NodeStatus_value = map[string]int32{
"Unknown": 0,
"Whitelisted": 1,
"Standby": 2,
"Ready": 3,
"Active": 4,
"Disabled": 5,
}
var NodeType_name = map[int32]string{
0: "TypeValidator",
1: "TypeVault",
2: "TypeUnknown",
}
var NodeType_value = map[string]int32{
"TypeValidator": 0,
"TypeVault": 1,
"TypeUnknown": 2,
}
var OrderType_name = map[int32]string{
0: "market",
1: "limit",
}
var OrderType_value = map[string]int32{
"market": 0,
"limit": 1,
}
var PendingLiquidityType_name = map[int32]string{
0: "add",
1: "withdraw",
}
var PendingLiquidityType_value = map[string]int32{
"add": 0,
"withdraw": 1,
}
var PoolStatus_name = map[int32]string{
0: "UnknownPoolStatus",
1: "Available",
2: "Staged",
3: "Suspended",
}
var PoolStatus_value = map[string]int32{
"UnknownPoolStatus": 0,
"Available": 1,
"Staged": 2,
"Suspended": 3,
}
var Status_name = map[int32]string{
0: "incomplete",
1: "done",
2: "reverted",
}
var Status_value = map[string]int32{
"incomplete": 0,
"done": 1,
"reverted": 2,
}
var VaultStatus_name = map[int32]string{
0: "InactiveVault",
1: "ActiveVault",
2: "RetiringVault",
3: "InitVault",
}
var VaultStatus_value = map[string]int32{
"InactiveVault": 0,
"ActiveVault": 1,
"RetiringVault": 2,
"InitVault": 3,
}
var VaultType_name = map[int32]string{
0: "UnknownVault",
1: "AsgardVault",
}
var VaultType_value = map[string]int32{
"UnknownVault": 0,
"AsgardVault": 1,
}
Functions ¶
func GetCurrentVersion ¶
GetCurrentVersion - intended for unit tests, fetches the current version of THORNode via `version` file #nosec G304 this is a method only used for test purpose
func GetRandomBCHAddress ¶
func GetRandomBTCAddress ¶
func GetRandomBech32Addr ¶
func GetRandomBech32Addr() cosmos.AccAddress
GetRandomBech32Addr is an account address used for test
func GetRandomBech32ConsensusPubKey ¶
func GetRandomBech32ConsensusPubKey() string
func GetRandomDOGEAddress ¶
func GetRandomETHAddress ¶
GetRandomETHAddress get a random ETH address for test purpose
func GetRandomGAIAAddress ¶
func GetRandomLTCAddress ¶
func GetRandomPubKey ¶
func GetRandomPubKeySet ¶
GetRandomPubKeySet return a random common.PubKeySet for test purpose
func GetRandomRUNEAddress ¶
func GetRandomTHORAddress ¶
func GetRandomTxHash ¶
GetRandomTxHash create a random txHash used for test purpose
func HasMinority ¶
HasMinority return true when it has more than 1/3
func HasSimpleMajority ¶
HasSimpleMajority return true when it has more than 1/2 this method replace HasSimpleMajority, which is not correct
func HasSuperMajority ¶
HasSuperMajority return true when it has 2/3 majority
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
RegisterCodec register the msg types for amino
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces register the types
Types ¶
type AffiliateFeeCollector ¶
type AffiliateFeeCollector struct { OwnerAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 152-byte string literal not displayed */ RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ }
func (*AffiliateFeeCollector) Descriptor ¶
func (*AffiliateFeeCollector) Descriptor() ([]byte, []int)
func (*AffiliateFeeCollector) GetOwnerAddress ¶
func (m *AffiliateFeeCollector) GetOwnerAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*AffiliateFeeCollector) Marshal ¶
func (m *AffiliateFeeCollector) Marshal() (dAtA []byte, err error)
func (*AffiliateFeeCollector) MarshalTo ¶
func (m *AffiliateFeeCollector) MarshalTo(dAtA []byte) (int, error)
func (*AffiliateFeeCollector) MarshalToSizedBuffer ¶
func (m *AffiliateFeeCollector) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AffiliateFeeCollector) ProtoMessage ¶
func (*AffiliateFeeCollector) ProtoMessage()
func (*AffiliateFeeCollector) Reset ¶
func (m *AffiliateFeeCollector) Reset()
func (*AffiliateFeeCollector) Size ¶
func (m *AffiliateFeeCollector) Size() (n int)
func (*AffiliateFeeCollector) String ¶
func (m *AffiliateFeeCollector) String() string
func (*AffiliateFeeCollector) Unmarshal ¶
func (m *AffiliateFeeCollector) Unmarshal(dAtA []byte) error
func (*AffiliateFeeCollector) XXX_DiscardUnknown ¶
func (m *AffiliateFeeCollector) XXX_DiscardUnknown()
func (*AffiliateFeeCollector) XXX_Marshal ¶
func (m *AffiliateFeeCollector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AffiliateFeeCollector) XXX_Merge ¶
func (m *AffiliateFeeCollector) XXX_Merge(src proto.Message)
func (*AffiliateFeeCollector) XXX_Size ¶
func (m *AffiliateFeeCollector) XXX_Size() int
func (*AffiliateFeeCollector) XXX_Unmarshal ¶
func (m *AffiliateFeeCollector) XXX_Unmarshal(b []byte) error
type BanVoter ¶
type BanVoter struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Signers []string `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"` }
func NewBanVoter ¶
func NewBanVoter(addr cosmos.AccAddress) BanVoter
NewBanVoter create a new instance of BanVoter
func (*BanVoter) Descriptor ¶
func (*BanVoter) GetSigners ¶
func (m *BanVoter) GetSigners() []cosmos.AccAddress
func (*BanVoter) HasConsensus ¶
func (m *BanVoter) HasConsensus(nodeAccounts NodeAccounts) bool
HasConsensus return true if there are majority accounts sign off the BanVoter
func (*BanVoter) HasSigned ¶
func (m *BanVoter) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*BanVoter) MarshalToSizedBuffer ¶
func (*BanVoter) ProtoMessage ¶
func (*BanVoter) ProtoMessage()
func (*BanVoter) Sign ¶
func (m *BanVoter) Sign(signer cosmos.AccAddress)
Sign add the given signer to the signer list
func (*BanVoter) XXX_DiscardUnknown ¶
func (m *BanVoter) XXX_DiscardUnknown()
func (*BanVoter) XXX_Marshal ¶
func (*BanVoter) XXX_Unmarshal ¶
type Blame ¶
type Blame struct { FailReason string `protobuf:"bytes,1,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` IsUnicast bool `protobuf:"varint,2,opt,name=is_unicast,json=isUnicast,proto3" json:"is_unicast,omitempty"` BlameNodes []Node `protobuf:"bytes,3,rep,name=blame_nodes,json=blameNodes,proto3" json:"blame_nodes"` Round string `protobuf:"bytes,4,opt,name=round,proto3" json:"round,omitempty"` }
func (*Blame) Descriptor ¶
func (*Blame) ProtoMessage ¶
func (*Blame) ProtoMessage()
func (*Blame) XXX_DiscardUnknown ¶
func (m *Blame) XXX_DiscardUnknown()
func (*Blame) XXX_Marshal ¶
func (*Blame) XXX_Unmarshal ¶
type BondProvider ¶
type BondProvider struct { BondAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ Bond github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=bond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"bond"` }
func NewBondProvider ¶
func NewBondProvider(acc cosmos.AccAddress) BondProvider
func (*BondProvider) Descriptor ¶
func (*BondProvider) Descriptor() ([]byte, []int)
func (*BondProvider) IsEmpty ¶
func (m *BondProvider) IsEmpty() bool
func (*BondProvider) Marshal ¶
func (m *BondProvider) Marshal() (dAtA []byte, err error)
func (*BondProvider) MarshalToSizedBuffer ¶
func (m *BondProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondProvider) ProtoMessage ¶
func (*BondProvider) ProtoMessage()
func (*BondProvider) Reset ¶
func (m *BondProvider) Reset()
func (*BondProvider) Size ¶
func (m *BondProvider) Size() (n int)
func (*BondProvider) String ¶
func (this *BondProvider) String() string
func (*BondProvider) Unmarshal ¶
func (m *BondProvider) Unmarshal(dAtA []byte) error
func (*BondProvider) XXX_DiscardUnknown ¶
func (m *BondProvider) XXX_DiscardUnknown()
func (*BondProvider) XXX_Marshal ¶
func (m *BondProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondProvider) XXX_Merge ¶
func (m *BondProvider) XXX_Merge(src proto.Message)
func (*BondProvider) XXX_Size ¶
func (m *BondProvider) XXX_Size() int
func (*BondProvider) XXX_Unmarshal ¶
func (m *BondProvider) XXX_Unmarshal(b []byte) error
type BondProviders ¶
type BondProviders struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ NodeOperatorFee github_com_cosmos_cosmos_sdk_types.Uint `` /* 149-byte string literal not displayed */ Providers []BondProvider `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers"` }
func NewBondProviders ¶
func NewBondProviders(acc cosmos.AccAddress) BondProviders
func (*BondProviders) Adjust ¶
func (bp *BondProviders) Adjust(nodeBond cosmos.Uint)
realigns the bond providers relative to the node bond
func (*BondProviders) Bond ¶
func (bp *BondProviders) Bond(bond cosmos.Uint, acc cosmos.AccAddress)
func (*BondProviders) Descriptor ¶
func (*BondProviders) Descriptor() ([]byte, []int)
func (*BondProviders) Get ¶
func (bp *BondProviders) Get(acc cosmos.AccAddress) BondProvider
func (*BondProviders) Has ¶
func (bp *BondProviders) Has(acc cosmos.AccAddress) bool
func (*BondProviders) HasProviderBonded ¶
func (bp *BondProviders) HasProviderBonded(opBondAddress cosmos.AccAddress) bool
HasProviderBonded: Checks if a bond provider (not the operator) has bonded to the node
func (*BondProviders) Marshal ¶
func (m *BondProviders) Marshal() (dAtA []byte, err error)
func (*BondProviders) MarshalToSizedBuffer ¶
func (m *BondProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BondProviders) ProtoMessage ¶
func (*BondProviders) ProtoMessage()
func (*BondProviders) Remove ¶
func (bp *BondProviders) Remove(acc cosmos.AccAddress) bool
remove provider (only if bond is zero)
func (*BondProviders) Reset ¶
func (m *BondProviders) Reset()
func (*BondProviders) Size ¶
func (m *BondProviders) Size() (n int)
func (*BondProviders) String ¶
func (this *BondProviders) String() string
func (*BondProviders) Unbond ¶
func (bp *BondProviders) Unbond(bond cosmos.Uint, acc cosmos.AccAddress)
func (*BondProviders) Unmarshal ¶
func (m *BondProviders) Unmarshal(dAtA []byte) error
func (*BondProviders) XXX_DiscardUnknown ¶
func (m *BondProviders) XXX_DiscardUnknown()
func (*BondProviders) XXX_Marshal ¶
func (m *BondProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondProviders) XXX_Merge ¶
func (m *BondProviders) XXX_Merge(src proto.Message)
func (*BondProviders) XXX_Size ¶
func (m *BondProviders) XXX_Size() int
func (*BondProviders) XXX_Unmarshal ¶
func (m *BondProviders) XXX_Unmarshal(b []byte) error
type ChainContract ¶
type ChainContract struct { Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,1,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` Router gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,2,opt,name=router,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"router,omitempty"` }
func NewChainContract ¶
func NewChainContract(chain common.Chain, router common.Address) ChainContract
NewChainContract create a new instance of ChainContract
func (*ChainContract) Descriptor ¶
func (*ChainContract) Descriptor() ([]byte, []int)
func (*ChainContract) IsEmpty ¶
func (m *ChainContract) IsEmpty() bool
IsEmpty returns true when both chain and Contract address are empty
func (*ChainContract) Marshal ¶
func (m *ChainContract) Marshal() (dAtA []byte, err error)
func (*ChainContract) MarshalToSizedBuffer ¶
func (m *ChainContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainContract) ProtoMessage ¶
func (*ChainContract) ProtoMessage()
func (*ChainContract) Reset ¶
func (m *ChainContract) Reset()
func (*ChainContract) Size ¶
func (m *ChainContract) Size() (n int)
func (*ChainContract) String ¶
func (m *ChainContract) String() string
String implement fmt.Stringer, return a string representation of ChainContract
func (*ChainContract) Unmarshal ¶
func (m *ChainContract) Unmarshal(dAtA []byte) error
func (*ChainContract) XXX_DiscardUnknown ¶
func (m *ChainContract) XXX_DiscardUnknown()
func (*ChainContract) XXX_Marshal ¶
func (m *ChainContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainContract) XXX_Merge ¶
func (m *ChainContract) XXX_Merge(src proto.Message)
func (*ChainContract) XXX_Size ¶
func (m *ChainContract) XXX_Size() int
func (*ChainContract) XXX_Unmarshal ¶
func (m *ChainContract) XXX_Unmarshal(b []byte) error
type ErrataTxVoter ¶
type ErrataTxVoter struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Signers []string `protobuf:"bytes,4,rep,name=signers,proto3" json:"signers,omitempty"` }
func NewErrataTxVoter ¶
func NewErrataTxVoter(txID common.TxID, chain common.Chain) ErrataTxVoter
NewErrataTxVoter create a new instance of ErrataTxVoter
func (*ErrataTxVoter) Descriptor ¶
func (*ErrataTxVoter) Descriptor() ([]byte, []int)
func (*ErrataTxVoter) Empty ¶
func (m *ErrataTxVoter) Empty() bool
Empty check whether TxID or Chain is empty
func (*ErrataTxVoter) GetSigners ¶
func (m *ErrataTxVoter) GetSigners() []cosmos.AccAddress
func (*ErrataTxVoter) HasConsensus ¶
func (m *ErrataTxVoter) HasConsensus(nas NodeAccounts) bool
HasConsensus determine if this errata has enough signers
func (*ErrataTxVoter) HasSigned ¶
func (m *ErrataTxVoter) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*ErrataTxVoter) Marshal ¶
func (m *ErrataTxVoter) Marshal() (dAtA []byte, err error)
func (*ErrataTxVoter) MarshalToSizedBuffer ¶
func (m *ErrataTxVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ErrataTxVoter) ProtoMessage ¶
func (*ErrataTxVoter) ProtoMessage()
func (*ErrataTxVoter) Reset ¶
func (m *ErrataTxVoter) Reset()
func (*ErrataTxVoter) Sign ¶
func (m *ErrataTxVoter) Sign(signer cosmos.AccAddress) bool
Sign this voter with the given signer address, if the given signer is already signed , it return false otherwise it add the given signer to the signers list and return true
func (*ErrataTxVoter) Size ¶
func (m *ErrataTxVoter) Size() (n int)
func (*ErrataTxVoter) String ¶
func (m *ErrataTxVoter) String() string
String implement fmt.Stinger , return a string representation of errata tx voter
func (*ErrataTxVoter) Unmarshal ¶
func (m *ErrataTxVoter) Unmarshal(dAtA []byte) error
func (*ErrataTxVoter) XXX_DiscardUnknown ¶
func (m *ErrataTxVoter) XXX_DiscardUnknown()
func (*ErrataTxVoter) XXX_Marshal ¶
func (m *ErrataTxVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrataTxVoter) XXX_Merge ¶
func (m *ErrataTxVoter) XXX_Merge(src proto.Message)
func (*ErrataTxVoter) XXX_Size ¶
func (m *ErrataTxVoter) XXX_Size() int
func (*ErrataTxVoter) XXX_Unmarshal ¶
func (m *ErrataTxVoter) XXX_Unmarshal(b []byte) error
type EventAddLiquidity ¶
type EventAddLiquidity struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` ProviderUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ RuneAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ AssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ RuneTxID gitlab_com_thorchain_thornode_common.TxID `` /* 138-byte string literal not displayed */ AssetTxID gitlab_com_thorchain_thornode_common.TxID `` /* 141-byte string literal not displayed */ AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ }
func NewEventAddLiquidity ¶
func NewEventAddLiquidity(pool common.Asset, su cosmos.Uint, runeAddress common.Address, runeAmount, assetAmount cosmos.Uint, runeTxID, assetTxID common.TxID, assetAddress common.Address, ) *EventAddLiquidity
NewEventAddLiquidity create a new add liquidity event
func (*EventAddLiquidity) Descriptor ¶
func (*EventAddLiquidity) Descriptor() ([]byte, []int)
func (*EventAddLiquidity) Events ¶
func (m *EventAddLiquidity) Events() (cosmos.Events, error)
Events return cosmos.Events which is cosmos.Attribute(key value pairs)
func (*EventAddLiquidity) GetAssetAddress ¶
func (m *EventAddLiquidity) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventAddLiquidity) GetAssetTxID ¶
func (m *EventAddLiquidity) GetAssetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventAddLiquidity) GetPool ¶
func (m *EventAddLiquidity) GetPool() common.Asset
func (*EventAddLiquidity) GetRuneAddress ¶
func (m *EventAddLiquidity) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventAddLiquidity) GetRuneTxID ¶
func (m *EventAddLiquidity) GetRuneTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventAddLiquidity) Marshal ¶
func (m *EventAddLiquidity) Marshal() (dAtA []byte, err error)
func (*EventAddLiquidity) MarshalTo ¶
func (m *EventAddLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*EventAddLiquidity) MarshalToSizedBuffer ¶
func (m *EventAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAddLiquidity) ProtoMessage ¶
func (*EventAddLiquidity) ProtoMessage()
func (*EventAddLiquidity) Reset ¶
func (m *EventAddLiquidity) Reset()
func (*EventAddLiquidity) Size ¶
func (m *EventAddLiquidity) Size() (n int)
func (*EventAddLiquidity) String ¶
func (m *EventAddLiquidity) String() string
func (*EventAddLiquidity) Type ¶
func (m *EventAddLiquidity) Type() string
Type return the event type
func (*EventAddLiquidity) Unmarshal ¶
func (m *EventAddLiquidity) Unmarshal(dAtA []byte) error
func (*EventAddLiquidity) XXX_DiscardUnknown ¶
func (m *EventAddLiquidity) XXX_DiscardUnknown()
func (*EventAddLiquidity) XXX_Marshal ¶
func (m *EventAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAddLiquidity) XXX_Merge ¶
func (m *EventAddLiquidity) XXX_Merge(src proto.Message)
func (*EventAddLiquidity) XXX_Size ¶
func (m *EventAddLiquidity) XXX_Size() int
func (*EventAddLiquidity) XXX_Unmarshal ¶
func (m *EventAddLiquidity) XXX_Unmarshal(b []byte) error
type EventBond ¶
type EventBond struct { Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` BondType BondType `protobuf:"varint,2,opt,name=bond_type,json=bondType,proto3,enum=types.BondType" json:"bond_type,omitempty"` TxIn common.Tx `protobuf:"bytes,3,opt,name=tx_in,json=txIn,proto3" json:"tx_in"` NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ BondAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ }
func NewEventBond ¶
func NewEventBond(amount cosmos.Uint, bondType BondType, txIn common.Tx, nodeAccount *NodeAccount, bondAddress cosmos.AccAddress) *EventBond
NewEventBond create a new Bond Events
func (*EventBond) Descriptor ¶
func (*EventBond) GetBondAddress ¶
func (m *EventBond) GetBondAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*EventBond) GetBondType ¶
func (*EventBond) GetNodeAddress ¶
func (m *EventBond) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*EventBond) MarshalToSizedBuffer ¶
func (*EventBond) ProtoMessage ¶
func (*EventBond) ProtoMessage()
func (*EventBond) XXX_DiscardUnknown ¶
func (m *EventBond) XXX_DiscardUnknown()
func (*EventBond) XXX_Marshal ¶
func (*EventBond) XXX_Unmarshal ¶
type EventDonate ¶
type EventDonate struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` InTx common.Tx `protobuf:"bytes,2,opt,name=in_tx,json=inTx,proto3" json:"in_tx"` }
func NewEventDonate ¶
func NewEventDonate(pool common.Asset, inTx common.Tx) *EventDonate
NewEventDonate create a new donate event
func (*EventDonate) Descriptor ¶
func (*EventDonate) Descriptor() ([]byte, []int)
func (*EventDonate) Events ¶
func (m *EventDonate) Events() (cosmos.Events, error)
Events get all events
func (*EventDonate) GetInTx ¶
func (m *EventDonate) GetInTx() common.Tx
func (*EventDonate) GetPool ¶
func (m *EventDonate) GetPool() common.Asset
func (*EventDonate) Marshal ¶
func (m *EventDonate) Marshal() (dAtA []byte, err error)
func (*EventDonate) MarshalToSizedBuffer ¶
func (m *EventDonate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDonate) ProtoMessage ¶
func (*EventDonate) ProtoMessage()
func (*EventDonate) Reset ¶
func (m *EventDonate) Reset()
func (*EventDonate) Size ¶
func (m *EventDonate) Size() (n int)
func (*EventDonate) String ¶
func (m *EventDonate) String() string
func (*EventDonate) Unmarshal ¶
func (m *EventDonate) Unmarshal(dAtA []byte) error
func (*EventDonate) XXX_DiscardUnknown ¶
func (m *EventDonate) XXX_DiscardUnknown()
func (*EventDonate) XXX_Marshal ¶
func (m *EventDonate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDonate) XXX_Merge ¶
func (m *EventDonate) XXX_Merge(src proto.Message)
func (*EventDonate) XXX_Size ¶
func (m *EventDonate) XXX_Size() int
func (*EventDonate) XXX_Unmarshal ¶
func (m *EventDonate) XXX_Unmarshal(b []byte) error
type EventErrata ¶
type EventErrata struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Pools PoolMods `protobuf:"bytes,2,rep,name=pools,proto3,castrepeated=PoolMods" json:"pools"` }
func NewEventErrata ¶
func NewEventErrata(txID common.TxID, pools PoolMods) *EventErrata
NewEventErrata create a new errata event
func (*EventErrata) Descriptor ¶
func (*EventErrata) Descriptor() ([]byte, []int)
func (*EventErrata) Events ¶
func (m *EventErrata) Events() (cosmos.Events, error)
Events return a cosmos.Events type
func (*EventErrata) GetPools ¶
func (m *EventErrata) GetPools() PoolMods
func (*EventErrata) GetTxID ¶
func (m *EventErrata) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventErrata) Marshal ¶
func (m *EventErrata) Marshal() (dAtA []byte, err error)
func (*EventErrata) MarshalToSizedBuffer ¶
func (m *EventErrata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventErrata) ProtoMessage ¶
func (*EventErrata) ProtoMessage()
func (*EventErrata) Reset ¶
func (m *EventErrata) Reset()
func (*EventErrata) Size ¶
func (m *EventErrata) Size() (n int)
func (*EventErrata) String ¶
func (m *EventErrata) String() string
func (*EventErrata) Unmarshal ¶
func (m *EventErrata) Unmarshal(dAtA []byte) error
func (*EventErrata) XXX_DiscardUnknown ¶
func (m *EventErrata) XXX_DiscardUnknown()
func (*EventErrata) XXX_Marshal ¶
func (m *EventErrata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventErrata) XXX_Merge ¶
func (m *EventErrata) XXX_Merge(src proto.Message)
func (*EventErrata) XXX_Size ¶
func (m *EventErrata) XXX_Size() int
func (*EventErrata) XXX_Unmarshal ¶
func (m *EventErrata) XXX_Unmarshal(b []byte) error
type EventFee ¶
type EventFee struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Fee common.Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee"` SynthUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ }
func NewEventFee ¶
NewEventFee create a new EventFee
func (*EventFee) Descriptor ¶
func (*EventFee) GetTxID ¶
func (m *EventFee) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventFee) MarshalToSizedBuffer ¶
func (*EventFee) ProtoMessage ¶
func (*EventFee) ProtoMessage()
func (*EventFee) XXX_DiscardUnknown ¶
func (m *EventFee) XXX_DiscardUnknown()
func (*EventFee) XXX_Marshal ¶
func (*EventFee) XXX_Unmarshal ¶
type EventGas ¶
type EventGas struct {
Pools []GasPool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
}
func (*EventGas) Descriptor ¶
func (*EventGas) MarshalToSizedBuffer ¶
func (*EventGas) ProtoMessage ¶
func (*EventGas) ProtoMessage()
func (*EventGas) UpsertGasPool ¶
UpsertGasPool update the Gas Pools hold by EventGas instance if the given gasPool already exist, then it merge the gasPool with internal one , otherwise add it to the list
func (*EventGas) XXX_DiscardUnknown ¶
func (m *EventGas) XXX_DiscardUnknown()
func (*EventGas) XXX_Marshal ¶
func (*EventGas) XXX_Unmarshal ¶
type EventLimitOrder ¶
type EventLimitOrder struct { Source common.Coin `protobuf:"bytes,1,opt,name=source,proto3" json:"source"` Target common.Coin `protobuf:"bytes,2,opt,name=target,proto3" json:"target"` TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,3,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewEventLimitOrder ¶
func NewEventLimitOrder(source, target common.Coin, txid common.TxID) *EventLimitOrder
NewEventLimitOrder create a new swap event
func (*EventLimitOrder) Descriptor ¶
func (*EventLimitOrder) Descriptor() ([]byte, []int)
func (*EventLimitOrder) Events ¶
func (m *EventLimitOrder) Events() (cosmos.Events, error)
Events convert EventLimitOrder to key value pairs used in cosmos
func (*EventLimitOrder) GetSource ¶
func (m *EventLimitOrder) GetSource() common.Coin
func (*EventLimitOrder) GetTarget ¶
func (m *EventLimitOrder) GetTarget() common.Coin
func (*EventLimitOrder) GetTxID ¶
func (m *EventLimitOrder) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventLimitOrder) Marshal ¶
func (m *EventLimitOrder) Marshal() (dAtA []byte, err error)
func (*EventLimitOrder) MarshalToSizedBuffer ¶
func (m *EventLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLimitOrder) ProtoMessage ¶
func (*EventLimitOrder) ProtoMessage()
func (*EventLimitOrder) Reset ¶
func (m *EventLimitOrder) Reset()
func (*EventLimitOrder) Size ¶
func (m *EventLimitOrder) Size() (n int)
func (*EventLimitOrder) String ¶
func (m *EventLimitOrder) String() string
func (*EventLimitOrder) Type ¶
func (m *EventLimitOrder) Type() string
Type return a string that represent the type, it should not duplicated with other event
func (*EventLimitOrder) Unmarshal ¶
func (m *EventLimitOrder) Unmarshal(dAtA []byte) error
func (*EventLimitOrder) XXX_DiscardUnknown ¶
func (m *EventLimitOrder) XXX_DiscardUnknown()
func (*EventLimitOrder) XXX_Marshal ¶
func (m *EventLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLimitOrder) XXX_Merge ¶
func (m *EventLimitOrder) XXX_Merge(src proto.Message)
func (*EventLimitOrder) XXX_Size ¶
func (m *EventLimitOrder) XXX_Size() int
func (*EventLimitOrder) XXX_Unmarshal ¶
func (m *EventLimitOrder) XXX_Unmarshal(b []byte) error
type EventLoanOpen ¶
type EventLoanOpen struct { CollateralDeposited github_com_cosmos_cosmos_sdk_types.Uint `` /* 159-byte string literal not displayed */ CollateralAsset common.Asset `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset"` CollateralizationRatio github_com_cosmos_cosmos_sdk_types.Uint `` /* 168-byte string literal not displayed */ DebtIssued github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ Owner gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,5,opt,name=owner,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"owner,omitempty"` TargetAsset common.Asset `protobuf:"bytes,6,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset"` TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,7,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewEventLoanOpen ¶
func NewEventLoanOpen(amt, cr, debt cosmos.Uint, ca, ta common.Asset, owner common.Address, tx common.TxID) *EventLoanOpen
NewEventLoanOpen create a new instance of EventLoanOpen
func (*EventLoanOpen) Descriptor ¶
func (*EventLoanOpen) Descriptor() ([]byte, []int)
func (*EventLoanOpen) Events ¶
func (m *EventLoanOpen) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventLoanOpen) GetCollateralAsset ¶
func (m *EventLoanOpen) GetCollateralAsset() common.Asset
func (*EventLoanOpen) GetOwner ¶
func (m *EventLoanOpen) GetOwner() gitlab_com_thorchain_thornode_common.Address
func (*EventLoanOpen) GetTargetAsset ¶
func (m *EventLoanOpen) GetTargetAsset() common.Asset
func (*EventLoanOpen) GetTxID ¶
func (m *EventLoanOpen) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventLoanOpen) Marshal ¶
func (m *EventLoanOpen) Marshal() (dAtA []byte, err error)
func (*EventLoanOpen) MarshalToSizedBuffer ¶
func (m *EventLoanOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLoanOpen) ProtoMessage ¶
func (*EventLoanOpen) ProtoMessage()
func (*EventLoanOpen) Reset ¶
func (m *EventLoanOpen) Reset()
func (*EventLoanOpen) Size ¶
func (m *EventLoanOpen) Size() (n int)
func (*EventLoanOpen) String ¶
func (m *EventLoanOpen) String() string
func (*EventLoanOpen) Type ¶
func (m *EventLoanOpen) Type() string
Type return a string which represent the type of this event
func (*EventLoanOpen) Unmarshal ¶
func (m *EventLoanOpen) Unmarshal(dAtA []byte) error
func (*EventLoanOpen) XXX_DiscardUnknown ¶
func (m *EventLoanOpen) XXX_DiscardUnknown()
func (*EventLoanOpen) XXX_Marshal ¶
func (m *EventLoanOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLoanOpen) XXX_Merge ¶
func (m *EventLoanOpen) XXX_Merge(src proto.Message)
func (*EventLoanOpen) XXX_Size ¶
func (m *EventLoanOpen) XXX_Size() int
func (*EventLoanOpen) XXX_Unmarshal ¶
func (m *EventLoanOpen) XXX_Unmarshal(b []byte) error
type EventLoanRepayment ¶
type EventLoanRepayment struct { CollateralWithdrawn github_com_cosmos_cosmos_sdk_types.Uint `` /* 159-byte string literal not displayed */ CollateralAsset common.Asset `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset"` DebtRepaid github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ Owner gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,4,opt,name=owner,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"owner,omitempty"` TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,7,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewEventLoanRepayment ¶
func NewEventLoanRepayment(amt, debt cosmos.Uint, ca common.Asset, owner common.Address, tx common.TxID) *EventLoanRepayment
NewEventLoanRepayment create a new instance of NewEventLoanRepayment
func (*EventLoanRepayment) Descriptor ¶
func (*EventLoanRepayment) Descriptor() ([]byte, []int)
func (*EventLoanRepayment) Events ¶
func (m *EventLoanRepayment) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventLoanRepayment) GetCollateralAsset ¶
func (m *EventLoanRepayment) GetCollateralAsset() common.Asset
func (*EventLoanRepayment) GetOwner ¶
func (m *EventLoanRepayment) GetOwner() gitlab_com_thorchain_thornode_common.Address
func (*EventLoanRepayment) GetTxID ¶
func (m *EventLoanRepayment) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventLoanRepayment) Marshal ¶
func (m *EventLoanRepayment) Marshal() (dAtA []byte, err error)
func (*EventLoanRepayment) MarshalTo ¶
func (m *EventLoanRepayment) MarshalTo(dAtA []byte) (int, error)
func (*EventLoanRepayment) MarshalToSizedBuffer ¶
func (m *EventLoanRepayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLoanRepayment) ProtoMessage ¶
func (*EventLoanRepayment) ProtoMessage()
func (*EventLoanRepayment) Reset ¶
func (m *EventLoanRepayment) Reset()
func (*EventLoanRepayment) Size ¶
func (m *EventLoanRepayment) Size() (n int)
func (*EventLoanRepayment) String ¶
func (m *EventLoanRepayment) String() string
func (*EventLoanRepayment) Type ¶
func (m *EventLoanRepayment) Type() string
Type return a string which represent the type of this event
func (*EventLoanRepayment) Unmarshal ¶
func (m *EventLoanRepayment) Unmarshal(dAtA []byte) error
func (*EventLoanRepayment) XXX_DiscardUnknown ¶
func (m *EventLoanRepayment) XXX_DiscardUnknown()
func (*EventLoanRepayment) XXX_Marshal ¶
func (m *EventLoanRepayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLoanRepayment) XXX_Merge ¶
func (m *EventLoanRepayment) XXX_Merge(src proto.Message)
func (*EventLoanRepayment) XXX_Size ¶
func (m *EventLoanRepayment) XXX_Size() int
func (*EventLoanRepayment) XXX_Unmarshal ¶
func (m *EventLoanRepayment) XXX_Unmarshal(b []byte) error
type EventMintBurn ¶
type EventMintBurn struct { Supply MintBurnSupplyType `protobuf:"varint,1,opt,name=supply,proto3,enum=types.MintBurnSupplyType" json:"supply,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` }
func NewEventMintBurn ¶
func NewEventMintBurn(t MintBurnSupplyType, denom string, amt cosmos.Uint, reason string) *EventMintBurn
NewEventMintBurn create a new instance of EventMintBurn
func (*EventMintBurn) Descriptor ¶
func (*EventMintBurn) Descriptor() ([]byte, []int)
func (*EventMintBurn) Events ¶
func (m *EventMintBurn) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventMintBurn) GetDenom ¶
func (m *EventMintBurn) GetDenom() string
func (*EventMintBurn) GetReason ¶
func (m *EventMintBurn) GetReason() string
func (*EventMintBurn) GetSupply ¶
func (m *EventMintBurn) GetSupply() MintBurnSupplyType
func (*EventMintBurn) Marshal ¶
func (m *EventMintBurn) Marshal() (dAtA []byte, err error)
func (*EventMintBurn) MarshalToSizedBuffer ¶
func (m *EventMintBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMintBurn) ProtoMessage ¶
func (*EventMintBurn) ProtoMessage()
func (*EventMintBurn) Reset ¶
func (m *EventMintBurn) Reset()
func (*EventMintBurn) Size ¶
func (m *EventMintBurn) Size() (n int)
func (*EventMintBurn) String ¶
func (m *EventMintBurn) String() string
func (*EventMintBurn) Type ¶
func (m *EventMintBurn) Type() string
func (*EventMintBurn) Unmarshal ¶
func (m *EventMintBurn) Unmarshal(dAtA []byte) error
func (*EventMintBurn) XXX_DiscardUnknown ¶
func (m *EventMintBurn) XXX_DiscardUnknown()
func (*EventMintBurn) XXX_Marshal ¶
func (m *EventMintBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMintBurn) XXX_Merge ¶
func (m *EventMintBurn) XXX_Merge(src proto.Message)
func (*EventMintBurn) XXX_Size ¶
func (m *EventMintBurn) XXX_Size() int
func (*EventMintBurn) XXX_Unmarshal ¶
func (m *EventMintBurn) XXX_Unmarshal(b []byte) error
type EventOutbound ¶
type EventOutbound struct { InTxID gitlab_com_thorchain_thornode_common.TxID `` /* 132-byte string literal not displayed */ Tx common.Tx `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx"` }
func NewEventOutbound ¶
func NewEventOutbound(inTxID common.TxID, tx common.Tx) *EventOutbound
NewEventOutbound create a new instance of EventOutbound
func (*EventOutbound) Descriptor ¶
func (*EventOutbound) Descriptor() ([]byte, []int)
func (*EventOutbound) Events ¶
func (m *EventOutbound) Events() (cosmos.Events, error)
Events return sdk events
func (*EventOutbound) GetInTxID ¶
func (m *EventOutbound) GetInTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventOutbound) GetTx ¶
func (m *EventOutbound) GetTx() common.Tx
func (*EventOutbound) Marshal ¶
func (m *EventOutbound) Marshal() (dAtA []byte, err error)
func (*EventOutbound) MarshalToSizedBuffer ¶
func (m *EventOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventOutbound) ProtoMessage ¶
func (*EventOutbound) ProtoMessage()
func (*EventOutbound) Reset ¶
func (m *EventOutbound) Reset()
func (*EventOutbound) Size ¶
func (m *EventOutbound) Size() (n int)
func (*EventOutbound) String ¶
func (m *EventOutbound) String() string
func (*EventOutbound) Type ¶
func (m *EventOutbound) Type() string
Type return a string which represent the type of this event
func (*EventOutbound) Unmarshal ¶
func (m *EventOutbound) Unmarshal(dAtA []byte) error
func (*EventOutbound) XXX_DiscardUnknown ¶
func (m *EventOutbound) XXX_DiscardUnknown()
func (*EventOutbound) XXX_Marshal ¶
func (m *EventOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventOutbound) XXX_Merge ¶
func (m *EventOutbound) XXX_Merge(src proto.Message)
func (*EventOutbound) XXX_Size ¶
func (m *EventOutbound) XXX_Size() int
func (*EventOutbound) XXX_Unmarshal ¶
func (m *EventOutbound) XXX_Unmarshal(b []byte) error
type EventPendingLiquidity ¶
type EventPendingLiquidity struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` PendingType PendingLiquidityType `` /* 127-byte string literal not displayed */ RuneAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ AssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ RuneTxID gitlab_com_thorchain_thornode_common.TxID `` /* 138-byte string literal not displayed */ AssetTxID gitlab_com_thorchain_thornode_common.TxID `` /* 141-byte string literal not displayed */ }
func NewEventPendingLiquidity ¶
func NewEventPendingLiquidity(pool common.Asset, ptype PendingLiquidityType, runeAddress common.Address, runeAmount cosmos.Uint, assetAddress common.Address, assetAmount cosmos.Uint, runeTxID, assetTxID common.TxID, ) *EventPendingLiquidity
NewEventPendingLiquidity create a new add pending liquidity event
func (*EventPendingLiquidity) Descriptor ¶
func (*EventPendingLiquidity) Descriptor() ([]byte, []int)
func (*EventPendingLiquidity) Events ¶
func (m *EventPendingLiquidity) Events() (cosmos.Events, error)
Events return cosmos.Events which is cosmos.Attribute(key value pairs)
func (*EventPendingLiquidity) GetAssetAddress ¶
func (m *EventPendingLiquidity) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventPendingLiquidity) GetAssetTxID ¶
func (m *EventPendingLiquidity) GetAssetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventPendingLiquidity) GetPendingType ¶
func (m *EventPendingLiquidity) GetPendingType() PendingLiquidityType
func (*EventPendingLiquidity) GetPool ¶
func (m *EventPendingLiquidity) GetPool() common.Asset
func (*EventPendingLiquidity) GetRuneAddress ¶
func (m *EventPendingLiquidity) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventPendingLiquidity) GetRuneTxID ¶
func (m *EventPendingLiquidity) GetRuneTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventPendingLiquidity) Marshal ¶
func (m *EventPendingLiquidity) Marshal() (dAtA []byte, err error)
func (*EventPendingLiquidity) MarshalTo ¶
func (m *EventPendingLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*EventPendingLiquidity) MarshalToSizedBuffer ¶
func (m *EventPendingLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPendingLiquidity) ProtoMessage ¶
func (*EventPendingLiquidity) ProtoMessage()
func (*EventPendingLiquidity) Reset ¶
func (m *EventPendingLiquidity) Reset()
func (*EventPendingLiquidity) Size ¶
func (m *EventPendingLiquidity) Size() (n int)
func (*EventPendingLiquidity) String ¶
func (m *EventPendingLiquidity) String() string
func (*EventPendingLiquidity) Type ¶
func (m *EventPendingLiquidity) Type() string
Type return the event type
func (*EventPendingLiquidity) Unmarshal ¶
func (m *EventPendingLiquidity) Unmarshal(dAtA []byte) error
func (*EventPendingLiquidity) XXX_DiscardUnknown ¶
func (m *EventPendingLiquidity) XXX_DiscardUnknown()
func (*EventPendingLiquidity) XXX_Marshal ¶
func (m *EventPendingLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPendingLiquidity) XXX_Merge ¶
func (m *EventPendingLiquidity) XXX_Merge(src proto.Message)
func (*EventPendingLiquidity) XXX_Size ¶
func (m *EventPendingLiquidity) XXX_Size() int
func (*EventPendingLiquidity) XXX_Unmarshal ¶
func (m *EventPendingLiquidity) XXX_Unmarshal(b []byte) error
type EventPool ¶
type EventPool struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` Status PoolStatus `protobuf:"varint,2,opt,name=Status,proto3,enum=types.PoolStatus" json:"Status,omitempty"` }
func NewEventPool ¶
func NewEventPool(pool common.Asset, status PoolStatus) *EventPool
NewEventPool create a new pool change event
func (*EventPool) Descriptor ¶
func (*EventPool) GetStatus ¶
func (m *EventPool) GetStatus() PoolStatus
func (*EventPool) MarshalToSizedBuffer ¶
func (*EventPool) ProtoMessage ¶
func (*EventPool) ProtoMessage()
func (*EventPool) XXX_DiscardUnknown ¶
func (m *EventPool) XXX_DiscardUnknown()
func (*EventPool) XXX_Marshal ¶
func (*EventPool) XXX_Unmarshal ¶
type EventPoolBalanceChanged ¶
type EventPoolBalanceChanged struct { PoolChange PoolMod `protobuf:"bytes,1,opt,name=pool_change,json=poolChange,proto3" json:"pool_change"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` }
func NewEventPoolBalanceChanged ¶
func NewEventPoolBalanceChanged(poolMod PoolMod, reason string) *EventPoolBalanceChanged
NewEventPoolBalanceChanged create a new instance of EventPoolBalanceChanged
func (*EventPoolBalanceChanged) Descriptor ¶
func (*EventPoolBalanceChanged) Descriptor() ([]byte, []int)
func (*EventPoolBalanceChanged) Events ¶
func (m *EventPoolBalanceChanged) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventPoolBalanceChanged) GetPoolChange ¶
func (m *EventPoolBalanceChanged) GetPoolChange() PoolMod
func (*EventPoolBalanceChanged) GetReason ¶
func (m *EventPoolBalanceChanged) GetReason() string
func (*EventPoolBalanceChanged) Marshal ¶
func (m *EventPoolBalanceChanged) Marshal() (dAtA []byte, err error)
func (*EventPoolBalanceChanged) MarshalTo ¶
func (m *EventPoolBalanceChanged) MarshalTo(dAtA []byte) (int, error)
func (*EventPoolBalanceChanged) MarshalToSizedBuffer ¶
func (m *EventPoolBalanceChanged) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPoolBalanceChanged) ProtoMessage ¶
func (*EventPoolBalanceChanged) ProtoMessage()
func (*EventPoolBalanceChanged) Reset ¶
func (m *EventPoolBalanceChanged) Reset()
func (*EventPoolBalanceChanged) Size ¶
func (m *EventPoolBalanceChanged) Size() (n int)
func (*EventPoolBalanceChanged) String ¶
func (m *EventPoolBalanceChanged) String() string
func (*EventPoolBalanceChanged) Type ¶
func (m *EventPoolBalanceChanged) Type() string
Type return a string which represent the type of this event
func (*EventPoolBalanceChanged) Unmarshal ¶
func (m *EventPoolBalanceChanged) Unmarshal(dAtA []byte) error
func (*EventPoolBalanceChanged) XXX_DiscardUnknown ¶
func (m *EventPoolBalanceChanged) XXX_DiscardUnknown()
func (*EventPoolBalanceChanged) XXX_Marshal ¶
func (m *EventPoolBalanceChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPoolBalanceChanged) XXX_Merge ¶
func (m *EventPoolBalanceChanged) XXX_Merge(src proto.Message)
func (*EventPoolBalanceChanged) XXX_Size ¶
func (m *EventPoolBalanceChanged) XXX_Size() int
func (*EventPoolBalanceChanged) XXX_Unmarshal ¶
func (m *EventPoolBalanceChanged) XXX_Unmarshal(b []byte) error
type EventRUNEPoolDeposit ¶
type EventRUNEPoolDeposit struct { RuneAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` TxId gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewEventRUNEPoolDeposit ¶
func NewEventRUNEPoolDeposit( runeAddress cosmos.AccAddress, runeAmount cosmos.Uint, units cosmos.Uint, txid common.TxID, ) *EventRUNEPoolDeposit
NewEventRUNEPoolDeposit create a new RUNEPool deposit event
func (*EventRUNEPoolDeposit) Descriptor ¶
func (*EventRUNEPoolDeposit) Descriptor() ([]byte, []int)
func (*EventRUNEPoolDeposit) Events ¶
func (m *EventRUNEPoolDeposit) Events() (cosmos.Events, error)
Events return the cosmos event
func (*EventRUNEPoolDeposit) GetRuneAddress ¶
func (m *EventRUNEPoolDeposit) GetRuneAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*EventRUNEPoolDeposit) GetTxId ¶
func (m *EventRUNEPoolDeposit) GetTxId() gitlab_com_thorchain_thornode_common.TxID
func (*EventRUNEPoolDeposit) Marshal ¶
func (m *EventRUNEPoolDeposit) Marshal() (dAtA []byte, err error)
func (*EventRUNEPoolDeposit) MarshalTo ¶
func (m *EventRUNEPoolDeposit) MarshalTo(dAtA []byte) (int, error)
func (*EventRUNEPoolDeposit) MarshalToSizedBuffer ¶
func (m *EventRUNEPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRUNEPoolDeposit) ProtoMessage ¶
func (*EventRUNEPoolDeposit) ProtoMessage()
func (*EventRUNEPoolDeposit) Reset ¶
func (m *EventRUNEPoolDeposit) Reset()
func (*EventRUNEPoolDeposit) Size ¶
func (m *EventRUNEPoolDeposit) Size() (n int)
func (*EventRUNEPoolDeposit) String ¶
func (m *EventRUNEPoolDeposit) String() string
func (*EventRUNEPoolDeposit) Type ¶
func (m *EventRUNEPoolDeposit) Type() string
Type return the deposit event type
func (*EventRUNEPoolDeposit) Unmarshal ¶
func (m *EventRUNEPoolDeposit) Unmarshal(dAtA []byte) error
func (*EventRUNEPoolDeposit) XXX_DiscardUnknown ¶
func (m *EventRUNEPoolDeposit) XXX_DiscardUnknown()
func (*EventRUNEPoolDeposit) XXX_Marshal ¶
func (m *EventRUNEPoolDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRUNEPoolDeposit) XXX_Merge ¶
func (m *EventRUNEPoolDeposit) XXX_Merge(src proto.Message)
func (*EventRUNEPoolDeposit) XXX_Size ¶
func (m *EventRUNEPoolDeposit) XXX_Size() int
func (*EventRUNEPoolDeposit) XXX_Unmarshal ¶
func (m *EventRUNEPoolDeposit) XXX_Unmarshal(b []byte) error
type EventRUNEPoolWithdraw ¶
type EventRUNEPoolWithdraw struct { RuneAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ BasisPoints int64 `protobuf:"varint,2,opt,name=basis_points,json=basisPoints,proto3" json:"basis_points,omitempty"` RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` TxId gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,5,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` AffiliateBasisPts int64 `protobuf:"varint,6,opt,name=affiliate_basis_pts,json=affiliateBasisPts,proto3" json:"affiliate_basis_pts,omitempty"` AffiliateAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 147-byte string literal not displayed */ AffiliateAddress gitlab_com_thorchain_thornode_common.Address `` /* 163-byte string literal not displayed */ }
func NewEventRUNEPoolWithdraw ¶
func NewEventRUNEPoolWithdraw( runeAddress cosmos.AccAddress, basisPts int64, runeAmount cosmos.Uint, units cosmos.Uint, txID common.TxID, affAddr common.Address, affBps int64, affAmt cosmos.Uint, ) *EventRUNEPoolWithdraw
NewEventRUNEPoolWithdraw create a new RUNEPool withdraw event
func (*EventRUNEPoolWithdraw) Descriptor ¶
func (*EventRUNEPoolWithdraw) Descriptor() ([]byte, []int)
func (*EventRUNEPoolWithdraw) Events ¶
func (m *EventRUNEPoolWithdraw) Events() (cosmos.Events, error)
Events return the cosmos event
func (*EventRUNEPoolWithdraw) GetAffiliateAddress ¶
func (m *EventRUNEPoolWithdraw) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventRUNEPoolWithdraw) GetAffiliateBasisPts ¶
func (m *EventRUNEPoolWithdraw) GetAffiliateBasisPts() int64
func (*EventRUNEPoolWithdraw) GetBasisPoints ¶
func (m *EventRUNEPoolWithdraw) GetBasisPoints() int64
func (*EventRUNEPoolWithdraw) GetRuneAddress ¶
func (m *EventRUNEPoolWithdraw) GetRuneAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*EventRUNEPoolWithdraw) GetTxId ¶
func (m *EventRUNEPoolWithdraw) GetTxId() gitlab_com_thorchain_thornode_common.TxID
func (*EventRUNEPoolWithdraw) Marshal ¶
func (m *EventRUNEPoolWithdraw) Marshal() (dAtA []byte, err error)
func (*EventRUNEPoolWithdraw) MarshalTo ¶
func (m *EventRUNEPoolWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*EventRUNEPoolWithdraw) MarshalToSizedBuffer ¶
func (m *EventRUNEPoolWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRUNEPoolWithdraw) ProtoMessage ¶
func (*EventRUNEPoolWithdraw) ProtoMessage()
func (*EventRUNEPoolWithdraw) Reset ¶
func (m *EventRUNEPoolWithdraw) Reset()
func (*EventRUNEPoolWithdraw) Size ¶
func (m *EventRUNEPoolWithdraw) Size() (n int)
func (*EventRUNEPoolWithdraw) String ¶
func (m *EventRUNEPoolWithdraw) String() string
func (*EventRUNEPoolWithdraw) Type ¶
func (m *EventRUNEPoolWithdraw) Type() string
Type return the withdraw event type
func (*EventRUNEPoolWithdraw) Unmarshal ¶
func (m *EventRUNEPoolWithdraw) Unmarshal(dAtA []byte) error
func (*EventRUNEPoolWithdraw) XXX_DiscardUnknown ¶
func (m *EventRUNEPoolWithdraw) XXX_DiscardUnknown()
func (*EventRUNEPoolWithdraw) XXX_Marshal ¶
func (m *EventRUNEPoolWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRUNEPoolWithdraw) XXX_Merge ¶
func (m *EventRUNEPoolWithdraw) XXX_Merge(src proto.Message)
func (*EventRUNEPoolWithdraw) XXX_Size ¶
func (m *EventRUNEPoolWithdraw) XXX_Size() int
func (*EventRUNEPoolWithdraw) XXX_Unmarshal ¶
func (m *EventRUNEPoolWithdraw) XXX_Unmarshal(b []byte) error
type EventRefund ¶
type EventRefund struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` InTx common.Tx `protobuf:"bytes,3,opt,name=in_tx,json=inTx,proto3" json:"in_tx"` Fee common.Fee `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee"` }
func NewEventRefund ¶
NewEventRefund create a new EventRefund
func (*EventRefund) Descriptor ¶
func (*EventRefund) Descriptor() ([]byte, []int)
func (*EventRefund) Events ¶
func (m *EventRefund) Events() (cosmos.Events, error)
Events return events
func (*EventRefund) GetCode ¶
func (m *EventRefund) GetCode() uint32
func (*EventRefund) GetFee ¶
func (m *EventRefund) GetFee() common.Fee
func (*EventRefund) GetInTx ¶
func (m *EventRefund) GetInTx() common.Tx
func (*EventRefund) GetReason ¶
func (m *EventRefund) GetReason() string
func (*EventRefund) Marshal ¶
func (m *EventRefund) Marshal() (dAtA []byte, err error)
func (*EventRefund) MarshalToSizedBuffer ¶
func (m *EventRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRefund) ProtoMessage ¶
func (*EventRefund) ProtoMessage()
func (*EventRefund) Reset ¶
func (m *EventRefund) Reset()
func (*EventRefund) Size ¶
func (m *EventRefund) Size() (n int)
func (*EventRefund) String ¶
func (m *EventRefund) String() string
func (*EventRefund) Unmarshal ¶
func (m *EventRefund) Unmarshal(dAtA []byte) error
func (*EventRefund) XXX_DiscardUnknown ¶
func (m *EventRefund) XXX_DiscardUnknown()
func (*EventRefund) XXX_Marshal ¶
func (m *EventRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRefund) XXX_Merge ¶
func (m *EventRefund) XXX_Merge(src proto.Message)
func (*EventRefund) XXX_Size ¶
func (m *EventRefund) XXX_Size() int
func (*EventRefund) XXX_Unmarshal ¶
func (m *EventRefund) XXX_Unmarshal(b []byte) error
type EventReserve ¶
type EventReserve struct { ReserveContributor ReserveContributor `protobuf:"bytes,1,opt,name=reserve_contributor,json=reserveContributor,proto3" json:"reserve_contributor"` InTx common.Tx `protobuf:"bytes,2,opt,name=in_tx,json=inTx,proto3" json:"in_tx"` }
func NewEventReserve ¶
func NewEventReserve(contributor ReserveContributor, inTx common.Tx) *EventReserve
NewEventReserve create a new instance of EventReserve
func (*EventReserve) Descriptor ¶
func (*EventReserve) Descriptor() ([]byte, []int)
func (*EventReserve) Events ¶
func (m *EventReserve) Events() (cosmos.Events, error)
Events return standard cosmos event
func (*EventReserve) GetInTx ¶
func (m *EventReserve) GetInTx() common.Tx
func (*EventReserve) GetReserveContributor ¶
func (m *EventReserve) GetReserveContributor() ReserveContributor
func (*EventReserve) Marshal ¶
func (m *EventReserve) Marshal() (dAtA []byte, err error)
func (*EventReserve) MarshalToSizedBuffer ¶
func (m *EventReserve) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventReserve) ProtoMessage ¶
func (*EventReserve) ProtoMessage()
func (*EventReserve) Reset ¶
func (m *EventReserve) Reset()
func (*EventReserve) Size ¶
func (m *EventReserve) Size() (n int)
func (*EventReserve) String ¶
func (m *EventReserve) String() string
func (*EventReserve) Unmarshal ¶
func (m *EventReserve) Unmarshal(dAtA []byte) error
func (*EventReserve) XXX_DiscardUnknown ¶
func (m *EventReserve) XXX_DiscardUnknown()
func (*EventReserve) XXX_Marshal ¶
func (m *EventReserve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventReserve) XXX_Merge ¶
func (m *EventReserve) XXX_Merge(src proto.Message)
func (*EventReserve) XXX_Size ¶
func (m *EventReserve) XXX_Size() int
func (*EventReserve) XXX_Unmarshal ¶
func (m *EventReserve) XXX_Unmarshal(b []byte) error
type EventRewards ¶
type EventRewards struct { BondReward github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ PoolRewards []PoolAmt `protobuf:"bytes,2,rep,name=pool_rewards,json=poolRewards,proto3" json:"pool_rewards"` DevFundReward github_com_cosmos_cosmos_sdk_types.Uint `` /* 143-byte string literal not displayed */ IncomeBurn github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ }
func NewEventRewards ¶
func NewEventRewards(bondReward cosmos.Uint, poolRewards []PoolAmt, devFundReward cosmos.Uint, incomeBurn cosmos.Uint) *EventRewards
NewEventRewards create a new reward event
func (*EventRewards) Descriptor ¶
func (*EventRewards) Descriptor() ([]byte, []int)
func (*EventRewards) Events ¶
func (m *EventRewards) Events() (cosmos.Events, error)
Events return a standard cosmos event
func (*EventRewards) GetPoolRewards ¶
func (m *EventRewards) GetPoolRewards() []PoolAmt
func (*EventRewards) Marshal ¶
func (m *EventRewards) Marshal() (dAtA []byte, err error)
func (*EventRewards) MarshalToSizedBuffer ¶
func (m *EventRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRewards) ProtoMessage ¶
func (*EventRewards) ProtoMessage()
func (*EventRewards) Reset ¶
func (m *EventRewards) Reset()
func (*EventRewards) Size ¶
func (m *EventRewards) Size() (n int)
func (*EventRewards) String ¶
func (m *EventRewards) String() string
func (*EventRewards) Unmarshal ¶
func (m *EventRewards) Unmarshal(dAtA []byte) error
func (*EventRewards) XXX_DiscardUnknown ¶
func (m *EventRewards) XXX_DiscardUnknown()
func (*EventRewards) XXX_Marshal ¶
func (m *EventRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRewards) XXX_Merge ¶
func (m *EventRewards) XXX_Merge(src proto.Message)
func (*EventRewards) XXX_Size ¶
func (m *EventRewards) XXX_Size() int
func (*EventRewards) XXX_Unmarshal ¶
func (m *EventRewards) XXX_Unmarshal(b []byte) error
type EventScheduledOutbound ¶
type EventScheduledOutbound struct {
OutTx TxOutItem `protobuf:"bytes,1,opt,name=out_tx,json=outTx,proto3" json:"out_tx"`
}
func NewEventScheduledOutbound ¶
func NewEventScheduledOutbound(tx TxOutItem) *EventScheduledOutbound
NewEventScheduledOutbound creates a new scheduled outbound event.
func (*EventScheduledOutbound) Descriptor ¶
func (*EventScheduledOutbound) Descriptor() ([]byte, []int)
func (*EventScheduledOutbound) Events ¶
func (m *EventScheduledOutbound) Events() (cosmos.Events, error)
Events returns the cosmos events for the scheduled outbound event.
func (*EventScheduledOutbound) GetOutTx ¶
func (m *EventScheduledOutbound) GetOutTx() TxOutItem
func (*EventScheduledOutbound) Marshal ¶
func (m *EventScheduledOutbound) Marshal() (dAtA []byte, err error)
func (*EventScheduledOutbound) MarshalTo ¶
func (m *EventScheduledOutbound) MarshalTo(dAtA []byte) (int, error)
func (*EventScheduledOutbound) MarshalToSizedBuffer ¶
func (m *EventScheduledOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventScheduledOutbound) ProtoMessage ¶
func (*EventScheduledOutbound) ProtoMessage()
func (*EventScheduledOutbound) Reset ¶
func (m *EventScheduledOutbound) Reset()
func (*EventScheduledOutbound) Size ¶
func (m *EventScheduledOutbound) Size() (n int)
func (*EventScheduledOutbound) String ¶
func (m *EventScheduledOutbound) String() string
func (*EventScheduledOutbound) Type ¶
func (m *EventScheduledOutbound) Type() string
Type returns the scheduled outbound event type.
func (*EventScheduledOutbound) Unmarshal ¶
func (m *EventScheduledOutbound) Unmarshal(dAtA []byte) error
func (*EventScheduledOutbound) XXX_DiscardUnknown ¶
func (m *EventScheduledOutbound) XXX_DiscardUnknown()
func (*EventScheduledOutbound) XXX_Marshal ¶
func (m *EventScheduledOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventScheduledOutbound) XXX_Merge ¶
func (m *EventScheduledOutbound) XXX_Merge(src proto.Message)
func (*EventScheduledOutbound) XXX_Size ¶
func (m *EventScheduledOutbound) XXX_Size() int
func (*EventScheduledOutbound) XXX_Unmarshal ¶
func (m *EventScheduledOutbound) XXX_Unmarshal(b []byte) error
type EventSecurity ¶
type EventSecurity struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Tx common.Tx `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx"` }
func NewEventSecurity ¶
func NewEventSecurity(tx common.Tx, msg string) *EventSecurity
NewEventSecurity creates a new security event.
func (*EventSecurity) Descriptor ¶
func (*EventSecurity) Descriptor() ([]byte, []int)
func (*EventSecurity) Events ¶
func (m *EventSecurity) Events() (cosmos.Events, error)
Events returns the cosmos events for the security event.
func (*EventSecurity) GetMsg ¶
func (m *EventSecurity) GetMsg() string
func (*EventSecurity) GetTx ¶
func (m *EventSecurity) GetTx() common.Tx
func (*EventSecurity) Marshal ¶
func (m *EventSecurity) Marshal() (dAtA []byte, err error)
func (*EventSecurity) MarshalToSizedBuffer ¶
func (m *EventSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSecurity) ProtoMessage ¶
func (*EventSecurity) ProtoMessage()
func (*EventSecurity) Reset ¶
func (m *EventSecurity) Reset()
func (*EventSecurity) Size ¶
func (m *EventSecurity) Size() (n int)
func (*EventSecurity) String ¶
func (m *EventSecurity) String() string
func (*EventSecurity) Type ¶
func (m *EventSecurity) Type() string
Type returns the security event type.
func (*EventSecurity) Unmarshal ¶
func (m *EventSecurity) Unmarshal(dAtA []byte) error
func (*EventSecurity) XXX_DiscardUnknown ¶
func (m *EventSecurity) XXX_DiscardUnknown()
func (*EventSecurity) XXX_Marshal ¶
func (m *EventSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSecurity) XXX_Merge ¶
func (m *EventSecurity) XXX_Merge(src proto.Message)
func (*EventSecurity) XXX_Size ¶
func (m *EventSecurity) XXX_Size() int
func (*EventSecurity) XXX_Unmarshal ¶
func (m *EventSecurity) XXX_Unmarshal(b []byte) error
type EventSetMimir ¶
type EventSetMimir struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func NewEventSetMimir ¶
func NewEventSetMimir(key, value string) *EventSetMimir
func (*EventSetMimir) Descriptor ¶
func (*EventSetMimir) Descriptor() ([]byte, []int)
func (*EventSetMimir) Events ¶
func (m *EventSetMimir) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventSetMimir) GetKey ¶
func (m *EventSetMimir) GetKey() string
func (*EventSetMimir) GetValue ¶
func (m *EventSetMimir) GetValue() string
func (*EventSetMimir) Marshal ¶
func (m *EventSetMimir) Marshal() (dAtA []byte, err error)
func (*EventSetMimir) MarshalToSizedBuffer ¶
func (m *EventSetMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSetMimir) ProtoMessage ¶
func (*EventSetMimir) ProtoMessage()
func (*EventSetMimir) Reset ¶
func (m *EventSetMimir) Reset()
func (*EventSetMimir) Size ¶
func (m *EventSetMimir) Size() (n int)
func (*EventSetMimir) String ¶
func (m *EventSetMimir) String() string
func (*EventSetMimir) Type ¶
func (m *EventSetMimir) Type() string
Type return a string which represent the type of this event
func (*EventSetMimir) Unmarshal ¶
func (m *EventSetMimir) Unmarshal(dAtA []byte) error
func (*EventSetMimir) XXX_DiscardUnknown ¶
func (m *EventSetMimir) XXX_DiscardUnknown()
func (*EventSetMimir) XXX_Marshal ¶
func (m *EventSetMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSetMimir) XXX_Merge ¶
func (m *EventSetMimir) XXX_Merge(src proto.Message)
func (*EventSetMimir) XXX_Size ¶
func (m *EventSetMimir) XXX_Size() int
func (*EventSetMimir) XXX_Unmarshal ¶
func (m *EventSetMimir) XXX_Unmarshal(b []byte) error
type EventSetNodeMimir ¶
type EventSetNodeMimir struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func NewEventSetNodeMimir ¶
func NewEventSetNodeMimir(key, value, address string) *EventSetNodeMimir
NewEventSetNodeMimir create a new instance of EventSetNodeMimir
func (*EventSetNodeMimir) Descriptor ¶
func (*EventSetNodeMimir) Descriptor() ([]byte, []int)
func (*EventSetNodeMimir) Events ¶
func (m *EventSetNodeMimir) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventSetNodeMimir) GetAddress ¶
func (m *EventSetNodeMimir) GetAddress() string
func (*EventSetNodeMimir) GetKey ¶
func (m *EventSetNodeMimir) GetKey() string
func (*EventSetNodeMimir) GetValue ¶
func (m *EventSetNodeMimir) GetValue() string
func (*EventSetNodeMimir) Marshal ¶
func (m *EventSetNodeMimir) Marshal() (dAtA []byte, err error)
func (*EventSetNodeMimir) MarshalTo ¶
func (m *EventSetNodeMimir) MarshalTo(dAtA []byte) (int, error)
func (*EventSetNodeMimir) MarshalToSizedBuffer ¶
func (m *EventSetNodeMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSetNodeMimir) ProtoMessage ¶
func (*EventSetNodeMimir) ProtoMessage()
func (*EventSetNodeMimir) Reset ¶
func (m *EventSetNodeMimir) Reset()
func (*EventSetNodeMimir) Size ¶
func (m *EventSetNodeMimir) Size() (n int)
func (*EventSetNodeMimir) String ¶
func (m *EventSetNodeMimir) String() string
func (*EventSetNodeMimir) Type ¶
func (m *EventSetNodeMimir) Type() string
Type return a string which represent the type of this event
func (*EventSetNodeMimir) Unmarshal ¶
func (m *EventSetNodeMimir) Unmarshal(dAtA []byte) error
func (*EventSetNodeMimir) XXX_DiscardUnknown ¶
func (m *EventSetNodeMimir) XXX_DiscardUnknown()
func (*EventSetNodeMimir) XXX_Marshal ¶
func (m *EventSetNodeMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSetNodeMimir) XXX_Merge ¶
func (m *EventSetNodeMimir) XXX_Merge(src proto.Message)
func (*EventSetNodeMimir) XXX_Size ¶
func (m *EventSetNodeMimir) XXX_Size() int
func (*EventSetNodeMimir) XXX_Unmarshal ¶
func (m *EventSetNodeMimir) XXX_Unmarshal(b []byte) error
type EventSlash ¶
type EventSlash struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` SlashAmount []PoolAmt `protobuf:"bytes,2,rep,name=slash_amount,json=slashAmount,proto3" json:"slash_amount"` }
func NewEventSlash ¶
func NewEventSlash(pool common.Asset, slashAmount []PoolAmt) *EventSlash
NewEventSlash create a new slash event
func (*EventSlash) Descriptor ¶
func (*EventSlash) Descriptor() ([]byte, []int)
func (*EventSlash) Events ¶
func (m *EventSlash) Events() (cosmos.Events, error)
Events return a standard cosmos events
func (*EventSlash) GetPool ¶
func (m *EventSlash) GetPool() common.Asset
func (*EventSlash) GetSlashAmount ¶
func (m *EventSlash) GetSlashAmount() []PoolAmt
func (*EventSlash) Marshal ¶
func (m *EventSlash) Marshal() (dAtA []byte, err error)
func (*EventSlash) MarshalToSizedBuffer ¶
func (m *EventSlash) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSlash) ProtoMessage ¶
func (*EventSlash) ProtoMessage()
func (*EventSlash) Reset ¶
func (m *EventSlash) Reset()
func (*EventSlash) Size ¶
func (m *EventSlash) Size() (n int)
func (*EventSlash) String ¶
func (m *EventSlash) String() string
func (*EventSlash) Unmarshal ¶
func (m *EventSlash) Unmarshal(dAtA []byte) error
func (*EventSlash) XXX_DiscardUnknown ¶
func (m *EventSlash) XXX_DiscardUnknown()
func (*EventSlash) XXX_Marshal ¶
func (m *EventSlash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSlash) XXX_Merge ¶
func (m *EventSlash) XXX_Merge(src proto.Message)
func (*EventSlash) XXX_Size ¶
func (m *EventSlash) XXX_Size() int
func (*EventSlash) XXX_Unmarshal ¶
func (m *EventSlash) XXX_Unmarshal(b []byte) error
type EventSlashPoint ¶
type EventSlashPoint struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ SlashPoints int64 `protobuf:"varint,2,opt,name=slash_points,json=slashPoints,proto3" json:"slash_points,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` }
func NewEventSlashPoint ¶
func NewEventSlashPoint(addr cosmos.AccAddress, slashPoints int64, reason string) *EventSlashPoint
NewEventSlashPoint create a new slash point event
func (*EventSlashPoint) Descriptor ¶
func (*EventSlashPoint) Descriptor() ([]byte, []int)
func (*EventSlashPoint) Events ¶
func (m *EventSlashPoint) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventSlashPoint) GetNodeAddress ¶
func (m *EventSlashPoint) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*EventSlashPoint) GetReason ¶
func (m *EventSlashPoint) GetReason() string
func (*EventSlashPoint) GetSlashPoints ¶
func (m *EventSlashPoint) GetSlashPoints() int64
func (*EventSlashPoint) Marshal ¶
func (m *EventSlashPoint) Marshal() (dAtA []byte, err error)
func (*EventSlashPoint) MarshalToSizedBuffer ¶
func (m *EventSlashPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSlashPoint) ProtoMessage ¶
func (*EventSlashPoint) ProtoMessage()
func (*EventSlashPoint) Reset ¶
func (m *EventSlashPoint) Reset()
func (*EventSlashPoint) Size ¶
func (m *EventSlashPoint) Size() (n int)
func (*EventSlashPoint) String ¶
func (m *EventSlashPoint) String() string
func (*EventSlashPoint) Type ¶
func (m *EventSlashPoint) Type() string
Type return a string which represent the type of this event
func (*EventSlashPoint) Unmarshal ¶
func (m *EventSlashPoint) Unmarshal(dAtA []byte) error
func (*EventSlashPoint) XXX_DiscardUnknown ¶
func (m *EventSlashPoint) XXX_DiscardUnknown()
func (*EventSlashPoint) XXX_Marshal ¶
func (m *EventSlashPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSlashPoint) XXX_Merge ¶
func (m *EventSlashPoint) XXX_Merge(src proto.Message)
func (*EventSlashPoint) XXX_Size ¶
func (m *EventSlashPoint) XXX_Size() int
func (*EventSlashPoint) XXX_Unmarshal ¶
func (m *EventSlashPoint) XXX_Unmarshal(b []byte) error
type EventStreamingSwap ¶
type EventStreamingSwap struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Interval uint64 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` Quantity uint64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` LastHeight int64 `protobuf:"varint,5,opt,name=last_height,json=lastHeight,proto3" json:"last_height,omitempty"` TradeTarget github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ Deposit common.Coin `protobuf:"bytes,7,opt,name=deposit,proto3" json:"deposit"` In common.Coin `protobuf:"bytes,8,opt,name=in,proto3" json:"in"` Out common.Coin `protobuf:"bytes,9,opt,name=out,proto3" json:"out"` FailedSwaps []uint64 `protobuf:"varint,10,rep,packed,name=failed_swaps,json=failedSwaps,proto3" json:"failed_swaps,omitempty"` FailedSwapReasons []string `protobuf:"bytes,11,rep,name=failed_swap_reasons,json=failedSwapReasons,proto3" json:"failed_swap_reasons,omitempty"` }
func NewEventStreamingSwap ¶
func NewEventStreamingSwap(inAsset, outAsset common.Asset, swp StreamingSwap) *EventStreamingSwap
NewEventStreamingSwap create a new streaming swap event
func (*EventStreamingSwap) Descriptor ¶
func (*EventStreamingSwap) Descriptor() ([]byte, []int)
func (*EventStreamingSwap) Events ¶
func (m *EventStreamingSwap) Events() (cosmos.Events, error)
Events convert EventSwap to key value pairs used in cosmos
func (*EventStreamingSwap) GetCount ¶
func (m *EventStreamingSwap) GetCount() uint64
func (*EventStreamingSwap) GetDeposit ¶
func (m *EventStreamingSwap) GetDeposit() common.Coin
func (*EventStreamingSwap) GetFailedSwapReasons ¶
func (m *EventStreamingSwap) GetFailedSwapReasons() []string
func (*EventStreamingSwap) GetFailedSwaps ¶
func (m *EventStreamingSwap) GetFailedSwaps() []uint64
func (*EventStreamingSwap) GetIn ¶
func (m *EventStreamingSwap) GetIn() common.Coin
func (*EventStreamingSwap) GetInterval ¶
func (m *EventStreamingSwap) GetInterval() uint64
func (*EventStreamingSwap) GetLastHeight ¶
func (m *EventStreamingSwap) GetLastHeight() int64
func (*EventStreamingSwap) GetOut ¶
func (m *EventStreamingSwap) GetOut() common.Coin
func (*EventStreamingSwap) GetQuantity ¶
func (m *EventStreamingSwap) GetQuantity() uint64
func (*EventStreamingSwap) GetTxID ¶
func (m *EventStreamingSwap) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventStreamingSwap) Marshal ¶
func (m *EventStreamingSwap) Marshal() (dAtA []byte, err error)
func (*EventStreamingSwap) MarshalTo ¶
func (m *EventStreamingSwap) MarshalTo(dAtA []byte) (int, error)
func (*EventStreamingSwap) MarshalToSizedBuffer ¶
func (m *EventStreamingSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStreamingSwap) ProtoMessage ¶
func (*EventStreamingSwap) ProtoMessage()
func (*EventStreamingSwap) Reset ¶
func (m *EventStreamingSwap) Reset()
func (*EventStreamingSwap) Size ¶
func (m *EventStreamingSwap) Size() (n int)
func (*EventStreamingSwap) String ¶
func (m *EventStreamingSwap) String() string
func (*EventStreamingSwap) Type ¶
func (m *EventStreamingSwap) Type() string
Type return a string that represent the type, it should not duplicated with other event
func (*EventStreamingSwap) Unmarshal ¶
func (m *EventStreamingSwap) Unmarshal(dAtA []byte) error
func (*EventStreamingSwap) XXX_DiscardUnknown ¶
func (m *EventStreamingSwap) XXX_DiscardUnknown()
func (*EventStreamingSwap) XXX_Marshal ¶
func (m *EventStreamingSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStreamingSwap) XXX_Merge ¶
func (m *EventStreamingSwap) XXX_Merge(src proto.Message)
func (*EventStreamingSwap) XXX_Size ¶
func (m *EventStreamingSwap) XXX_Size() int
func (*EventStreamingSwap) XXX_Unmarshal ¶
func (m *EventStreamingSwap) XXX_Unmarshal(b []byte) error
type EventSwap ¶
type EventSwap struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` SwapTarget github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ SwapSlip github_com_cosmos_cosmos_sdk_types.Uint `` /* 126-byte string literal not displayed */ LiquidityFee github_com_cosmos_cosmos_sdk_types.Uint `` /* 138-byte string literal not displayed */ LiquidityFeeInRune github_com_cosmos_cosmos_sdk_types.Uint `` /* 160-byte string literal not displayed */ InTx common.Tx `protobuf:"bytes,6,opt,name=in_tx,json=inTx,proto3" json:"in_tx"` OutTxs common.Tx `protobuf:"bytes,7,opt,name=out_txs,json=outTxs,proto3" json:"out_txs"` EmitAsset common.Coin `protobuf:"bytes,8,opt,name=emit_asset,json=emitAsset,proto3" json:"emit_asset"` SynthUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ StreamingSwapQuantity uint64 `` /* 128-byte string literal not displayed */ StreamingSwapCount uint64 `protobuf:"varint,11,opt,name=streaming_swap_count,json=streamingSwapCount,proto3" json:"streaming_swap_count,omitempty"` PoolSlip github_com_cosmos_cosmos_sdk_types.Uint `` /* 127-byte string literal not displayed */ }
func NewEventSwap ¶
func NewEventSwap(pool common.Asset, swapTarget, fee, swapSlip, liquidityFeeInRune cosmos.Uint, inTx common.Tx, emitAsset common.Coin, synthUnits cosmos.Uint) *EventSwap
NewEventSwap create a new swap event
func (*EventSwap) Descriptor ¶
func (*EventSwap) GetEmitAsset ¶
func (*EventSwap) GetStreamingSwapCount ¶
func (*EventSwap) GetStreamingSwapQuantity ¶
func (*EventSwap) MarshalToSizedBuffer ¶
func (*EventSwap) ProtoMessage ¶
func (*EventSwap) ProtoMessage()
func (*EventSwap) Type ¶
Type return a string that represent the type, it should not duplicated with other event
func (*EventSwap) XXX_DiscardUnknown ¶
func (m *EventSwap) XXX_DiscardUnknown()
func (*EventSwap) XXX_Marshal ¶
func (*EventSwap) XXX_Unmarshal ¶
type EventTHORName ¶
type EventTHORName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` Address gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,3,opt,name=address,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"address,omitempty"` RegistrationFee github_com_cosmos_cosmos_sdk_types.Uint `` /* 147-byte string literal not displayed */ FundAmt github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,5,opt,name=fund_amt,json=fundAmt,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"fund_amt"` Expire int64 `protobuf:"varint,6,opt,name=expire,proto3" json:"expire,omitempty"` Owner github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,7,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"` }
func NewEventTHORName ¶
func NewEventTHORName(name string, chain common.Chain, addr common.Address, reg_fee, fund_amt cosmos.Uint, expire int64, owner cosmos.AccAddress) *EventTHORName
NewEventTHORName create a new instance of EventTHORName
func (*EventTHORName) Descriptor ¶
func (*EventTHORName) Descriptor() ([]byte, []int)
func (*EventTHORName) Events ¶
func (m *EventTHORName) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventTHORName) GetAddress ¶
func (m *EventTHORName) GetAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventTHORName) GetChain ¶
func (m *EventTHORName) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*EventTHORName) GetExpire ¶
func (m *EventTHORName) GetExpire() int64
func (*EventTHORName) GetName ¶
func (m *EventTHORName) GetName() string
func (*EventTHORName) GetOwner ¶
func (m *EventTHORName) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*EventTHORName) Marshal ¶
func (m *EventTHORName) Marshal() (dAtA []byte, err error)
func (*EventTHORName) MarshalToSizedBuffer ¶
func (m *EventTHORName) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTHORName) ProtoMessage ¶
func (*EventTHORName) ProtoMessage()
func (*EventTHORName) Reset ¶
func (m *EventTHORName) Reset()
func (*EventTHORName) Size ¶
func (m *EventTHORName) Size() (n int)
func (*EventTHORName) String ¶
func (m *EventTHORName) String() string
func (*EventTHORName) Type ¶
func (m *EventTHORName) Type() string
Type return a string which represent the type of this event
func (*EventTHORName) Unmarshal ¶
func (m *EventTHORName) Unmarshal(dAtA []byte) error
func (*EventTHORName) XXX_DiscardUnknown ¶
func (m *EventTHORName) XXX_DiscardUnknown()
func (*EventTHORName) XXX_Marshal ¶
func (m *EventTHORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTHORName) XXX_Merge ¶
func (m *EventTHORName) XXX_Merge(src proto.Message)
func (*EventTHORName) XXX_Size ¶
func (m *EventTHORName) XXX_Size() int
func (*EventTHORName) XXX_Unmarshal ¶
func (m *EventTHORName) XXX_Unmarshal(b []byte) error
type EventTradeAccountDeposit ¶
type EventTradeAccountDeposit struct { Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` Asset common.Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset"` AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ RuneAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,5,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewEventTradeAccountDeposit ¶
func NewEventTradeAccountDeposit( amt cosmos.Uint, asset common.Asset, assetAddress common.Address, runeAddress common.Address, txID common.TxID, ) *EventTradeAccountDeposit
NewEventTradeAccountDeposit creates a new trade account deposit event.
func (*EventTradeAccountDeposit) Descriptor ¶
func (*EventTradeAccountDeposit) Descriptor() ([]byte, []int)
func (*EventTradeAccountDeposit) Events ¶
func (m *EventTradeAccountDeposit) Events() (cosmos.Events, error)
Events return the cosmos event
func (*EventTradeAccountDeposit) GetAsset ¶
func (m *EventTradeAccountDeposit) GetAsset() common.Asset
func (*EventTradeAccountDeposit) GetAssetAddress ¶
func (m *EventTradeAccountDeposit) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventTradeAccountDeposit) GetRuneAddress ¶
func (m *EventTradeAccountDeposit) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventTradeAccountDeposit) GetTxID ¶
func (m *EventTradeAccountDeposit) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventTradeAccountDeposit) Marshal ¶
func (m *EventTradeAccountDeposit) Marshal() (dAtA []byte, err error)
func (*EventTradeAccountDeposit) MarshalTo ¶
func (m *EventTradeAccountDeposit) MarshalTo(dAtA []byte) (int, error)
func (*EventTradeAccountDeposit) MarshalToSizedBuffer ¶
func (m *EventTradeAccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTradeAccountDeposit) ProtoMessage ¶
func (*EventTradeAccountDeposit) ProtoMessage()
func (*EventTradeAccountDeposit) Reset ¶
func (m *EventTradeAccountDeposit) Reset()
func (*EventTradeAccountDeposit) Size ¶
func (m *EventTradeAccountDeposit) Size() (n int)
func (*EventTradeAccountDeposit) String ¶
func (m *EventTradeAccountDeposit) String() string
func (*EventTradeAccountDeposit) Type ¶
func (m *EventTradeAccountDeposit) Type() string
Type return the deposit event type
func (*EventTradeAccountDeposit) Unmarshal ¶
func (m *EventTradeAccountDeposit) Unmarshal(dAtA []byte) error
func (*EventTradeAccountDeposit) XXX_DiscardUnknown ¶
func (m *EventTradeAccountDeposit) XXX_DiscardUnknown()
func (*EventTradeAccountDeposit) XXX_Marshal ¶
func (m *EventTradeAccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTradeAccountDeposit) XXX_Merge ¶
func (m *EventTradeAccountDeposit) XXX_Merge(src proto.Message)
func (*EventTradeAccountDeposit) XXX_Size ¶
func (m *EventTradeAccountDeposit) XXX_Size() int
func (*EventTradeAccountDeposit) XXX_Unmarshal ¶
func (m *EventTradeAccountDeposit) XXX_Unmarshal(b []byte) error
type EventTradeAccountWithdraw ¶
type EventTradeAccountWithdraw struct { Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` Asset common.Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset"` AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ RuneAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,5,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewEventTradeAccountWithdraw ¶
func NewEventTradeAccountWithdraw( amt cosmos.Uint, asset common.Asset, assetAddress common.Address, runeAddress common.Address, txID common.TxID, ) *EventTradeAccountWithdraw
NewEventTradeAccountWithdraw creates a new trade account withdraw event.
func (*EventTradeAccountWithdraw) Descriptor ¶
func (*EventTradeAccountWithdraw) Descriptor() ([]byte, []int)
func (*EventTradeAccountWithdraw) Events ¶
func (m *EventTradeAccountWithdraw) Events() (cosmos.Events, error)
Events return the cosmos event
func (*EventTradeAccountWithdraw) GetAsset ¶
func (m *EventTradeAccountWithdraw) GetAsset() common.Asset
func (*EventTradeAccountWithdraw) GetAssetAddress ¶
func (m *EventTradeAccountWithdraw) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventTradeAccountWithdraw) GetRuneAddress ¶
func (m *EventTradeAccountWithdraw) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
func (*EventTradeAccountWithdraw) GetTxID ¶
func (m *EventTradeAccountWithdraw) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventTradeAccountWithdraw) Marshal ¶
func (m *EventTradeAccountWithdraw) Marshal() (dAtA []byte, err error)
func (*EventTradeAccountWithdraw) MarshalTo ¶
func (m *EventTradeAccountWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*EventTradeAccountWithdraw) MarshalToSizedBuffer ¶
func (m *EventTradeAccountWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTradeAccountWithdraw) ProtoMessage ¶
func (*EventTradeAccountWithdraw) ProtoMessage()
func (*EventTradeAccountWithdraw) Reset ¶
func (m *EventTradeAccountWithdraw) Reset()
func (*EventTradeAccountWithdraw) Size ¶
func (m *EventTradeAccountWithdraw) Size() (n int)
func (*EventTradeAccountWithdraw) String ¶
func (m *EventTradeAccountWithdraw) String() string
func (*EventTradeAccountWithdraw) Type ¶
func (m *EventTradeAccountWithdraw) Type() string
Type return the withdraw event type
func (*EventTradeAccountWithdraw) Unmarshal ¶
func (m *EventTradeAccountWithdraw) Unmarshal(dAtA []byte) error
func (*EventTradeAccountWithdraw) XXX_DiscardUnknown ¶
func (m *EventTradeAccountWithdraw) XXX_DiscardUnknown()
func (*EventTradeAccountWithdraw) XXX_Marshal ¶
func (m *EventTradeAccountWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTradeAccountWithdraw) XXX_Merge ¶
func (m *EventTradeAccountWithdraw) XXX_Merge(src proto.Message)
func (*EventTradeAccountWithdraw) XXX_Size ¶
func (m *EventTradeAccountWithdraw) XXX_Size() int
func (*EventTradeAccountWithdraw) XXX_Unmarshal ¶
func (m *EventTradeAccountWithdraw) XXX_Unmarshal(b []byte) error
type EventTssKeygenFailure ¶
type EventTssKeygenFailure struct { FailReason string `protobuf:"bytes,1,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"` IsUnicast bool `protobuf:"varint,2,opt,name=is_unicast,json=isUnicast,proto3" json:"is_unicast,omitempty"` BlameNodes []string `protobuf:"bytes,3,rep,name=blame_nodes,json=blameNodes,proto3" json:"blame_nodes,omitempty"` Round string `protobuf:"bytes,4,opt,name=round,proto3" json:"round,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` }
func NewEventTssKeygenFailure ¶
func NewEventTssKeygenFailure(reason, round string, unicast bool, height int64, blame []string) *EventTssKeygenFailure
NewEventTssKeygenFailure create a new EventTssKeygenFailure
func (*EventTssKeygenFailure) Descriptor ¶
func (*EventTssKeygenFailure) Descriptor() ([]byte, []int)
func (*EventTssKeygenFailure) Events ¶
func (m *EventTssKeygenFailure) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventTssKeygenFailure) GetBlameNodes ¶
func (m *EventTssKeygenFailure) GetBlameNodes() []string
func (*EventTssKeygenFailure) GetFailReason ¶
func (m *EventTssKeygenFailure) GetFailReason() string
func (*EventTssKeygenFailure) GetHeight ¶
func (m *EventTssKeygenFailure) GetHeight() int64
func (*EventTssKeygenFailure) GetIsUnicast ¶
func (m *EventTssKeygenFailure) GetIsUnicast() bool
func (*EventTssKeygenFailure) GetRound ¶
func (m *EventTssKeygenFailure) GetRound() string
func (*EventTssKeygenFailure) Marshal ¶
func (m *EventTssKeygenFailure) Marshal() (dAtA []byte, err error)
func (*EventTssKeygenFailure) MarshalTo ¶
func (m *EventTssKeygenFailure) MarshalTo(dAtA []byte) (int, error)
func (*EventTssKeygenFailure) MarshalToSizedBuffer ¶
func (m *EventTssKeygenFailure) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTssKeygenFailure) ProtoMessage ¶
func (*EventTssKeygenFailure) ProtoMessage()
func (*EventTssKeygenFailure) Reset ¶
func (m *EventTssKeygenFailure) Reset()
func (*EventTssKeygenFailure) Size ¶
func (m *EventTssKeygenFailure) Size() (n int)
func (*EventTssKeygenFailure) String ¶
func (m *EventTssKeygenFailure) String() string
func (*EventTssKeygenFailure) Type ¶
func (m *EventTssKeygenFailure) Type() string
Type return a string which represent the type of this event
func (*EventTssKeygenFailure) Unmarshal ¶
func (m *EventTssKeygenFailure) Unmarshal(dAtA []byte) error
func (*EventTssKeygenFailure) XXX_DiscardUnknown ¶
func (m *EventTssKeygenFailure) XXX_DiscardUnknown()
func (*EventTssKeygenFailure) XXX_Marshal ¶
func (m *EventTssKeygenFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTssKeygenFailure) XXX_Merge ¶
func (m *EventTssKeygenFailure) XXX_Merge(src proto.Message)
func (*EventTssKeygenFailure) XXX_Size ¶
func (m *EventTssKeygenFailure) XXX_Size() int
func (*EventTssKeygenFailure) XXX_Unmarshal ¶
func (m *EventTssKeygenFailure) XXX_Unmarshal(b []byte) error
type EventTssKeygenMetric ¶
type EventTssKeygenMetric struct { PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ MedianDurationMs int64 `protobuf:"varint,2,opt,name=median_duration_ms,json=medianDurationMs,proto3" json:"median_duration_ms,omitempty"` }
func NewEventTssKeygenMetric ¶
func NewEventTssKeygenMetric(pubkey common.PubKey, medianDurationMS int64) *EventTssKeygenMetric
NewEventTssKeygenMetric create a new EventTssMetric
func (*EventTssKeygenMetric) Descriptor ¶
func (*EventTssKeygenMetric) Descriptor() ([]byte, []int)
func (*EventTssKeygenMetric) Events ¶
func (m *EventTssKeygenMetric) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventTssKeygenMetric) GetMedianDurationMs ¶
func (m *EventTssKeygenMetric) GetMedianDurationMs() int64
func (*EventTssKeygenMetric) GetPubKey ¶
func (m *EventTssKeygenMetric) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
func (*EventTssKeygenMetric) Marshal ¶
func (m *EventTssKeygenMetric) Marshal() (dAtA []byte, err error)
func (*EventTssKeygenMetric) MarshalTo ¶
func (m *EventTssKeygenMetric) MarshalTo(dAtA []byte) (int, error)
func (*EventTssKeygenMetric) MarshalToSizedBuffer ¶
func (m *EventTssKeygenMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTssKeygenMetric) ProtoMessage ¶
func (*EventTssKeygenMetric) ProtoMessage()
func (*EventTssKeygenMetric) Reset ¶
func (m *EventTssKeygenMetric) Reset()
func (*EventTssKeygenMetric) Size ¶
func (m *EventTssKeygenMetric) Size() (n int)
func (*EventTssKeygenMetric) String ¶
func (m *EventTssKeygenMetric) String() string
func (*EventTssKeygenMetric) Type ¶
func (m *EventTssKeygenMetric) Type() string
Type return a string which represent the type of this event
func (*EventTssKeygenMetric) Unmarshal ¶
func (m *EventTssKeygenMetric) Unmarshal(dAtA []byte) error
func (*EventTssKeygenMetric) XXX_DiscardUnknown ¶
func (m *EventTssKeygenMetric) XXX_DiscardUnknown()
func (*EventTssKeygenMetric) XXX_Marshal ¶
func (m *EventTssKeygenMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTssKeygenMetric) XXX_Merge ¶
func (m *EventTssKeygenMetric) XXX_Merge(src proto.Message)
func (*EventTssKeygenMetric) XXX_Size ¶
func (m *EventTssKeygenMetric) XXX_Size() int
func (*EventTssKeygenMetric) XXX_Unmarshal ¶
func (m *EventTssKeygenMetric) XXX_Unmarshal(b []byte) error
type EventTssKeygenSuccess ¶
type EventTssKeygenSuccess struct { PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` }
func NewEventTssKeygenSuccess ¶
func NewEventTssKeygenSuccess(pubkey common.PubKey, height int64, members []string) *EventTssKeygenSuccess
NewEventTssKeygenSuccess create a new EventTssKeygenSuccess
func (*EventTssKeygenSuccess) Descriptor ¶
func (*EventTssKeygenSuccess) Descriptor() ([]byte, []int)
func (*EventTssKeygenSuccess) Events ¶
func (m *EventTssKeygenSuccess) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventTssKeygenSuccess) GetHeight ¶
func (m *EventTssKeygenSuccess) GetHeight() int64
func (*EventTssKeygenSuccess) GetMembers ¶
func (m *EventTssKeygenSuccess) GetMembers() []string
func (*EventTssKeygenSuccess) GetPubKey ¶
func (m *EventTssKeygenSuccess) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
func (*EventTssKeygenSuccess) Marshal ¶
func (m *EventTssKeygenSuccess) Marshal() (dAtA []byte, err error)
func (*EventTssKeygenSuccess) MarshalTo ¶
func (m *EventTssKeygenSuccess) MarshalTo(dAtA []byte) (int, error)
func (*EventTssKeygenSuccess) MarshalToSizedBuffer ¶
func (m *EventTssKeygenSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTssKeygenSuccess) ProtoMessage ¶
func (*EventTssKeygenSuccess) ProtoMessage()
func (*EventTssKeygenSuccess) Reset ¶
func (m *EventTssKeygenSuccess) Reset()
func (*EventTssKeygenSuccess) Size ¶
func (m *EventTssKeygenSuccess) Size() (n int)
func (*EventTssKeygenSuccess) String ¶
func (m *EventTssKeygenSuccess) String() string
func (*EventTssKeygenSuccess) Type ¶
func (m *EventTssKeygenSuccess) Type() string
Type return a string which represent the type of this event
func (*EventTssKeygenSuccess) Unmarshal ¶
func (m *EventTssKeygenSuccess) Unmarshal(dAtA []byte) error
func (*EventTssKeygenSuccess) XXX_DiscardUnknown ¶
func (m *EventTssKeygenSuccess) XXX_DiscardUnknown()
func (*EventTssKeygenSuccess) XXX_Marshal ¶
func (m *EventTssKeygenSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTssKeygenSuccess) XXX_Merge ¶
func (m *EventTssKeygenSuccess) XXX_Merge(src proto.Message)
func (*EventTssKeygenSuccess) XXX_Size ¶
func (m *EventTssKeygenSuccess) XXX_Size() int
func (*EventTssKeygenSuccess) XXX_Unmarshal ¶
func (m *EventTssKeygenSuccess) XXX_Unmarshal(b []byte) error
type EventTssKeysignMetric ¶
type EventTssKeysignMetric struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` MedianDurationMs int64 `protobuf:"varint,2,opt,name=median_duration_ms,json=medianDurationMs,proto3" json:"median_duration_ms,omitempty"` }
func NewEventTssKeysignMetric ¶
func NewEventTssKeysignMetric(txID common.TxID, medianDurationMS int64) *EventTssKeysignMetric
NewEventTssKeysignMetric create a new EventTssMetric
func (*EventTssKeysignMetric) Descriptor ¶
func (*EventTssKeysignMetric) Descriptor() ([]byte, []int)
func (*EventTssKeysignMetric) Events ¶
func (m *EventTssKeysignMetric) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventTssKeysignMetric) GetMedianDurationMs ¶
func (m *EventTssKeysignMetric) GetMedianDurationMs() int64
func (*EventTssKeysignMetric) GetTxID ¶
func (m *EventTssKeysignMetric) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*EventTssKeysignMetric) Marshal ¶
func (m *EventTssKeysignMetric) Marshal() (dAtA []byte, err error)
func (*EventTssKeysignMetric) MarshalTo ¶
func (m *EventTssKeysignMetric) MarshalTo(dAtA []byte) (int, error)
func (*EventTssKeysignMetric) MarshalToSizedBuffer ¶
func (m *EventTssKeysignMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTssKeysignMetric) ProtoMessage ¶
func (*EventTssKeysignMetric) ProtoMessage()
func (*EventTssKeysignMetric) Reset ¶
func (m *EventTssKeysignMetric) Reset()
func (*EventTssKeysignMetric) Size ¶
func (m *EventTssKeysignMetric) Size() (n int)
func (*EventTssKeysignMetric) String ¶
func (m *EventTssKeysignMetric) String() string
func (*EventTssKeysignMetric) Type ¶
func (m *EventTssKeysignMetric) Type() string
Type return a string which represent the type of this event
func (*EventTssKeysignMetric) Unmarshal ¶
func (m *EventTssKeysignMetric) Unmarshal(dAtA []byte) error
func (*EventTssKeysignMetric) XXX_DiscardUnknown ¶
func (m *EventTssKeysignMetric) XXX_DiscardUnknown()
func (*EventTssKeysignMetric) XXX_Marshal ¶
func (m *EventTssKeysignMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTssKeysignMetric) XXX_Merge ¶
func (m *EventTssKeysignMetric) XXX_Merge(src proto.Message)
func (*EventTssKeysignMetric) XXX_Size ¶
func (m *EventTssKeysignMetric) XXX_Size() int
func (*EventTssKeysignMetric) XXX_Unmarshal ¶
func (m *EventTssKeysignMetric) XXX_Unmarshal(b []byte) error
type EventVersion ¶
type EventVersion struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
}
func NewEventVersion ¶
func NewEventVersion(version semver.Version) *EventVersion
NewEventVersion create a new instance of EventVersion
func (*EventVersion) Descriptor ¶
func (*EventVersion) Descriptor() ([]byte, []int)
func (*EventVersion) Events ¶
func (m *EventVersion) Events() (cosmos.Events, error)
Events return cosmos sdk events
func (*EventVersion) GetVersion ¶
func (m *EventVersion) GetVersion() string
func (*EventVersion) Marshal ¶
func (m *EventVersion) Marshal() (dAtA []byte, err error)
func (*EventVersion) MarshalToSizedBuffer ¶
func (m *EventVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventVersion) ProtoMessage ¶
func (*EventVersion) ProtoMessage()
func (*EventVersion) Reset ¶
func (m *EventVersion) Reset()
func (*EventVersion) Size ¶
func (m *EventVersion) Size() (n int)
func (*EventVersion) String ¶
func (m *EventVersion) String() string
func (*EventVersion) Type ¶
func (m *EventVersion) Type() string
func (*EventVersion) Unmarshal ¶
func (m *EventVersion) Unmarshal(dAtA []byte) error
func (*EventVersion) XXX_DiscardUnknown ¶
func (m *EventVersion) XXX_DiscardUnknown()
func (*EventVersion) XXX_Marshal ¶
func (m *EventVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventVersion) XXX_Merge ¶
func (m *EventVersion) XXX_Merge(src proto.Message)
func (*EventVersion) XXX_Size ¶
func (m *EventVersion) XXX_Size() int
func (*EventVersion) XXX_Unmarshal ¶
func (m *EventVersion) XXX_Unmarshal(b []byte) error
type EventWithdraw ¶
type EventWithdraw struct { Pool common.Asset `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool"` ProviderUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ BasisPoints int64 `protobuf:"varint,3,opt,name=basis_points,json=basisPoints,proto3" json:"basis_points,omitempty"` Asymmetry github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=asymmetry,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"asymmetry"` InTx common.Tx `protobuf:"bytes,5,opt,name=in_tx,json=inTx,proto3" json:"in_tx"` EmitAsset github_com_cosmos_cosmos_sdk_types.Uint `` /* 129-byte string literal not displayed */ EmitRune github_com_cosmos_cosmos_sdk_types.Uint `` /* 126-byte string literal not displayed */ }
func NewEventWithdraw ¶
func NewEventWithdraw(pool common.Asset, su cosmos.Uint, basisPts int64, asym cosmos.Dec, inTx common.Tx, emitAsset, emitRune cosmos.Uint) *EventWithdraw
NewEventWithdraw create a new withdraw event
func (*EventWithdraw) Descriptor ¶
func (*EventWithdraw) Descriptor() ([]byte, []int)
func (*EventWithdraw) Events ¶
func (m *EventWithdraw) Events() (cosmos.Events, error)
Events return the cosmos event
func (*EventWithdraw) GetBasisPoints ¶
func (m *EventWithdraw) GetBasisPoints() int64
func (*EventWithdraw) GetInTx ¶
func (m *EventWithdraw) GetInTx() common.Tx
func (*EventWithdraw) GetPool ¶
func (m *EventWithdraw) GetPool() common.Asset
func (*EventWithdraw) Marshal ¶
func (m *EventWithdraw) Marshal() (dAtA []byte, err error)
func (*EventWithdraw) MarshalToSizedBuffer ¶
func (m *EventWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventWithdraw) ProtoMessage ¶
func (*EventWithdraw) ProtoMessage()
func (*EventWithdraw) Reset ¶
func (m *EventWithdraw) Reset()
func (*EventWithdraw) Size ¶
func (m *EventWithdraw) Size() (n int)
func (*EventWithdraw) String ¶
func (m *EventWithdraw) String() string
func (*EventWithdraw) Type ¶
func (m *EventWithdraw) Type() string
Type return the withdraw event type
func (*EventWithdraw) Unmarshal ¶
func (m *EventWithdraw) Unmarshal(dAtA []byte) error
func (*EventWithdraw) XXX_DiscardUnknown ¶
func (m *EventWithdraw) XXX_DiscardUnknown()
func (*EventWithdraw) XXX_Marshal ¶
func (m *EventWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventWithdraw) XXX_Merge ¶
func (m *EventWithdraw) XXX_Merge(src proto.Message)
func (*EventWithdraw) XXX_Size ¶
func (m *EventWithdraw) XXX_Size() int
func (*EventWithdraw) XXX_Unmarshal ¶
func (m *EventWithdraw) XXX_Unmarshal(b []byte) error
type GasPool ¶
type GasPool struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` RuneAmt github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=rune_amt,json=runeAmt,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"rune_amt"` AssetAmt github_com_cosmos_cosmos_sdk_types.Uint `` /* 126-byte string literal not displayed */ Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` }
func (*GasPool) Descriptor ¶
func (*GasPool) MarshalToSizedBuffer ¶
func (*GasPool) ProtoMessage ¶
func (*GasPool) ProtoMessage()
func (*GasPool) XXX_DiscardUnknown ¶
func (m *GasPool) XXX_DiscardUnknown()
func (*GasPool) XXX_Marshal ¶
func (*GasPool) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { }
GenesisState defines the capability module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶
func (m *GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Jail ¶
type Jail struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ ReleaseHeight int64 `protobuf:"varint,2,opt,name=release_height,json=releaseHeight,proto3" json:"release_height,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` }
func (*Jail) Descriptor ¶
func (*Jail) GetNodeAddress ¶
func (m *Jail) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*Jail) GetReleaseHeight ¶
func (*Jail) ProtoMessage ¶
func (*Jail) ProtoMessage()
func (*Jail) XXX_DiscardUnknown ¶
func (m *Jail) XXX_DiscardUnknown()
func (*Jail) XXX_Unmarshal ¶
type Keygen ¶
type Keygen struct { ID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=id,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"id,omitempty"` Type KeygenType `protobuf:"varint,2,opt,name=type,proto3,enum=types.KeygenType" json:"type,omitempty"` Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` }
func NewKeygen ¶
func NewKeygen(height int64, members []string, keygenType KeygenType) (Keygen, error)
NewKeygen create a new instance of Keygen
func (*Keygen) Descriptor ¶
func (*Keygen) GetMembers ¶
func (*Keygen) MarshalToSizedBuffer ¶
func (*Keygen) ProtoMessage ¶
func (*Keygen) ProtoMessage()
func (*Keygen) XXX_DiscardUnknown ¶
func (m *Keygen) XXX_DiscardUnknown()
func (*Keygen) XXX_Marshal ¶
func (*Keygen) XXX_Unmarshal ¶
type KeygenBlock ¶
type KeygenBlock struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Keygens []Keygen `protobuf:"bytes,4,rep,name=keygens,proto3" json:"keygens"` }
func NewKeygenBlock ¶
func NewKeygenBlock(height int64) KeygenBlock
NewKeygenBlock create a new KeygenBlock
func (*KeygenBlock) Contains ¶
func (m *KeygenBlock) Contains(keygen Keygen) bool
Contains will go through the keygen items and find out whether the given keygen already exist in the block or not
func (*KeygenBlock) Descriptor ¶
func (*KeygenBlock) Descriptor() ([]byte, []int)
func (*KeygenBlock) IsEmpty ¶
func (m *KeygenBlock) IsEmpty() bool
IsEmpty determinate whether KeygenBlock is empty
func (*KeygenBlock) Marshal ¶
func (m *KeygenBlock) Marshal() (dAtA []byte, err error)
func (*KeygenBlock) MarshalToSizedBuffer ¶
func (m *KeygenBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KeygenBlock) ProtoMessage ¶
func (*KeygenBlock) ProtoMessage()
func (*KeygenBlock) Reset ¶
func (m *KeygenBlock) Reset()
func (*KeygenBlock) Size ¶
func (m *KeygenBlock) Size() (n int)
func (*KeygenBlock) String ¶
func (m *KeygenBlock) String() string
String implement fmt.Stringer print out a string version of keygen block
func (*KeygenBlock) Unmarshal ¶
func (m *KeygenBlock) Unmarshal(dAtA []byte) error
func (*KeygenBlock) XXX_DiscardUnknown ¶
func (m *KeygenBlock) XXX_DiscardUnknown()
func (*KeygenBlock) XXX_Marshal ¶
func (m *KeygenBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeygenBlock) XXX_Merge ¶
func (m *KeygenBlock) XXX_Merge(src proto.Message)
func (*KeygenBlock) XXX_Size ¶
func (m *KeygenBlock) XXX_Size() int
func (*KeygenBlock) XXX_Unmarshal ¶
func (m *KeygenBlock) XXX_Unmarshal(b []byte) error
type KeygenType ¶
type KeygenType int32
const ( KeygenType_UnknownKeygen KeygenType = 0 KeygenType_AsgardKeygen KeygenType = 1 )
func (KeygenType) EnumDescriptor ¶
func (KeygenType) EnumDescriptor() ([]byte, []int)
func (KeygenType) MarshalJSON ¶
func (x KeygenType) MarshalJSON() ([]byte, error)
MarshalJSON marshal keygen type to JSON in string form
func (KeygenType) String ¶
func (x KeygenType) String() string
func (*KeygenType) UnmarshalJSON ¶
func (x *KeygenType) UnmarshalJSON(b []byte) error
UnmarshalJSON convert string form back to PoolStatus
type LiquidityProvider ¶
type LiquidityProvider struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` RuneAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ LastAddHeight int64 `protobuf:"varint,4,opt,name=last_add_height,json=lastAddHeight,proto3" json:"last_add_height,omitempty"` LastWithdrawHeight int64 `protobuf:"varint,5,opt,name=last_withdraw_height,json=lastWithdrawHeight,proto3" json:"last_withdraw_height,omitempty"` Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,6,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` PendingRune github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ PendingAsset github_com_cosmos_cosmos_sdk_types.Uint `` /* 138-byte string literal not displayed */ PendingTxID gitlab_com_thorchain_thornode_common.TxID `` /* 147-byte string literal not displayed */ RuneDepositValue github_com_cosmos_cosmos_sdk_types.Uint `` /* 153-byte string literal not displayed */ AssetDepositValue github_com_cosmos_cosmos_sdk_types.Uint `` /* 156-byte string literal not displayed */ }
func (*LiquidityProvider) Descriptor ¶
func (*LiquidityProvider) Descriptor() ([]byte, []int)
func (LiquidityProvider) GetAddress ¶
func (lp LiquidityProvider) GetAddress() common.Address
func (*LiquidityProvider) GetAsset ¶
func (m *LiquidityProvider) GetAsset() common.Asset
func (*LiquidityProvider) GetAssetAddress ¶
func (m *LiquidityProvider) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (LiquidityProvider) GetAssetRedeemValue ¶
func (*LiquidityProvider) GetLastAddHeight ¶
func (m *LiquidityProvider) GetLastAddHeight() int64
func (*LiquidityProvider) GetLastWithdrawHeight ¶
func (m *LiquidityProvider) GetLastWithdrawHeight() int64
func (LiquidityProvider) GetLuviDepositValue ¶
func (lp LiquidityProvider) GetLuviDepositValue(pool Pool) (error, cosmos.Uint)
func (LiquidityProvider) GetLuviRedeemValue ¶
func (*LiquidityProvider) GetPendingTxID ¶
func (m *LiquidityProvider) GetPendingTxID() gitlab_com_thorchain_thornode_common.TxID
func (*LiquidityProvider) GetRuneAddress ¶
func (m *LiquidityProvider) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
func (LiquidityProvider) GetRuneRedeemValue ¶
func (LiquidityProvider) GetSaversAssetRedeemValue ¶
func (lp LiquidityProvider) GetSaversAssetRedeemValue(pool Pool) cosmos.Uint
func (LiquidityProvider) Key ¶
func (lp LiquidityProvider) Key() string
Key return a string which can be used to identify lp
func (*LiquidityProvider) Marshal ¶
func (m *LiquidityProvider) Marshal() (dAtA []byte, err error)
func (*LiquidityProvider) MarshalTo ¶
func (m *LiquidityProvider) MarshalTo(dAtA []byte) (int, error)
func (*LiquidityProvider) MarshalToSizedBuffer ¶
func (m *LiquidityProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LiquidityProvider) ProtoMessage ¶
func (*LiquidityProvider) ProtoMessage()
func (*LiquidityProvider) Reset ¶
func (m *LiquidityProvider) Reset()
func (*LiquidityProvider) Size ¶
func (m *LiquidityProvider) Size() (n int)
func (*LiquidityProvider) String ¶
func (m *LiquidityProvider) String() string
func (*LiquidityProvider) Unmarshal ¶
func (m *LiquidityProvider) Unmarshal(dAtA []byte) error
func (*LiquidityProvider) Valid ¶
func (m *LiquidityProvider) Valid() error
Valid check whether lp represent valid information
func (*LiquidityProvider) XXX_DiscardUnknown ¶
func (m *LiquidityProvider) XXX_DiscardUnknown()
func (*LiquidityProvider) XXX_Marshal ¶
func (m *LiquidityProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityProvider) XXX_Merge ¶
func (m *LiquidityProvider) XXX_Merge(src proto.Message)
func (*LiquidityProvider) XXX_Size ¶
func (m *LiquidityProvider) XXX_Size() int
func (*LiquidityProvider) XXX_Unmarshal ¶
func (m *LiquidityProvider) XXX_Unmarshal(b []byte) error
type LiquidityProviders ¶
type LiquidityProviders []LiquidityProvider
LiquidityProviders a list of liquidity providers
type Loan ¶
type Loan struct { Owner gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,1,opt,name=owner,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"owner,omitempty"` Asset common.Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset"` DebtIssued github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ DebtRepaid github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ CollateralDeposited github_com_cosmos_cosmos_sdk_types.Uint `` /* 159-byte string literal not displayed */ CollateralWithdrawn github_com_cosmos_cosmos_sdk_types.Uint `` /* 159-byte string literal not displayed */ LastOpenHeight int64 `protobuf:"varint,9,opt,name=last_open_height,json=lastOpenHeight,proto3" json:"last_open_height,omitempty"` LastRepayHeight int64 `protobuf:"varint,10,opt,name=last_repay_height,json=lastRepayHeight,proto3" json:"last_repay_height,omitempty"` }
func (*Loan) Collateral ¶
func (*Loan) Descriptor ¶
func (*Loan) GetLastOpenHeight ¶
func (*Loan) GetLastRepayHeight ¶
func (*Loan) GetOwner ¶
func (m *Loan) GetOwner() gitlab_com_thorchain_thornode_common.Address
func (*Loan) ProtoMessage ¶
func (*Loan) ProtoMessage()
func (*Loan) XXX_DiscardUnknown ¶
func (m *Loan) XXX_DiscardUnknown()
func (*Loan) XXX_Unmarshal ¶
type MinJoinLast ¶
type MinJoinLast struct { LastChangedHeight int64 `protobuf:"varint,1,opt,name=last_changed_height,json=lastChangedHeight,proto3" json:"last_changed_height,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` }
func (*MinJoinLast) Descriptor ¶
func (*MinJoinLast) Descriptor() ([]byte, []int)
func (*MinJoinLast) Marshal ¶
func (m *MinJoinLast) Marshal() (dAtA []byte, err error)
func (*MinJoinLast) MarshalToSizedBuffer ¶
func (m *MinJoinLast) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MinJoinLast) ProtoMessage ¶
func (*MinJoinLast) ProtoMessage()
func (*MinJoinLast) Reset ¶
func (m *MinJoinLast) Reset()
func (*MinJoinLast) Size ¶
func (m *MinJoinLast) Size() (n int)
func (*MinJoinLast) String ¶
func (this *MinJoinLast) String() string
func (*MinJoinLast) Unmarshal ¶
func (m *MinJoinLast) Unmarshal(dAtA []byte) error
func (*MinJoinLast) XXX_DiscardUnknown ¶
func (m *MinJoinLast) XXX_DiscardUnknown()
func (*MinJoinLast) XXX_Marshal ¶
func (m *MinJoinLast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MinJoinLast) XXX_Merge ¶
func (m *MinJoinLast) XXX_Merge(src proto.Message)
func (*MinJoinLast) XXX_Size ¶
func (m *MinJoinLast) XXX_Size() int
func (*MinJoinLast) XXX_Unmarshal ¶
func (m *MinJoinLast) XXX_Unmarshal(b []byte) error
type MintBurnSupplyType ¶
type MintBurnSupplyType int32
const ( MintBurnSupplyType_mint MintBurnSupplyType = 0 MintBurnSupplyType_burn MintBurnSupplyType = 1 )
func (MintBurnSupplyType) EnumDescriptor ¶
func (MintBurnSupplyType) EnumDescriptor() ([]byte, []int)
func (MintBurnSupplyType) String ¶
func (x MintBurnSupplyType) String() string
type MsgAddLiquidity ¶
type MsgAddLiquidity struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` Asset common.Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset"` AssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ RuneAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ AffiliateAddress gitlab_com_thorchain_thornode_common.Address `` /* 163-byte string literal not displayed */ AffiliateBasisPoints github_com_cosmos_cosmos_sdk_types.Uint `` /* 164-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,9,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgAddLiquidity ¶
func NewMsgAddLiquidity(tx common.Tx, asset common.Asset, r, amount cosmos.Uint, runeAddr, assetAddr, affAddr common.Address, affPts cosmos.Uint, signer cosmos.AccAddress) *MsgAddLiquidity
NewMsgAddLiquidity is a constructor function for MsgAddLiquidity
func (*MsgAddLiquidity) Descriptor ¶
func (*MsgAddLiquidity) Descriptor() ([]byte, []int)
func (*MsgAddLiquidity) GetAffiliateAddress ¶
func (m *MsgAddLiquidity) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgAddLiquidity) GetAsset ¶
func (m *MsgAddLiquidity) GetAsset() common.Asset
func (*MsgAddLiquidity) GetAssetAddress ¶
func (m *MsgAddLiquidity) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgAddLiquidity) GetRuneAddress ¶
func (m *MsgAddLiquidity) GetRuneAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgAddLiquidity) GetSignBytes ¶
func (m *MsgAddLiquidity) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgAddLiquidity) GetSigner ¶
func (m *MsgAddLiquidity) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgAddLiquidity) GetSigners ¶
func (m *MsgAddLiquidity) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgAddLiquidity) GetTx ¶
func (m *MsgAddLiquidity) GetTx() common.Tx
func (*MsgAddLiquidity) Marshal ¶
func (m *MsgAddLiquidity) Marshal() (dAtA []byte, err error)
func (*MsgAddLiquidity) MarshalToSizedBuffer ¶
func (m *MsgAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddLiquidity) ProtoMessage ¶
func (*MsgAddLiquidity) ProtoMessage()
func (*MsgAddLiquidity) Reset ¶
func (m *MsgAddLiquidity) Reset()
func (*MsgAddLiquidity) Route ¶
func (m *MsgAddLiquidity) Route() string
Route should return the route key of the module
func (*MsgAddLiquidity) Size ¶
func (m *MsgAddLiquidity) Size() (n int)
func (*MsgAddLiquidity) String ¶
func (m *MsgAddLiquidity) String() string
func (*MsgAddLiquidity) Unmarshal ¶
func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) error
func (*MsgAddLiquidity) ValidateBasic ¶
func (m *MsgAddLiquidity) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgAddLiquidity) XXX_DiscardUnknown ¶
func (m *MsgAddLiquidity) XXX_DiscardUnknown()
func (*MsgAddLiquidity) XXX_Marshal ¶
func (m *MsgAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddLiquidity) XXX_Merge ¶
func (m *MsgAddLiquidity) XXX_Merge(src proto.Message)
func (*MsgAddLiquidity) XXX_Size ¶
func (m *MsgAddLiquidity) XXX_Size() int
func (*MsgAddLiquidity) XXX_Unmarshal ¶
func (m *MsgAddLiquidity) XXX_Unmarshal(b []byte) error
type MsgApproveUpgrade ¶
type MsgApproveUpgrade struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgApproveUpgrade ¶
func NewMsgApproveUpgrade(name string, signer cosmos.AccAddress) *MsgApproveUpgrade
NewMsgApproveUpgrade is a constructor function for NewMsgApproveUpgrade
func (*MsgApproveUpgrade) Descriptor ¶
func (*MsgApproveUpgrade) Descriptor() ([]byte, []int)
func (*MsgApproveUpgrade) GetSignBytes ¶
func (m *MsgApproveUpgrade) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgApproveUpgrade) GetSigners ¶
func (m *MsgApproveUpgrade) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgApproveUpgrade) Marshal ¶
func (m *MsgApproveUpgrade) Marshal() (dAtA []byte, err error)
func (*MsgApproveUpgrade) MarshalTo ¶
func (m *MsgApproveUpgrade) MarshalTo(dAtA []byte) (int, error)
func (*MsgApproveUpgrade) MarshalToSizedBuffer ¶
func (m *MsgApproveUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgApproveUpgrade) ProtoMessage ¶
func (*MsgApproveUpgrade) ProtoMessage()
func (*MsgApproveUpgrade) Reset ¶
func (m *MsgApproveUpgrade) Reset()
func (*MsgApproveUpgrade) Route ¶
func (m *MsgApproveUpgrade) Route() string
Route should return the route key of the module
func (*MsgApproveUpgrade) Size ¶
func (m *MsgApproveUpgrade) Size() (n int)
func (*MsgApproveUpgrade) String ¶
func (m *MsgApproveUpgrade) String() string
func (MsgApproveUpgrade) Type ¶
func (m MsgApproveUpgrade) Type() string
Type should return the action
func (*MsgApproveUpgrade) Unmarshal ¶
func (m *MsgApproveUpgrade) Unmarshal(dAtA []byte) error
func (*MsgApproveUpgrade) ValidateBasic ¶
func (m *MsgApproveUpgrade) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgApproveUpgrade) XXX_DiscardUnknown ¶
func (m *MsgApproveUpgrade) XXX_DiscardUnknown()
func (*MsgApproveUpgrade) XXX_Marshal ¶
func (m *MsgApproveUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgApproveUpgrade) XXX_Merge ¶
func (m *MsgApproveUpgrade) XXX_Merge(src proto.Message)
func (*MsgApproveUpgrade) XXX_Size ¶
func (m *MsgApproveUpgrade) XXX_Size() int
func (*MsgApproveUpgrade) XXX_Unmarshal ¶
func (m *MsgApproveUpgrade) XXX_Unmarshal(b []byte) error
type MsgBan ¶
type MsgBan struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgBan ¶
func NewMsgBan(addr, signer cosmos.AccAddress) *MsgBan
NewMsgBan is a constructor function for NewMsgBan
func (*MsgBan) Descriptor ¶
func (*MsgBan) GetNodeAddress ¶
func (m *MsgBan) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgBan) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgBan) GetSigner ¶
func (m *MsgBan) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgBan) GetSigners ¶
func (m *MsgBan) GetSigners() []cosmos.AccAddress
GetSigners return all the signer who signed this message
func (*MsgBan) MarshalToSizedBuffer ¶
func (*MsgBan) ProtoMessage ¶
func (*MsgBan) ProtoMessage()
func (*MsgBan) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgBan) XXX_DiscardUnknown ¶
func (m *MsgBan) XXX_DiscardUnknown()
func (*MsgBan) XXX_Marshal ¶
func (*MsgBan) XXX_Unmarshal ¶
type MsgBond ¶
type MsgBond struct { TxIn common.Tx `protobuf:"bytes,1,opt,name=tx_in,json=txIn,proto3" json:"tx_in"` NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ Bond github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=bond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"bond"` BondAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` BondProviderAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 175-byte string literal not displayed */ OperatorFee int64 `protobuf:"varint,7,opt,name=operator_fee,json=operatorFee,proto3" json:"operator_fee,omitempty"` }
func NewMsgBond ¶
func NewMsgBond(txin common.Tx, nodeAddr cosmos.AccAddress, bond cosmos.Uint, bondAddress common.Address, provider, signer cosmos.AccAddress, operatorFee int64) *MsgBond
NewMsgBond create new MsgBond message
func (*MsgBond) Descriptor ¶
func (*MsgBond) GetBondAddress ¶
func (m *MsgBond) GetBondAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgBond) GetBondProviderAddress ¶
func (m *MsgBond) GetBondProviderAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgBond) GetNodeAddress ¶
func (m *MsgBond) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgBond) GetOperatorFee ¶
func (*MsgBond) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgBond) GetSigner ¶
func (m *MsgBond) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgBond) GetSigners ¶
func (m *MsgBond) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgBond) MarshalToSizedBuffer ¶
func (*MsgBond) ProtoMessage ¶
func (*MsgBond) ProtoMessage()
func (*MsgBond) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgBond) XXX_DiscardUnknown ¶
func (m *MsgBond) XXX_DiscardUnknown()
func (*MsgBond) XXX_Marshal ¶
func (*MsgBond) XXX_Unmarshal ¶
type MsgConsolidate ¶
type MsgConsolidate struct { ObservedTx ObservedTx `protobuf:"bytes,1,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgConsolidate ¶
func NewMsgConsolidate(observedTx ObservedTx, signer cosmos.AccAddress) *MsgConsolidate
NewMsgConsolidate is a constructor function for MsgConsolidate
func (*MsgConsolidate) Descriptor ¶
func (*MsgConsolidate) Descriptor() ([]byte, []int)
func (*MsgConsolidate) GetObservedTx ¶
func (m *MsgConsolidate) GetObservedTx() ObservedTx
func (*MsgConsolidate) GetSignBytes ¶
func (m *MsgConsolidate) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgConsolidate) GetSigner ¶
func (m *MsgConsolidate) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgConsolidate) GetSigners ¶
func (m *MsgConsolidate) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgConsolidate) Marshal ¶
func (m *MsgConsolidate) Marshal() (dAtA []byte, err error)
func (*MsgConsolidate) MarshalToSizedBuffer ¶
func (m *MsgConsolidate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsolidate) ProtoMessage ¶
func (*MsgConsolidate) ProtoMessage()
func (*MsgConsolidate) Reset ¶
func (m *MsgConsolidate) Reset()
func (*MsgConsolidate) Route ¶
func (m *MsgConsolidate) Route() string
Route should return the pooldata of the module
func (*MsgConsolidate) Size ¶
func (m *MsgConsolidate) Size() (n int)
func (*MsgConsolidate) String ¶
func (m *MsgConsolidate) String() string
func (*MsgConsolidate) Unmarshal ¶
func (m *MsgConsolidate) Unmarshal(dAtA []byte) error
func (*MsgConsolidate) ValidateBasic ¶
func (m *MsgConsolidate) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgConsolidate) XXX_DiscardUnknown ¶
func (m *MsgConsolidate) XXX_DiscardUnknown()
func (*MsgConsolidate) XXX_Marshal ¶
func (m *MsgConsolidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsolidate) XXX_Merge ¶
func (m *MsgConsolidate) XXX_Merge(src proto.Message)
func (*MsgConsolidate) XXX_Size ¶
func (m *MsgConsolidate) XXX_Size() int
func (*MsgConsolidate) XXX_Unmarshal ¶
func (m *MsgConsolidate) XXX_Unmarshal(b []byte) error
type MsgDeposit ¶
type MsgDeposit struct { Coins gitlab_com_thorchain_thornode_common.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Coins" json:"coins"` Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgDeposit ¶
func NewMsgDeposit(coins common.Coins, memo string, signer cosmos.AccAddress) *MsgDeposit
NewMsgDeposit is a constructor function for NewMsgDeposit
func (*MsgDeposit) Descriptor ¶
func (*MsgDeposit) Descriptor() ([]byte, []int)
func (*MsgDeposit) GetCoins ¶
func (m *MsgDeposit) GetCoins() gitlab_com_thorchain_thornode_common.Coins
func (*MsgDeposit) GetMemo ¶
func (m *MsgDeposit) GetMemo() string
func (*MsgDeposit) GetSignBytes ¶
func (m *MsgDeposit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgDeposit) GetSigner ¶
func (m *MsgDeposit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgDeposit) GetSigners ¶
func (m *MsgDeposit) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgDeposit) Marshal ¶
func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
func (*MsgDeposit) MarshalToSizedBuffer ¶
func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeposit) ProtoMessage ¶
func (*MsgDeposit) ProtoMessage()
func (*MsgDeposit) Reset ¶
func (m *MsgDeposit) Reset()
func (*MsgDeposit) Route ¶
func (m *MsgDeposit) Route() string
Route should return the route key of the module
func (*MsgDeposit) Size ¶
func (m *MsgDeposit) Size() (n int)
func (*MsgDeposit) String ¶
func (m *MsgDeposit) String() string
func (*MsgDeposit) Unmarshal ¶
func (m *MsgDeposit) Unmarshal(dAtA []byte) error
func (*MsgDeposit) ValidateBasic ¶
func (m *MsgDeposit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgDeposit) XXX_DiscardUnknown ¶
func (m *MsgDeposit) XXX_DiscardUnknown()
func (*MsgDeposit) XXX_Marshal ¶
func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeposit) XXX_Merge ¶
func (m *MsgDeposit) XXX_Merge(src proto.Message)
func (*MsgDeposit) XXX_Size ¶
func (m *MsgDeposit) XXX_Size() int
func (*MsgDeposit) XXX_Unmarshal ¶
func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
type MsgDonate ¶
type MsgDonate struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` AssetAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ RuneAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ Tx common.Tx `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgDonate ¶
func NewMsgDonate(tx common.Tx, asset common.Asset, r, amount cosmos.Uint, signer cosmos.AccAddress) *MsgDonate
NewMsgDonate is a constructor function for MsgDonate
func (*MsgDonate) Descriptor ¶
func (*MsgDonate) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgDonate) GetSigner ¶
func (m *MsgDonate) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgDonate) GetSigners ¶
func (m *MsgDonate) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgDonate) MarshalToSizedBuffer ¶
func (*MsgDonate) ProtoMessage ¶
func (*MsgDonate) ProtoMessage()
func (*MsgDonate) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgDonate) XXX_DiscardUnknown ¶
func (m *MsgDonate) XXX_DiscardUnknown()
func (*MsgDonate) XXX_Marshal ¶
func (*MsgDonate) XXX_Unmarshal ¶
type MsgErrataTx ¶
type MsgErrataTx struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgErrataTx ¶
func NewMsgErrataTx(txID common.TxID, chain common.Chain, signer cosmos.AccAddress) *MsgErrataTx
NewMsgErrataTx is a constructor function for NewMsgErrataTx
func (*MsgErrataTx) Descriptor ¶
func (*MsgErrataTx) Descriptor() ([]byte, []int)
func (*MsgErrataTx) GetChain ¶
func (m *MsgErrataTx) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*MsgErrataTx) GetSignBytes ¶
func (m *MsgErrataTx) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgErrataTx) GetSigner ¶
func (m *MsgErrataTx) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgErrataTx) GetSigners ¶
func (m *MsgErrataTx) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgErrataTx) GetTxID ¶
func (m *MsgErrataTx) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*MsgErrataTx) Marshal ¶
func (m *MsgErrataTx) Marshal() (dAtA []byte, err error)
func (*MsgErrataTx) MarshalToSizedBuffer ¶
func (m *MsgErrataTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgErrataTx) ProtoMessage ¶
func (*MsgErrataTx) ProtoMessage()
func (*MsgErrataTx) Reset ¶
func (m *MsgErrataTx) Reset()
func (*MsgErrataTx) Route ¶
func (m *MsgErrataTx) Route() string
Route should return the name of the module
func (*MsgErrataTx) Size ¶
func (m *MsgErrataTx) Size() (n int)
func (*MsgErrataTx) String ¶
func (m *MsgErrataTx) String() string
func (*MsgErrataTx) Unmarshal ¶
func (m *MsgErrataTx) Unmarshal(dAtA []byte) error
func (*MsgErrataTx) ValidateBasic ¶
func (m *MsgErrataTx) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgErrataTx) XXX_DiscardUnknown ¶
func (m *MsgErrataTx) XXX_DiscardUnknown()
func (*MsgErrataTx) XXX_Marshal ¶
func (m *MsgErrataTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgErrataTx) XXX_Merge ¶
func (m *MsgErrataTx) XXX_Merge(src proto.Message)
func (*MsgErrataTx) XXX_Size ¶
func (m *MsgErrataTx) XXX_Size() int
func (*MsgErrataTx) XXX_Unmarshal ¶
func (m *MsgErrataTx) XXX_Unmarshal(b []byte) error
type MsgLeave ¶
type MsgLeave struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgLeave ¶
func NewMsgLeave(tx common.Tx, addr, signer cosmos.AccAddress) *MsgLeave
NewMsgLeave create a new instance of MsgLeave
func (*MsgLeave) Descriptor ¶
func (*MsgLeave) GetNodeAddress ¶
func (m *MsgLeave) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgLeave) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgLeave) GetSigner ¶
func (m *MsgLeave) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgLeave) GetSigners ¶
func (m *MsgLeave) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgLeave) MarshalToSizedBuffer ¶
func (*MsgLeave) ProtoMessage ¶
func (*MsgLeave) ProtoMessage()
func (*MsgLeave) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgLeave) XXX_DiscardUnknown ¶
func (m *MsgLeave) XXX_DiscardUnknown()
func (*MsgLeave) XXX_Marshal ¶
func (*MsgLeave) XXX_Unmarshal ¶
type MsgLoanOpen ¶
type MsgLoanOpen struct { Owner gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,1,opt,name=owner,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"owner,omitempty"` CollateralAsset common.Asset `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset"` CollateralAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 150-byte string literal not displayed */ TargetAddress gitlab_com_thorchain_thornode_common.Address `` /* 154-byte string literal not displayed */ TargetAsset common.Asset `protobuf:"bytes,5,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset"` MinOut github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,6,opt,name=min_out,json=minOut,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"min_out"` AffiliateAddress gitlab_com_thorchain_thornode_common.Address `` /* 163-byte string literal not displayed */ AffiliateBasisPoints github_com_cosmos_cosmos_sdk_types.Uint `` /* 164-byte string literal not displayed */ Aggregator string `protobuf:"bytes,9,opt,name=aggregator,proto3" json:"aggregator,omitempty"` AggregatorTargetAddress string `` /* 133-byte string literal not displayed */ AggregatorTargetLimit github_com_cosmos_cosmos_sdk_types.Uint `` /* 168-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,12,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,13,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewMsgLoanOpen ¶
func NewMsgLoanOpen(owner common.Address, colAsset common.Asset, colAmount cosmos.Uint, targetAddress common.Address, asset common.Asset, minOut cosmos.Uint, affAddr common.Address, affPts cosmos.Uint, dexagg, dexTargetAddr string, dexTargetLimit cosmos.Uint, signer cosmos.AccAddress, tx common.TxID) *MsgLoanOpen
NewMsgLoanOpen create new MsgLoan message
func (*MsgLoanOpen) Descriptor ¶
func (*MsgLoanOpen) Descriptor() ([]byte, []int)
func (*MsgLoanOpen) GetAffiliateAddress ¶
func (m *MsgLoanOpen) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgLoanOpen) GetAggregator ¶
func (m *MsgLoanOpen) GetAggregator() string
func (*MsgLoanOpen) GetAggregatorTargetAddress ¶
func (m *MsgLoanOpen) GetAggregatorTargetAddress() string
func (*MsgLoanOpen) GetCollateralAsset ¶
func (m *MsgLoanOpen) GetCollateralAsset() common.Asset
func (*MsgLoanOpen) GetOwner ¶
func (m *MsgLoanOpen) GetOwner() gitlab_com_thorchain_thornode_common.Address
func (*MsgLoanOpen) GetSignBytes ¶
func (m *MsgLoanOpen) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgLoanOpen) GetSigner ¶
func (m *MsgLoanOpen) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgLoanOpen) GetSigners ¶
func (m *MsgLoanOpen) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgLoanOpen) GetTargetAddress ¶
func (m *MsgLoanOpen) GetTargetAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgLoanOpen) GetTargetAsset ¶
func (m *MsgLoanOpen) GetTargetAsset() common.Asset
func (*MsgLoanOpen) GetTxID ¶
func (m *MsgLoanOpen) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*MsgLoanOpen) Marshal ¶
func (m *MsgLoanOpen) Marshal() (dAtA []byte, err error)
func (*MsgLoanOpen) MarshalToSizedBuffer ¶
func (m *MsgLoanOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLoanOpen) ProtoMessage ¶
func (*MsgLoanOpen) ProtoMessage()
func (*MsgLoanOpen) Reset ¶
func (m *MsgLoanOpen) Reset()
func (*MsgLoanOpen) Route ¶
func (m *MsgLoanOpen) Route() string
Route should return the router key of the module
func (*MsgLoanOpen) Size ¶
func (m *MsgLoanOpen) Size() (n int)
func (*MsgLoanOpen) String ¶
func (m *MsgLoanOpen) String() string
func (*MsgLoanOpen) Unmarshal ¶
func (m *MsgLoanOpen) Unmarshal(dAtA []byte) error
func (*MsgLoanOpen) ValidateBasic ¶
func (m *MsgLoanOpen) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgLoanOpen) XXX_DiscardUnknown ¶
func (m *MsgLoanOpen) XXX_DiscardUnknown()
func (*MsgLoanOpen) XXX_Marshal ¶
func (m *MsgLoanOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLoanOpen) XXX_Merge ¶
func (m *MsgLoanOpen) XXX_Merge(src proto.Message)
func (*MsgLoanOpen) XXX_Size ¶
func (m *MsgLoanOpen) XXX_Size() int
func (*MsgLoanOpen) XXX_Unmarshal ¶
func (m *MsgLoanOpen) XXX_Unmarshal(b []byte) error
type MsgLoanRepayment ¶
type MsgLoanRepayment struct { Owner gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,1,opt,name=owner,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"owner,omitempty"` CollateralAsset common.Asset `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset"` Coin common.Coin `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin"` MinOut github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=min_out,json=minOut,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"min_out"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` From gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,6,opt,name=from,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"from,omitempty"` TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,7,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` }
func NewMsgLoanRepayment ¶
func NewMsgLoanRepayment(owner common.Address, asset common.Asset, minOut cosmos.Uint, from common.Address, coin common.Coin, signer cosmos.AccAddress, tx common.TxID) *MsgLoanRepayment
NewMsgLoanRepayment create new MsgLoan message
func (*MsgLoanRepayment) Descriptor ¶
func (*MsgLoanRepayment) Descriptor() ([]byte, []int)
func (*MsgLoanRepayment) GetCoin ¶
func (m *MsgLoanRepayment) GetCoin() common.Coin
func (*MsgLoanRepayment) GetCollateralAsset ¶
func (m *MsgLoanRepayment) GetCollateralAsset() common.Asset
func (*MsgLoanRepayment) GetFrom ¶
func (m *MsgLoanRepayment) GetFrom() gitlab_com_thorchain_thornode_common.Address
func (*MsgLoanRepayment) GetOwner ¶
func (m *MsgLoanRepayment) GetOwner() gitlab_com_thorchain_thornode_common.Address
func (*MsgLoanRepayment) GetSignBytes ¶
func (m *MsgLoanRepayment) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgLoanRepayment) GetSigner ¶
func (m *MsgLoanRepayment) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgLoanRepayment) GetSigners ¶
func (m *MsgLoanRepayment) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgLoanRepayment) GetTxID ¶
func (m *MsgLoanRepayment) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*MsgLoanRepayment) Marshal ¶
func (m *MsgLoanRepayment) Marshal() (dAtA []byte, err error)
func (*MsgLoanRepayment) MarshalToSizedBuffer ¶
func (m *MsgLoanRepayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLoanRepayment) ProtoMessage ¶
func (*MsgLoanRepayment) ProtoMessage()
func (*MsgLoanRepayment) Reset ¶
func (m *MsgLoanRepayment) Reset()
func (*MsgLoanRepayment) Route ¶
func (m *MsgLoanRepayment) Route() string
Route should return the router key of the module
func (*MsgLoanRepayment) Size ¶
func (m *MsgLoanRepayment) Size() (n int)
func (*MsgLoanRepayment) String ¶
func (m *MsgLoanRepayment) String() string
func (MsgLoanRepayment) Type ¶
func (m MsgLoanRepayment) Type() string
Type should return the action
func (*MsgLoanRepayment) Unmarshal ¶
func (m *MsgLoanRepayment) Unmarshal(dAtA []byte) error
func (*MsgLoanRepayment) ValidateBasic ¶
func (m *MsgLoanRepayment) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgLoanRepayment) XXX_DiscardUnknown ¶
func (m *MsgLoanRepayment) XXX_DiscardUnknown()
func (*MsgLoanRepayment) XXX_Marshal ¶
func (m *MsgLoanRepayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLoanRepayment) XXX_Merge ¶
func (m *MsgLoanRepayment) XXX_Merge(src proto.Message)
func (*MsgLoanRepayment) XXX_Size ¶
func (m *MsgLoanRepayment) XXX_Size() int
func (*MsgLoanRepayment) XXX_Unmarshal ¶
func (m *MsgLoanRepayment) XXX_Unmarshal(b []byte) error
type MsgManageTHORName ¶
type MsgManageTHORName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` Address gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,3,opt,name=address,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"address,omitempty"` Coin common.Coin `protobuf:"bytes,4,opt,name=coin,proto3" json:"coin"` ExpireBlockHeight int64 `protobuf:"varint,5,opt,name=expire_block_height,json=expireBlockHeight,proto3" json:"expire_block_height,omitempty"` PreferredAsset common.Asset `protobuf:"bytes,6,opt,name=preferred_asset,json=preferredAsset,proto3" json:"preferred_asset"` Owner github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,7,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,8,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgManageTHORName ¶
func NewMsgManageTHORName(name string, chain common.Chain, addr common.Address, coin common.Coin, exp int64, asset common.Asset, owner, signer cosmos.AccAddress) *MsgManageTHORName
NewMsgManageTHORName create a new instance of MsgManageTHORName
func (*MsgManageTHORName) Descriptor ¶
func (*MsgManageTHORName) Descriptor() ([]byte, []int)
func (*MsgManageTHORName) GetAddress ¶
func (m *MsgManageTHORName) GetAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgManageTHORName) GetChain ¶
func (m *MsgManageTHORName) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*MsgManageTHORName) GetCoin ¶
func (m *MsgManageTHORName) GetCoin() common.Coin
func (*MsgManageTHORName) GetExpireBlockHeight ¶
func (m *MsgManageTHORName) GetExpireBlockHeight() int64
func (*MsgManageTHORName) GetName ¶
func (m *MsgManageTHORName) GetName() string
func (*MsgManageTHORName) GetOwner ¶
func (m *MsgManageTHORName) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgManageTHORName) GetPreferredAsset ¶
func (m *MsgManageTHORName) GetPreferredAsset() common.Asset
func (*MsgManageTHORName) GetSignBytes ¶
func (m *MsgManageTHORName) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgManageTHORName) GetSigner ¶
func (m *MsgManageTHORName) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgManageTHORName) GetSigners ¶
func (m *MsgManageTHORName) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgManageTHORName) Marshal ¶
func (m *MsgManageTHORName) Marshal() (dAtA []byte, err error)
func (*MsgManageTHORName) MarshalTo ¶
func (m *MsgManageTHORName) MarshalTo(dAtA []byte) (int, error)
func (*MsgManageTHORName) MarshalToSizedBuffer ¶
func (m *MsgManageTHORName) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgManageTHORName) ProtoMessage ¶
func (*MsgManageTHORName) ProtoMessage()
func (*MsgManageTHORName) Reset ¶
func (m *MsgManageTHORName) Reset()
func (*MsgManageTHORName) Route ¶
func (m *MsgManageTHORName) Route() string
Route should return the Route of the module
func (*MsgManageTHORName) Size ¶
func (m *MsgManageTHORName) Size() (n int)
func (*MsgManageTHORName) String ¶
func (m *MsgManageTHORName) String() string
func (MsgManageTHORName) Type ¶
func (m MsgManageTHORName) Type() string
Type should return the action
func (*MsgManageTHORName) Unmarshal ¶
func (m *MsgManageTHORName) Unmarshal(dAtA []byte) error
func (*MsgManageTHORName) ValidateBasic ¶
func (m *MsgManageTHORName) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgManageTHORName) XXX_DiscardUnknown ¶
func (m *MsgManageTHORName) XXX_DiscardUnknown()
func (*MsgManageTHORName) XXX_Marshal ¶
func (m *MsgManageTHORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgManageTHORName) XXX_Merge ¶
func (m *MsgManageTHORName) XXX_Merge(src proto.Message)
func (*MsgManageTHORName) XXX_Size ¶
func (m *MsgManageTHORName) XXX_Size() int
func (*MsgManageTHORName) XXX_Unmarshal ¶
func (m *MsgManageTHORName) XXX_Unmarshal(b []byte) error
type MsgMigrate ¶
type MsgMigrate struct { Tx ObservedTx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgMigrate ¶
func NewMsgMigrate(tx ObservedTx, blockHeight int64, signer cosmos.AccAddress) *MsgMigrate
NewMsgMigrate is a constructor function for MsgMigrate
func (*MsgMigrate) Descriptor ¶
func (*MsgMigrate) Descriptor() ([]byte, []int)
func (*MsgMigrate) GetBlockHeight ¶
func (m *MsgMigrate) GetBlockHeight() int64
func (*MsgMigrate) GetSignBytes ¶
func (m *MsgMigrate) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgMigrate) GetSigner ¶
func (m *MsgMigrate) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgMigrate) GetSigners ¶
func (m *MsgMigrate) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgMigrate) GetTx ¶
func (m *MsgMigrate) GetTx() ObservedTx
func (*MsgMigrate) Marshal ¶
func (m *MsgMigrate) Marshal() (dAtA []byte, err error)
func (*MsgMigrate) MarshalToSizedBuffer ¶
func (m *MsgMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMigrate) ProtoMessage ¶
func (*MsgMigrate) ProtoMessage()
func (*MsgMigrate) Reset ¶
func (m *MsgMigrate) Reset()
func (*MsgMigrate) Route ¶
func (m *MsgMigrate) Route() string
Route should return the name of the module
func (*MsgMigrate) Size ¶
func (m *MsgMigrate) Size() (n int)
func (*MsgMigrate) String ¶
func (m *MsgMigrate) String() string
func (*MsgMigrate) Unmarshal ¶
func (m *MsgMigrate) Unmarshal(dAtA []byte) error
func (*MsgMigrate) ValidateBasic ¶
func (m *MsgMigrate) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgMigrate) XXX_DiscardUnknown ¶
func (m *MsgMigrate) XXX_DiscardUnknown()
func (*MsgMigrate) XXX_Marshal ¶
func (m *MsgMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMigrate) XXX_Merge ¶
func (m *MsgMigrate) XXX_Merge(src proto.Message)
func (*MsgMigrate) XXX_Size ¶
func (m *MsgMigrate) XXX_Size() int
func (*MsgMigrate) XXX_Unmarshal ¶
func (m *MsgMigrate) XXX_Unmarshal(b []byte) error
type MsgMimir ¶
type MsgMimir struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgMimir ¶
func NewMsgMimir(key string, value int64, signer cosmos.AccAddress) *MsgMimir
NewMsgMimir is a constructor function for MsgMimir
func (*MsgMimir) Descriptor ¶
func (*MsgMimir) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgMimir) GetSigner ¶
func (m *MsgMimir) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgMimir) GetSigners ¶
func (m *MsgMimir) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgMimir) MarshalToSizedBuffer ¶
func (*MsgMimir) ProtoMessage ¶
func (*MsgMimir) ProtoMessage()
func (*MsgMimir) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgMimir) XXX_DiscardUnknown ¶
func (m *MsgMimir) XXX_DiscardUnknown()
func (*MsgMimir) XXX_Marshal ¶
func (*MsgMimir) XXX_Unmarshal ¶
type MsgNetworkFee ¶
type MsgNetworkFee struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` TransactionSize uint64 `protobuf:"varint,3,opt,name=transaction_size,json=transactionSize,proto3" json:"transaction_size,omitempty"` TransactionFeeRate uint64 `protobuf:"varint,4,opt,name=transaction_fee_rate,json=transactionFeeRate,proto3" json:"transaction_fee_rate,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgNetworkFee ¶
func NewMsgNetworkFee(blockHeight int64, chain common.Chain, transactionSize, transactionFeeRate uint64, signer cosmos.AccAddress) *MsgNetworkFee
NewMsgNetworkFee create a new instance of MsgNetworkFee
func (*MsgNetworkFee) Descriptor ¶
func (*MsgNetworkFee) Descriptor() ([]byte, []int)
func (*MsgNetworkFee) GetBlockHeight ¶
func (m *MsgNetworkFee) GetBlockHeight() int64
func (*MsgNetworkFee) GetChain ¶
func (m *MsgNetworkFee) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*MsgNetworkFee) GetSignBytes ¶
func (m *MsgNetworkFee) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgNetworkFee) GetSigner ¶
func (m *MsgNetworkFee) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgNetworkFee) GetSigners ¶
func (m *MsgNetworkFee) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgNetworkFee) GetTransactionFeeRate ¶
func (m *MsgNetworkFee) GetTransactionFeeRate() uint64
func (*MsgNetworkFee) GetTransactionSize ¶
func (m *MsgNetworkFee) GetTransactionSize() uint64
func (*MsgNetworkFee) Marshal ¶
func (m *MsgNetworkFee) Marshal() (dAtA []byte, err error)
func (*MsgNetworkFee) MarshalToSizedBuffer ¶
func (m *MsgNetworkFee) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgNetworkFee) ProtoMessage ¶
func (*MsgNetworkFee) ProtoMessage()
func (*MsgNetworkFee) Reset ¶
func (m *MsgNetworkFee) Reset()
func (*MsgNetworkFee) Route ¶
func (m *MsgNetworkFee) Route() string
Route should return the Route of the module
func (*MsgNetworkFee) Size ¶
func (m *MsgNetworkFee) Size() (n int)
func (*MsgNetworkFee) String ¶
func (m *MsgNetworkFee) String() string
func (*MsgNetworkFee) Unmarshal ¶
func (m *MsgNetworkFee) Unmarshal(dAtA []byte) error
func (*MsgNetworkFee) ValidateBasic ¶
func (m *MsgNetworkFee) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgNetworkFee) XXX_DiscardUnknown ¶
func (m *MsgNetworkFee) XXX_DiscardUnknown()
func (*MsgNetworkFee) XXX_Marshal ¶
func (m *MsgNetworkFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgNetworkFee) XXX_Merge ¶
func (m *MsgNetworkFee) XXX_Merge(src proto.Message)
func (*MsgNetworkFee) XXX_Size ¶
func (m *MsgNetworkFee) XXX_Size() int
func (*MsgNetworkFee) XXX_Unmarshal ¶
func (m *MsgNetworkFee) XXX_Unmarshal(b []byte) error
type MsgNoOp ¶
type MsgNoOp struct { ObservedTx ObservedTx `protobuf:"bytes,1,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` }
func NewMsgNoOp ¶
func NewMsgNoOp(observedTx ObservedTx, signer cosmos.AccAddress, action string) *MsgNoOp
NewMsgNoOp is a constructor function for MsgNoOp
func (*MsgNoOp) Descriptor ¶
func (*MsgNoOp) GetObservedTx ¶
func (m *MsgNoOp) GetObservedTx() ObservedTx
func (*MsgNoOp) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgNoOp) GetSigner ¶
func (m *MsgNoOp) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgNoOp) GetSigners ¶
func (m *MsgNoOp) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgNoOp) MarshalToSizedBuffer ¶
func (*MsgNoOp) ProtoMessage ¶
func (*MsgNoOp) ProtoMessage()
func (*MsgNoOp) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgNoOp) XXX_DiscardUnknown ¶
func (m *MsgNoOp) XXX_DiscardUnknown()
func (*MsgNoOp) XXX_Marshal ¶
func (*MsgNoOp) XXX_Unmarshal ¶
type MsgNodePauseChain ¶
type MsgNodePauseChain struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgNodePauseChain ¶
func NewMsgNodePauseChain(val int64, signer cosmos.AccAddress) *MsgNodePauseChain
NewMsgNodePauseChain is a constructor function for NewMsgNodePauseChain
func (*MsgNodePauseChain) Descriptor ¶
func (*MsgNodePauseChain) Descriptor() ([]byte, []int)
func (*MsgNodePauseChain) GetSignBytes ¶
func (m *MsgNodePauseChain) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgNodePauseChain) GetSigner ¶
func (m *MsgNodePauseChain) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgNodePauseChain) GetSigners ¶
func (m *MsgNodePauseChain) GetSigners() []cosmos.AccAddress
GetSigners return all the signer who signed this message
func (*MsgNodePauseChain) GetValue ¶
func (m *MsgNodePauseChain) GetValue() int64
func (*MsgNodePauseChain) Marshal ¶
func (m *MsgNodePauseChain) Marshal() (dAtA []byte, err error)
func (*MsgNodePauseChain) MarshalTo ¶
func (m *MsgNodePauseChain) MarshalTo(dAtA []byte) (int, error)
func (*MsgNodePauseChain) MarshalToSizedBuffer ¶
func (m *MsgNodePauseChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgNodePauseChain) ProtoMessage ¶
func (*MsgNodePauseChain) ProtoMessage()
func (*MsgNodePauseChain) Reset ¶
func (m *MsgNodePauseChain) Reset()
func (*MsgNodePauseChain) Route ¶
func (m *MsgNodePauseChain) Route() string
Route should return the name of the module
func (*MsgNodePauseChain) Size ¶
func (m *MsgNodePauseChain) Size() (n int)
func (*MsgNodePauseChain) String ¶
func (m *MsgNodePauseChain) String() string
func (MsgNodePauseChain) Type ¶
func (m MsgNodePauseChain) Type() string
Type should return the action
func (*MsgNodePauseChain) Unmarshal ¶
func (m *MsgNodePauseChain) Unmarshal(dAtA []byte) error
func (*MsgNodePauseChain) ValidateBasic ¶
func (m *MsgNodePauseChain) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgNodePauseChain) XXX_DiscardUnknown ¶
func (m *MsgNodePauseChain) XXX_DiscardUnknown()
func (*MsgNodePauseChain) XXX_Marshal ¶
func (m *MsgNodePauseChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgNodePauseChain) XXX_Merge ¶
func (m *MsgNodePauseChain) XXX_Merge(src proto.Message)
func (*MsgNodePauseChain) XXX_Size ¶
func (m *MsgNodePauseChain) XXX_Size() int
func (*MsgNodePauseChain) XXX_Unmarshal ¶
func (m *MsgNodePauseChain) XXX_Unmarshal(b []byte) error
type MsgObservedTxIn ¶
type MsgObservedTxIn struct { Txs ObservedTxs `protobuf:"bytes,1,rep,name=txs,proto3,castrepeated=ObservedTxs" json:"txs"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgObservedTxIn ¶
func NewMsgObservedTxIn(txs ObservedTxs, signer cosmos.AccAddress) *MsgObservedTxIn
NewMsgObservedTxIn is a constructor function for MsgObservedTxIn
func (*MsgObservedTxIn) Descriptor ¶
func (*MsgObservedTxIn) Descriptor() ([]byte, []int)
func (*MsgObservedTxIn) GetSignBytes ¶
func (m *MsgObservedTxIn) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgObservedTxIn) GetSigner ¶
func (m *MsgObservedTxIn) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgObservedTxIn) GetSigners ¶
func (m *MsgObservedTxIn) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgObservedTxIn) GetTxs ¶
func (m *MsgObservedTxIn) GetTxs() ObservedTxs
func (*MsgObservedTxIn) Marshal ¶
func (m *MsgObservedTxIn) Marshal() (dAtA []byte, err error)
func (*MsgObservedTxIn) MarshalToSizedBuffer ¶
func (m *MsgObservedTxIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgObservedTxIn) ProtoMessage ¶
func (*MsgObservedTxIn) ProtoMessage()
func (*MsgObservedTxIn) Reset ¶
func (m *MsgObservedTxIn) Reset()
func (*MsgObservedTxIn) Route ¶
func (m *MsgObservedTxIn) Route() string
Route should return the route key of the module
func (*MsgObservedTxIn) Size ¶
func (m *MsgObservedTxIn) Size() (n int)
func (*MsgObservedTxIn) String ¶
func (m *MsgObservedTxIn) String() string
func (*MsgObservedTxIn) Unmarshal ¶
func (m *MsgObservedTxIn) Unmarshal(dAtA []byte) error
func (*MsgObservedTxIn) ValidateBasic ¶
func (m *MsgObservedTxIn) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgObservedTxIn) XXX_DiscardUnknown ¶
func (m *MsgObservedTxIn) XXX_DiscardUnknown()
func (*MsgObservedTxIn) XXX_Marshal ¶
func (m *MsgObservedTxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgObservedTxIn) XXX_Merge ¶
func (m *MsgObservedTxIn) XXX_Merge(src proto.Message)
func (*MsgObservedTxIn) XXX_Size ¶
func (m *MsgObservedTxIn) XXX_Size() int
func (*MsgObservedTxIn) XXX_Unmarshal ¶
func (m *MsgObservedTxIn) XXX_Unmarshal(b []byte) error
type MsgObservedTxOut ¶
type MsgObservedTxOut struct { Txs ObservedTxs `protobuf:"bytes,1,rep,name=txs,proto3,castrepeated=ObservedTxs" json:"txs"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgObservedTxOut ¶
func NewMsgObservedTxOut(txs ObservedTxs, signer cosmos.AccAddress) *MsgObservedTxOut
NewMsgObservedTxOut is a constructor function for MsgObservedTxOut
func (*MsgObservedTxOut) Descriptor ¶
func (*MsgObservedTxOut) Descriptor() ([]byte, []int)
func (*MsgObservedTxOut) GetSignBytes ¶
func (m *MsgObservedTxOut) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgObservedTxOut) GetSigner ¶
func (m *MsgObservedTxOut) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgObservedTxOut) GetSigners ¶
func (m *MsgObservedTxOut) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgObservedTxOut) GetTxs ¶
func (m *MsgObservedTxOut) GetTxs() ObservedTxs
func (*MsgObservedTxOut) Marshal ¶
func (m *MsgObservedTxOut) Marshal() (dAtA []byte, err error)
func (*MsgObservedTxOut) MarshalToSizedBuffer ¶
func (m *MsgObservedTxOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgObservedTxOut) ProtoMessage ¶
func (*MsgObservedTxOut) ProtoMessage()
func (*MsgObservedTxOut) Reset ¶
func (m *MsgObservedTxOut) Reset()
func (*MsgObservedTxOut) Route ¶
func (m *MsgObservedTxOut) Route() string
Route should return the route key of the module
func (*MsgObservedTxOut) Size ¶
func (m *MsgObservedTxOut) Size() (n int)
func (*MsgObservedTxOut) String ¶
func (m *MsgObservedTxOut) String() string
func (MsgObservedTxOut) Type ¶
func (m MsgObservedTxOut) Type() string
Type should return the action
func (*MsgObservedTxOut) Unmarshal ¶
func (m *MsgObservedTxOut) Unmarshal(dAtA []byte) error
func (*MsgObservedTxOut) ValidateBasic ¶
func (m *MsgObservedTxOut) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgObservedTxOut) XXX_DiscardUnknown ¶
func (m *MsgObservedTxOut) XXX_DiscardUnknown()
func (*MsgObservedTxOut) XXX_Marshal ¶
func (m *MsgObservedTxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgObservedTxOut) XXX_Merge ¶
func (m *MsgObservedTxOut) XXX_Merge(src proto.Message)
func (*MsgObservedTxOut) XXX_Size ¶
func (m *MsgObservedTxOut) XXX_Size() int
func (*MsgObservedTxOut) XXX_Unmarshal ¶
func (m *MsgObservedTxOut) XXX_Unmarshal(b []byte) error
type MsgOutboundTx ¶
type MsgOutboundTx struct { Tx ObservedTx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` InTxID gitlab_com_thorchain_thornode_common.TxID `` /* 132-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgOutboundTx ¶
func NewMsgOutboundTx(tx ObservedTx, txID common.TxID, signer cosmos.AccAddress) *MsgOutboundTx
NewMsgOutboundTx is a constructor function for MsgOutboundTx
func (*MsgOutboundTx) Descriptor ¶
func (*MsgOutboundTx) Descriptor() ([]byte, []int)
func (*MsgOutboundTx) GetInTxID ¶
func (m *MsgOutboundTx) GetInTxID() gitlab_com_thorchain_thornode_common.TxID
func (*MsgOutboundTx) GetSignBytes ¶
func (m *MsgOutboundTx) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgOutboundTx) GetSigner ¶
func (m *MsgOutboundTx) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgOutboundTx) GetSigners ¶
func (m *MsgOutboundTx) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgOutboundTx) GetTx ¶
func (m *MsgOutboundTx) GetTx() ObservedTx
func (*MsgOutboundTx) Marshal ¶
func (m *MsgOutboundTx) Marshal() (dAtA []byte, err error)
func (*MsgOutboundTx) MarshalToSizedBuffer ¶
func (m *MsgOutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOutboundTx) ProtoMessage ¶
func (*MsgOutboundTx) ProtoMessage()
func (*MsgOutboundTx) Reset ¶
func (m *MsgOutboundTx) Reset()
func (*MsgOutboundTx) Route ¶
func (m *MsgOutboundTx) Route() string
Route should return the route key of the module
func (*MsgOutboundTx) Size ¶
func (m *MsgOutboundTx) Size() (n int)
func (*MsgOutboundTx) String ¶
func (m *MsgOutboundTx) String() string
func (*MsgOutboundTx) Unmarshal ¶
func (m *MsgOutboundTx) Unmarshal(dAtA []byte) error
func (*MsgOutboundTx) ValidateBasic ¶
func (m *MsgOutboundTx) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgOutboundTx) XXX_DiscardUnknown ¶
func (m *MsgOutboundTx) XXX_DiscardUnknown()
func (*MsgOutboundTx) XXX_Marshal ¶
func (m *MsgOutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOutboundTx) XXX_Merge ¶
func (m *MsgOutboundTx) XXX_Merge(src proto.Message)
func (*MsgOutboundTx) XXX_Size ¶
func (m *MsgOutboundTx) XXX_Size() int
func (*MsgOutboundTx) XXX_Unmarshal ¶
func (m *MsgOutboundTx) XXX_Unmarshal(b []byte) error
type MsgProposeUpgrade ¶
type MsgProposeUpgrade struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Upgrade Upgrade `protobuf:"bytes,2,opt,name=upgrade,proto3" json:"upgrade"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgProposeUpgrade ¶
func NewMsgProposeUpgrade(name string, height int64, info string, signer cosmos.AccAddress) *MsgProposeUpgrade
NewMsgProposeUpgrade is a constructor function for NewMsgProposeUpgrade
func (*MsgProposeUpgrade) Descriptor ¶
func (*MsgProposeUpgrade) Descriptor() ([]byte, []int)
func (*MsgProposeUpgrade) GetSignBytes ¶
func (m *MsgProposeUpgrade) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgProposeUpgrade) GetSigners ¶
func (m *MsgProposeUpgrade) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgProposeUpgrade) Marshal ¶
func (m *MsgProposeUpgrade) Marshal() (dAtA []byte, err error)
func (*MsgProposeUpgrade) MarshalTo ¶
func (m *MsgProposeUpgrade) MarshalTo(dAtA []byte) (int, error)
func (*MsgProposeUpgrade) MarshalToSizedBuffer ¶
func (m *MsgProposeUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProposeUpgrade) ProtoMessage ¶
func (*MsgProposeUpgrade) ProtoMessage()
func (*MsgProposeUpgrade) Reset ¶
func (m *MsgProposeUpgrade) Reset()
func (*MsgProposeUpgrade) Route ¶
func (m *MsgProposeUpgrade) Route() string
Route should return the route key of the module
func (*MsgProposeUpgrade) Size ¶
func (m *MsgProposeUpgrade) Size() (n int)
func (*MsgProposeUpgrade) String ¶
func (m *MsgProposeUpgrade) String() string
func (MsgProposeUpgrade) Type ¶
func (m MsgProposeUpgrade) Type() string
Type should return the action
func (*MsgProposeUpgrade) Unmarshal ¶
func (m *MsgProposeUpgrade) Unmarshal(dAtA []byte) error
func (*MsgProposeUpgrade) ValidateBasic ¶
func (m *MsgProposeUpgrade) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgProposeUpgrade) XXX_DiscardUnknown ¶
func (m *MsgProposeUpgrade) XXX_DiscardUnknown()
func (*MsgProposeUpgrade) XXX_Marshal ¶
func (m *MsgProposeUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProposeUpgrade) XXX_Merge ¶
func (m *MsgProposeUpgrade) XXX_Merge(src proto.Message)
func (*MsgProposeUpgrade) XXX_Size ¶
func (m *MsgProposeUpgrade) XXX_Size() int
func (*MsgProposeUpgrade) XXX_Unmarshal ¶
func (m *MsgProposeUpgrade) XXX_Unmarshal(b []byte) error
type MsgRagnarok ¶
type MsgRagnarok struct { Tx ObservedTx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgRagnarok ¶
func NewMsgRagnarok(tx ObservedTx, blockHeight int64, signer cosmos.AccAddress) *MsgRagnarok
NewMsgRagnarok is a constructor function for MsgRagnarok
func (*MsgRagnarok) Descriptor ¶
func (*MsgRagnarok) Descriptor() ([]byte, []int)
func (*MsgRagnarok) GetBlockHeight ¶
func (m *MsgRagnarok) GetBlockHeight() int64
func (*MsgRagnarok) GetSignBytes ¶
func (m *MsgRagnarok) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgRagnarok) GetSigner ¶
func (m *MsgRagnarok) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgRagnarok) GetSigners ¶
func (m *MsgRagnarok) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgRagnarok) GetTx ¶
func (m *MsgRagnarok) GetTx() ObservedTx
func (*MsgRagnarok) Marshal ¶
func (m *MsgRagnarok) Marshal() (dAtA []byte, err error)
func (*MsgRagnarok) MarshalToSizedBuffer ¶
func (m *MsgRagnarok) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRagnarok) ProtoMessage ¶
func (*MsgRagnarok) ProtoMessage()
func (*MsgRagnarok) Reset ¶
func (m *MsgRagnarok) Reset()
func (*MsgRagnarok) Route ¶
func (m *MsgRagnarok) Route() string
Route should return the name of the module
func (*MsgRagnarok) Size ¶
func (m *MsgRagnarok) Size() (n int)
func (*MsgRagnarok) String ¶
func (m *MsgRagnarok) String() string
func (*MsgRagnarok) Unmarshal ¶
func (m *MsgRagnarok) Unmarshal(dAtA []byte) error
func (*MsgRagnarok) ValidateBasic ¶
func (m *MsgRagnarok) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRagnarok) XXX_DiscardUnknown ¶
func (m *MsgRagnarok) XXX_DiscardUnknown()
func (*MsgRagnarok) XXX_Marshal ¶
func (m *MsgRagnarok) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRagnarok) XXX_Merge ¶
func (m *MsgRagnarok) XXX_Merge(src proto.Message)
func (*MsgRagnarok) XXX_Size ¶
func (m *MsgRagnarok) XXX_Size() int
func (*MsgRagnarok) XXX_Unmarshal ¶
func (m *MsgRagnarok) XXX_Unmarshal(b []byte) error
type MsgRefundTx ¶
type MsgRefundTx struct { Tx ObservedTx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` InTxID gitlab_com_thorchain_thornode_common.TxID `` /* 132-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgRefundTx ¶
func NewMsgRefundTx(tx ObservedTx, txID common.TxID, signer cosmos.AccAddress) *MsgRefundTx
NewMsgRefundTx is a constructor function for MsgOutboundTx
func (*MsgRefundTx) Descriptor ¶
func (*MsgRefundTx) Descriptor() ([]byte, []int)
func (*MsgRefundTx) GetInTxID ¶
func (m *MsgRefundTx) GetInTxID() gitlab_com_thorchain_thornode_common.TxID
func (*MsgRefundTx) GetSignBytes ¶
func (m *MsgRefundTx) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgRefundTx) GetSigner ¶
func (m *MsgRefundTx) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgRefundTx) GetSigners ¶
func (m *MsgRefundTx) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgRefundTx) GetTx ¶
func (m *MsgRefundTx) GetTx() ObservedTx
func (*MsgRefundTx) Marshal ¶
func (m *MsgRefundTx) Marshal() (dAtA []byte, err error)
func (*MsgRefundTx) MarshalToSizedBuffer ¶
func (m *MsgRefundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRefundTx) ProtoMessage ¶
func (*MsgRefundTx) ProtoMessage()
func (*MsgRefundTx) Reset ¶
func (m *MsgRefundTx) Reset()
func (*MsgRefundTx) Route ¶
func (m *MsgRefundTx) Route() string
Route should return the route key of the module
func (*MsgRefundTx) Size ¶
func (m *MsgRefundTx) Size() (n int)
func (*MsgRefundTx) String ¶
func (m *MsgRefundTx) String() string
func (*MsgRefundTx) Unmarshal ¶
func (m *MsgRefundTx) Unmarshal(dAtA []byte) error
func (*MsgRefundTx) ValidateBasic ¶
func (m *MsgRefundTx) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRefundTx) XXX_DiscardUnknown ¶
func (m *MsgRefundTx) XXX_DiscardUnknown()
func (*MsgRefundTx) XXX_Marshal ¶
func (m *MsgRefundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRefundTx) XXX_Merge ¶
func (m *MsgRefundTx) XXX_Merge(src proto.Message)
func (*MsgRefundTx) XXX_Size ¶
func (m *MsgRefundTx) XXX_Size() int
func (*MsgRefundTx) XXX_Unmarshal ¶
func (m *MsgRefundTx) XXX_Unmarshal(b []byte) error
type MsgRejectUpgrade ¶
type MsgRejectUpgrade struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgRejectUpgrade ¶
func NewMsgRejectUpgrade(name string, signer cosmos.AccAddress) *MsgRejectUpgrade
NewMsgRejectUpgrade is a constructor function for NewMsgRejectUpgrade
func (*MsgRejectUpgrade) Descriptor ¶
func (*MsgRejectUpgrade) Descriptor() ([]byte, []int)
func (*MsgRejectUpgrade) GetSignBytes ¶
func (m *MsgRejectUpgrade) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgRejectUpgrade) GetSigners ¶
func (m *MsgRejectUpgrade) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgRejectUpgrade) Marshal ¶
func (m *MsgRejectUpgrade) Marshal() (dAtA []byte, err error)
func (*MsgRejectUpgrade) MarshalToSizedBuffer ¶
func (m *MsgRejectUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRejectUpgrade) ProtoMessage ¶
func (*MsgRejectUpgrade) ProtoMessage()
func (*MsgRejectUpgrade) Reset ¶
func (m *MsgRejectUpgrade) Reset()
func (*MsgRejectUpgrade) Route ¶
func (m *MsgRejectUpgrade) Route() string
Route should return the route key of the module
func (*MsgRejectUpgrade) Size ¶
func (m *MsgRejectUpgrade) Size() (n int)
func (*MsgRejectUpgrade) String ¶
func (m *MsgRejectUpgrade) String() string
func (MsgRejectUpgrade) Type ¶
func (m MsgRejectUpgrade) Type() string
Type should return the action
func (*MsgRejectUpgrade) Unmarshal ¶
func (m *MsgRejectUpgrade) Unmarshal(dAtA []byte) error
func (*MsgRejectUpgrade) ValidateBasic ¶
func (m *MsgRejectUpgrade) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRejectUpgrade) XXX_DiscardUnknown ¶
func (m *MsgRejectUpgrade) XXX_DiscardUnknown()
func (*MsgRejectUpgrade) XXX_Marshal ¶
func (m *MsgRejectUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRejectUpgrade) XXX_Merge ¶
func (m *MsgRejectUpgrade) XXX_Merge(src proto.Message)
func (*MsgRejectUpgrade) XXX_Size ¶
func (m *MsgRejectUpgrade) XXX_Size() int
func (*MsgRejectUpgrade) XXX_Unmarshal ¶
func (m *MsgRejectUpgrade) XXX_Unmarshal(b []byte) error
type MsgReserveContributor ¶
type MsgReserveContributor struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` Contributor ReserveContributor `protobuf:"bytes,2,opt,name=contributor,proto3" json:"contributor"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgReserveContributor ¶
func NewMsgReserveContributor(tx common.Tx, contrib ReserveContributor, signer cosmos.AccAddress) *MsgReserveContributor
NewMsgReserveContributor is a constructor function for MsgReserveContributor
func (*MsgReserveContributor) Descriptor ¶
func (*MsgReserveContributor) Descriptor() ([]byte, []int)
func (*MsgReserveContributor) GetContributor ¶
func (m *MsgReserveContributor) GetContributor() ReserveContributor
func (*MsgReserveContributor) GetSignBytes ¶
func (m *MsgReserveContributor) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgReserveContributor) GetSigner ¶
func (m *MsgReserveContributor) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgReserveContributor) GetSigners ¶
func (m *MsgReserveContributor) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgReserveContributor) GetTx ¶
func (m *MsgReserveContributor) GetTx() common.Tx
func (*MsgReserveContributor) Marshal ¶
func (m *MsgReserveContributor) Marshal() (dAtA []byte, err error)
func (*MsgReserveContributor) MarshalTo ¶
func (m *MsgReserveContributor) MarshalTo(dAtA []byte) (int, error)
func (*MsgReserveContributor) MarshalToSizedBuffer ¶
func (m *MsgReserveContributor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReserveContributor) ProtoMessage ¶
func (*MsgReserveContributor) ProtoMessage()
func (*MsgReserveContributor) Reset ¶
func (m *MsgReserveContributor) Reset()
func (*MsgReserveContributor) Route ¶
func (m *MsgReserveContributor) Route() string
Route return the route key of module
func (*MsgReserveContributor) Size ¶
func (m *MsgReserveContributor) Size() (n int)
func (*MsgReserveContributor) String ¶
func (m *MsgReserveContributor) String() string
func (MsgReserveContributor) Type ¶
func (m MsgReserveContributor) Type() string
Type return a unique action
func (*MsgReserveContributor) Unmarshal ¶
func (m *MsgReserveContributor) Unmarshal(dAtA []byte) error
func (*MsgReserveContributor) ValidateBasic ¶
func (m *MsgReserveContributor) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgReserveContributor) XXX_DiscardUnknown ¶
func (m *MsgReserveContributor) XXX_DiscardUnknown()
func (*MsgReserveContributor) XXX_Marshal ¶
func (m *MsgReserveContributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReserveContributor) XXX_Merge ¶
func (m *MsgReserveContributor) XXX_Merge(src proto.Message)
func (*MsgReserveContributor) XXX_Size ¶
func (m *MsgReserveContributor) XXX_Size() int
func (*MsgReserveContributor) XXX_Unmarshal ¶
func (m *MsgReserveContributor) XXX_Unmarshal(b []byte) error
type MsgRunePoolDeposit ¶
type MsgRunePoolDeposit struct { Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` Tx common.Tx `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx"` }
func NewMsgRunePoolDeposit ¶
func NewMsgRunePoolDeposit(signer cosmos.AccAddress, tx common.Tx) *MsgRunePoolDeposit
NewMsgRunePoolDeposit create new MsgRunePoolDeposit message
func (*MsgRunePoolDeposit) Descriptor ¶
func (*MsgRunePoolDeposit) Descriptor() ([]byte, []int)
func (*MsgRunePoolDeposit) GetSignBytes ¶
func (m *MsgRunePoolDeposit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgRunePoolDeposit) GetSigner ¶
func (m *MsgRunePoolDeposit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgRunePoolDeposit) GetSigners ¶
func (m *MsgRunePoolDeposit) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgRunePoolDeposit) GetTx ¶
func (m *MsgRunePoolDeposit) GetTx() common.Tx
func (*MsgRunePoolDeposit) Marshal ¶
func (m *MsgRunePoolDeposit) Marshal() (dAtA []byte, err error)
func (*MsgRunePoolDeposit) MarshalTo ¶
func (m *MsgRunePoolDeposit) MarshalTo(dAtA []byte) (int, error)
func (*MsgRunePoolDeposit) MarshalToSizedBuffer ¶
func (m *MsgRunePoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRunePoolDeposit) ProtoMessage ¶
func (*MsgRunePoolDeposit) ProtoMessage()
func (*MsgRunePoolDeposit) Reset ¶
func (m *MsgRunePoolDeposit) Reset()
func (*MsgRunePoolDeposit) Route ¶
func (m *MsgRunePoolDeposit) Route() string
Route should return the router key of the module
func (*MsgRunePoolDeposit) Size ¶
func (m *MsgRunePoolDeposit) Size() (n int)
func (*MsgRunePoolDeposit) String ¶
func (m *MsgRunePoolDeposit) String() string
func (MsgRunePoolDeposit) Type ¶
func (m MsgRunePoolDeposit) Type() string
Type should return the action
func (*MsgRunePoolDeposit) Unmarshal ¶
func (m *MsgRunePoolDeposit) Unmarshal(dAtA []byte) error
func (*MsgRunePoolDeposit) ValidateBasic ¶
func (m *MsgRunePoolDeposit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRunePoolDeposit) XXX_DiscardUnknown ¶
func (m *MsgRunePoolDeposit) XXX_DiscardUnknown()
func (*MsgRunePoolDeposit) XXX_Marshal ¶
func (m *MsgRunePoolDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRunePoolDeposit) XXX_Merge ¶
func (m *MsgRunePoolDeposit) XXX_Merge(src proto.Message)
func (*MsgRunePoolDeposit) XXX_Size ¶
func (m *MsgRunePoolDeposit) XXX_Size() int
func (*MsgRunePoolDeposit) XXX_Unmarshal ¶
func (m *MsgRunePoolDeposit) XXX_Unmarshal(b []byte) error
type MsgRunePoolWithdraw ¶
type MsgRunePoolWithdraw struct { Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` Tx common.Tx `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx"` BasisPoints github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ AffiliateAddress gitlab_com_thorchain_thornode_common.Address `` /* 163-byte string literal not displayed */ AffiliateBasisPoints github_com_cosmos_cosmos_sdk_types.Uint `` /* 164-byte string literal not displayed */ }
func NewMsgRunePoolWithdraw ¶
func NewMsgRunePoolWithdraw(signer cosmos.AccAddress, tx common.Tx, basisPoints cosmos.Uint, affAddr common.Address, affBps cosmos.Uint) *MsgRunePoolWithdraw
NewMsgRunePoolWithdraw create new MsgRunePoolWithdraw message
func (*MsgRunePoolWithdraw) Descriptor ¶
func (*MsgRunePoolWithdraw) Descriptor() ([]byte, []int)
func (*MsgRunePoolWithdraw) GetAffiliateAddress ¶
func (m *MsgRunePoolWithdraw) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgRunePoolWithdraw) GetSignBytes ¶
func (m *MsgRunePoolWithdraw) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgRunePoolWithdraw) GetSigner ¶
func (m *MsgRunePoolWithdraw) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgRunePoolWithdraw) GetSigners ¶
func (m *MsgRunePoolWithdraw) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgRunePoolWithdraw) GetTx ¶
func (m *MsgRunePoolWithdraw) GetTx() common.Tx
func (*MsgRunePoolWithdraw) Marshal ¶
func (m *MsgRunePoolWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgRunePoolWithdraw) MarshalTo ¶
func (m *MsgRunePoolWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*MsgRunePoolWithdraw) MarshalToSizedBuffer ¶
func (m *MsgRunePoolWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRunePoolWithdraw) ProtoMessage ¶
func (*MsgRunePoolWithdraw) ProtoMessage()
func (*MsgRunePoolWithdraw) Reset ¶
func (m *MsgRunePoolWithdraw) Reset()
func (*MsgRunePoolWithdraw) Route ¶
func (m *MsgRunePoolWithdraw) Route() string
Route should return the router key of the module
func (*MsgRunePoolWithdraw) Size ¶
func (m *MsgRunePoolWithdraw) Size() (n int)
func (*MsgRunePoolWithdraw) String ¶
func (m *MsgRunePoolWithdraw) String() string
func (MsgRunePoolWithdraw) Type ¶
func (m MsgRunePoolWithdraw) Type() string
Type should return the action
func (*MsgRunePoolWithdraw) Unmarshal ¶
func (m *MsgRunePoolWithdraw) Unmarshal(dAtA []byte) error
func (*MsgRunePoolWithdraw) ValidateBasic ¶
func (m *MsgRunePoolWithdraw) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRunePoolWithdraw) XXX_DiscardUnknown ¶
func (m *MsgRunePoolWithdraw) XXX_DiscardUnknown()
func (*MsgRunePoolWithdraw) XXX_Marshal ¶
func (m *MsgRunePoolWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRunePoolWithdraw) XXX_Merge ¶
func (m *MsgRunePoolWithdraw) XXX_Merge(src proto.Message)
func (*MsgRunePoolWithdraw) XXX_Size ¶
func (m *MsgRunePoolWithdraw) XXX_Size() int
func (*MsgRunePoolWithdraw) XXX_Unmarshal ¶
func (m *MsgRunePoolWithdraw) XXX_Unmarshal(b []byte) error
type MsgSend ¶
type MsgSend struct { FromAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ ToAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 143-byte string literal not displayed */ Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func NewMsgSend ¶
func NewMsgSend(fromAddr, toAddr cosmos.AccAddress, amount cosmos.Coins) *MsgSend
NewMsgSend - construct a msg to send coins from one account to another.
func (*MsgSend) Descriptor ¶
func (*MsgSend) GetAmount ¶
func (m *MsgSend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgSend) GetFromAddress ¶
func (m *MsgSend) GetFromAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgSend) GetSigners ¶
func (m *MsgSend) GetSigners() []cosmos.AccAddress
GetSigners Implements Msg.
func (*MsgSend) GetToAddress ¶
func (m *MsgSend) GetToAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgSend) MarshalToSizedBuffer ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (*MsgSend) ValidateBasic ¶
ValidateBasic Implements Msg.
func (*MsgSend) XXX_DiscardUnknown ¶
func (m *MsgSend) XXX_DiscardUnknown()
func (*MsgSend) XXX_Marshal ¶
func (*MsgSend) XXX_Unmarshal ¶
type MsgSetIPAddress ¶
type MsgSetIPAddress struct { IPAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgSetIPAddress ¶
func NewMsgSetIPAddress(ip string, signer cosmos.AccAddress) *MsgSetIPAddress
NewMsgSetIPAddress is a constructor function for NewMsgSetIPAddress
func (*MsgSetIPAddress) Descriptor ¶
func (*MsgSetIPAddress) Descriptor() ([]byte, []int)
func (*MsgSetIPAddress) GetIPAddress ¶
func (m *MsgSetIPAddress) GetIPAddress() string
func (*MsgSetIPAddress) GetSignBytes ¶
func (m *MsgSetIPAddress) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgSetIPAddress) GetSigner ¶
func (m *MsgSetIPAddress) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgSetIPAddress) GetSigners ¶
func (m *MsgSetIPAddress) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgSetIPAddress) Marshal ¶
func (m *MsgSetIPAddress) Marshal() (dAtA []byte, err error)
func (*MsgSetIPAddress) MarshalToSizedBuffer ¶
func (m *MsgSetIPAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetIPAddress) ProtoMessage ¶
func (*MsgSetIPAddress) ProtoMessage()
func (*MsgSetIPAddress) Reset ¶
func (m *MsgSetIPAddress) Reset()
func (*MsgSetIPAddress) Route ¶
func (m *MsgSetIPAddress) Route() string
Route should return the name of the module
func (*MsgSetIPAddress) Size ¶
func (m *MsgSetIPAddress) Size() (n int)
func (*MsgSetIPAddress) String ¶
func (m *MsgSetIPAddress) String() string
func (*MsgSetIPAddress) Unmarshal ¶
func (m *MsgSetIPAddress) Unmarshal(dAtA []byte) error
func (*MsgSetIPAddress) ValidateBasic ¶
func (m *MsgSetIPAddress) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgSetIPAddress) XXX_DiscardUnknown ¶
func (m *MsgSetIPAddress) XXX_DiscardUnknown()
func (*MsgSetIPAddress) XXX_Marshal ¶
func (m *MsgSetIPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetIPAddress) XXX_Merge ¶
func (m *MsgSetIPAddress) XXX_Merge(src proto.Message)
func (*MsgSetIPAddress) XXX_Size ¶
func (m *MsgSetIPAddress) XXX_Size() int
func (*MsgSetIPAddress) XXX_Unmarshal ¶
func (m *MsgSetIPAddress) XXX_Unmarshal(b []byte) error
type MsgSetNodeKeys ¶
type MsgSetNodeKeys struct { PubKeySetSet common.PubKeySet `protobuf:"bytes,1,opt,name=pub_key_set_set,json=pubKeySetSet,proto3" json:"pub_key_set_set"` ValidatorConsPubKey string `protobuf:"bytes,2,opt,name=validator_cons_pub_key,json=validatorConsPubKey,proto3" json:"validator_cons_pub_key,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgSetNodeKeys ¶
func NewMsgSetNodeKeys(nodePubKeySet common.PubKeySet, validatorConsPubKey string, signer cosmos.AccAddress) *MsgSetNodeKeys
NewMsgSetNodeKeys is a constructor function for NewMsgAddNodeKeys
func (*MsgSetNodeKeys) Descriptor ¶
func (*MsgSetNodeKeys) Descriptor() ([]byte, []int)
func (*MsgSetNodeKeys) GetPubKeySetSet ¶
func (m *MsgSetNodeKeys) GetPubKeySetSet() common.PubKeySet
func (*MsgSetNodeKeys) GetSignBytes ¶
func (m *MsgSetNodeKeys) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgSetNodeKeys) GetSigner ¶
func (m *MsgSetNodeKeys) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgSetNodeKeys) GetSigners ¶
func (m *MsgSetNodeKeys) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgSetNodeKeys) GetValidatorConsPubKey ¶
func (m *MsgSetNodeKeys) GetValidatorConsPubKey() string
func (*MsgSetNodeKeys) Marshal ¶
func (m *MsgSetNodeKeys) Marshal() (dAtA []byte, err error)
func (*MsgSetNodeKeys) MarshalToSizedBuffer ¶
func (m *MsgSetNodeKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetNodeKeys) ProtoMessage ¶
func (*MsgSetNodeKeys) ProtoMessage()
func (*MsgSetNodeKeys) Reset ¶
func (m *MsgSetNodeKeys) Reset()
func (*MsgSetNodeKeys) Route ¶
func (m *MsgSetNodeKeys) Route() string
Route should return the router key of the module
func (*MsgSetNodeKeys) Size ¶
func (m *MsgSetNodeKeys) Size() (n int)
func (*MsgSetNodeKeys) String ¶
func (m *MsgSetNodeKeys) String() string
func (*MsgSetNodeKeys) Unmarshal ¶
func (m *MsgSetNodeKeys) Unmarshal(dAtA []byte) error
func (*MsgSetNodeKeys) ValidateBasic ¶
func (m *MsgSetNodeKeys) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgSetNodeKeys) XXX_DiscardUnknown ¶
func (m *MsgSetNodeKeys) XXX_DiscardUnknown()
func (*MsgSetNodeKeys) XXX_Marshal ¶
func (m *MsgSetNodeKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetNodeKeys) XXX_Merge ¶
func (m *MsgSetNodeKeys) XXX_Merge(src proto.Message)
func (*MsgSetNodeKeys) XXX_Size ¶
func (m *MsgSetNodeKeys) XXX_Size() int
func (*MsgSetNodeKeys) XXX_Unmarshal ¶
func (m *MsgSetNodeKeys) XXX_Unmarshal(b []byte) error
type MsgSetVersion ¶
type MsgSetVersion struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgSetVersion ¶
func NewMsgSetVersion(version string, signer cosmos.AccAddress) *MsgSetVersion
NewMsgSetVersion is a constructor function for NewMsgSetVersion
func (*MsgSetVersion) Descriptor ¶
func (*MsgSetVersion) Descriptor() ([]byte, []int)
func (*MsgSetVersion) GetSignBytes ¶
func (m *MsgSetVersion) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgSetVersion) GetSigners ¶
func (m *MsgSetVersion) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgSetVersion) GetVersion ¶
func (m *MsgSetVersion) GetVersion() (semver.Version, error)
GetVersion return the semantic version
func (*MsgSetVersion) Marshal ¶
func (m *MsgSetVersion) Marshal() (dAtA []byte, err error)
func (*MsgSetVersion) MarshalToSizedBuffer ¶
func (m *MsgSetVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetVersion) ProtoMessage ¶
func (*MsgSetVersion) ProtoMessage()
func (*MsgSetVersion) Reset ¶
func (m *MsgSetVersion) Reset()
func (*MsgSetVersion) Route ¶
func (m *MsgSetVersion) Route() string
Route should return the route key of the module
func (*MsgSetVersion) Size ¶
func (m *MsgSetVersion) Size() (n int)
func (*MsgSetVersion) String ¶
func (m *MsgSetVersion) String() string
func (*MsgSetVersion) Unmarshal ¶
func (m *MsgSetVersion) Unmarshal(dAtA []byte) error
func (*MsgSetVersion) ValidateBasic ¶
func (m *MsgSetVersion) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgSetVersion) XXX_DiscardUnknown ¶
func (m *MsgSetVersion) XXX_DiscardUnknown()
func (*MsgSetVersion) XXX_Marshal ¶
func (m *MsgSetVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetVersion) XXX_Merge ¶
func (m *MsgSetVersion) XXX_Merge(src proto.Message)
func (*MsgSetVersion) XXX_Size ¶
func (m *MsgSetVersion) XXX_Size() int
func (*MsgSetVersion) XXX_Unmarshal ¶
func (m *MsgSetVersion) XXX_Unmarshal(b []byte) error
type MsgSolvency ¶
type MsgSolvency struct { Id gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=id,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"id,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ Coins gitlab_com_thorchain_thornode_common.Coins `protobuf:"bytes,4,rep,name=coins,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Coins" json:"coins"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,6,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgSolvency ¶
func NewMsgSolvency(chain common.Chain, pubKey common.PubKey, coins common.Coins, height int64, signer cosmos.AccAddress) (*MsgSolvency, error)
NewMsgSolvency create a new MsgSolvency
func (*MsgSolvency) Descriptor ¶
func (*MsgSolvency) Descriptor() ([]byte, []int)
func (*MsgSolvency) GetChain ¶
func (m *MsgSolvency) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*MsgSolvency) GetCoins ¶
func (m *MsgSolvency) GetCoins() gitlab_com_thorchain_thornode_common.Coins
func (*MsgSolvency) GetHeight ¶
func (m *MsgSolvency) GetHeight() int64
func (*MsgSolvency) GetId ¶
func (m *MsgSolvency) GetId() gitlab_com_thorchain_thornode_common.TxID
func (*MsgSolvency) GetPubKey ¶
func (m *MsgSolvency) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
func (*MsgSolvency) GetSignBytes ¶
func (m *MsgSolvency) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (*MsgSolvency) GetSigner ¶
func (m *MsgSolvency) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgSolvency) GetSigners ¶
func (m *MsgSolvency) GetSigners() []cosmos.AccAddress
GetSigners Implements Msg.
func (*MsgSolvency) Marshal ¶
func (m *MsgSolvency) Marshal() (dAtA []byte, err error)
func (*MsgSolvency) MarshalToSizedBuffer ¶
func (m *MsgSolvency) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSolvency) ProtoMessage ¶
func (*MsgSolvency) ProtoMessage()
func (*MsgSolvency) Reset ¶
func (m *MsgSolvency) Reset()
func (*MsgSolvency) Size ¶
func (m *MsgSolvency) Size() (n int)
func (*MsgSolvency) String ¶
func (m *MsgSolvency) String() string
func (*MsgSolvency) Unmarshal ¶
func (m *MsgSolvency) Unmarshal(dAtA []byte) error
func (*MsgSolvency) ValidateBasic ¶
func (m *MsgSolvency) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgSolvency) XXX_DiscardUnknown ¶
func (m *MsgSolvency) XXX_DiscardUnknown()
func (*MsgSolvency) XXX_Marshal ¶
func (m *MsgSolvency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSolvency) XXX_Merge ¶
func (m *MsgSolvency) XXX_Merge(src proto.Message)
func (*MsgSolvency) XXX_Size ¶
func (m *MsgSolvency) XXX_Size() int
func (*MsgSolvency) XXX_Unmarshal ¶
func (m *MsgSolvency) XXX_Unmarshal(b []byte) error
type MsgSwap ¶
type MsgSwap struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` TargetAsset common.Asset `protobuf:"bytes,2,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset"` Destination gitlab_com_thorchain_thornode_common.Address `` /* 129-byte string literal not displayed */ TradeTarget github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ AffiliateAddress gitlab_com_thorchain_thornode_common.Address `` /* 163-byte string literal not displayed */ AffiliateBasisPoints github_com_cosmos_cosmos_sdk_types.Uint `` /* 164-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,7,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` Aggregator string `protobuf:"bytes,8,opt,name=aggregator,proto3" json:"aggregator,omitempty"` AggregatorTargetAddress string `` /* 132-byte string literal not displayed */ AggregatorTargetLimit *github_com_cosmos_cosmos_sdk_types.Uint `` /* 178-byte string literal not displayed */ OrderType OrderType `protobuf:"varint,11,opt,name=order_type,json=orderType,proto3,enum=types.OrderType" json:"order_type,omitempty"` StreamQuantity uint64 `protobuf:"varint,12,opt,name=stream_quantity,json=streamQuantity,proto3" json:"stream_quantity,omitempty"` StreamInterval uint64 `protobuf:"varint,13,opt,name=stream_interval,json=streamInterval,proto3" json:"stream_interval,omitempty"` }
func NewMsgSwap ¶
func NewMsgSwap(tx common.Tx, target common.Asset, destination common.Address, tradeTarget cosmos.Uint, affAddr common.Address, affPts cosmos.Uint, agg, aggregatorTargetAddr string, aggregatorTargetLimit *cosmos.Uint, otype OrderType, quan, interval uint64, signer cosmos.AccAddress) *MsgSwap
NewMsgSwap is a constructor function for MsgSwap
func (*MsgSwap) Descriptor ¶
func (*MsgSwap) GetAffiliateAddress ¶
func (m *MsgSwap) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgSwap) GetAggregator ¶
func (*MsgSwap) GetAggregatorTargetAddress ¶
func (*MsgSwap) GetDestination ¶
func (m *MsgSwap) GetDestination() gitlab_com_thorchain_thornode_common.Address
func (*MsgSwap) GetOrderType ¶
func (*MsgSwap) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgSwap) GetSigner ¶
func (m *MsgSwap) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgSwap) GetSigners ¶
func (m *MsgSwap) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgSwap) GetStreamInterval ¶
func (*MsgSwap) GetStreamQuantity ¶
func (*MsgSwap) GetStreamingSwap ¶
func (m *MsgSwap) GetStreamingSwap() StreamingSwap
func (*MsgSwap) GetTargetAsset ¶
func (*MsgSwap) GetTotalAffiliateFee ¶
func (*MsgSwap) IsStreaming ¶
func (*MsgSwap) MarshalToSizedBuffer ¶
func (*MsgSwap) ProtoMessage ¶
func (*MsgSwap) ProtoMessage()
func (*MsgSwap) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgSwap) XXX_DiscardUnknown ¶
func (m *MsgSwap) XXX_DiscardUnknown()
func (*MsgSwap) XXX_Marshal ¶
func (*MsgSwap) XXX_Unmarshal ¶
type MsgTradeAccountDeposit ¶
type MsgTradeAccountDeposit struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` Asset common.Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset"` Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgTradeAccountDeposit ¶
func NewMsgTradeAccountDeposit(asset common.Asset, amount cosmos.Uint, acc, signer cosmos.AccAddress, tx common.Tx) *MsgTradeAccountDeposit
NewMsgTradeAccountDeposit is a constructor function for MsgTradeAccountDeposit
func (*MsgTradeAccountDeposit) Descriptor ¶
func (*MsgTradeAccountDeposit) Descriptor() ([]byte, []int)
func (*MsgTradeAccountDeposit) GetAddress ¶
func (m *MsgTradeAccountDeposit) GetAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgTradeAccountDeposit) GetAsset ¶
func (m *MsgTradeAccountDeposit) GetAsset() common.Asset
func (*MsgTradeAccountDeposit) GetSignBytes ¶
func (m *MsgTradeAccountDeposit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgTradeAccountDeposit) GetSigner ¶
func (m *MsgTradeAccountDeposit) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgTradeAccountDeposit) GetSigners ¶
func (m *MsgTradeAccountDeposit) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgTradeAccountDeposit) GetTx ¶
func (m *MsgTradeAccountDeposit) GetTx() common.Tx
func (*MsgTradeAccountDeposit) Marshal ¶
func (m *MsgTradeAccountDeposit) Marshal() (dAtA []byte, err error)
func (*MsgTradeAccountDeposit) MarshalTo ¶
func (m *MsgTradeAccountDeposit) MarshalTo(dAtA []byte) (int, error)
func (*MsgTradeAccountDeposit) MarshalToSizedBuffer ¶
func (m *MsgTradeAccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTradeAccountDeposit) ProtoMessage ¶
func (*MsgTradeAccountDeposit) ProtoMessage()
func (*MsgTradeAccountDeposit) Reset ¶
func (m *MsgTradeAccountDeposit) Reset()
func (*MsgTradeAccountDeposit) Route ¶
func (m *MsgTradeAccountDeposit) Route() string
Route should return the pooldata of the module
func (*MsgTradeAccountDeposit) Size ¶
func (m *MsgTradeAccountDeposit) Size() (n int)
func (*MsgTradeAccountDeposit) String ¶
func (m *MsgTradeAccountDeposit) String() string
func (MsgTradeAccountDeposit) Type ¶
func (m MsgTradeAccountDeposit) Type() string
Type should return the action
func (*MsgTradeAccountDeposit) Unmarshal ¶
func (m *MsgTradeAccountDeposit) Unmarshal(dAtA []byte) error
func (*MsgTradeAccountDeposit) ValidateBasic ¶
func (m *MsgTradeAccountDeposit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgTradeAccountDeposit) XXX_DiscardUnknown ¶
func (m *MsgTradeAccountDeposit) XXX_DiscardUnknown()
func (*MsgTradeAccountDeposit) XXX_Marshal ¶
func (m *MsgTradeAccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTradeAccountDeposit) XXX_Merge ¶
func (m *MsgTradeAccountDeposit) XXX_Merge(src proto.Message)
func (*MsgTradeAccountDeposit) XXX_Size ¶
func (m *MsgTradeAccountDeposit) XXX_Size() int
func (*MsgTradeAccountDeposit) XXX_Unmarshal ¶
func (m *MsgTradeAccountDeposit) XXX_Unmarshal(b []byte) error
type MsgTradeAccountWithdrawal ¶
type MsgTradeAccountWithdrawal struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` Asset common.Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset"` Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` AssetAddress gitlab_com_thorchain_thornode_common.Address `` /* 151-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,5,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgTradeAccountWithdrawal ¶
func NewMsgTradeAccountWithdrawal(asset common.Asset, amount cosmos.Uint, addr common.Address, signer cosmos.AccAddress, tx common.Tx) *MsgTradeAccountWithdrawal
NewMsgTradeAccountWithdrawal is a constructor function for MsgTradeAccountWithdrawal
func (*MsgTradeAccountWithdrawal) Descriptor ¶
func (*MsgTradeAccountWithdrawal) Descriptor() ([]byte, []int)
func (*MsgTradeAccountWithdrawal) GetAsset ¶
func (m *MsgTradeAccountWithdrawal) GetAsset() common.Asset
func (*MsgTradeAccountWithdrawal) GetAssetAddress ¶
func (m *MsgTradeAccountWithdrawal) GetAssetAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgTradeAccountWithdrawal) GetSignBytes ¶
func (m *MsgTradeAccountWithdrawal) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgTradeAccountWithdrawal) GetSigner ¶
func (m *MsgTradeAccountWithdrawal) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgTradeAccountWithdrawal) GetSigners ¶
func (m *MsgTradeAccountWithdrawal) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgTradeAccountWithdrawal) GetTx ¶
func (m *MsgTradeAccountWithdrawal) GetTx() common.Tx
func (*MsgTradeAccountWithdrawal) Marshal ¶
func (m *MsgTradeAccountWithdrawal) Marshal() (dAtA []byte, err error)
func (*MsgTradeAccountWithdrawal) MarshalTo ¶
func (m *MsgTradeAccountWithdrawal) MarshalTo(dAtA []byte) (int, error)
func (*MsgTradeAccountWithdrawal) MarshalToSizedBuffer ¶
func (m *MsgTradeAccountWithdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTradeAccountWithdrawal) ProtoMessage ¶
func (*MsgTradeAccountWithdrawal) ProtoMessage()
func (*MsgTradeAccountWithdrawal) Reset ¶
func (m *MsgTradeAccountWithdrawal) Reset()
func (*MsgTradeAccountWithdrawal) Route ¶
func (m *MsgTradeAccountWithdrawal) Route() string
Route should return the pooldata of the module
func (*MsgTradeAccountWithdrawal) Size ¶
func (m *MsgTradeAccountWithdrawal) Size() (n int)
func (*MsgTradeAccountWithdrawal) String ¶
func (m *MsgTradeAccountWithdrawal) String() string
func (MsgTradeAccountWithdrawal) Type ¶
func (m MsgTradeAccountWithdrawal) Type() string
Type should return the action
func (*MsgTradeAccountWithdrawal) Unmarshal ¶
func (m *MsgTradeAccountWithdrawal) Unmarshal(dAtA []byte) error
func (*MsgTradeAccountWithdrawal) ValidateBasic ¶
func (m *MsgTradeAccountWithdrawal) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgTradeAccountWithdrawal) XXX_DiscardUnknown ¶
func (m *MsgTradeAccountWithdrawal) XXX_DiscardUnknown()
func (*MsgTradeAccountWithdrawal) XXX_Marshal ¶
func (m *MsgTradeAccountWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTradeAccountWithdrawal) XXX_Merge ¶
func (m *MsgTradeAccountWithdrawal) XXX_Merge(src proto.Message)
func (*MsgTradeAccountWithdrawal) XXX_Size ¶
func (m *MsgTradeAccountWithdrawal) XXX_Size() int
func (*MsgTradeAccountWithdrawal) XXX_Unmarshal ¶
func (m *MsgTradeAccountWithdrawal) XXX_Unmarshal(b []byte) error
type MsgTssKeysignFail ¶
type MsgTssKeysignFail struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Blame Blame `protobuf:"bytes,3,opt,name=blame,proto3" json:"blame"` Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` Coins gitlab_com_thorchain_thornode_common.Coins `protobuf:"bytes,5,rep,name=coins,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Coins" json:"coins"` PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,7,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgTssKeysignFail ¶
func NewMsgTssKeysignFail(height int64, blame Blame, memo string, coins common.Coins, signer cosmos.AccAddress, pubKey common.PubKey) (*MsgTssKeysignFail, error)
NewMsgTssKeysignFail create a new instance of MsgTssKeysignFail message
func (*MsgTssKeysignFail) Descriptor ¶
func (*MsgTssKeysignFail) Descriptor() ([]byte, []int)
func (*MsgTssKeysignFail) GetSignBytes ¶
func (m *MsgTssKeysignFail) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgTssKeysignFail) GetSigners ¶
func (m *MsgTssKeysignFail) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgTssKeysignFail) Marshal ¶
func (m *MsgTssKeysignFail) Marshal() (dAtA []byte, err error)
func (*MsgTssKeysignFail) MarshalTo ¶
func (m *MsgTssKeysignFail) MarshalTo(dAtA []byte) (int, error)
func (*MsgTssKeysignFail) MarshalToSizedBuffer ¶
func (m *MsgTssKeysignFail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTssKeysignFail) ProtoMessage ¶
func (*MsgTssKeysignFail) ProtoMessage()
func (*MsgTssKeysignFail) Reset ¶
func (m *MsgTssKeysignFail) Reset()
func (*MsgTssKeysignFail) Route ¶
func (m *MsgTssKeysignFail) Route() string
Route should return the route key of the module
func (*MsgTssKeysignFail) Size ¶
func (m *MsgTssKeysignFail) Size() (n int)
func (*MsgTssKeysignFail) String ¶
func (m *MsgTssKeysignFail) String() string
func (MsgTssKeysignFail) Type ¶
func (m MsgTssKeysignFail) Type() string
Type should return the action
func (*MsgTssKeysignFail) Unmarshal ¶
func (m *MsgTssKeysignFail) Unmarshal(dAtA []byte) error
func (*MsgTssKeysignFail) ValidateBasic ¶
func (m *MsgTssKeysignFail) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgTssKeysignFail) XXX_DiscardUnknown ¶
func (m *MsgTssKeysignFail) XXX_DiscardUnknown()
func (*MsgTssKeysignFail) XXX_Marshal ¶
func (m *MsgTssKeysignFail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTssKeysignFail) XXX_Merge ¶
func (m *MsgTssKeysignFail) XXX_Merge(src proto.Message)
func (*MsgTssKeysignFail) XXX_Size ¶
func (m *MsgTssKeysignFail) XXX_Size() int
func (*MsgTssKeysignFail) XXX_Unmarshal ¶
func (m *MsgTssKeysignFail) XXX_Unmarshal(b []byte) error
type MsgTssPool ¶
type MsgTssPool struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PoolPubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 146-byte string literal not displayed */ KeygenType KeygenType `` /* 134-byte string literal not displayed */ PubKeys []string `protobuf:"bytes,4,rep,name=pub_keys,json=pubKeys,proto3" json:"pub_keys,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Blame Blame `protobuf:"bytes,6,opt,name=blame,proto3" json:"blame"` Chains []string `protobuf:"bytes,7,rep,name=chains,proto3" json:"chains,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,8,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` KeygenTime int64 `protobuf:"varint,9,opt,name=keygen_time,json=keygenTime,proto3" json:"keygen_time,omitempty"` Secp256K1Signature []byte `protobuf:"bytes,11,opt,name=secp256k1_signature,json=secp256k1Signature,proto3" json:"secp256k1_signature,omitempty"` }
func NewMsgTssPool ¶
func NewMsgTssPool(pks []string, poolpk common.PubKey, secp256k1Signature, keysharesBackup []byte, keygenType KeygenType, height int64, bl Blame, chains []string, signer cosmos.AccAddress, keygenTime int64) (*MsgTssPool, error)
NewMsgTssPool is a constructor function for MsgTssPool
func (*MsgTssPool) Descriptor ¶
func (*MsgTssPool) Descriptor() ([]byte, []int)
func (MsgTssPool) GetChains ¶
func (m MsgTssPool) GetChains() common.Chains
func (MsgTssPool) GetPubKeys ¶
func (m MsgTssPool) GetPubKeys() common.PubKeys
func (*MsgTssPool) GetSignBytes ¶
func (m *MsgTssPool) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgTssPool) GetSigners ¶
func (m *MsgTssPool) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (MsgTssPool) IsSuccess ¶
func (m MsgTssPool) IsSuccess() bool
IsSuccess when blame is empty , then treat it as success
func (*MsgTssPool) Marshal ¶
func (m *MsgTssPool) Marshal() (dAtA []byte, err error)
func (*MsgTssPool) MarshalToSizedBuffer ¶
func (m *MsgTssPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTssPool) ProtoMessage ¶
func (*MsgTssPool) ProtoMessage()
func (*MsgTssPool) Reset ¶
func (m *MsgTssPool) Reset()
func (*MsgTssPool) Route ¶
func (m *MsgTssPool) Route() string
Route should return the route key of the module
func (*MsgTssPool) Size ¶
func (m *MsgTssPool) Size() (n int)
func (*MsgTssPool) String ¶
func (m *MsgTssPool) String() string
func (*MsgTssPool) Unmarshal ¶
func (m *MsgTssPool) Unmarshal(dAtA []byte) error
func (*MsgTssPool) ValidateBasic ¶
func (m *MsgTssPool) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgTssPool) XXX_DiscardUnknown ¶
func (m *MsgTssPool) XXX_DiscardUnknown()
func (*MsgTssPool) XXX_Marshal ¶
func (m *MsgTssPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTssPool) XXX_Merge ¶
func (m *MsgTssPool) XXX_Merge(src proto.Message)
func (*MsgTssPool) XXX_Size ¶
func (m *MsgTssPool) XXX_Size() int
func (*MsgTssPool) XXX_Unmarshal ¶
func (m *MsgTssPool) XXX_Unmarshal(b []byte) error
type MsgUnBond ¶
type MsgUnBond struct { TxIn common.Tx `protobuf:"bytes,1,opt,name=tx_in,json=txIn,proto3" json:"tx_in"` NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ BondAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,6,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,7,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` BondProviderAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 175-byte string literal not displayed */ }
func NewMsgUnBond ¶
func NewMsgUnBond(txin common.Tx, nodeAddr cosmos.AccAddress, amount cosmos.Uint, bondAddress common.Address, provider, signer cosmos.AccAddress) *MsgUnBond
NewMsgUnBond create new MsgUnBond message
func (*MsgUnBond) Descriptor ¶
func (*MsgUnBond) GetBondAddress ¶
func (m *MsgUnBond) GetBondAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgUnBond) GetBondProviderAddress ¶
func (m *MsgUnBond) GetBondProviderAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgUnBond) GetNodeAddress ¶
func (m *MsgUnBond) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgUnBond) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (*MsgUnBond) GetSigner ¶
func (m *MsgUnBond) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgUnBond) GetSigners ¶
func (m *MsgUnBond) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgUnBond) MarshalToSizedBuffer ¶
func (*MsgUnBond) ProtoMessage ¶
func (*MsgUnBond) ProtoMessage()
func (*MsgUnBond) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgUnBond) XXX_DiscardUnknown ¶
func (m *MsgUnBond) XXX_DiscardUnknown()
func (*MsgUnBond) XXX_Marshal ¶
func (*MsgUnBond) XXX_Unmarshal ¶
type MsgWithdrawLiquidity ¶
type MsgWithdrawLiquidity struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` WithdrawAddress gitlab_com_thorchain_thornode_common.Address `` /* 160-byte string literal not displayed */ BasisPoints github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ Asset common.Asset `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset"` WithdrawalAsset common.Asset `protobuf:"bytes,5,opt,name=withdrawal_asset,json=withdrawalAsset,proto3" json:"withdrawal_asset"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,6,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func NewMsgWithdrawLiquidity ¶
func NewMsgWithdrawLiquidity(tx common.Tx, withdrawAddress common.Address, withdrawBasisPoints cosmos.Uint, asset, withdrawalAsset common.Asset, signer cosmos.AccAddress) *MsgWithdrawLiquidity
NewMsgWithdrawLiquidity is a constructor function for MsgWithdrawLiquidity
func (*MsgWithdrawLiquidity) Descriptor ¶
func (*MsgWithdrawLiquidity) Descriptor() ([]byte, []int)
func (*MsgWithdrawLiquidity) GetAsset ¶
func (m *MsgWithdrawLiquidity) GetAsset() common.Asset
func (*MsgWithdrawLiquidity) GetSignBytes ¶
func (m *MsgWithdrawLiquidity) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (*MsgWithdrawLiquidity) GetSigner ¶
func (m *MsgWithdrawLiquidity) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*MsgWithdrawLiquidity) GetSigners ¶
func (m *MsgWithdrawLiquidity) GetSigners() []cosmos.AccAddress
GetSigners defines whose signature is required
func (*MsgWithdrawLiquidity) GetTx ¶
func (m *MsgWithdrawLiquidity) GetTx() common.Tx
func (*MsgWithdrawLiquidity) GetWithdrawAddress ¶
func (m *MsgWithdrawLiquidity) GetWithdrawAddress() gitlab_com_thorchain_thornode_common.Address
func (*MsgWithdrawLiquidity) GetWithdrawalAsset ¶
func (m *MsgWithdrawLiquidity) GetWithdrawalAsset() common.Asset
func (*MsgWithdrawLiquidity) Marshal ¶
func (m *MsgWithdrawLiquidity) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawLiquidity) MarshalTo ¶
func (m *MsgWithdrawLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawLiquidity) MarshalToSizedBuffer ¶
func (m *MsgWithdrawLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawLiquidity) ProtoMessage ¶
func (*MsgWithdrawLiquidity) ProtoMessage()
func (*MsgWithdrawLiquidity) Reset ¶
func (m *MsgWithdrawLiquidity) Reset()
func (*MsgWithdrawLiquidity) Route ¶
func (m *MsgWithdrawLiquidity) Route() string
Route should return the route key of the module
func (*MsgWithdrawLiquidity) Size ¶
func (m *MsgWithdrawLiquidity) Size() (n int)
func (*MsgWithdrawLiquidity) String ¶
func (m *MsgWithdrawLiquidity) String() string
func (MsgWithdrawLiquidity) Type ¶
func (m MsgWithdrawLiquidity) Type() string
Type should return the action
func (*MsgWithdrawLiquidity) Unmarshal ¶
func (m *MsgWithdrawLiquidity) Unmarshal(dAtA []byte) error
func (*MsgWithdrawLiquidity) ValidateBasic ¶
func (m *MsgWithdrawLiquidity) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgWithdrawLiquidity) XXX_DiscardUnknown ¶
func (m *MsgWithdrawLiquidity) XXX_DiscardUnknown()
func (*MsgWithdrawLiquidity) XXX_Marshal ¶
func (m *MsgWithdrawLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawLiquidity) XXX_Merge ¶
func (m *MsgWithdrawLiquidity) XXX_Merge(src proto.Message)
func (*MsgWithdrawLiquidity) XXX_Size ¶
func (m *MsgWithdrawLiquidity) XXX_Size() int
func (*MsgWithdrawLiquidity) XXX_Unmarshal ¶
func (m *MsgWithdrawLiquidity) XXX_Unmarshal(b []byte) error
type Network ¶
type Network struct { BondRewardRune github_com_cosmos_cosmos_sdk_types.Uint `` /* 146-byte string literal not displayed */ TotalBondUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 146-byte string literal not displayed */ LPIncomeSplit int64 `protobuf:"varint,5,opt,name=LPIncomeSplit,proto3" json:"LPIncomeSplit,omitempty"` NodeIncomeSplit int64 `protobuf:"varint,6,opt,name=NodeIncomeSplit,proto3" json:"NodeIncomeSplit,omitempty"` OutboundGasSpentRune uint64 `` /* 126-byte string literal not displayed */ OutboundGasWithheldRune uint64 `` /* 135-byte string literal not displayed */ }
func NewNetwork ¶
func NewNetwork() Network
NewNetwork create a new instance Network it is empty though
func (*Network) CalcNodeRewards ¶
CalcNodeRewards calculate node rewards
func (*Network) Descriptor ¶
func (*Network) GetLPIncomeSplit ¶
func (*Network) GetNodeIncomeSplit ¶
func (*Network) GetOutboundGasSpentRune ¶
func (*Network) GetOutboundGasWithheldRune ¶
func (*Network) MarshalToSizedBuffer ¶
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) XXX_DiscardUnknown ¶
func (m *Network) XXX_DiscardUnknown()
func (*Network) XXX_Marshal ¶
func (*Network) XXX_Unmarshal ¶
type NetworkFee ¶
type NetworkFee struct { Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,1,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` TransactionSize uint64 `protobuf:"varint,2,opt,name=transaction_size,json=transactionSize,proto3" json:"transaction_size,omitempty"` TransactionFeeRate uint64 `protobuf:"varint,3,opt,name=transaction_fee_rate,json=transactionFeeRate,proto3" json:"transaction_fee_rate,omitempty"` }
NetworkFee represents the fee rate and typical outbound transaction size. Some chains may have simplifid usage to report the fee as the "fee_rate" and set size to 1.
func NewNetworkFee ¶
func NewNetworkFee(chain common.Chain, transactionSize, transactionFeeRate uint64) NetworkFee
NewNetworkFee create a new instance of network fee
func (*NetworkFee) Descriptor ¶
func (*NetworkFee) Descriptor() ([]byte, []int)
func (*NetworkFee) GetChain ¶
func (m *NetworkFee) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*NetworkFee) GetTransactionFeeRate ¶
func (m *NetworkFee) GetTransactionFeeRate() uint64
func (*NetworkFee) GetTransactionSize ¶
func (m *NetworkFee) GetTransactionSize() uint64
func (*NetworkFee) Marshal ¶
func (m *NetworkFee) Marshal() (dAtA []byte, err error)
func (*NetworkFee) MarshalToSizedBuffer ¶
func (m *NetworkFee) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkFee) ProtoMessage ¶
func (*NetworkFee) ProtoMessage()
func (*NetworkFee) Reset ¶
func (m *NetworkFee) Reset()
func (*NetworkFee) Size ¶
func (m *NetworkFee) Size() (n int)
func (*NetworkFee) String ¶
func (m *NetworkFee) String() string
func (*NetworkFee) Unmarshal ¶
func (m *NetworkFee) Unmarshal(dAtA []byte) error
func (*NetworkFee) Valid ¶
func (m *NetworkFee) Valid() error
Valid - check whether NetworkFee struct represent valid information
func (*NetworkFee) XXX_DiscardUnknown ¶
func (m *NetworkFee) XXX_DiscardUnknown()
func (*NetworkFee) XXX_Marshal ¶
func (m *NetworkFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkFee) XXX_Merge ¶
func (m *NetworkFee) XXX_Merge(src proto.Message)
func (*NetworkFee) XXX_Size ¶
func (m *NetworkFee) XXX_Size() int
func (*NetworkFee) XXX_Unmarshal ¶
func (m *NetworkFee) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` BlameData []byte `protobuf:"bytes,2,opt,name=blame_data,json=blameData,proto3" json:"blame_data,omitempty"` BlameSignature []byte `protobuf:"bytes,3,opt,name=blame_signature,json=blameSignature,proto3" json:"blame_signature,omitempty"` }
func (*Node) Descriptor ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type NodeAccount ¶
type NodeAccount struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ Status NodeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=types.NodeStatus" json:"status,omitempty"` PubKeySet common.PubKeySet `protobuf:"bytes,3,opt,name=pub_key_set,json=pubKeySet,proto3" json:"pub_key_set"` ValidatorConsPubKey string `protobuf:"bytes,4,opt,name=validator_cons_pub_key,json=validatorConsPubKey,proto3" json:"validator_cons_pub_key,omitempty"` Bond github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,5,opt,name=bond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"bond"` ActiveBlockHeight int64 `protobuf:"varint,6,opt,name=active_block_height,json=activeBlockHeight,proto3" json:"active_block_height,omitempty"` BondAddress gitlab_com_thorchain_thornode_common.Address `` /* 148-byte string literal not displayed */ StatusSince int64 `protobuf:"varint,8,opt,name=status_since,json=statusSince,proto3" json:"status_since,omitempty"` SignerMembership []string `protobuf:"bytes,9,rep,name=signer_membership,json=signerMembership,proto3" json:"signer_membership,omitempty"` RequestedToLeave bool `protobuf:"varint,10,opt,name=requested_to_leave,json=requestedToLeave,proto3" json:"requested_to_leave,omitempty"` ForcedToLeave bool `protobuf:"varint,11,opt,name=forced_to_leave,json=forcedToLeave,proto3" json:"forced_to_leave,omitempty"` LeaveScore uint64 `protobuf:"varint,12,opt,name=leave_score,json=leaveScore,proto3" json:"leave_score,omitempty"` IPAddress string `protobuf:"bytes,13,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"` Type NodeType `protobuf:"varint,15,opt,name=type,proto3,enum=types.NodeType" json:"type,omitempty"` }
func GetRandomValidatorNode ¶
func GetRandomValidatorNode(status NodeStatus) NodeAccount
GetRandomValidatorNode creates a random validator node account, used for testing
func GetRandomVaultNode ¶
func GetRandomVaultNode(status NodeStatus) NodeAccount
GetRandomVaultNode creates a random vault node account, used for testing
func NewNodeAccount ¶
func NewNodeAccount(nodeAddress cosmos.AccAddress, status NodeStatus, nodePubKeySet common.PubKeySet, validatorConsPubKey string, bond cosmos.Uint, bondAddress common.Address, height int64) NodeAccount
NewNodeAccount create new instance of NodeAccount
func (*NodeAccount) CalcBondUnits ¶
func (m *NodeAccount) CalcBondUnits(height, slashpoints int64) cosmos.Uint
CalcBondUnits calculate bond
func (*NodeAccount) Descriptor ¶
func (*NodeAccount) Descriptor() ([]byte, []int)
func (*NodeAccount) Equals ¶
func (m *NodeAccount) Equals(n1 NodeAccount) bool
Equals compare two node account, to see whether they are equal
func (*NodeAccount) GetSignerMembership ¶
func (m *NodeAccount) GetSignerMembership() common.PubKeys
GetSignerMembership return a list of pubkey that the node are part of
func (*NodeAccount) GetVersion ¶
func (m *NodeAccount) GetVersion() semver.Version
GetVersion return the node account's version
func (*NodeAccount) IsEmpty ¶
func (m *NodeAccount) IsEmpty() bool
IsEmpty decide whether NodeAccount is empty
func (*NodeAccount) Marshal ¶
func (m *NodeAccount) Marshal() (dAtA []byte, err error)
func (*NodeAccount) MarshalToSizedBuffer ¶
func (m *NodeAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodeAccount) ProtoMessage ¶
func (*NodeAccount) ProtoMessage()
func (*NodeAccount) Reset ¶
func (m *NodeAccount) Reset()
func (*NodeAccount) Size ¶
func (m *NodeAccount) Size() (n int)
func (*NodeAccount) String ¶
func (m *NodeAccount) String() string
String implement fmt.Stringer interface
func (*NodeAccount) TryAddSignerPubKey ¶
func (m *NodeAccount) TryAddSignerPubKey(key common.PubKey)
TryAddSignerPubKey add a key to node account
func (*NodeAccount) TryRemoveSignerPubKey ¶
func (m *NodeAccount) TryRemoveSignerPubKey(key common.PubKey)
TryRemoveSignerPubKey remove the given pubkey from signer membership
func (*NodeAccount) Unmarshal ¶
func (m *NodeAccount) Unmarshal(dAtA []byte) error
func (*NodeAccount) UpdateStatus ¶
func (m *NodeAccount) UpdateStatus(status NodeStatus, height int64)
UpdateStatus change the status of node account, in the mean time update StatusSince field
func (*NodeAccount) Valid ¶
func (m *NodeAccount) Valid() error
Valid check whether NodeAccount has all necessary values
func (*NodeAccount) XXX_DiscardUnknown ¶
func (m *NodeAccount) XXX_DiscardUnknown()
func (*NodeAccount) XXX_Marshal ¶
func (m *NodeAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeAccount) XXX_Merge ¶
func (m *NodeAccount) XXX_Merge(src proto.Message)
func (*NodeAccount) XXX_Size ¶
func (m *NodeAccount) XXX_Size() int
func (*NodeAccount) XXX_Unmarshal ¶
func (m *NodeAccount) XXX_Unmarshal(b []byte) error
type NodeAccounts ¶
type NodeAccounts []NodeAccount
NodeAccounts just a list of NodeAccount
func (NodeAccounts) Contains ¶
func (nas NodeAccounts) Contains(na NodeAccount) bool
Contains will check whether the given node account is in the list
func (NodeAccounts) GetNodeAddresses ¶
func (nas NodeAccounts) GetNodeAddresses() []cosmos.AccAddress
func (NodeAccounts) IsEmpty ¶
func (nas NodeAccounts) IsEmpty() bool
IsEmpty to check whether the NodeAccounts is empty
func (NodeAccounts) IsNodeKeys ¶
func (nas NodeAccounts) IsNodeKeys(addr cosmos.AccAddress) bool
IsNodeKeys validate whether the given account address belongs to an currently active validator
func (NodeAccounts) Less ¶
func (nas NodeAccounts) Less(i, j int) bool
Less is used for sorting - first by status, then by node address.
type NodeMimir ¶
type NodeMimir struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer,omitempty"` }
func (*NodeMimir) Descriptor ¶
func (*NodeMimir) GetSigner ¶
func (m *NodeMimir) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*NodeMimir) MarshalToSizedBuffer ¶
func (*NodeMimir) ProtoMessage ¶
func (*NodeMimir) ProtoMessage()
func (*NodeMimir) XXX_DiscardUnknown ¶
func (m *NodeMimir) XXX_DiscardUnknown()
func (*NodeMimir) XXX_Marshal ¶
func (*NodeMimir) XXX_Unmarshal ¶
type NodeMimirs ¶
type NodeMimirs struct {
Mimirs []NodeMimir `protobuf:"bytes,1,rep,name=mimirs,proto3" json:"mimirs"`
}
func (*NodeMimirs) Delete ¶
func (m *NodeMimirs) Delete(key string, acc cosmos.AccAddress)
func (*NodeMimirs) Descriptor ¶
func (*NodeMimirs) Descriptor() ([]byte, []int)
func (NodeMimirs) Get ¶
func (m NodeMimirs) Get(key string, acc cosmos.AccAddress) (int64, bool)
func (*NodeMimirs) GetMimirs ¶
func (m *NodeMimirs) GetMimirs() []NodeMimir
func (NodeMimirs) Has ¶
func (m NodeMimirs) Has(key string, acc cosmos.AccAddress) bool
func (NodeMimirs) HasMinority ¶
func (m NodeMimirs) HasMinority(key string, nas []cosmos.AccAddress) (int64, bool)
func (NodeMimirs) HasSimpleMajority ¶
func (m NodeMimirs) HasSimpleMajority(key string, nas []cosmos.AccAddress) (int64, bool)
func (NodeMimirs) HasSuperMajority ¶
func (m NodeMimirs) HasSuperMajority(key string, nas []cosmos.AccAddress) (int64, bool)
func (*NodeMimirs) Marshal ¶
func (m *NodeMimirs) Marshal() (dAtA []byte, err error)
func (*NodeMimirs) MarshalToSizedBuffer ¶
func (m *NodeMimirs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodeMimirs) ProtoMessage ¶
func (*NodeMimirs) ProtoMessage()
func (*NodeMimirs) Reset ¶
func (m *NodeMimirs) Reset()
func (*NodeMimirs) Set ¶
func (m *NodeMimirs) Set(key string, val int64, acc cosmos.AccAddress)
func (*NodeMimirs) Size ¶
func (m *NodeMimirs) Size() (n int)
func (*NodeMimirs) String ¶
func (m *NodeMimirs) String() string
func (*NodeMimirs) Unmarshal ¶
func (m *NodeMimirs) Unmarshal(dAtA []byte) error
func (NodeMimirs) ValueOfEconomic ¶
func (m NodeMimirs) ValueOfEconomic(key string, active []cosmos.AccAddress) int64
ValueOfEconomic - fetches the value of a given mimir based on 2/3rds consensus
func (NodeMimirs) ValueOfOperational ¶
func (m NodeMimirs) ValueOfOperational(key string, minVotes int64, active []cosmos.AccAddress) int64
ValueOfOperational - fetches the value of a given mimir based most votes (above min vote)
func (*NodeMimirs) XXX_DiscardUnknown ¶
func (m *NodeMimirs) XXX_DiscardUnknown()
func (*NodeMimirs) XXX_Marshal ¶
func (m *NodeMimirs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeMimirs) XXX_Merge ¶
func (m *NodeMimirs) XXX_Merge(src proto.Message)
func (*NodeMimirs) XXX_Size ¶
func (m *NodeMimirs) XXX_Size() int
func (*NodeMimirs) XXX_Unmarshal ¶
func (m *NodeMimirs) XXX_Unmarshal(b []byte) error
type NodePauseChain ¶
type NodePauseChain struct { NodeAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` }
func (*NodePauseChain) Descriptor ¶
func (*NodePauseChain) Descriptor() ([]byte, []int)
func (*NodePauseChain) GetBlockHeight ¶
func (m *NodePauseChain) GetBlockHeight() int64
func (*NodePauseChain) GetNodeAddress ¶
func (m *NodePauseChain) GetNodeAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*NodePauseChain) Marshal ¶
func (m *NodePauseChain) Marshal() (dAtA []byte, err error)
func (*NodePauseChain) MarshalToSizedBuffer ¶
func (m *NodePauseChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodePauseChain) ProtoMessage ¶
func (*NodePauseChain) ProtoMessage()
func (*NodePauseChain) Reset ¶
func (m *NodePauseChain) Reset()
func (*NodePauseChain) Size ¶
func (m *NodePauseChain) Size() (n int)
func (*NodePauseChain) String ¶
func (m *NodePauseChain) String() string
func (*NodePauseChain) Unmarshal ¶
func (m *NodePauseChain) Unmarshal(dAtA []byte) error
func (*NodePauseChain) XXX_DiscardUnknown ¶
func (m *NodePauseChain) XXX_DiscardUnknown()
func (*NodePauseChain) XXX_Marshal ¶
func (m *NodePauseChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodePauseChain) XXX_Merge ¶
func (m *NodePauseChain) XXX_Merge(src proto.Message)
func (*NodePauseChain) XXX_Size ¶
func (m *NodePauseChain) XXX_Size() int
func (*NodePauseChain) XXX_Unmarshal ¶
func (m *NodePauseChain) XXX_Unmarshal(b []byte) error
type NodeStatus ¶
type NodeStatus int32
const ( NodeStatus_Unknown NodeStatus = 0 NodeStatus_Whitelisted NodeStatus = 1 NodeStatus_Standby NodeStatus = 2 NodeStatus_Ready NodeStatus = 3 NodeStatus_Active NodeStatus = 4 NodeStatus_Disabled NodeStatus = 5 )
func (NodeStatus) EnumDescriptor ¶
func (NodeStatus) EnumDescriptor() ([]byte, []int)
func (NodeStatus) MarshalJSON ¶
func (x NodeStatus) MarshalJSON() ([]byte, error)
MarshalJSON marshal NodeStatus to JSON in string form
func (NodeStatus) String ¶
func (x NodeStatus) String() string
func (*NodeStatus) UnmarshalJSON ¶
func (x *NodeStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON convert string form back to NodeStatus
func (NodeStatus) Valid ¶
func (x NodeStatus) Valid() error
Valid check whether the node status is valid or not
type NodeTssTime ¶
type NodeTssTime struct { Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` TssTime int64 `protobuf:"varint,2,opt,name=tss_time,json=tssTime,proto3" json:"tss_time,omitempty"` }
func (*NodeTssTime) Descriptor ¶
func (*NodeTssTime) Descriptor() ([]byte, []int)
func (*NodeTssTime) GetAddress ¶
func (m *NodeTssTime) GetAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*NodeTssTime) GetTssTime ¶
func (m *NodeTssTime) GetTssTime() int64
func (*NodeTssTime) Marshal ¶
func (m *NodeTssTime) Marshal() (dAtA []byte, err error)
func (*NodeTssTime) MarshalToSizedBuffer ¶
func (m *NodeTssTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodeTssTime) ProtoMessage ¶
func (*NodeTssTime) ProtoMessage()
func (*NodeTssTime) Reset ¶
func (m *NodeTssTime) Reset()
func (*NodeTssTime) Size ¶
func (m *NodeTssTime) Size() (n int)
func (*NodeTssTime) String ¶
func (m *NodeTssTime) String() string
func (*NodeTssTime) Unmarshal ¶
func (m *NodeTssTime) Unmarshal(dAtA []byte) error
func (*NodeTssTime) XXX_DiscardUnknown ¶
func (m *NodeTssTime) XXX_DiscardUnknown()
func (*NodeTssTime) XXX_Marshal ¶
func (m *NodeTssTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeTssTime) XXX_Merge ¶
func (m *NodeTssTime) XXX_Merge(src proto.Message)
func (*NodeTssTime) XXX_Size ¶
func (m *NodeTssTime) XXX_Size() int
func (*NodeTssTime) XXX_Unmarshal ¶
func (m *NodeTssTime) XXX_Unmarshal(b []byte) error
type ObservedNetworkFeeVoter ¶
type ObservedNetworkFeeVoter struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` ReportBlockHeight int64 `protobuf:"varint,2,opt,name=report_block_height,json=reportBlockHeight,proto3" json:"report_block_height,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,3,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` Signers []string `protobuf:"bytes,4,rep,name=signers,proto3" json:"signers,omitempty"` FeeRate int64 `protobuf:"varint,5,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` TransactionSize int64 `protobuf:"varint,6,opt,name=transaction_size,json=transactionSize,proto3" json:"transaction_size,omitempty"` }
func NewObservedNetworkFeeVoter ¶
func NewObservedNetworkFeeVoter(reportBlockHeight int64, chain common.Chain) ObservedNetworkFeeVoter
NewObservedNetworkFeeVoter create a new instance of ObservedNetworkFeeVoter
func (*ObservedNetworkFeeVoter) Descriptor ¶
func (*ObservedNetworkFeeVoter) Descriptor() ([]byte, []int)
func (*ObservedNetworkFeeVoter) GetSigners ¶
func (m *ObservedNetworkFeeVoter) GetSigners() []cosmos.AccAddress
func (*ObservedNetworkFeeVoter) HasConsensus ¶
func (m *ObservedNetworkFeeVoter) HasConsensus(nas NodeAccounts) bool
HasConsensus Determine if this errata has enough signers
func (*ObservedNetworkFeeVoter) HasSigned ¶
func (m *ObservedNetworkFeeVoter) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*ObservedNetworkFeeVoter) ID ¶
func (m *ObservedNetworkFeeVoter) ID() string
func (*ObservedNetworkFeeVoter) IsEmpty ¶
func (m *ObservedNetworkFeeVoter) IsEmpty() bool
IsEmpty return true when chain is empty and block height is 0
func (*ObservedNetworkFeeVoter) Marshal ¶
func (m *ObservedNetworkFeeVoter) Marshal() (dAtA []byte, err error)
func (*ObservedNetworkFeeVoter) MarshalTo ¶
func (m *ObservedNetworkFeeVoter) MarshalTo(dAtA []byte) (int, error)
func (*ObservedNetworkFeeVoter) MarshalToSizedBuffer ¶
func (m *ObservedNetworkFeeVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObservedNetworkFeeVoter) ProtoMessage ¶
func (*ObservedNetworkFeeVoter) ProtoMessage()
func (*ObservedNetworkFeeVoter) Reset ¶
func (m *ObservedNetworkFeeVoter) Reset()
func (*ObservedNetworkFeeVoter) Sign ¶
func (m *ObservedNetworkFeeVoter) Sign(signer cosmos.AccAddress) bool
Sign this voter with given signer address
func (*ObservedNetworkFeeVoter) Size ¶
func (m *ObservedNetworkFeeVoter) Size() (n int)
func (*ObservedNetworkFeeVoter) String ¶
func (m *ObservedNetworkFeeVoter) String() string
String implement fmt.Stringer
func (*ObservedNetworkFeeVoter) Unmarshal ¶
func (m *ObservedNetworkFeeVoter) Unmarshal(dAtA []byte) error
func (*ObservedNetworkFeeVoter) XXX_DiscardUnknown ¶
func (m *ObservedNetworkFeeVoter) XXX_DiscardUnknown()
func (*ObservedNetworkFeeVoter) XXX_Marshal ¶
func (m *ObservedNetworkFeeVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObservedNetworkFeeVoter) XXX_Merge ¶
func (m *ObservedNetworkFeeVoter) XXX_Merge(src proto.Message)
func (*ObservedNetworkFeeVoter) XXX_Size ¶
func (m *ObservedNetworkFeeVoter) XXX_Size() int
func (*ObservedNetworkFeeVoter) XXX_Unmarshal ¶
func (m *ObservedNetworkFeeVoter) XXX_Unmarshal(b []byte) error
type ObservedTx ¶
type ObservedTx struct { Tx common.Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=types.Status" json:"status,omitempty"` OutHashes []string `protobuf:"bytes,3,rep,name=out_hashes,json=outHashes,proto3" json:"out_hashes,omitempty"` BlockHeight int64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Signers []string `protobuf:"bytes,5,rep,name=signers,proto3" json:"signers,omitempty"` ObservedPubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 158-byte string literal not displayed */ KeysignMs int64 `protobuf:"varint,7,opt,name=keysign_ms,json=keysignMs,proto3" json:"keysign_ms,omitempty"` FinaliseHeight int64 `protobuf:"varint,8,opt,name=finalise_height,json=finaliseHeight,proto3" json:"finalise_height,omitempty"` Aggregator string `protobuf:"bytes,9,opt,name=aggregator,proto3" json:"aggregator,omitempty"` AggregatorTarget string `protobuf:"bytes,10,opt,name=aggregator_target,json=aggregatorTarget,proto3" json:"aggregator_target,omitempty"` AggregatorTargetLimit *github_com_cosmos_cosmos_sdk_types.Uint `` /* 178-byte string literal not displayed */ }
func GetRandomObservedTx ¶
func GetRandomObservedTx() ObservedTx
func NewObservedTx ¶
NewObservedTx create a new instance of ObservedTx
func (*ObservedTx) Descriptor ¶
func (*ObservedTx) Descriptor() ([]byte, []int)
func (ObservedTx) Equals ¶
func (m ObservedTx) Equals(tx2 ObservedTx) bool
Equals compare two ObservedTx
func (*ObservedTx) GetOutHashes ¶
func (m *ObservedTx) GetOutHashes() common.TxIDs
func (*ObservedTx) GetSigners ¶
func (m *ObservedTx) GetSigners() []cosmos.AccAddress
GetSigners return all the node address that had sign the tx
func (*ObservedTx) HasSigned ¶
func (m *ObservedTx) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*ObservedTx) IsDone ¶
func (m *ObservedTx) IsDone(numOuts int) bool
IsDone will only return true when the number of out hashes is larger or equals the input number
func (*ObservedTx) IsEmpty ¶
func (m *ObservedTx) IsEmpty() bool
IsEmpty check whether the Tx is empty
func (*ObservedTx) IsFinal ¶
func (m *ObservedTx) IsFinal() bool
IsFinal indicates whether ObserveTx is final.
func (*ObservedTx) Marshal ¶
func (m *ObservedTx) Marshal() (dAtA []byte, err error)
func (*ObservedTx) MarshalToSizedBuffer ¶
func (m *ObservedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObservedTx) ProtoMessage ¶
func (*ObservedTx) ProtoMessage()
func (*ObservedTx) Reset ¶
func (m *ObservedTx) Reset()
func (*ObservedTx) SetDone ¶
func (m *ObservedTx) SetDone(hash common.TxID, numOuts int)
SetDone check the ObservedTx status, update it's status to done if the outbound tx had been processed
func (*ObservedTx) Sign ¶
func (m *ObservedTx) Sign(signer cosmos.AccAddress) bool
Sign add the given node account to signers list if the given signer is already in the list, it will return false, otherwise true
func (*ObservedTx) Size ¶
func (m *ObservedTx) Size() (n int)
func (*ObservedTx) Unmarshal ¶
func (m *ObservedTx) Unmarshal(dAtA []byte) error
func (*ObservedTx) Valid ¶
func (m *ObservedTx) Valid() error
Valid check whether the observed tx represent valid information
func (*ObservedTx) XXX_DiscardUnknown ¶
func (m *ObservedTx) XXX_DiscardUnknown()
func (*ObservedTx) XXX_Marshal ¶
func (m *ObservedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObservedTx) XXX_Merge ¶
func (m *ObservedTx) XXX_Merge(src proto.Message)
func (*ObservedTx) XXX_Size ¶
func (m *ObservedTx) XXX_Size() int
func (*ObservedTx) XXX_Unmarshal ¶
func (m *ObservedTx) XXX_Unmarshal(b []byte) error
type ObservedTxVoter ¶
type ObservedTxVoter struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Tx ObservedTx `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Txs ObservedTxs `protobuf:"bytes,4,rep,name=txs,proto3,castrepeated=ObservedTxs" json:"txs"` Actions []TxOutItem `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions"` OutTxs gitlab_com_thorchain_thornode_common.Txs `protobuf:"bytes,6,rep,name=out_txs,json=outTxs,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Txs" json:"out_txs"` FinalisedHeight int64 `protobuf:"varint,7,opt,name=finalised_height,json=finalisedHeight,proto3" json:"finalised_height,omitempty"` UpdatedVault bool `protobuf:"varint,8,opt,name=updated_vault,json=updatedVault,proto3" json:"updated_vault,omitempty"` Reverted bool `protobuf:"varint,9,opt,name=reverted,proto3" json:"reverted,omitempty"` OutboundHeight int64 `protobuf:"varint,10,opt,name=outbound_height,json=outboundHeight,proto3" json:"outbound_height,omitempty"` }
func GetRandomObservedTxVoter ¶
func GetRandomObservedTxVoter() ObservedTxVoter
func NewObservedTxVoter ¶
func NewObservedTxVoter(txID common.TxID, txs []ObservedTx) ObservedTxVoter
NewObservedTxVoter create a new instance of ObservedTxVoter
func (*ObservedTxVoter) Add ¶
func (m *ObservedTxVoter) Add(observedTx ObservedTx, signer cosmos.AccAddress) bool
Add is trying to add the given observed tx into the voter , if the signer already sign , they will not add twice , it simply return false
func (*ObservedTxVoter) AddOutTx ¶
func (m *ObservedTxVoter) AddOutTx(in common.Tx) bool
AddOutTx trying to add the outbound tx into OutTxs , return value false indicate the given outbound tx doesn't match any of the actions items , node account should be slashed for a malicious tx true indicated the outbound tx matched an action item , and it has been added into internal OutTxs
func (*ObservedTxVoter) Descriptor ¶
func (*ObservedTxVoter) Descriptor() ([]byte, []int)
func (*ObservedTxVoter) GetConsensusSigners ¶
func (m *ObservedTxVoter) GetConsensusSigners() []cosmos.AccAddress
Get consensus signers for slash point decrementation
func (*ObservedTxVoter) GetTx ¶
func (m *ObservedTxVoter) GetTx(nodeAccounts NodeAccounts) ObservedTx
GetTx return the tx that has super majority
func (*ObservedTxVoter) HasConsensus ¶
func (m *ObservedTxVoter) HasConsensus(nodeAccounts NodeAccounts) bool
HasConsensus is to check whether the tx with finalise = false in this ObservedTxVoter reach consensus if ObservedTxVoter HasFinalised , then this function will return true as well
func (*ObservedTxVoter) HasFinalised ¶
func (m *ObservedTxVoter) HasFinalised(nodeAccounts NodeAccounts) bool
HasFinalised is to check whether the tx with finalise = true reach super majority
func (*ObservedTxVoter) IsDone ¶
func (m *ObservedTxVoter) IsDone() bool
IsDone check whether THORChain finished process the tx, all outbound tx had been sent and observed
func (*ObservedTxVoter) Marshal ¶
func (m *ObservedTxVoter) Marshal() (dAtA []byte, err error)
func (*ObservedTxVoter) MarshalToSizedBuffer ¶
func (m *ObservedTxVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObservedTxVoter) ProtoMessage ¶
func (*ObservedTxVoter) ProtoMessage()
func (*ObservedTxVoter) Reset ¶
func (m *ObservedTxVoter) Reset()
func (*ObservedTxVoter) SetDone ¶
func (m *ObservedTxVoter) SetDone()
SetDone set all the tx status to `done` usually the status will be set to done once the outbound tx get observed and processed there are some situation , it doesn't have outbound , those will need to set manually
func (*ObservedTxVoter) SetReverted ¶
func (m *ObservedTxVoter) SetReverted()
SetReverted set all the tx status to `Reverted` , only when a relevant errata tx had been processed
func (*ObservedTxVoter) Size ¶
func (m *ObservedTxVoter) Size() (n int)
func (*ObservedTxVoter) String ¶
func (m *ObservedTxVoter) String() string
String implement fmt.Stringer
func (*ObservedTxVoter) Unmarshal ¶
func (m *ObservedTxVoter) Unmarshal(dAtA []byte) error
func (*ObservedTxVoter) Valid ¶
func (m *ObservedTxVoter) Valid() error
Valid check whether the tx is valid , if it is not , then an error will be returned
func (*ObservedTxVoter) XXX_DiscardUnknown ¶
func (m *ObservedTxVoter) XXX_DiscardUnknown()
func (*ObservedTxVoter) XXX_Marshal ¶
func (m *ObservedTxVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObservedTxVoter) XXX_Merge ¶
func (m *ObservedTxVoter) XXX_Merge(src proto.Message)
func (*ObservedTxVoter) XXX_Size ¶
func (m *ObservedTxVoter) XXX_Size() int
func (*ObservedTxVoter) XXX_Unmarshal ¶
func (m *ObservedTxVoter) XXX_Unmarshal(b []byte) error
type ObservedTxVoters ¶
type ObservedTxVoters []ObservedTxVoter
ObservedTxVoters a list of observed tx voter
type ObservedTxs ¶
type ObservedTxs []ObservedTx
ObservedTxs a list of ObservedTx
func (ObservedTxs) Contains ¶
func (txs ObservedTxs) Contains(tx ObservedTx) bool
type PendingLiquidityType ¶
type PendingLiquidityType int32
const ( PendingLiquidityType_add PendingLiquidityType = 0 PendingLiquidityType_withdraw PendingLiquidityType = 1 )
func (PendingLiquidityType) EnumDescriptor ¶
func (PendingLiquidityType) EnumDescriptor() ([]byte, []int)
func (PendingLiquidityType) String ¶
func (x PendingLiquidityType) String() string
type Pool ¶
type Pool struct { BalanceRune github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ BalanceAsset github_com_cosmos_cosmos_sdk_types.Uint `` /* 138-byte string literal not displayed */ Asset common.Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset"` LPUnits github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=LP_units,json=LPUnits,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"LP_units"` Status PoolStatus `protobuf:"varint,5,opt,name=status,proto3,enum=types.PoolStatus" json:"status,omitempty"` StatusSince int64 `protobuf:"varint,10,opt,name=status_since,json=statusSince,proto3" json:"status_since,omitempty"` Decimals int64 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"` SynthUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 132-byte string literal not displayed */ PendingInboundRune github_com_cosmos_cosmos_sdk_types.Uint `` /* 158-byte string literal not displayed */ PendingInboundAsset github_com_cosmos_cosmos_sdk_types.Uint `` /* 161-byte string literal not displayed */ }
func (Pool) AssetDisbursementForRuneAdd ¶
AssetDisbursementForRuneAdd returns the equivalent amount of asset for a given amount of rune added to the pool, taking slip into account. When this amount is withdrawn from the pool, the constant product of depths rule is preserved.
func (Pool) AssetValueInRune ¶
AssetValueInRune convert a specific amount of asset amt into its rune value
func (*Pool) Descriptor ¶
func (Pool) EnsureValidPoolStatus ¶
EnsureValidPoolStatus make sure the pool is in a valid status otherwise it return an error
func (*Pool) GetPoolUnits ¶
func (Pool) IsAvailable ¶
IsAvailable check whether the pool is in Available status
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (Pool) RuneDisbursementForAssetAdd ¶
RuneDisbursementForAssetAdd returns the equivalent amount of rune for a given amount of asset added to the pool, taking slip into account. When this amount is withdrawn from the pool, the constant product of depths rule is preserved.
func (Pool) RuneReimbursementForAssetWithdrawal ¶
RuneReimbursementForAssetWithdrawal returns the equivalent amount of rune for a given amount of asset withdrawn from the pool, taking slip into account. When this amount is added to the pool, the constant product of depths rule is preserved.
func (Pool) RuneValueInAsset ¶
RuneValueInAsset convert a specific amount of rune amt into its asset value
func (Pool) Valid ¶
Valid check whether the pool is valid or not, if asset is empty then it is not valid
func (*Pool) XXX_DiscardUnknown ¶
func (m *Pool) XXX_DiscardUnknown()
func (*Pool) XXX_Unmarshal ¶
type PoolAmt ¶
type PoolAmt struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*PoolAmt) Descriptor ¶
func (*PoolAmt) MarshalToSizedBuffer ¶
func (*PoolAmt) ProtoMessage ¶
func (*PoolAmt) ProtoMessage()
func (*PoolAmt) XXX_DiscardUnknown ¶
func (m *PoolAmt) XXX_DiscardUnknown()
func (*PoolAmt) XXX_Marshal ¶
func (*PoolAmt) XXX_Unmarshal ¶
type PoolMod ¶
type PoolMod struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` RuneAmt github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=rune_amt,json=runeAmt,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"rune_amt"` RuneAdd bool `protobuf:"varint,3,opt,name=rune_add,json=runeAdd,proto3" json:"rune_add,omitempty"` AssetAmt github_com_cosmos_cosmos_sdk_types.Uint `` /* 126-byte string literal not displayed */ AssetAdd bool `protobuf:"varint,5,opt,name=asset_add,json=assetAdd,proto3" json:"asset_add,omitempty"` }
func NewPoolMod ¶
func NewPoolMod(asset common.Asset, runeAmt cosmos.Uint, runeAdd bool, assetAmt cosmos.Uint, assetAdd bool) PoolMod
NewPoolMod create a new instance of PoolMod
func (*PoolMod) Descriptor ¶
func (*PoolMod) GetAssetAdd ¶
func (*PoolMod) GetRuneAdd ¶
func (*PoolMod) MarshalToSizedBuffer ¶
func (*PoolMod) ProtoMessage ¶
func (*PoolMod) ProtoMessage()
func (*PoolMod) XXX_DiscardUnknown ¶
func (m *PoolMod) XXX_DiscardUnknown()
func (*PoolMod) XXX_Marshal ¶
func (*PoolMod) XXX_Unmarshal ¶
type PoolStatus ¶
type PoolStatus int32
| State | Swap | Add | Withdraw | Refunding | | ----------- | ---- | ----- | --------- | --------- | | `staged` | no | yes | yes | Refund Invalid Add/Remove Liquidity && all Swaps | | `available` | yes | yes | yes | Refund Invalid Tx | | `suspended` | no | no | no | Refund all |
const ( PoolStatus_UnknownPoolStatus PoolStatus = 0 PoolStatus_Available PoolStatus = 1 PoolStatus_Staged PoolStatus = 2 PoolStatus_Suspended PoolStatus = 3 )
func (PoolStatus) EnumDescriptor ¶
func (PoolStatus) EnumDescriptor() ([]byte, []int)
func (PoolStatus) MarshalJSON ¶
func (x PoolStatus) MarshalJSON() ([]byte, error)
MarshalJSON marshal PoolStatus to JSON in string form
func (PoolStatus) String ¶
func (x PoolStatus) String() string
func (*PoolStatus) UnmarshalJSON ¶
func (x *PoolStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON convert string form back to PoolStatus
func (PoolStatus) Valid ¶
func (x PoolStatus) Valid() error
Valid is to check whether the pool status is valid or not
type ProtoAccAddresses ¶
type ProtoAccAddresses struct {
Value []github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,rep,name=value,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"value,omitempty"`
}
func (*ProtoAccAddresses) Descriptor ¶
func (*ProtoAccAddresses) Descriptor() ([]byte, []int)
func (*ProtoAccAddresses) GetValue ¶
func (m *ProtoAccAddresses) GetValue() []github_com_cosmos_cosmos_sdk_types.AccAddress
func (*ProtoAccAddresses) Marshal ¶
func (m *ProtoAccAddresses) Marshal() (dAtA []byte, err error)
func (*ProtoAccAddresses) MarshalTo ¶
func (m *ProtoAccAddresses) MarshalTo(dAtA []byte) (int, error)
func (*ProtoAccAddresses) MarshalToSizedBuffer ¶
func (m *ProtoAccAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtoAccAddresses) ProtoMessage ¶
func (*ProtoAccAddresses) ProtoMessage()
func (*ProtoAccAddresses) Reset ¶
func (m *ProtoAccAddresses) Reset()
func (*ProtoAccAddresses) Size ¶
func (m *ProtoAccAddresses) Size() (n int)
func (*ProtoAccAddresses) String ¶
func (m *ProtoAccAddresses) String() string
func (*ProtoAccAddresses) Unmarshal ¶
func (m *ProtoAccAddresses) Unmarshal(dAtA []byte) error
func (*ProtoAccAddresses) XXX_DiscardUnknown ¶
func (m *ProtoAccAddresses) XXX_DiscardUnknown()
func (*ProtoAccAddresses) XXX_Marshal ¶
func (m *ProtoAccAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoAccAddresses) XXX_Merge ¶
func (m *ProtoAccAddresses) XXX_Merge(src proto.Message)
func (*ProtoAccAddresses) XXX_Size ¶
func (m *ProtoAccAddresses) XXX_Size() int
func (*ProtoAccAddresses) XXX_Unmarshal ¶
func (m *ProtoAccAddresses) XXX_Unmarshal(b []byte) error
type ProtoBools ¶
type ProtoBools struct {
Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
}
func (*ProtoBools) Descriptor ¶
func (*ProtoBools) Descriptor() ([]byte, []int)
func (*ProtoBools) GetValue ¶
func (m *ProtoBools) GetValue() []bool
func (*ProtoBools) Marshal ¶
func (m *ProtoBools) Marshal() (dAtA []byte, err error)
func (*ProtoBools) MarshalToSizedBuffer ¶
func (m *ProtoBools) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtoBools) ProtoMessage ¶
func (*ProtoBools) ProtoMessage()
func (*ProtoBools) Reset ¶
func (m *ProtoBools) Reset()
func (*ProtoBools) Size ¶
func (m *ProtoBools) Size() (n int)
func (*ProtoBools) String ¶
func (m *ProtoBools) String() string
func (*ProtoBools) Unmarshal ¶
func (m *ProtoBools) Unmarshal(dAtA []byte) error
func (*ProtoBools) XXX_DiscardUnknown ¶
func (m *ProtoBools) XXX_DiscardUnknown()
func (*ProtoBools) XXX_Marshal ¶
func (m *ProtoBools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoBools) XXX_Merge ¶
func (m *ProtoBools) XXX_Merge(src proto.Message)
func (*ProtoBools) XXX_Size ¶
func (m *ProtoBools) XXX_Size() int
func (*ProtoBools) XXX_Unmarshal ¶
func (m *ProtoBools) XXX_Unmarshal(b []byte) error
type ProtoInt64 ¶
type ProtoInt64 struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*ProtoInt64) Descriptor ¶
func (*ProtoInt64) Descriptor() ([]byte, []int)
func (*ProtoInt64) GetValue ¶
func (m *ProtoInt64) GetValue() int64
func (*ProtoInt64) Marshal ¶
func (m *ProtoInt64) Marshal() (dAtA []byte, err error)
func (*ProtoInt64) MarshalToSizedBuffer ¶
func (m *ProtoInt64) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtoInt64) ProtoMessage ¶
func (*ProtoInt64) ProtoMessage()
func (*ProtoInt64) Reset ¶
func (m *ProtoInt64) Reset()
func (*ProtoInt64) Size ¶
func (m *ProtoInt64) Size() (n int)
func (*ProtoInt64) String ¶
func (m *ProtoInt64) String() string
func (*ProtoInt64) Unmarshal ¶
func (m *ProtoInt64) Unmarshal(dAtA []byte) error
func (*ProtoInt64) XXX_DiscardUnknown ¶
func (m *ProtoInt64) XXX_DiscardUnknown()
func (*ProtoInt64) XXX_Marshal ¶
func (m *ProtoInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoInt64) XXX_Merge ¶
func (m *ProtoInt64) XXX_Merge(src proto.Message)
func (*ProtoInt64) XXX_Size ¶
func (m *ProtoInt64) XXX_Size() int
func (*ProtoInt64) XXX_Unmarshal ¶
func (m *ProtoInt64) XXX_Unmarshal(b []byte) error
type ProtoStrings ¶
type ProtoStrings struct {
Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}
func (*ProtoStrings) Descriptor ¶
func (*ProtoStrings) Descriptor() ([]byte, []int)
func (*ProtoStrings) GetValue ¶
func (m *ProtoStrings) GetValue() []string
func (*ProtoStrings) Marshal ¶
func (m *ProtoStrings) Marshal() (dAtA []byte, err error)
func (*ProtoStrings) MarshalToSizedBuffer ¶
func (m *ProtoStrings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtoStrings) ProtoMessage ¶
func (*ProtoStrings) ProtoMessage()
func (*ProtoStrings) Reset ¶
func (m *ProtoStrings) Reset()
func (*ProtoStrings) Size ¶
func (m *ProtoStrings) Size() (n int)
func (*ProtoStrings) String ¶
func (m *ProtoStrings) String() string
func (*ProtoStrings) Unmarshal ¶
func (m *ProtoStrings) Unmarshal(dAtA []byte) error
func (*ProtoStrings) XXX_DiscardUnknown ¶
func (m *ProtoStrings) XXX_DiscardUnknown()
func (*ProtoStrings) XXX_Marshal ¶
func (m *ProtoStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoStrings) XXX_Merge ¶
func (m *ProtoStrings) XXX_Merge(src proto.Message)
func (*ProtoStrings) XXX_Size ¶
func (m *ProtoStrings) XXX_Size() int
func (*ProtoStrings) XXX_Unmarshal ¶
func (m *ProtoStrings) XXX_Unmarshal(b []byte) error
type ProtoUint64 ¶
type ProtoUint64 struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*ProtoUint64) Descriptor ¶
func (*ProtoUint64) Descriptor() ([]byte, []int)
func (*ProtoUint64) GetValue ¶
func (m *ProtoUint64) GetValue() uint64
func (*ProtoUint64) Marshal ¶
func (m *ProtoUint64) Marshal() (dAtA []byte, err error)
func (*ProtoUint64) MarshalToSizedBuffer ¶
func (m *ProtoUint64) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProtoUint64) ProtoMessage ¶
func (*ProtoUint64) ProtoMessage()
func (*ProtoUint64) Reset ¶
func (m *ProtoUint64) Reset()
func (*ProtoUint64) Size ¶
func (m *ProtoUint64) Size() (n int)
func (*ProtoUint64) String ¶
func (m *ProtoUint64) String() string
func (*ProtoUint64) Unmarshal ¶
func (m *ProtoUint64) Unmarshal(dAtA []byte) error
func (*ProtoUint64) XXX_DiscardUnknown ¶
func (m *ProtoUint64) XXX_DiscardUnknown()
func (*ProtoUint64) XXX_Marshal ¶
func (m *ProtoUint64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoUint64) XXX_Merge ¶
func (m *ProtoUint64) XXX_Merge(src proto.Message)
func (*ProtoUint64) XXX_Size ¶
func (m *ProtoUint64) XXX_Size() int
func (*ProtoUint64) XXX_Unmarshal ¶
func (m *ProtoUint64) XXX_Unmarshal(b []byte) error
type ProtocolOwnedLiquidity ¶
type ProtocolOwnedLiquidity struct { RuneDeposited github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ RuneWithdrawn github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ }
func NewProtocolOwnedLiquidity ¶
func NewProtocolOwnedLiquidity() ProtocolOwnedLiquidity
NewProtocolOwnedLiquidity create a new instance ProtocolOwnedLiquidity it is empty though
func (ProtocolOwnedLiquidity) CurrentDeposit ¶
func (pol ProtocolOwnedLiquidity) CurrentDeposit() cosmos.Int
func (*ProtocolOwnedLiquidity) Descriptor ¶
func (*ProtocolOwnedLiquidity) Descriptor() ([]byte, []int)
func (*ProtocolOwnedLiquidity) Marshal ¶
func (m *ProtocolOwnedLiquidity) Marshal() (dAtA []byte, err error)
func (*ProtocolOwnedLiquidity) MarshalTo ¶
func (m *ProtocolOwnedLiquidity) MarshalTo(dAtA []byte) (int, error)
func (*ProtocolOwnedLiquidity) MarshalToSizedBuffer ¶
func (m *ProtocolOwnedLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (ProtocolOwnedLiquidity) PnL ¶
func (pol ProtocolOwnedLiquidity) PnL(value cosmos.Uint) cosmos.Int
PnL - Profit and Loss
func (*ProtocolOwnedLiquidity) ProtoMessage ¶
func (*ProtocolOwnedLiquidity) ProtoMessage()
func (*ProtocolOwnedLiquidity) Reset ¶
func (m *ProtocolOwnedLiquidity) Reset()
func (*ProtocolOwnedLiquidity) Size ¶
func (m *ProtocolOwnedLiquidity) Size() (n int)
func (*ProtocolOwnedLiquidity) String ¶
func (m *ProtocolOwnedLiquidity) String() string
func (*ProtocolOwnedLiquidity) Unmarshal ¶
func (m *ProtocolOwnedLiquidity) Unmarshal(dAtA []byte) error
func (*ProtocolOwnedLiquidity) XXX_DiscardUnknown ¶
func (m *ProtocolOwnedLiquidity) XXX_DiscardUnknown()
func (*ProtocolOwnedLiquidity) XXX_Marshal ¶
func (m *ProtocolOwnedLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtocolOwnedLiquidity) XXX_Merge ¶
func (m *ProtocolOwnedLiquidity) XXX_Merge(src proto.Message)
func (*ProtocolOwnedLiquidity) XXX_Size ¶
func (m *ProtocolOwnedLiquidity) XXX_Size() int
func (*ProtocolOwnedLiquidity) XXX_Unmarshal ¶
func (m *ProtocolOwnedLiquidity) XXX_Unmarshal(b []byte) error
type QueryBlockResponse ¶
type QueryBlockResponse struct { openapi.BlockResponse Txs []QueryBlockTx `json:"txs"` }
QueryBlockResponse overrides the openapi type with a custom Txs field for marshaling.
type QueryBlockTx ¶
type QueryBlockTx struct { openapi.BlockTx Tx json.RawMessage `json:"tx,omitempty"` }
QueryBlockTx overrides the openapi type with a custom Tx field for marshaling.
type RUNEPool ¶
type RUNEPool struct { ReserveUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 138-byte string literal not displayed */ PoolUnits github_com_cosmos_cosmos_sdk_types.Uint `` /* 129-byte string literal not displayed */ RuneDeposited github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ RuneWithdrawn github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ }
RUNEPool represents ownership of currently active POL.
func NewRUNEPool ¶
func NewRUNEPool() RUNEPool
func (RUNEPool) CurrentDeposit ¶
func (*RUNEPool) Descriptor ¶
func (*RUNEPool) MarshalToSizedBuffer ¶
func (*RUNEPool) ProtoMessage ¶
func (*RUNEPool) ProtoMessage()
func (RUNEPool) TotalUnits ¶
func (*RUNEPool) XXX_DiscardUnknown ¶
func (m *RUNEPool) XXX_DiscardUnknown()
func (*RUNEPool) XXX_Marshal ¶
func (*RUNEPool) XXX_Unmarshal ¶
type RUNEProvider ¶
type RUNEProvider struct { RuneAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 149-byte string literal not displayed */ DepositAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ WithdrawAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 144-byte string literal not displayed */ Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` LastDepositHeight int64 `protobuf:"varint,5,opt,name=last_deposit_height,json=lastDepositHeight,proto3" json:"last_deposit_height,omitempty"` LastWithdrawHeight int64 `protobuf:"varint,6,opt,name=last_withdraw_height,json=lastWithdrawHeight,proto3" json:"last_withdraw_height,omitempty"` }
func NewRUNEProvider ¶
func NewRUNEProvider(addr cosmos.AccAddress) RUNEProvider
func (*RUNEProvider) Descriptor ¶
func (*RUNEProvider) Descriptor() ([]byte, []int)
func (*RUNEProvider) GetLastDepositHeight ¶
func (m *RUNEProvider) GetLastDepositHeight() int64
func (*RUNEProvider) GetLastWithdrawHeight ¶
func (m *RUNEProvider) GetLastWithdrawHeight() int64
func (*RUNEProvider) GetRuneAddress ¶
func (m *RUNEProvider) GetRuneAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (RUNEProvider) Key ¶
func (rp RUNEProvider) Key() string
func (*RUNEProvider) Marshal ¶
func (m *RUNEProvider) Marshal() (dAtA []byte, err error)
func (*RUNEProvider) MarshalToSizedBuffer ¶
func (m *RUNEProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RUNEProvider) ProtoMessage ¶
func (*RUNEProvider) ProtoMessage()
func (*RUNEProvider) Reset ¶
func (m *RUNEProvider) Reset()
func (*RUNEProvider) Size ¶
func (m *RUNEProvider) Size() (n int)
func (*RUNEProvider) String ¶
func (m *RUNEProvider) String() string
func (*RUNEProvider) Unmarshal ¶
func (m *RUNEProvider) Unmarshal(dAtA []byte) error
func (*RUNEProvider) XXX_DiscardUnknown ¶
func (m *RUNEProvider) XXX_DiscardUnknown()
func (*RUNEProvider) XXX_Marshal ¶
func (m *RUNEProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RUNEProvider) XXX_Merge ¶
func (m *RUNEProvider) XXX_Merge(src proto.Message)
func (*RUNEProvider) XXX_Size ¶
func (m *RUNEProvider) XXX_Size() int
func (*RUNEProvider) XXX_Unmarshal ¶
func (m *RUNEProvider) XXX_Unmarshal(b []byte) error
type RagnarokWithdrawPosition ¶
type RagnarokWithdrawPosition struct { Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Pool common.Asset `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool"` }
func (*RagnarokWithdrawPosition) Descriptor ¶
func (*RagnarokWithdrawPosition) Descriptor() ([]byte, []int)
func (*RagnarokWithdrawPosition) GetNumber ¶
func (m *RagnarokWithdrawPosition) GetNumber() int64
func (*RagnarokWithdrawPosition) GetPool ¶
func (m *RagnarokWithdrawPosition) GetPool() common.Asset
func (RagnarokWithdrawPosition) IsEmpty ¶
func (m RagnarokWithdrawPosition) IsEmpty() bool
IsEmpty whether the position is empty
func (*RagnarokWithdrawPosition) Marshal ¶
func (m *RagnarokWithdrawPosition) Marshal() (dAtA []byte, err error)
func (*RagnarokWithdrawPosition) MarshalTo ¶
func (m *RagnarokWithdrawPosition) MarshalTo(dAtA []byte) (int, error)
func (*RagnarokWithdrawPosition) MarshalToSizedBuffer ¶
func (m *RagnarokWithdrawPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RagnarokWithdrawPosition) ProtoMessage ¶
func (*RagnarokWithdrawPosition) ProtoMessage()
func (*RagnarokWithdrawPosition) Reset ¶
func (m *RagnarokWithdrawPosition) Reset()
func (*RagnarokWithdrawPosition) Size ¶
func (m *RagnarokWithdrawPosition) Size() (n int)
func (*RagnarokWithdrawPosition) String ¶
func (m *RagnarokWithdrawPosition) String() string
func (*RagnarokWithdrawPosition) Unmarshal ¶
func (m *RagnarokWithdrawPosition) Unmarshal(dAtA []byte) error
func (*RagnarokWithdrawPosition) XXX_DiscardUnknown ¶
func (m *RagnarokWithdrawPosition) XXX_DiscardUnknown()
func (*RagnarokWithdrawPosition) XXX_Marshal ¶
func (m *RagnarokWithdrawPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RagnarokWithdrawPosition) XXX_Merge ¶
func (m *RagnarokWithdrawPosition) XXX_Merge(src proto.Message)
func (*RagnarokWithdrawPosition) XXX_Size ¶
func (m *RagnarokWithdrawPosition) XXX_Size() int
func (*RagnarokWithdrawPosition) XXX_Unmarshal ¶
func (m *RagnarokWithdrawPosition) XXX_Unmarshal(b []byte) error
type ReserveContributor ¶
type ReserveContributor struct { Address gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` }
func NewReserveContributor ¶
func NewReserveContributor(addr common.Address, amt cosmos.Uint) ReserveContributor
NewReserveContributor create a new instance of Reserve Contributor
func (*ReserveContributor) Descriptor ¶
func (*ReserveContributor) Descriptor() ([]byte, []int)
func (*ReserveContributor) GetAddress ¶
func (m *ReserveContributor) GetAddress() gitlab_com_thorchain_thornode_common.Address
func (*ReserveContributor) IsEmpty ¶
func (m *ReserveContributor) IsEmpty() bool
IsEmpty return true when the reserve contributor's address is empty
func (*ReserveContributor) Marshal ¶
func (m *ReserveContributor) Marshal() (dAtA []byte, err error)
func (*ReserveContributor) MarshalTo ¶
func (m *ReserveContributor) MarshalTo(dAtA []byte) (int, error)
func (*ReserveContributor) MarshalToSizedBuffer ¶
func (m *ReserveContributor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReserveContributor) ProtoMessage ¶
func (*ReserveContributor) ProtoMessage()
func (*ReserveContributor) Reset ¶
func (m *ReserveContributor) Reset()
func (*ReserveContributor) Size ¶
func (m *ReserveContributor) Size() (n int)
func (*ReserveContributor) String ¶
func (m *ReserveContributor) String() string
func (*ReserveContributor) Unmarshal ¶
func (m *ReserveContributor) Unmarshal(dAtA []byte) error
func (*ReserveContributor) Valid ¶
func (m *ReserveContributor) Valid() error
Valid check whether reserve contributor has all necessary values
func (*ReserveContributor) XXX_DiscardUnknown ¶
func (m *ReserveContributor) XXX_DiscardUnknown()
func (*ReserveContributor) XXX_Marshal ¶
func (m *ReserveContributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReserveContributor) XXX_Merge ¶
func (m *ReserveContributor) XXX_Merge(src proto.Message)
func (*ReserveContributor) XXX_Size ¶
func (m *ReserveContributor) XXX_Size() int
func (*ReserveContributor) XXX_Unmarshal ¶
func (m *ReserveContributor) XXX_Unmarshal(b []byte) error
type ReserveContributors ¶
type ReserveContributors []ReserveContributor
ReserveContributors a list of reserve contributors
func (ReserveContributors) Add ¶
func (reses ReserveContributors) Add(res ReserveContributor) ReserveContributors
Add the given reserve contributor to list
type SolvencyVoter ¶
type SolvencyVoter struct { Id gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=id,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"id,omitempty"` Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,2,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ Coins gitlab_com_thorchain_thornode_common.Coins `protobuf:"bytes,4,rep,name=coins,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Coins" json:"coins"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` ConsensusBlockHeight int64 `protobuf:"varint,6,opt,name=consensus_block_height,json=consensusBlockHeight,proto3" json:"consensus_block_height,omitempty"` Signers []string `protobuf:"bytes,7,rep,name=signers,proto3" json:"signers,omitempty"` }
func NewSolvencyVoter ¶
func NewSolvencyVoter(id common.TxID, chain common.Chain, pubKey common.PubKey, coins common.Coins, height int64, signer cosmos.AccAddress) SolvencyVoter
NewSolvencyVoter create a new solvency voter
func (*SolvencyVoter) Descriptor ¶
func (*SolvencyVoter) Descriptor() ([]byte, []int)
func (*SolvencyVoter) Empty ¶
func (m *SolvencyVoter) Empty() bool
Empty check whether TxID or Chain is empty
func (*SolvencyVoter) GetSigners ¶
func (m *SolvencyVoter) GetSigners() []cosmos.AccAddress
func (*SolvencyVoter) HasConsensus ¶
func (m *SolvencyVoter) HasConsensus(nas NodeAccounts) bool
HasConsensus determine if this errata has enough signers
func (*SolvencyVoter) HasSigned ¶
func (m *SolvencyVoter) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*SolvencyVoter) Marshal ¶
func (m *SolvencyVoter) Marshal() (dAtA []byte, err error)
func (*SolvencyVoter) MarshalToSizedBuffer ¶
func (m *SolvencyVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SolvencyVoter) ProtoMessage ¶
func (*SolvencyVoter) ProtoMessage()
func (*SolvencyVoter) Reset ¶
func (m *SolvencyVoter) Reset()
func (*SolvencyVoter) Sign ¶
func (m *SolvencyVoter) Sign(signer cosmos.AccAddress) bool
Sign this voter with given signer address
func (*SolvencyVoter) Size ¶
func (m *SolvencyVoter) Size() (n int)
func (*SolvencyVoter) String ¶
func (m *SolvencyVoter) String() string
String implement fmt.Stinger , return a string representation of solvency tx voter
func (*SolvencyVoter) Unmarshal ¶
func (m *SolvencyVoter) Unmarshal(dAtA []byte) error
func (*SolvencyVoter) XXX_DiscardUnknown ¶
func (m *SolvencyVoter) XXX_DiscardUnknown()
func (*SolvencyVoter) XXX_Marshal ¶
func (m *SolvencyVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SolvencyVoter) XXX_Merge ¶
func (m *SolvencyVoter) XXX_Merge(src proto.Message)
func (*SolvencyVoter) XXX_Size ¶
func (m *SolvencyVoter) XXX_Size() int
func (*SolvencyVoter) XXX_Unmarshal ¶
func (m *SolvencyVoter) XXX_Unmarshal(b []byte) error
type Status ¶
type Status int32
func (Status) EnumDescriptor ¶
func (Status) MarshalJSON ¶
MarshalJSON marshal Status to JSON in string form
func (*Status) UnmarshalJSON ¶
UnmarshalJSON convert string form back to Status
type StreamingSwap ¶
type StreamingSwap struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` Interval uint64 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` Quantity uint64 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` LastHeight int64 `protobuf:"varint,5,opt,name=last_height,json=lastHeight,proto3" json:"last_height,omitempty"` TradeTarget github_com_cosmos_cosmos_sdk_types.Uint `` /* 135-byte string literal not displayed */ Deposit github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,7,opt,name=deposit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"deposit"` In github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,8,opt,name=in,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"in"` Out github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,9,opt,name=out,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"out"` FailedSwaps []uint64 `protobuf:"varint,10,rep,packed,name=failed_swaps,json=failedSwaps,proto3" json:"failed_swaps,omitempty"` FailedSwapReasons []string `protobuf:"bytes,11,rep,name=failed_swap_reasons,json=failedSwapReasons,proto3" json:"failed_swap_reasons,omitempty"` }
func NewStreamingSwap ¶
func (*StreamingSwap) DefaultSwapSize ¶
func (m *StreamingSwap) DefaultSwapSize() cosmos.Uint
func (*StreamingSwap) Descriptor ¶
func (*StreamingSwap) Descriptor() ([]byte, []int)
func (*StreamingSwap) GetCount ¶
func (m *StreamingSwap) GetCount() uint64
func (*StreamingSwap) GetFailedSwapReasons ¶
func (m *StreamingSwap) GetFailedSwapReasons() []string
func (*StreamingSwap) GetFailedSwaps ¶
func (m *StreamingSwap) GetFailedSwaps() []uint64
func (*StreamingSwap) GetInterval ¶
func (m *StreamingSwap) GetInterval() uint64
func (*StreamingSwap) GetLastHeight ¶
func (m *StreamingSwap) GetLastHeight() int64
func (*StreamingSwap) GetQuantity ¶
func (m *StreamingSwap) GetQuantity() uint64
func (*StreamingSwap) GetTxID ¶
func (m *StreamingSwap) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*StreamingSwap) IsDone ¶
func (m *StreamingSwap) IsDone() bool
func (*StreamingSwap) IsLastSwap ¶
func (m *StreamingSwap) IsLastSwap() bool
func (*StreamingSwap) Marshal ¶
func (m *StreamingSwap) Marshal() (dAtA []byte, err error)
func (*StreamingSwap) MarshalToSizedBuffer ¶
func (m *StreamingSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamingSwap) ProtoMessage ¶
func (*StreamingSwap) ProtoMessage()
func (*StreamingSwap) Reset ¶
func (m *StreamingSwap) Reset()
func (*StreamingSwap) Size ¶
func (m *StreamingSwap) Size() (n int)
func (*StreamingSwap) String ¶
func (m *StreamingSwap) String() string
func (*StreamingSwap) Unmarshal ¶
func (m *StreamingSwap) Unmarshal(dAtA []byte) error
func (*StreamingSwap) Valid ¶
func (m *StreamingSwap) Valid() error
func (*StreamingSwap) XXX_DiscardUnknown ¶
func (m *StreamingSwap) XXX_DiscardUnknown()
func (*StreamingSwap) XXX_Marshal ¶
func (m *StreamingSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamingSwap) XXX_Merge ¶
func (m *StreamingSwap) XXX_Merge(src proto.Message)
func (*StreamingSwap) XXX_Size ¶
func (m *StreamingSwap) XXX_Size() int
func (*StreamingSwap) XXX_Unmarshal ¶
func (m *StreamingSwap) XXX_Unmarshal(b []byte) error
type StreamingSwaps ¶
type StreamingSwaps []StreamingSwap
type SwapperClout ¶
type SwapperClout struct { Address gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"address,omitempty"` Score github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=score,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"score"` Reclaimed github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=reclaimed,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"reclaimed"` Spent github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=spent,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"spent"` LastSpentHeight int64 `protobuf:"varint,5,opt,name=last_spent_height,json=lastSpentHeight,proto3" json:"last_spent_height,omitempty"` LastReclaimHeight int64 `protobuf:"varint,6,opt,name=last_reclaim_height,json=lastReclaimHeight,proto3" json:"last_reclaim_height,omitempty"` }
func NewSwapperClout ¶
func NewSwapperClout(addr common.Address) SwapperClout
func (SwapperClout) Available ¶
func (c SwapperClout) Available() cosmos.Uint
calculate the available clout to spend
func (SwapperClout) Claimable ¶
func (c SwapperClout) Claimable() cosmos.Uint
calculate the available clout to reclaim
func (*SwapperClout) Descriptor ¶
func (*SwapperClout) Descriptor() ([]byte, []int)
func (*SwapperClout) GetAddress ¶
func (m *SwapperClout) GetAddress() gitlab_com_thorchain_thornode_common.Address
func (*SwapperClout) GetLastReclaimHeight ¶
func (m *SwapperClout) GetLastReclaimHeight() int64
func (*SwapperClout) GetLastSpentHeight ¶
func (m *SwapperClout) GetLastSpentHeight() int64
func (*SwapperClout) Marshal ¶
func (m *SwapperClout) Marshal() (dAtA []byte, err error)
func (*SwapperClout) MarshalToSizedBuffer ¶
func (m *SwapperClout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SwapperClout) ProtoMessage ¶
func (*SwapperClout) ProtoMessage()
func (*SwapperClout) Reclaim ¶
func (c *SwapperClout) Reclaim(value cosmos.Uint)
func (*SwapperClout) Reset ¶
func (m *SwapperClout) Reset()
func (*SwapperClout) Restore ¶
func (c *SwapperClout) Restore(height, limit int64)
if last spent occurred more than the limit, then reset the reclaim to equal spent. This means that clout is restored to 100% clout available after "limit" blocks have occurred without a swap. This is helpful if there is an accounting bug, it is corrected automatically after "limit" (typically 1 hour)
func (*SwapperClout) Size ¶
func (m *SwapperClout) Size() (n int)
func (*SwapperClout) String ¶
func (m *SwapperClout) String() string
func (*SwapperClout) Unmarshal ¶
func (m *SwapperClout) Unmarshal(dAtA []byte) error
func (SwapperClout) Valid ¶
func (c SwapperClout) Valid() error
func (*SwapperClout) XXX_DiscardUnknown ¶
func (m *SwapperClout) XXX_DiscardUnknown()
func (*SwapperClout) XXX_Marshal ¶
func (m *SwapperClout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SwapperClout) XXX_Merge ¶
func (m *SwapperClout) XXX_Merge(src proto.Message)
func (*SwapperClout) XXX_Size ¶
func (m *SwapperClout) XXX_Size() int
func (*SwapperClout) XXX_Unmarshal ¶
func (m *SwapperClout) XXX_Unmarshal(b []byte) error
type THORName ¶
type THORName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ExpireBlockHeight int64 `protobuf:"varint,2,opt,name=expire_block_height,json=expireBlockHeight,proto3" json:"expire_block_height,omitempty"` Owner github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"` PreferredAsset common.Asset `protobuf:"bytes,4,opt,name=preferred_asset,json=preferredAsset,proto3" json:"preferred_asset"` Aliases []THORNameAlias `protobuf:"bytes,5,rep,name=aliases,proto3" json:"aliases"` }
func NewTHORName ¶
func NewTHORName(name string, exp int64, aliases []THORNameAlias) THORName
NewTHORName create a new instance of THORName
func (*THORName) CanReceiveAffiliateFee ¶
CanReceiveAffiliateFee - returns true if the THORName can receive an affiliate fee. Conditions: - Must have an owner
- If no preferred asset, must have an alias for THORChain (since fee will be sent in RUNE)
- If preferred asset, can receive affiliate fee (since fee is collected in AC module)
func (*THORName) Descriptor ¶
func (*THORName) GetAliases ¶
func (m *THORName) GetAliases() []THORNameAlias
func (*THORName) GetExpireBlockHeight ¶
func (*THORName) GetOwner ¶
func (m *THORName) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*THORName) GetPreferredAsset ¶
func (*THORName) MarshalToSizedBuffer ¶
func (*THORName) ProtoMessage ¶
func (*THORName) ProtoMessage()
func (*THORName) XXX_DiscardUnknown ¶
func (m *THORName) XXX_DiscardUnknown()
func (*THORName) XXX_Marshal ¶
func (*THORName) XXX_Unmarshal ¶
type THORNameAlias ¶
type THORNameAlias struct { Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,1,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` Address gitlab_com_thorchain_thornode_common.Address `protobuf:"bytes,2,opt,name=address,proto3,casttype=gitlab.com/thorchain/thornode/common.Address" json:"address,omitempty"` }
func (*THORNameAlias) Descriptor ¶
func (*THORNameAlias) Descriptor() ([]byte, []int)
func (*THORNameAlias) GetAddress ¶
func (m *THORNameAlias) GetAddress() gitlab_com_thorchain_thornode_common.Address
func (*THORNameAlias) GetChain ¶
func (m *THORNameAlias) GetChain() gitlab_com_thorchain_thornode_common.Chain
func (*THORNameAlias) Marshal ¶
func (m *THORNameAlias) Marshal() (dAtA []byte, err error)
func (*THORNameAlias) MarshalToSizedBuffer ¶
func (m *THORNameAlias) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*THORNameAlias) ProtoMessage ¶
func (*THORNameAlias) ProtoMessage()
func (*THORNameAlias) Reset ¶
func (m *THORNameAlias) Reset()
func (*THORNameAlias) Size ¶
func (m *THORNameAlias) Size() (n int)
func (*THORNameAlias) String ¶
func (m *THORNameAlias) String() string
func (*THORNameAlias) Unmarshal ¶
func (m *THORNameAlias) Unmarshal(dAtA []byte) error
func (*THORNameAlias) XXX_DiscardUnknown ¶
func (m *THORNameAlias) XXX_DiscardUnknown()
func (*THORNameAlias) XXX_Marshal ¶
func (m *THORNameAlias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*THORNameAlias) XXX_Merge ¶
func (m *THORNameAlias) XXX_Merge(src proto.Message)
func (*THORNameAlias) XXX_Size ¶
func (m *THORNameAlias) XXX_Size() int
func (*THORNameAlias) XXX_Unmarshal ¶
func (m *THORNameAlias) XXX_Unmarshal(b []byte) error
type TradeAccount ¶
type TradeAccount struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` Owner github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=owner,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"owner,omitempty"` LastAddHeight int64 `protobuf:"varint,4,opt,name=last_add_height,json=lastAddHeight,proto3" json:"last_add_height,omitempty"` LastWithdrawHeight int64 `protobuf:"varint,5,opt,name=last_withdraw_height,json=lastWithdrawHeight,proto3" json:"last_withdraw_height,omitempty"` }
func NewTradeAccount ¶
func NewTradeAccount(addr cosmos.AccAddress, asset common.Asset) TradeAccount
func (*TradeAccount) Descriptor ¶
func (*TradeAccount) Descriptor() ([]byte, []int)
func (*TradeAccount) GetAsset ¶
func (m *TradeAccount) GetAsset() common.Asset
func (*TradeAccount) GetLastAddHeight ¶
func (m *TradeAccount) GetLastAddHeight() int64
func (*TradeAccount) GetLastWithdrawHeight ¶
func (m *TradeAccount) GetLastWithdrawHeight() int64
func (*TradeAccount) GetOwner ¶
func (m *TradeAccount) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress
func (TradeAccount) Key ¶
func (tr TradeAccount) Key() string
func (*TradeAccount) Marshal ¶
func (m *TradeAccount) Marshal() (dAtA []byte, err error)
func (*TradeAccount) MarshalToSizedBuffer ¶
func (m *TradeAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TradeAccount) ProtoMessage ¶
func (*TradeAccount) ProtoMessage()
func (*TradeAccount) Reset ¶
func (m *TradeAccount) Reset()
func (*TradeAccount) Size ¶
func (m *TradeAccount) Size() (n int)
func (*TradeAccount) String ¶
func (m *TradeAccount) String() string
func (*TradeAccount) Unmarshal ¶
func (m *TradeAccount) Unmarshal(dAtA []byte) error
func (*TradeAccount) XXX_DiscardUnknown ¶
func (m *TradeAccount) XXX_DiscardUnknown()
func (*TradeAccount) XXX_Marshal ¶
func (m *TradeAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeAccount) XXX_Merge ¶
func (m *TradeAccount) XXX_Merge(src proto.Message)
func (*TradeAccount) XXX_Size ¶
func (m *TradeAccount) XXX_Size() int
func (*TradeAccount) XXX_Unmarshal ¶
func (m *TradeAccount) XXX_Unmarshal(b []byte) error
type TradeUnit ¶
type TradeUnit struct { Asset common.Asset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset"` Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` Depth github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=depth,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"depth"` }
func NewTradeUnit ¶
func (*TradeUnit) Descriptor ¶
func (*TradeUnit) MarshalToSizedBuffer ¶
func (*TradeUnit) ProtoMessage ¶
func (*TradeUnit) ProtoMessage()
func (*TradeUnit) XXX_DiscardUnknown ¶
func (m *TradeUnit) XXX_DiscardUnknown()
func (*TradeUnit) XXX_Marshal ¶
func (*TradeUnit) XXX_Unmarshal ¶
type TssKeygenMetric ¶
type TssKeygenMetric struct { PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ NodeTssTimes []NodeTssTime `protobuf:"bytes,2,rep,name=node_tss_times,json=nodeTssTimes,proto3" json:"node_tss_times"` }
func NewTssKeygenMetric ¶
func NewTssKeygenMetric(pubkey common.PubKey) *TssKeygenMetric
NewTssKeygenMetric create a new instance of TssKeygenMetric
func (*TssKeygenMetric) AddNodeTssTime ¶
func (m *TssKeygenMetric) AddNodeTssTime(addr cosmos.AccAddress, keygenTime int64)
AddNodeTssTime add node tss time
func (*TssKeygenMetric) Descriptor ¶
func (*TssKeygenMetric) Descriptor() ([]byte, []int)
func (*TssKeygenMetric) GetMedianTime ¶
func (m *TssKeygenMetric) GetMedianTime() int64
GetMedianTime return the median time
func (*TssKeygenMetric) GetNodeTssTimes ¶
func (m *TssKeygenMetric) GetNodeTssTimes() []NodeTssTime
func (*TssKeygenMetric) GetPubKey ¶
func (m *TssKeygenMetric) GetPubKey() gitlab_com_thorchain_thornode_common.PubKey
func (*TssKeygenMetric) Marshal ¶
func (m *TssKeygenMetric) Marshal() (dAtA []byte, err error)
func (*TssKeygenMetric) MarshalToSizedBuffer ¶
func (m *TssKeygenMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TssKeygenMetric) ProtoMessage ¶
func (*TssKeygenMetric) ProtoMessage()
func (*TssKeygenMetric) Reset ¶
func (m *TssKeygenMetric) Reset()
func (*TssKeygenMetric) Size ¶
func (m *TssKeygenMetric) Size() (n int)
func (*TssKeygenMetric) String ¶
func (m *TssKeygenMetric) String() string
func (*TssKeygenMetric) Unmarshal ¶
func (m *TssKeygenMetric) Unmarshal(dAtA []byte) error
func (*TssKeygenMetric) XXX_DiscardUnknown ¶
func (m *TssKeygenMetric) XXX_DiscardUnknown()
func (*TssKeygenMetric) XXX_Marshal ¶
func (m *TssKeygenMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TssKeygenMetric) XXX_Merge ¶
func (m *TssKeygenMetric) XXX_Merge(src proto.Message)
func (*TssKeygenMetric) XXX_Size ¶
func (m *TssKeygenMetric) XXX_Size() int
func (*TssKeygenMetric) XXX_Unmarshal ¶
func (m *TssKeygenMetric) XXX_Unmarshal(b []byte) error
type TssKeysignFailVoter ¶
type TssKeysignFailVoter struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Signers []string `protobuf:"bytes,6,rep,name=signers,proto3" json:"signers,omitempty"` Round7Count int64 `protobuf:"varint,7,opt,name=round7_count,json=round7Count,proto3" json:"round7_count,omitempty"` }
func NewTssKeysignFailVoter ¶
func NewTssKeysignFailVoter(id string, height int64) TssKeysignFailVoter
NewTssKeysignFailVoter create a new instance of TssKeysignFailVoter
func (*TssKeysignFailVoter) Descriptor ¶
func (*TssKeysignFailVoter) Descriptor() ([]byte, []int)
func (*TssKeysignFailVoter) Empty ¶
func (m *TssKeysignFailVoter) Empty() bool
Empty to check whether this Voter is empty or not
func (*TssKeysignFailVoter) GetSigners ¶
func (m *TssKeysignFailVoter) GetSigners() []cosmos.AccAddress
func (*TssKeysignFailVoter) HasConsensus ¶
func (m *TssKeysignFailVoter) HasConsensus(nas NodeAccounts) bool
HasConsensus determine if this tss pool has enough signers
func (*TssKeysignFailVoter) HasSigned ¶
func (m *TssKeysignFailVoter) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*TssKeysignFailVoter) Marshal ¶
func (m *TssKeysignFailVoter) Marshal() (dAtA []byte, err error)
func (*TssKeysignFailVoter) MarshalTo ¶
func (m *TssKeysignFailVoter) MarshalTo(dAtA []byte) (int, error)
func (*TssKeysignFailVoter) MarshalToSizedBuffer ¶
func (m *TssKeysignFailVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TssKeysignFailVoter) ProtoMessage ¶
func (*TssKeysignFailVoter) ProtoMessage()
func (*TssKeysignFailVoter) Reset ¶
func (m *TssKeysignFailVoter) Reset()
func (*TssKeysignFailVoter) Sign ¶
func (m *TssKeysignFailVoter) Sign(signer cosmos.AccAddress) bool
Sign this voter with given signer address
func (*TssKeysignFailVoter) Size ¶
func (m *TssKeysignFailVoter) Size() (n int)
func (*TssKeysignFailVoter) String ¶
func (m *TssKeysignFailVoter) String() string
String implement fmt.Stringer , return's the ID
func (*TssKeysignFailVoter) Unmarshal ¶
func (m *TssKeysignFailVoter) Unmarshal(dAtA []byte) error
func (*TssKeysignFailVoter) XXX_DiscardUnknown ¶
func (m *TssKeysignFailVoter) XXX_DiscardUnknown()
func (*TssKeysignFailVoter) XXX_Marshal ¶
func (m *TssKeysignFailVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TssKeysignFailVoter) XXX_Merge ¶
func (m *TssKeysignFailVoter) XXX_Merge(src proto.Message)
func (*TssKeysignFailVoter) XXX_Size ¶
func (m *TssKeysignFailVoter) XXX_Size() int
func (*TssKeysignFailVoter) XXX_Unmarshal ¶
func (m *TssKeysignFailVoter) XXX_Unmarshal(b []byte) error
type TssKeysignMetric ¶
type TssKeysignMetric struct { TxID gitlab_com_thorchain_thornode_common.TxID `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3,casttype=gitlab.com/thorchain/thornode/common.TxID" json:"tx_id,omitempty"` NodeTssTimes []NodeTssTime `protobuf:"bytes,2,rep,name=node_tss_times,json=nodeTssTimes,proto3" json:"node_tss_times"` }
func NewTssKeysignMetric ¶
func NewTssKeysignMetric(txID common.TxID) *TssKeysignMetric
NewTssKeysignMetric create a new instance of TssKeysignMetric
func (*TssKeysignMetric) AddNodeTssTime ¶
func (m *TssKeysignMetric) AddNodeTssTime(addr cosmos.AccAddress, keygenTime int64)
AddNodeTssTime add node tss time
func (*TssKeysignMetric) Descriptor ¶
func (*TssKeysignMetric) Descriptor() ([]byte, []int)
func (*TssKeysignMetric) GetMedianTime ¶
func (m *TssKeysignMetric) GetMedianTime() int64
GetMedianTime return median time
func (*TssKeysignMetric) GetNodeTssTimes ¶
func (m *TssKeysignMetric) GetNodeTssTimes() []NodeTssTime
func (*TssKeysignMetric) GetTxID ¶
func (m *TssKeysignMetric) GetTxID() gitlab_com_thorchain_thornode_common.TxID
func (*TssKeysignMetric) Marshal ¶
func (m *TssKeysignMetric) Marshal() (dAtA []byte, err error)
func (*TssKeysignMetric) MarshalToSizedBuffer ¶
func (m *TssKeysignMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TssKeysignMetric) ProtoMessage ¶
func (*TssKeysignMetric) ProtoMessage()
func (*TssKeysignMetric) Reset ¶
func (m *TssKeysignMetric) Reset()
func (*TssKeysignMetric) Size ¶
func (m *TssKeysignMetric) Size() (n int)
func (*TssKeysignMetric) String ¶
func (m *TssKeysignMetric) String() string
func (*TssKeysignMetric) Unmarshal ¶
func (m *TssKeysignMetric) Unmarshal(dAtA []byte) error
func (*TssKeysignMetric) XXX_DiscardUnknown ¶
func (m *TssKeysignMetric) XXX_DiscardUnknown()
func (*TssKeysignMetric) XXX_Marshal ¶
func (m *TssKeysignMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TssKeysignMetric) XXX_Merge ¶
func (m *TssKeysignMetric) XXX_Merge(src proto.Message)
func (*TssKeysignMetric) XXX_Size ¶
func (m *TssKeysignMetric) XXX_Size() int
func (*TssKeysignMetric) XXX_Unmarshal ¶
func (m *TssKeysignMetric) XXX_Unmarshal(b []byte) error
type TssVoter ¶
type TssVoter struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PoolPubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 146-byte string literal not displayed */ PubKeys []string `protobuf:"bytes,3,rep,name=pub_keys,json=pubKeys,proto3" json:"pub_keys,omitempty"` BlockHeight int64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Chains []string `protobuf:"bytes,5,rep,name=chains,proto3" json:"chains,omitempty"` Signers []string `protobuf:"bytes,6,rep,name=signers,proto3" json:"signers,omitempty"` MajorityConsensusBlockHeight int64 `` /* 150-byte string literal not displayed */ Secp256K1Signatures []string `protobuf:"bytes,8,rep,name=secp256k1_signatures,json=secp256k1Signatures,proto3" json:"secp256k1_signatures,omitempty"` }
func NewTssVoter ¶
NewTssVoter create a new instance of TssVoter
func (*TssVoter) ConsensusChains ¶
ConsensusChains - get a list of chains that have 2/3rds majority
func (*TssVoter) ConsensusCheckSignature ¶
ConsensusCheckSignature return true only when a consensus of members have provided an identical check signature.
func (*TssVoter) Descriptor ¶
func (*TssVoter) GetPubKeys ¶
func (*TssVoter) GetSigners ¶
func (m *TssVoter) GetSigners() []cosmos.AccAddress
func (*TssVoter) HasCompleteConsensus ¶
HasCompleteConsensus return true only when all signers vote
func (*TssVoter) HasConsensus ¶
HasConsensus determine if this tss pool has enough signers
func (*TssVoter) HasSigned ¶
func (m *TssVoter) HasSigned(signer cosmos.AccAddress) bool
HasSigned - check if given address has signed
func (*TssVoter) MarshalToSizedBuffer ¶
func (*TssVoter) ProtoMessage ¶
func (*TssVoter) ProtoMessage()
func (*TssVoter) XXX_DiscardUnknown ¶
func (m *TssVoter) XXX_DiscardUnknown()
func (*TssVoter) XXX_Marshal ¶
func (*TssVoter) XXX_Unmarshal ¶
type TxOut ¶
type TxOut struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` TxArray []TxOutItem `protobuf:"bytes,2,rep,name=tx_array,json=txArray,proto3" json:"tx_array"` }
func (*TxOut) Descriptor ¶
func (*TxOut) ProtoMessage ¶
func (*TxOut) ProtoMessage()
func (*TxOut) Valid ¶
Valid check every item in it's internal txarray, return an error if it is not valid
func (*TxOut) XXX_DiscardUnknown ¶
func (m *TxOut) XXX_DiscardUnknown()
func (*TxOut) XXX_Marshal ¶
func (*TxOut) XXX_Unmarshal ¶
type TxOutItem ¶
type TxOutItem struct { Chain gitlab_com_thorchain_thornode_common.Chain `protobuf:"bytes,1,opt,name=chain,proto3,casttype=gitlab.com/thorchain/thornode/common.Chain" json:"chain,omitempty"` ToAddress gitlab_com_thorchain_thornode_common.Address `` /* 142-byte string literal not displayed */ VaultPubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 149-byte string literal not displayed */ Coin common.Coin `protobuf:"bytes,4,opt,name=coin,proto3" json:"coin"` Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"` MaxGas gitlab_com_thorchain_thornode_common.Gas `protobuf:"bytes,6,rep,name=max_gas,json=maxGas,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Gas" json:"max_gas"` GasRate int64 `protobuf:"varint,7,opt,name=gas_rate,json=gasRate,proto3" json:"gas_rate,omitempty"` InHash gitlab_com_thorchain_thornode_common.TxID `` /* 130-byte string literal not displayed */ OutHash gitlab_com_thorchain_thornode_common.TxID `` /* 133-byte string literal not displayed */ ModuleName string `protobuf:"bytes,10,opt,name=module_name,json=-,proto3" json:"-"` Aggregator string `protobuf:"bytes,11,opt,name=aggregator,proto3" json:"aggregator,omitempty"` AggregatorTargetAsset string `` /* 127-byte string literal not displayed */ AggregatorTargetLimit *github_com_cosmos_cosmos_sdk_types.Uint `` /* 178-byte string literal not displayed */ CloutSpent *github_com_cosmos_cosmos_sdk_types.Uint `` /* 143-byte string literal not displayed */ }
func GetRandomTxOutItem ¶
func GetRandomTxOutItem() TxOutItem
func (*TxOutItem) Descriptor ¶
func (TxOutItem) GetModuleName ¶
func (*TxOutItem) MarshalToSizedBuffer ¶
func (*TxOutItem) ProtoMessage ¶
func (*TxOutItem) ProtoMessage()
func (*TxOutItem) XXX_DiscardUnknown ¶
func (m *TxOutItem) XXX_DiscardUnknown()
func (*TxOutItem) XXX_Marshal ¶
func (*TxOutItem) XXX_Unmarshal ¶
type Upgrade ¶
type Upgrade struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` }
func (*Upgrade) Descriptor ¶
func (*Upgrade) MarshalToSizedBuffer ¶
func (*Upgrade) ProtoMessage ¶
func (*Upgrade) ProtoMessage()
func (*Upgrade) XXX_DiscardUnknown ¶
func (m *Upgrade) XXX_DiscardUnknown()
func (*Upgrade) XXX_Marshal ¶
func (*Upgrade) XXX_Unmarshal ¶
type Vault ¶
type Vault struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` PubKey gitlab_com_thorchain_thornode_common.PubKey `` /* 132-byte string literal not displayed */ Coins gitlab_com_thorchain_thornode_common.Coins `protobuf:"bytes,3,rep,name=coins,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Coins" json:"coins"` Type VaultType `protobuf:"varint,4,opt,name=type,proto3,enum=types.VaultType" json:"type,omitempty"` Status VaultStatus `protobuf:"varint,5,opt,name=status,proto3,enum=types.VaultStatus" json:"status,omitempty"` StatusSince int64 `protobuf:"varint,6,opt,name=status_since,json=statusSince,proto3" json:"status_since,omitempty"` Membership []string `protobuf:"bytes,7,rep,name=membership,proto3" json:"membership,omitempty"` Chains []string `protobuf:"bytes,8,rep,name=chains,proto3" json:"chains,omitempty"` InboundTxCount int64 `protobuf:"varint,9,opt,name=inbound_tx_count,json=inboundTxCount,proto3" json:"inbound_tx_count,omitempty"` OutboundTxCount int64 `protobuf:"varint,10,opt,name=outbound_tx_count,json=outboundTxCount,proto3" json:"outbound_tx_count,omitempty"` PendingTxBlockHeights []int64 `` /* 137-byte string literal not displayed */ Routers []ChainContract `protobuf:"bytes,22,rep,name=routers,proto3" json:"routers"` Frozen []string `protobuf:"bytes,23,rep,name=frozen,proto3" json:"frozen,omitempty"` }
func GetRandomVault ¶
func GetRandomVault() Vault
func NewVault ¶
func NewVault(height int64, status VaultStatus, vtype VaultType, pk common.PubKey, chains []string, routers []ChainContract) Vault
NewVault create a new instance of vault
func (*Vault) AppendPendingTxBlockHeights ¶
func (m *Vault) AppendPendingTxBlockHeights(blockHeight int64, constAccessor constants.ConstantValues)
AppendPendingTxBlockHeights will add current block height into the list , also remove the block height that is too old
func (Vault) CoinLength ¶
CoinLength - counts the number of coins this vault has
func (Vault) CoinLengthByChain ¶
CoinLengthByChain - count the number of coins this vault has for the given chain
func (Vault) Contains ¶
Contains check whether the given pubkey is party of the originally node who create this vault
func (*Vault) DeductVaultPendingOutbounds ¶
func (*Vault) Descriptor ¶
func (Vault) GetContract ¶
func (v Vault) GetContract(chain common.Chain) ChainContract
GetContract return the contract that match the request chain
func (Vault) GetMembers ¶
GetMembers return members who's address exist in the given list
func (Vault) GetMembership ¶
func (Vault) HasFundsForChain ¶
HasFundsForChain check whether the vault pool has funds for a specific chain
func (Vault) IsAsgard ¶
IsAsgard check whether the vault is Asgard vault, it returns true when it is an asgard vault
func (Vault) IsRetiring ¶
IsRetiring return true when the vault is in retiring status
func (*Vault) LenPendingTxBlockHeights ¶
LenPendingTxBlockHeights count how many outstanding block heights in the vault if the a block height is older than SigningTransactionPeriod , it will ignore
func (Vault) MembershipEquals ¶
MembershipEquals check whether the vault has the same membership as the given pubkeys
func (*Vault) ProtoMessage ¶
func (*Vault) ProtoMessage()
func (*Vault) RemovePendingTxBlockHeights ¶
RemovePendingTxBlockHeights remove the given block height from internal pending tx block height
func (*Vault) UpdateContract ¶
func (v *Vault) UpdateContract(chainContract ChainContract)
UpdateContract update the chain contract
func (*Vault) UpdateStatus ¶
func (m *Vault) UpdateStatus(s VaultStatus, height int64)
UpdateStatus set the vault to given status
func (*Vault) XXX_DiscardUnknown ¶
func (m *Vault) XXX_DiscardUnknown()
func (*Vault) XXX_Marshal ¶
func (*Vault) XXX_Unmarshal ¶
type VaultStatus ¶
type VaultStatus int32
const ( VaultStatus_InactiveVault VaultStatus = 0 VaultStatus_ActiveVault VaultStatus = 1 VaultStatus_RetiringVault VaultStatus = 2 VaultStatus_InitVault VaultStatus = 3 )
func (VaultStatus) EnumDescriptor ¶
func (VaultStatus) EnumDescriptor() ([]byte, []int)
func (VaultStatus) MarshalJSON ¶
func (x VaultStatus) MarshalJSON() ([]byte, error)
MarshalJSON marshal vault status to string
func (VaultStatus) String ¶
func (x VaultStatus) String() string
func (*VaultStatus) UnmarshalJSON ¶
func (x *VaultStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON parse string type back to VaultStatus
type VaultType ¶
type VaultType int32
func (VaultType) EnumDescriptor ¶
func (VaultType) MarshalJSON ¶
MarshalJSON marshal vault type to string
func (*VaultType) UnmarshalJSON ¶
UnmarshalJSON parse string type back to VaultType
type Vaults ¶
type Vaults []Vault
Vaults a list of vault
func (Vaults) HasAddress ¶
HasAddress will go through the vaults to determinate whether any of the vault match the given address on the given chain
func (Vaults) SelectByMaxCoin ¶
SelectByMaxCoin return the vault that has most of given asset
func (Vaults) SelectByMinCoin ¶
SelectByMinCoin return the vault that has least of given asset
Source Files ¶
- blame.go
- codec.go
- genesis.go
- genesis.pb.go
- key.go
- misc.pb.go
- msg_add_liquidity.go
- msg_add_liquidity.pb.go
- msg_ban.go
- msg_ban.pb.go
- msg_bond.go
- msg_bond.pb.go
- msg_consolidate.go
- msg_consolidate.pb.go
- msg_deposit.go
- msg_deposit.pb.go
- msg_donate.go
- msg_donate.pb.go
- msg_errata.go
- msg_errata.pb.go
- msg_ip_address.go
- msg_leave.go
- msg_leave.pb.go
- msg_loan.go
- msg_loan.pb.go
- msg_manage_thorname.go
- msg_manage_thorname.pb.go
- msg_migrate.go
- msg_migrate.pb.go
- msg_mimir.go
- msg_mimir.pb.go
- msg_network_fee.go
- msg_network_fee.pb.go
- msg_node_pause_chain.go
- msg_node_pause_chain.pb.go
- msg_noop.go
- msg_noop.pb.go
- msg_observed_txin.go
- msg_observed_txin.pb.go
- msg_observed_txout.go
- msg_observed_txout.pb.go
- msg_ragnarok.go
- msg_ragnarok.pb.go
- msg_refund.go
- msg_refund.pb.go
- msg_reserve_contribibutor.go
- msg_reserve_contributor.pb.go
- msg_rune_pool.go
- msg_rune_pool.pb.go
- msg_send.go
- msg_send.pb.go
- msg_set_ip_address.pb.go
- msg_set_node_keys.go
- msg_set_node_keys.pb.go
- msg_solvency.go
- msg_solvency.pb.go
- msg_swap.go
- msg_swap.pb.go
- msg_trade_account.go
- msg_trade_account.pb.go
- msg_tss_keysign_fail.pb.go
- msg_tss_pool.go
- msg_tss_pool.pb.go
- msg_tss_sign_fail.go
- msg_tx_outbound.go
- msg_tx_outbound.pb.go
- msg_unbond.go
- msg_unbond.pb.go
- msg_upgrade.go
- msg_upgrade.pb.go
- msg_version.go
- msg_version.pb.go
- msg_withdraw_liquidity.go
- msg_withdraw_liquidity.pb.go
- querier.go
- test_common.go
- type_affiliate_fee_collector.pb.go
- type_ban.go
- type_ban_voter.pb.go
- type_blame.pb.go
- type_chain_contract.go
- type_chain_contract.pb.go
- type_clout.go
- type_clout.pb.go
- type_errata.go
- type_errata_tx_voter.pb.go
- type_event.go
- type_events.pb.go
- type_jail.go
- type_jail.pb.go
- type_keygen.go
- type_keygen.pb.go
- type_liquidity_provider.go
- type_liquidity_provider.pb.go
- type_loan.go
- type_loan.pb.go
- type_mimir.go
- type_mimir.pb.go
- type_network.go
- type_network.pb.go
- type_network_fee.go
- type_network_fee.pb.go
- type_node_account.go
- type_node_account.pb.go
- type_node_pause_chain.pb.go
- type_observed_network_fee.pb.go
- type_observed_network_fee_voter.go
- type_observed_tx.go
- type_observed_tx.pb.go
- type_pol.go
- type_pol.pb.go
- type_pool.go
- type_pool.pb.go
- type_ragnarok.go
- type_ragnarok.pb.go
- type_reserve_contributor.go
- type_reserve_contributor.pb.go
- type_rune_pool.go
- type_rune_pool.pb.go
- type_rune_provider.go
- type_rune_provider.pb.go
- type_solvency_voter.go
- type_solvency_voter.pb.go
- type_streaming_swap.go
- type_streaming_swap.pb.go
- type_thorname.go
- type_thorname.pb.go
- type_trade_account.go
- type_trade_account.pb.go
- type_trade_unit.go
- type_tss.go
- type_tss.pb.go
- type_tss_keysign.pb.go
- type_tss_keysign_fail.go
- type_tss_metric.go
- type_tss_metric.pb.go
- type_tx_out.go
- type_tx_out.pb.go
- type_vault.go
- type_vault.pb.go
- types.go