types

package
v1.131.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 36 Imported by: 2

Documentation

Overview

Please put all the test related function to here

Index

Constants

View Source
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"

	// 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
)
View Source
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"
	TSSKeygenSuccess              = "tss_keygen_success"
	TSSKeygenFailure              = "tss_keygen_failure"
	TSSKeygenMetricEventType      = "tss_keygen"
	TSSKeysignMetricEventType     = "tss_keysign"
	VersionEventType              = "version"
	WithdrawEventType             = "withdraw"
)

all event types support by THORChain

View Source
const (
	// SuperMajorityFactor - super majority 2/3
	SuperMajorityFactor = 3
	// SimpleMajorityFactor - simple majority 1/2
	SimpleMajorityFactor = 2
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const MaxAffiliateFeeBasisPoints = 1_000

MaxAffiliateFeeBasisPoints basis points for withdrawals

View Source
const MaxWithdrawBasisPoints = 10_000

MaxWithdrawBasisPoints basis points for withdrawals

View Source
const (
	// MinKeysharesBackupEntropy was selected based on a few spot checks of the entropy in
	// 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
)
View Source
const (
	SwitchEventType = "switch"
)

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMisc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMisc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMisc = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgAddLiquidity        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgAddLiquidity          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgAddLiquidity = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgBan        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgBan          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgBan = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgBond        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgBond          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgBond = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgConsolidate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgConsolidate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgConsolidate = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgDeposit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgDeposit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgDeposit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgDonate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgDonate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgDonate = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgErrata        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgErrata          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgErrata = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgLeave        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgLeave          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgLeave = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgLoan        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgLoan          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgLoan = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgManageThorname        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgManageThorname          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgManageThorname = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgMigrate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgMigrate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgMigrate = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgMimir        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgMimir          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgMimir = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgNetworkFee        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgNetworkFee          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgNetworkFee = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgNodePauseChain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgNodePauseChain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgNodePauseChain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgNoop        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgNoop          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgNoop = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgObservedTxin        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgObservedTxin          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgObservedTxin = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgObservedTxout        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgObservedTxout          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgObservedTxout = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgRagnarok        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgRagnarok          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgRagnarok = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgRefund        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgRefund          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgRefund = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgReserveContributor        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgReserveContributor          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgReserveContributor = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgSend        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgSend          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgSend = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgSetIpAddress        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgSetIpAddress          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgSetIpAddress = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgSetNodeKeys        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgSetNodeKeys          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgSetNodeKeys = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgSolvency        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgSolvency          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgSolvency = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgSwap        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgSwap          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgSwap = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgSwitch        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgSwitch          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgSwitch = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgTradeAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgTradeAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgTradeAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgTssKeysignFail        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgTssKeysignFail          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgTssKeysignFail = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgTssPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgTssPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgTssPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgTxOutbound        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgTxOutbound          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgTxOutbound = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgUnbond        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgUnbond          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgUnbond = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgVersion        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgVersion          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgVersion = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgWithdrawLiquidity        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgWithdrawLiquidity          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgWithdrawLiquidity = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgYggdrasil        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgYggdrasil          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgYggdrasil = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeAffiliateFeeCollector        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeAffiliateFeeCollector          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeAffiliateFeeCollector = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeBanVoter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeBanVoter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeBanVoter = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeBlame        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeBlame          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeBlame = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeChainContract        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeChainContract          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeChainContract = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeClout        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeClout          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeClout = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeErrataTxVoter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeErrataTxVoter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeErrataTxVoter = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeJail        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeJail          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeJail = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeKeygen        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeKeygen          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeKeygen = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeLiquidityProvider        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeLiquidityProvider          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeLiquidityProvider = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeLoan        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeLoan          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeLoan = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeMimir        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeMimir          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeMimir = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeNetwork        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeNetwork          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeNetwork = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeNetworkFee        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeNetworkFee          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeNetworkFee = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeNodeAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeNodeAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeNodeAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeNodePauseChain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeNodePauseChain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeNodePauseChain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeObservedNetworkFee        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeObservedNetworkFee          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeObservedNetworkFee = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeObservedTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeObservedTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeObservedTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypePol        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypePol          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypePol = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypePool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypePool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypePool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeRagnarok        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeRagnarok          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeRagnarok = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeReserveContributor        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeReserveContributor          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeReserveContributor = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeSolvencyVoter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeSolvencyVoter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeSolvencyVoter = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeStreamingSwap        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeStreamingSwap          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeStreamingSwap = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeThorname        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeThorname          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeThorname = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeTradeAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeTradeAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeTradeAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeTss        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeTss          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeTss = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeTssKeysign        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeTssKeysign          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeTssKeysign = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeTssMetric        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeTssMetric          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeTssMetric = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeTxOut        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeTxOut          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeTxOut = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypeVault        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypeVault          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypeVault = fmt.Errorf("proto: unexpected end of group")
)
View Source
var BondType_name = map[int32]string{
	0: "bond_paid",
	1: "bond_returned",
	2: "bond_reward",
	3: "bond_cost",
}
View Source
var BondType_value = map[string]int32{
	"bond_paid":     0,
	"bond_returned": 1,
	"bond_reward":   2,
	"bond_cost":     3,
}
View Source
var KeygenType_name = map[int32]string{
	0: "UnknownKeygen",
	1: "AsgardKeygen",
	2: "YggdrasilKeygen",
}
View Source
var KeygenType_value = map[string]int32{
	"UnknownKeygen":   0,
	"AsgardKeygen":    1,
	"YggdrasilKeygen": 2,
}
View Source
var MatchMnemonic = regexp.MustCompile(`([a-zA-Z]+ ){11}[a-zA-Z]+`)

MatchMnemonic will match substrings that look like a 12+ word mnemonic.

View Source
var MintBurnSupplyType_name = map[int32]string{
	0: "mint",
	1: "burn",
}
View Source
var MintBurnSupplyType_value = map[string]int32{
	"mint": 0,
	"burn": 1,
}
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var NodeStatus_name = map[int32]string{
	0: "Unknown",
	1: "Whitelisted",
	2: "Standby",
	3: "Ready",
	4: "Active",
	5: "Disabled",
}
View Source
var NodeStatus_value = map[string]int32{
	"Unknown":     0,
	"Whitelisted": 1,
	"Standby":     2,
	"Ready":       3,
	"Active":      4,
	"Disabled":    5,
}
View Source
var NodeType_name = map[int32]string{
	0: "TypeValidator",
	1: "TypeVault",
	2: "TypeUnknown",
}
View Source
var NodeType_value = map[string]int32{
	"TypeValidator": 0,
	"TypeVault":     1,
	"TypeUnknown":   2,
}
View Source
var OrderType_name = map[int32]string{
	0: "market",
	1: "limit",
}
View Source
var OrderType_value = map[string]int32{
	"market": 0,
	"limit":  1,
}
View Source
var PendingLiquidityType_name = map[int32]string{
	0: "add",
	1: "withdraw",
}
View Source
var PendingLiquidityType_value = map[string]int32{
	"add":      0,
	"withdraw": 1,
}
View Source
var PoolStatus_name = map[int32]string{
	0: "UnknownPoolStatus",
	1: "Available",
	2: "Staged",
	3: "Suspended",
}
View Source
var PoolStatus_value = map[string]int32{
	"UnknownPoolStatus": 0,
	"Available":         1,
	"Staged":            2,
	"Suspended":         3,
}
View Source
var Status_name = map[int32]string{
	0: "incomplete",
	1: "done",
	2: "reverted",
}
View Source
var Status_value = map[string]int32{
	"incomplete": 0,
	"done":       1,
	"reverted":   2,
}
View Source
var VaultStatus_name = map[int32]string{
	0: "InactiveVault",
	1: "ActiveVault",
	2: "RetiringVault",
	3: "InitVault",
}
View Source
var VaultStatus_value = map[string]int32{
	"InactiveVault": 0,
	"ActiveVault":   1,
	"RetiringVault": 2,
	"InitVault":     3,
}
View Source
var VaultType_name = map[int32]string{
	0: "UnknownVault",
	1: "AsgardVault",
	2: "YggdrasilVault",
}
View Source
var VaultType_value = map[string]int32{
	"UnknownVault":   0,
	"AsgardVault":    1,
	"YggdrasilVault": 2,
}

Functions

func GetCurrentVersion added in v0.41.0

func GetCurrentVersion() semver.Version

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 added in v0.41.0

func GetRandomBCHAddress() common.Address

func GetRandomBNBAddress

func GetRandomBNBAddress() common.Address

GetRandomBNBAddress will just create a random bnb address used for test purpose

func GetRandomBTCAddress

func GetRandomBTCAddress() common.Address

func GetRandomBech32Addr

func GetRandomBech32Addr() cosmos.AccAddress

GetRandomBech32Addr is an account address used for test

func GetRandomBech32ConsensusPubKey

func GetRandomBech32ConsensusPubKey() string

func GetRandomDOGEAddress added in v0.41.0

func GetRandomDOGEAddress() common.Address

func GetRandomETHAddress added in v1.92.0

func GetRandomETHAddress() common.Address

GetRandomETHAddress get a random ETH address for test purpose

func GetRandomGAIAAddress added in v1.92.0

func GetRandomGAIAAddress() common.Address

GetRandomGAIAAddress will just create a random terra address used for test purpose

func GetRandomLTCAddress added in v0.41.0

func GetRandomLTCAddress() common.Address

func GetRandomPubKey

func GetRandomPubKey() common.PubKey

func GetRandomPubKeySet

func GetRandomPubKeySet() common.PubKeySet

GetRandomPubKeySet return a random common.PubKeySet for test purpose

func GetRandomRUNEAddress

func GetRandomRUNEAddress() common.Address

GetRandomRUNEAddress will just create a random rune address used for test purpose

func GetRandomTERRAAddress added in v1.83.0

func GetRandomTERRAAddress() common.Address

GetRandomTERRAAddress will just create a random terra address used for test purpose

func GetRandomTHORAddress

func GetRandomTHORAddress() common.Address

GetRandomTHORAddress will just create a random thor address used for test purpose

func GetRandomTx

func GetRandomTx() common.Tx

GetRandomTx

func GetRandomTxHash

func GetRandomTxHash() common.TxID

GetRandomTxHash create a random txHash used for test purpose

func GetThreshold

func GetThreshold(value int) (int, error)

GetThreshold calculate threshold

func HasMinority added in v0.63.0

func HasMinority(signers, total int) bool

HasMinority return true when it has more than 1/3

func HasSimpleMajority

func HasSimpleMajority(signers, total int) bool

HasSimpleMajority return true when it has more than 1/2 this method replace HasSimpleMajority, which is not correct

func HasSuperMajority

func HasSuperMajority(signers, total int) bool

HasSuperMajority return true when it has 2/3 majority

func MakeTestCodec

func MakeTestCodec() *codec.LegacyAmino

create a codec used only for testing

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

RegisterCodec register the msg types for amino

func RegisterInterfaces added in v0.41.0

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces register the types

func SetupConfigForTest

func SetupConfigForTest()

SetupConfigForTest used for test purpose

Types

type AffiliateFeeCollector added in v1.121.0

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 added in v1.121.0

func (*AffiliateFeeCollector) Descriptor() ([]byte, []int)

func (*AffiliateFeeCollector) GetOwnerAddress added in v1.121.0

func (*AffiliateFeeCollector) Marshal added in v1.121.0

func (m *AffiliateFeeCollector) Marshal() (dAtA []byte, err error)

func (*AffiliateFeeCollector) MarshalTo added in v1.121.0

func (m *AffiliateFeeCollector) MarshalTo(dAtA []byte) (int, error)

func (*AffiliateFeeCollector) MarshalToSizedBuffer added in v1.121.0

func (m *AffiliateFeeCollector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AffiliateFeeCollector) ProtoMessage added in v1.121.0

func (*AffiliateFeeCollector) ProtoMessage()

func (*AffiliateFeeCollector) Reset added in v1.121.0

func (m *AffiliateFeeCollector) Reset()

func (*AffiliateFeeCollector) Size added in v1.121.0

func (m *AffiliateFeeCollector) Size() (n int)

func (*AffiliateFeeCollector) String added in v1.121.0

func (m *AffiliateFeeCollector) String() string

func (*AffiliateFeeCollector) Unmarshal added in v1.121.0

func (m *AffiliateFeeCollector) Unmarshal(dAtA []byte) error

func (*AffiliateFeeCollector) XXX_DiscardUnknown added in v1.121.0

func (m *AffiliateFeeCollector) XXX_DiscardUnknown()

func (*AffiliateFeeCollector) XXX_Marshal added in v1.121.0

func (m *AffiliateFeeCollector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AffiliateFeeCollector) XXX_Merge added in v1.121.0

func (m *AffiliateFeeCollector) XXX_Merge(src proto.Message)

func (*AffiliateFeeCollector) XXX_Size added in v1.121.0

func (m *AffiliateFeeCollector) XXX_Size() int

func (*AffiliateFeeCollector) XXX_Unmarshal added in v1.121.0

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 added in v0.41.0

func (*BanVoter) Descriptor() ([]byte, []int)

func (*BanVoter) GetSigners added in v0.41.0

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) IsEmpty

func (m *BanVoter) IsEmpty() bool

IsEmpty return true when the node address is empty

func (*BanVoter) Marshal added in v0.41.0

func (m *BanVoter) Marshal() (dAtA []byte, err error)

func (*BanVoter) MarshalTo added in v0.41.0

func (m *BanVoter) MarshalTo(dAtA []byte) (int, error)

func (*BanVoter) MarshalToSizedBuffer added in v0.41.0

func (m *BanVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BanVoter) ProtoMessage added in v0.41.0

func (*BanVoter) ProtoMessage()

func (*BanVoter) Reset added in v0.41.0

func (m *BanVoter) Reset()

func (*BanVoter) Sign

func (m *BanVoter) Sign(signer cosmos.AccAddress)

Sign add the given signer to the signer list

func (*BanVoter) Size added in v0.41.0

func (m *BanVoter) Size() (n int)

func (*BanVoter) String

func (m *BanVoter) String() string

func (*BanVoter) Unmarshal added in v0.41.0

func (m *BanVoter) Unmarshal(dAtA []byte) error

func (*BanVoter) Valid

func (m *BanVoter) Valid() error

Valid return an error if the node address that need to be banned is empty

func (*BanVoter) XXX_DiscardUnknown added in v0.41.0

func (m *BanVoter) XXX_DiscardUnknown()

func (*BanVoter) XXX_Marshal added in v0.41.0

func (m *BanVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BanVoter) XXX_Merge added in v0.41.0

func (m *BanVoter) XXX_Merge(src proto.Message)

func (*BanVoter) XXX_Size added in v0.41.0

func (m *BanVoter) XXX_Size() int

func (*BanVoter) XXX_Unmarshal added in v0.41.0

func (m *BanVoter) XXX_Unmarshal(b []byte) error

type Blame added in v0.41.0

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 added in v0.41.0

func (*Blame) Descriptor() ([]byte, []int)

func (*Blame) IsEmpty added in v0.41.0

func (m *Blame) IsEmpty() bool

IsEmpty check whether it is empty

func (*Blame) Marshal added in v0.41.0

func (m *Blame) Marshal() (dAtA []byte, err error)

func (*Blame) MarshalTo added in v0.41.0

func (m *Blame) MarshalTo(dAtA []byte) (int, error)

func (*Blame) MarshalToSizedBuffer added in v0.41.0

func (m *Blame) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Blame) ProtoMessage added in v0.41.0

func (*Blame) ProtoMessage()

func (*Blame) Reset added in v0.41.0

func (m *Blame) Reset()

func (*Blame) Size added in v0.41.0

func (m *Blame) Size() (n int)

func (*Blame) String added in v0.41.0

func (m *Blame) String() string

String implement fmt.Stringer

func (*Blame) Unmarshal added in v0.41.0

func (m *Blame) Unmarshal(dAtA []byte) error

func (*Blame) XXX_DiscardUnknown added in v0.41.0

func (m *Blame) XXX_DiscardUnknown()

func (*Blame) XXX_Marshal added in v0.41.0

func (m *Blame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Blame) XXX_Merge added in v0.41.0

func (m *Blame) XXX_Merge(src proto.Message)

func (*Blame) XXX_Size added in v0.41.0

func (m *Blame) XXX_Size() int

func (*Blame) XXX_Unmarshal added in v0.41.0

func (m *Blame) XXX_Unmarshal(b []byte) error

type BondProvider added in v0.81.0

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 added in v0.81.0

func NewBondProvider(acc cosmos.AccAddress) BondProvider

func (*BondProvider) Descriptor added in v0.81.0

func (*BondProvider) Descriptor() ([]byte, []int)

func (*BondProvider) IsEmpty added in v0.81.0

func (m *BondProvider) IsEmpty() bool

func (*BondProvider) Marshal added in v0.81.0

func (m *BondProvider) Marshal() (dAtA []byte, err error)

func (*BondProvider) MarshalTo added in v0.81.0

func (m *BondProvider) MarshalTo(dAtA []byte) (int, error)

func (*BondProvider) MarshalToSizedBuffer added in v0.81.0

func (m *BondProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BondProvider) ProtoMessage added in v0.81.0

func (*BondProvider) ProtoMessage()

func (*BondProvider) Reset added in v0.81.0

func (m *BondProvider) Reset()

func (*BondProvider) Size added in v0.81.0

func (m *BondProvider) Size() (n int)

func (*BondProvider) String added in v0.81.0

func (this *BondProvider) String() string

func (*BondProvider) Unmarshal added in v0.81.0

func (m *BondProvider) Unmarshal(dAtA []byte) error

func (*BondProvider) XXX_DiscardUnknown added in v0.81.0

func (m *BondProvider) XXX_DiscardUnknown()

func (*BondProvider) XXX_Marshal added in v0.81.0

func (m *BondProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BondProvider) XXX_Merge added in v0.81.0

func (m *BondProvider) XXX_Merge(src proto.Message)

func (*BondProvider) XXX_Size added in v0.81.0

func (m *BondProvider) XXX_Size() int

func (*BondProvider) XXX_Unmarshal added in v0.81.0

func (m *BondProvider) XXX_Unmarshal(b []byte) error

type BondProviders added in v0.81.0

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 added in v0.81.0

func NewBondProviders(acc cosmos.AccAddress) BondProviders

func (*BondProviders) Adjust added in v0.81.0

func (bp *BondProviders) Adjust(version semver.Version, nodeBond cosmos.Uint)

realigns the bond providers relative to the node bond

func (*BondProviders) AdjustV1 added in v1.121.0

func (bp *BondProviders) AdjustV1(nodeBond cosmos.Uint)

func (*BondProviders) AdjustV108 added in v1.121.0

func (bp *BondProviders) AdjustV108(nodeBond cosmos.Uint)

func (*BondProviders) Bond added in v0.81.0

func (bp *BondProviders) Bond(bond cosmos.Uint, acc cosmos.AccAddress)

func (*BondProviders) Descriptor added in v0.81.0

func (*BondProviders) Descriptor() ([]byte, []int)

func (*BondProviders) Get added in v0.81.0

func (*BondProviders) Has added in v0.81.0

func (bp *BondProviders) Has(acc cosmos.AccAddress) bool

func (*BondProviders) HasProviderBonded added in v1.88.0

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 added in v0.81.0

func (m *BondProviders) Marshal() (dAtA []byte, err error)

func (*BondProviders) MarshalTo added in v0.81.0

func (m *BondProviders) MarshalTo(dAtA []byte) (int, error)

func (*BondProviders) MarshalToSizedBuffer added in v0.81.0

func (m *BondProviders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BondProviders) ProtoMessage added in v0.81.0

func (*BondProviders) ProtoMessage()

func (*BondProviders) Remove added in v0.81.0

func (bp *BondProviders) Remove(acc cosmos.AccAddress) bool

remove provider (only if bond is zero)

func (*BondProviders) Reset added in v0.81.0

func (m *BondProviders) Reset()

func (*BondProviders) Size added in v0.81.0

func (m *BondProviders) Size() (n int)

func (*BondProviders) String added in v0.81.0

func (this *BondProviders) String() string

func (*BondProviders) Unbond added in v0.81.0

func (bp *BondProviders) Unbond(bond cosmos.Uint, acc cosmos.AccAddress)

func (*BondProviders) Unmarshal added in v0.81.0

func (m *BondProviders) Unmarshal(dAtA []byte) error

func (*BondProviders) XXX_DiscardUnknown added in v0.81.0

func (m *BondProviders) XXX_DiscardUnknown()

func (*BondProviders) XXX_Marshal added in v0.81.0

func (m *BondProviders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BondProviders) XXX_Merge added in v0.81.0

func (m *BondProviders) XXX_Merge(src proto.Message)

func (*BondProviders) XXX_Size added in v0.81.0

func (m *BondProviders) XXX_Size() int

func (*BondProviders) XXX_Unmarshal added in v0.81.0

func (m *BondProviders) XXX_Unmarshal(b []byte) error

type BondType

type BondType int32
const (
	BondType_bond_paid     BondType = 0
	BondType_bond_returned BondType = 1
	BondType_bond_reward   BondType = 2
	BondType_bond_cost     BondType = 3
)

func (BondType) EnumDescriptor added in v0.41.0

func (BondType) EnumDescriptor() ([]byte, []int)

func (BondType) String added in v0.41.0

func (x BondType) String() string

type ChainContract added in v0.41.0

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 added in v0.41.0

func NewChainContract(chain common.Chain, router common.Address) ChainContract

NewChainContract create a new instance of ChainContract

func (*ChainContract) Descriptor added in v0.41.0

func (*ChainContract) Descriptor() ([]byte, []int)

func (*ChainContract) IsEmpty added in v0.41.0

func (m *ChainContract) IsEmpty() bool

IsEmpty returns true when both chain and Contract address are empty

func (*ChainContract) Marshal added in v0.41.0

func (m *ChainContract) Marshal() (dAtA []byte, err error)

func (*ChainContract) MarshalTo added in v0.41.0

func (m *ChainContract) MarshalTo(dAtA []byte) (int, error)

func (*ChainContract) MarshalToSizedBuffer added in v0.41.0

func (m *ChainContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainContract) ProtoMessage added in v0.41.0

func (*ChainContract) ProtoMessage()

func (*ChainContract) Reset added in v0.41.0

func (m *ChainContract) Reset()

func (*ChainContract) Size added in v0.41.0

func (m *ChainContract) Size() (n int)

func (*ChainContract) String added in v0.41.0

func (m *ChainContract) String() string

String implement fmt.Stringer, return a string representation of ChainContract

func (*ChainContract) Unmarshal added in v0.41.0

func (m *ChainContract) Unmarshal(dAtA []byte) error

func (*ChainContract) XXX_DiscardUnknown added in v0.41.0

func (m *ChainContract) XXX_DiscardUnknown()

func (*ChainContract) XXX_Marshal added in v0.41.0

func (m *ChainContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainContract) XXX_Merge added in v0.41.0

func (m *ChainContract) XXX_Merge(src proto.Message)

func (*ChainContract) XXX_Size added in v0.41.0

func (m *ChainContract) XXX_Size() int

func (*ChainContract) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*ErrataTxVoter) Descriptor() ([]byte, []int)

func (*ErrataTxVoter) Empty

func (m *ErrataTxVoter) Empty() bool

Empty check whether TxID or Chain is empty

func (*ErrataTxVoter) GetSigners added in v0.41.0

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 added in v0.41.0

func (m *ErrataTxVoter) Marshal() (dAtA []byte, err error)

func (*ErrataTxVoter) MarshalTo added in v0.41.0

func (m *ErrataTxVoter) MarshalTo(dAtA []byte) (int, error)

func (*ErrataTxVoter) MarshalToSizedBuffer added in v0.41.0

func (m *ErrataTxVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ErrataTxVoter) ProtoMessage added in v0.41.0

func (*ErrataTxVoter) ProtoMessage()

func (*ErrataTxVoter) Reset added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (m *ErrataTxVoter) Unmarshal(dAtA []byte) error

func (*ErrataTxVoter) XXX_DiscardUnknown added in v0.41.0

func (m *ErrataTxVoter) XXX_DiscardUnknown()

func (*ErrataTxVoter) XXX_Marshal added in v0.41.0

func (m *ErrataTxVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrataTxVoter) XXX_Merge added in v0.41.0

func (m *ErrataTxVoter) XXX_Merge(src proto.Message)

func (*ErrataTxVoter) XXX_Size added in v0.41.0

func (m *ErrataTxVoter) XXX_Size() int

func (*ErrataTxVoter) XXX_Unmarshal added in v0.41.0

func (m *ErrataTxVoter) XXX_Unmarshal(b []byte) error

type EventAddLiquidity added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*EventAddLiquidity) Descriptor() ([]byte, []int)

func (*EventAddLiquidity) Events added in v0.41.0

func (m *EventAddLiquidity) Events() (cosmos.Events, error)

Events return cosmos.Events which is cosmos.Attribute(key value pairs)

func (*EventAddLiquidity) GetAssetAddress added in v0.41.0

func (*EventAddLiquidity) GetAssetTxID added in v0.41.0

func (*EventAddLiquidity) GetPool added in v0.41.0

func (m *EventAddLiquidity) GetPool() common.Asset

func (*EventAddLiquidity) GetRuneAddress added in v0.41.0

func (*EventAddLiquidity) GetRuneTxID added in v0.41.0

func (*EventAddLiquidity) Marshal added in v0.41.0

func (m *EventAddLiquidity) Marshal() (dAtA []byte, err error)

func (*EventAddLiquidity) MarshalTo added in v0.41.0

func (m *EventAddLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*EventAddLiquidity) MarshalToSizedBuffer added in v0.41.0

func (m *EventAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAddLiquidity) ProtoMessage added in v0.41.0

func (*EventAddLiquidity) ProtoMessage()

func (*EventAddLiquidity) Reset added in v0.41.0

func (m *EventAddLiquidity) Reset()

func (*EventAddLiquidity) Size added in v0.41.0

func (m *EventAddLiquidity) Size() (n int)

func (*EventAddLiquidity) String added in v0.41.0

func (m *EventAddLiquidity) String() string

func (*EventAddLiquidity) Type added in v0.41.0

func (m *EventAddLiquidity) Type() string

Type return the event type

func (*EventAddLiquidity) Unmarshal added in v0.41.0

func (m *EventAddLiquidity) Unmarshal(dAtA []byte) error

func (*EventAddLiquidity) XXX_DiscardUnknown added in v0.41.0

func (m *EventAddLiquidity) XXX_DiscardUnknown()

func (*EventAddLiquidity) XXX_Marshal added in v0.41.0

func (m *EventAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAddLiquidity) XXX_Merge added in v0.41.0

func (m *EventAddLiquidity) XXX_Merge(src proto.Message)

func (*EventAddLiquidity) XXX_Size added in v0.41.0

func (m *EventAddLiquidity) XXX_Size() int

func (*EventAddLiquidity) XXX_Unmarshal added in v0.41.0

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"`
}

func NewEventBond

func NewEventBond(amount cosmos.Uint, bondType BondType, txIn common.Tx) *EventBond

NewEventBond create a new Bond Events

func (*EventBond) Descriptor added in v0.41.0

func (*EventBond) Descriptor() ([]byte, []int)

func (*EventBond) Events

func (m *EventBond) Events() (cosmos.Events, error)

Events return all the event attributes

func (*EventBond) GetBondType added in v0.41.0

func (m *EventBond) GetBondType() BondType

func (*EventBond) GetTxIn added in v0.41.0

func (m *EventBond) GetTxIn() common.Tx

func (*EventBond) Marshal added in v0.41.0

func (m *EventBond) Marshal() (dAtA []byte, err error)

func (*EventBond) MarshalTo added in v0.41.0

func (m *EventBond) MarshalTo(dAtA []byte) (int, error)

func (*EventBond) MarshalToSizedBuffer added in v0.41.0

func (m *EventBond) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBond) ProtoMessage added in v0.41.0

func (*EventBond) ProtoMessage()

func (*EventBond) Reset added in v0.41.0

func (m *EventBond) Reset()

func (*EventBond) Size added in v0.41.0

func (m *EventBond) Size() (n int)

func (*EventBond) String added in v0.41.0

func (m *EventBond) String() string

func (*EventBond) Type

func (m *EventBond) Type() string

Type return bond event Type

func (*EventBond) Unmarshal added in v0.41.0

func (m *EventBond) Unmarshal(dAtA []byte) error

func (*EventBond) XXX_DiscardUnknown added in v0.41.0

func (m *EventBond) XXX_DiscardUnknown()

func (*EventBond) XXX_Marshal added in v0.41.0

func (m *EventBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBond) XXX_Merge added in v0.41.0

func (m *EventBond) XXX_Merge(src proto.Message)

func (*EventBond) XXX_Size added in v0.41.0

func (m *EventBond) XXX_Size() int

func (*EventBond) XXX_Unmarshal added in v0.41.0

func (m *EventBond) XXX_Unmarshal(b []byte) error

type EventDonate added in v0.41.0

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 added in v0.41.0

func NewEventDonate(pool common.Asset, inTx common.Tx) *EventDonate

NewEventDonate create a new donate event

func (*EventDonate) Descriptor added in v0.41.0

func (*EventDonate) Descriptor() ([]byte, []int)

func (*EventDonate) Events added in v0.41.0

func (m *EventDonate) Events() (cosmos.Events, error)

Events get all events

func (*EventDonate) GetInTx added in v0.41.0

func (m *EventDonate) GetInTx() common.Tx

func (*EventDonate) GetPool added in v0.41.0

func (m *EventDonate) GetPool() common.Asset

func (*EventDonate) Marshal added in v0.41.0

func (m *EventDonate) Marshal() (dAtA []byte, err error)

func (*EventDonate) MarshalTo added in v0.41.0

func (m *EventDonate) MarshalTo(dAtA []byte) (int, error)

func (*EventDonate) MarshalToSizedBuffer added in v0.41.0

func (m *EventDonate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDonate) ProtoMessage added in v0.41.0

func (*EventDonate) ProtoMessage()

func (*EventDonate) Reset added in v0.41.0

func (m *EventDonate) Reset()

func (*EventDonate) Size added in v0.41.0

func (m *EventDonate) Size() (n int)

func (*EventDonate) String added in v0.41.0

func (m *EventDonate) String() string

func (*EventDonate) Type added in v0.41.0

func (m *EventDonate) Type() string

Type return donate event type

func (*EventDonate) Unmarshal added in v0.41.0

func (m *EventDonate) Unmarshal(dAtA []byte) error

func (*EventDonate) XXX_DiscardUnknown added in v0.41.0

func (m *EventDonate) XXX_DiscardUnknown()

func (*EventDonate) XXX_Marshal added in v0.41.0

func (m *EventDonate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDonate) XXX_Merge added in v0.41.0

func (m *EventDonate) XXX_Merge(src proto.Message)

func (*EventDonate) XXX_Size added in v0.41.0

func (m *EventDonate) XXX_Size() int

func (*EventDonate) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*EventErrata) Descriptor() ([]byte, []int)

func (*EventErrata) Events

func (m *EventErrata) Events() (cosmos.Events, error)

Events return a cosmos.Events type

func (*EventErrata) GetPools added in v0.41.0

func (m *EventErrata) GetPools() PoolMods

func (*EventErrata) GetTxID added in v0.41.0

func (*EventErrata) Marshal added in v0.41.0

func (m *EventErrata) Marshal() (dAtA []byte, err error)

func (*EventErrata) MarshalTo added in v0.41.0

func (m *EventErrata) MarshalTo(dAtA []byte) (int, error)

func (*EventErrata) MarshalToSizedBuffer added in v0.41.0

func (m *EventErrata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventErrata) ProtoMessage added in v0.41.0

func (*EventErrata) ProtoMessage()

func (*EventErrata) Reset added in v0.41.0

func (m *EventErrata) Reset()

func (*EventErrata) Size added in v0.41.0

func (m *EventErrata) Size() (n int)

func (*EventErrata) String added in v0.41.0

func (m *EventErrata) String() string

func (*EventErrata) Type

func (m *EventErrata) Type() string

Type return slash event type

func (*EventErrata) Unmarshal added in v0.41.0

func (m *EventErrata) Unmarshal(dAtA []byte) error

func (*EventErrata) XXX_DiscardUnknown added in v0.41.0

func (m *EventErrata) XXX_DiscardUnknown()

func (*EventErrata) XXX_Marshal added in v0.41.0

func (m *EventErrata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventErrata) XXX_Merge added in v0.41.0

func (m *EventErrata) XXX_Merge(src proto.Message)

func (*EventErrata) XXX_Size added in v0.41.0

func (m *EventErrata) XXX_Size() int

func (*EventErrata) XXX_Unmarshal added in v0.41.0

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

func NewEventFee(txID common.TxID, fee common.Fee, synthUnits cosmos.Uint) *EventFee

NewEventFee create a new EventFee

func (*EventFee) Descriptor added in v0.41.0

func (*EventFee) Descriptor() ([]byte, []int)

func (*EventFee) Events

func (m *EventFee) Events() (cosmos.Events, error)

Events return events of cosmos.Event type

func (*EventFee) GetFee added in v0.41.0

func (m *EventFee) GetFee() common.Fee

func (*EventFee) GetTxID added in v0.41.0

func (*EventFee) Marshal added in v0.41.0

func (m *EventFee) Marshal() (dAtA []byte, err error)

func (*EventFee) MarshalTo added in v0.41.0

func (m *EventFee) MarshalTo(dAtA []byte) (int, error)

func (*EventFee) MarshalToSizedBuffer added in v0.41.0

func (m *EventFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventFee) ProtoMessage added in v0.41.0

func (*EventFee) ProtoMessage()

func (*EventFee) Reset added in v0.41.0

func (m *EventFee) Reset()

func (*EventFee) Size added in v0.41.0

func (m *EventFee) Size() (n int)

func (*EventFee) String added in v0.41.0

func (m *EventFee) String() string

func (*EventFee) Type

func (m *EventFee) Type() string

Type get a string represent the event type

func (*EventFee) Unmarshal added in v0.41.0

func (m *EventFee) Unmarshal(dAtA []byte) error

func (*EventFee) XXX_DiscardUnknown added in v0.41.0

func (m *EventFee) XXX_DiscardUnknown()

func (*EventFee) XXX_Marshal added in v0.41.0

func (m *EventFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventFee) XXX_Merge added in v0.41.0

func (m *EventFee) XXX_Merge(src proto.Message)

func (*EventFee) XXX_Size added in v0.41.0

func (m *EventFee) XXX_Size() int

func (*EventFee) XXX_Unmarshal added in v0.41.0

func (m *EventFee) XXX_Unmarshal(b []byte) error

type EventGas

type EventGas struct {
	Pools []GasPool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools"`
}

func NewEventGas

func NewEventGas() *EventGas

NewEventGas create a new EventGas instance

func (*EventGas) Descriptor added in v0.41.0

func (*EventGas) Descriptor() ([]byte, []int)

func (*EventGas) Events

func (m *EventGas) Events() (cosmos.Events, error)

Events return a standard cosmos events

func (*EventGas) GetPools added in v0.41.0

func (m *EventGas) GetPools() []GasPool

func (*EventGas) Marshal added in v0.41.0

func (m *EventGas) Marshal() (dAtA []byte, err error)

func (*EventGas) MarshalTo added in v0.41.0

func (m *EventGas) MarshalTo(dAtA []byte) (int, error)

func (*EventGas) MarshalToSizedBuffer added in v0.41.0

func (m *EventGas) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventGas) ProtoMessage added in v0.41.0

func (*EventGas) ProtoMessage()

func (*EventGas) Reset added in v0.41.0

func (m *EventGas) Reset()

func (*EventGas) Size added in v0.41.0

func (m *EventGas) Size() (n int)

func (*EventGas) String added in v0.41.0

func (m *EventGas) String() string

func (*EventGas) Type

func (m *EventGas) Type() string

Type return event type

func (*EventGas) Unmarshal added in v0.41.0

func (m *EventGas) Unmarshal(dAtA []byte) error

func (*EventGas) UpsertGasPool

func (m *EventGas) UpsertGasPool(pool GasPool)

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 added in v0.41.0

func (m *EventGas) XXX_DiscardUnknown()

func (*EventGas) XXX_Marshal added in v0.41.0

func (m *EventGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventGas) XXX_Merge added in v0.41.0

func (m *EventGas) XXX_Merge(src proto.Message)

func (*EventGas) XXX_Size added in v0.41.0

func (m *EventGas) XXX_Size() int

func (*EventGas) XXX_Unmarshal added in v0.41.0

func (m *EventGas) XXX_Unmarshal(b []byte) error

type EventLimitOrder added in v1.121.0

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 added in v1.121.0

func NewEventLimitOrder(source, target common.Coin, txid common.TxID) *EventLimitOrder

NewEventLimitOrder create a new swap event

func (*EventLimitOrder) Descriptor added in v1.121.0

func (*EventLimitOrder) Descriptor() ([]byte, []int)

func (*EventLimitOrder) Events added in v1.121.0

func (m *EventLimitOrder) Events() (cosmos.Events, error)

Events convert EventLimitOrder to key value pairs used in cosmos

func (*EventLimitOrder) GetSource added in v1.121.0

func (m *EventLimitOrder) GetSource() common.Coin

func (*EventLimitOrder) GetTarget added in v1.121.0

func (m *EventLimitOrder) GetTarget() common.Coin

func (*EventLimitOrder) GetTxID added in v1.121.0

func (*EventLimitOrder) Marshal added in v1.121.0

func (m *EventLimitOrder) Marshal() (dAtA []byte, err error)

func (*EventLimitOrder) MarshalTo added in v1.121.0

func (m *EventLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*EventLimitOrder) MarshalToSizedBuffer added in v1.121.0

func (m *EventLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventLimitOrder) ProtoMessage added in v1.121.0

func (*EventLimitOrder) ProtoMessage()

func (*EventLimitOrder) Reset added in v1.121.0

func (m *EventLimitOrder) Reset()

func (*EventLimitOrder) Size added in v1.121.0

func (m *EventLimitOrder) Size() (n int)

func (*EventLimitOrder) String added in v1.121.0

func (m *EventLimitOrder) String() string

func (*EventLimitOrder) Type added in v1.121.0

func (m *EventLimitOrder) Type() string

Type return a string that represent the type, it should not duplicated with other event

func (*EventLimitOrder) Unmarshal added in v1.121.0

func (m *EventLimitOrder) Unmarshal(dAtA []byte) error

func (*EventLimitOrder) XXX_DiscardUnknown added in v1.121.0

func (m *EventLimitOrder) XXX_DiscardUnknown()

func (*EventLimitOrder) XXX_Marshal added in v1.121.0

func (m *EventLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventLimitOrder) XXX_Merge added in v1.121.0

func (m *EventLimitOrder) XXX_Merge(src proto.Message)

func (*EventLimitOrder) XXX_Size added in v1.121.0

func (m *EventLimitOrder) XXX_Size() int

func (*EventLimitOrder) XXX_Unmarshal added in v1.121.0

func (m *EventLimitOrder) XXX_Unmarshal(b []byte) error

type EventLoanOpen added in v1.121.0

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 added in v1.121.0

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 added in v1.121.0

func (*EventLoanOpen) Descriptor() ([]byte, []int)

func (*EventLoanOpen) Events added in v1.121.0

func (m *EventLoanOpen) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventLoanOpen) GetCollateralAsset added in v1.121.0

func (m *EventLoanOpen) GetCollateralAsset() common.Asset

func (*EventLoanOpen) GetOwner added in v1.121.0

func (*EventLoanOpen) GetTargetAsset added in v1.121.0

func (m *EventLoanOpen) GetTargetAsset() common.Asset

func (*EventLoanOpen) GetTxID added in v1.121.0

func (*EventLoanOpen) Marshal added in v1.121.0

func (m *EventLoanOpen) Marshal() (dAtA []byte, err error)

func (*EventLoanOpen) MarshalTo added in v1.121.0

func (m *EventLoanOpen) MarshalTo(dAtA []byte) (int, error)

func (*EventLoanOpen) MarshalToSizedBuffer added in v1.121.0

func (m *EventLoanOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventLoanOpen) ProtoMessage added in v1.121.0

func (*EventLoanOpen) ProtoMessage()

func (*EventLoanOpen) Reset added in v1.121.0

func (m *EventLoanOpen) Reset()

func (*EventLoanOpen) Size added in v1.121.0

func (m *EventLoanOpen) Size() (n int)

func (*EventLoanOpen) String added in v1.121.0

func (m *EventLoanOpen) String() string

func (*EventLoanOpen) Type added in v1.121.0

func (m *EventLoanOpen) Type() string

Type return a string which represent the type of this event

func (*EventLoanOpen) Unmarshal added in v1.121.0

func (m *EventLoanOpen) Unmarshal(dAtA []byte) error

func (*EventLoanOpen) XXX_DiscardUnknown added in v1.121.0

func (m *EventLoanOpen) XXX_DiscardUnknown()

func (*EventLoanOpen) XXX_Marshal added in v1.121.0

func (m *EventLoanOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventLoanOpen) XXX_Merge added in v1.121.0

func (m *EventLoanOpen) XXX_Merge(src proto.Message)

func (*EventLoanOpen) XXX_Size added in v1.121.0

func (m *EventLoanOpen) XXX_Size() int

func (*EventLoanOpen) XXX_Unmarshal added in v1.121.0

func (m *EventLoanOpen) XXX_Unmarshal(b []byte) error

type EventLoanRepayment added in v1.121.0

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 added in v1.121.0

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 added in v1.121.0

func (*EventLoanRepayment) Descriptor() ([]byte, []int)

func (*EventLoanRepayment) Events added in v1.121.0

func (m *EventLoanRepayment) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventLoanRepayment) GetCollateralAsset added in v1.121.0

func (m *EventLoanRepayment) GetCollateralAsset() common.Asset

func (*EventLoanRepayment) GetOwner added in v1.121.0

func (*EventLoanRepayment) GetTxID added in v1.121.0

func (*EventLoanRepayment) Marshal added in v1.121.0

func (m *EventLoanRepayment) Marshal() (dAtA []byte, err error)

func (*EventLoanRepayment) MarshalTo added in v1.121.0

func (m *EventLoanRepayment) MarshalTo(dAtA []byte) (int, error)

func (*EventLoanRepayment) MarshalToSizedBuffer added in v1.121.0

func (m *EventLoanRepayment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventLoanRepayment) ProtoMessage added in v1.121.0

func (*EventLoanRepayment) ProtoMessage()

func (*EventLoanRepayment) Reset added in v1.121.0

func (m *EventLoanRepayment) Reset()

func (*EventLoanRepayment) Size added in v1.121.0

func (m *EventLoanRepayment) Size() (n int)

func (*EventLoanRepayment) String added in v1.121.0

func (m *EventLoanRepayment) String() string

func (*EventLoanRepayment) Type added in v1.121.0

func (m *EventLoanRepayment) Type() string

Type return a string which represent the type of this event

func (*EventLoanRepayment) Unmarshal added in v1.121.0

func (m *EventLoanRepayment) Unmarshal(dAtA []byte) error

func (*EventLoanRepayment) XXX_DiscardUnknown added in v1.121.0

func (m *EventLoanRepayment) XXX_DiscardUnknown()

func (*EventLoanRepayment) XXX_Marshal added in v1.121.0

func (m *EventLoanRepayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventLoanRepayment) XXX_Merge added in v1.121.0

func (m *EventLoanRepayment) XXX_Merge(src proto.Message)

func (*EventLoanRepayment) XXX_Size added in v1.121.0

func (m *EventLoanRepayment) XXX_Size() int

func (*EventLoanRepayment) XXX_Unmarshal added in v1.121.0

func (m *EventLoanRepayment) XXX_Unmarshal(b []byte) error

type EventMintBurn added in v1.121.0

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 added in v1.121.0

func NewEventMintBurn(t MintBurnSupplyType, denom string, amt cosmos.Uint, reason string) *EventMintBurn

NewEventMintBurn create a new instance of EventMintBurn

func (*EventMintBurn) Descriptor added in v1.121.0

func (*EventMintBurn) Descriptor() ([]byte, []int)

func (*EventMintBurn) Events added in v1.121.0

func (m *EventMintBurn) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventMintBurn) GetDenom added in v1.121.0

func (m *EventMintBurn) GetDenom() string

func (*EventMintBurn) GetReason added in v1.121.0

func (m *EventMintBurn) GetReason() string

func (*EventMintBurn) GetSupply added in v1.121.0

func (m *EventMintBurn) GetSupply() MintBurnSupplyType

func (*EventMintBurn) Marshal added in v1.121.0

func (m *EventMintBurn) Marshal() (dAtA []byte, err error)

func (*EventMintBurn) MarshalTo added in v1.121.0

func (m *EventMintBurn) MarshalTo(dAtA []byte) (int, error)

func (*EventMintBurn) MarshalToSizedBuffer added in v1.121.0

func (m *EventMintBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMintBurn) ProtoMessage added in v1.121.0

func (*EventMintBurn) ProtoMessage()

func (*EventMintBurn) Reset added in v1.121.0

func (m *EventMintBurn) Reset()

func (*EventMintBurn) Size added in v1.121.0

func (m *EventMintBurn) Size() (n int)

func (*EventMintBurn) String added in v1.121.0

func (m *EventMintBurn) String() string

func (*EventMintBurn) Type added in v1.121.0

func (m *EventMintBurn) Type() string

func (*EventMintBurn) Unmarshal added in v1.121.0

func (m *EventMintBurn) Unmarshal(dAtA []byte) error

func (*EventMintBurn) XXX_DiscardUnknown added in v1.121.0

func (m *EventMintBurn) XXX_DiscardUnknown()

func (*EventMintBurn) XXX_Marshal added in v1.121.0

func (m *EventMintBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMintBurn) XXX_Merge added in v1.121.0

func (m *EventMintBurn) XXX_Merge(src proto.Message)

func (*EventMintBurn) XXX_Size added in v1.121.0

func (m *EventMintBurn) XXX_Size() int

func (*EventMintBurn) XXX_Unmarshal added in v1.121.0

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 added in v0.41.0

func (*EventOutbound) Descriptor() ([]byte, []int)

func (*EventOutbound) Events

func (m *EventOutbound) Events() (cosmos.Events, error)

Events return sdk events

func (*EventOutbound) GetInTxID added in v0.41.0

func (*EventOutbound) GetTx added in v0.41.0

func (m *EventOutbound) GetTx() common.Tx

func (*EventOutbound) Marshal added in v0.41.0

func (m *EventOutbound) Marshal() (dAtA []byte, err error)

func (*EventOutbound) MarshalTo added in v0.41.0

func (m *EventOutbound) MarshalTo(dAtA []byte) (int, error)

func (*EventOutbound) MarshalToSizedBuffer added in v0.41.0

func (m *EventOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventOutbound) ProtoMessage added in v0.41.0

func (*EventOutbound) ProtoMessage()

func (*EventOutbound) Reset added in v0.41.0

func (m *EventOutbound) Reset()

func (*EventOutbound) Size added in v0.41.0

func (m *EventOutbound) Size() (n int)

func (*EventOutbound) String added in v0.41.0

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 added in v0.41.0

func (m *EventOutbound) Unmarshal(dAtA []byte) error

func (*EventOutbound) XXX_DiscardUnknown added in v0.41.0

func (m *EventOutbound) XXX_DiscardUnknown()

func (*EventOutbound) XXX_Marshal added in v0.41.0

func (m *EventOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventOutbound) XXX_Merge added in v0.41.0

func (m *EventOutbound) XXX_Merge(src proto.Message)

func (*EventOutbound) XXX_Size added in v0.41.0

func (m *EventOutbound) XXX_Size() int

func (*EventOutbound) XXX_Unmarshal added in v0.41.0

func (m *EventOutbound) XXX_Unmarshal(b []byte) error

type EventPendingLiquidity added in v0.54.0

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 added in v0.54.0

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 added in v0.54.0

func (*EventPendingLiquidity) Descriptor() ([]byte, []int)

func (*EventPendingLiquidity) Events added in v0.54.0

func (m *EventPendingLiquidity) Events() (cosmos.Events, error)

Events return cosmos.Events which is cosmos.Attribute(key value pairs)

func (*EventPendingLiquidity) GetAssetAddress added in v0.54.0

func (*EventPendingLiquidity) GetAssetTxID added in v0.54.0

func (*EventPendingLiquidity) GetPendingType added in v0.54.0

func (m *EventPendingLiquidity) GetPendingType() PendingLiquidityType

func (*EventPendingLiquidity) GetPool added in v0.54.0

func (m *EventPendingLiquidity) GetPool() common.Asset

func (*EventPendingLiquidity) GetRuneAddress added in v0.54.0

func (*EventPendingLiquidity) GetRuneTxID added in v0.54.0

func (*EventPendingLiquidity) Marshal added in v0.54.0

func (m *EventPendingLiquidity) Marshal() (dAtA []byte, err error)

func (*EventPendingLiquidity) MarshalTo added in v0.54.0

func (m *EventPendingLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*EventPendingLiquidity) MarshalToSizedBuffer added in v0.54.0

func (m *EventPendingLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPendingLiquidity) ProtoMessage added in v0.54.0

func (*EventPendingLiquidity) ProtoMessage()

func (*EventPendingLiquidity) Reset added in v0.54.0

func (m *EventPendingLiquidity) Reset()

func (*EventPendingLiquidity) Size added in v0.54.0

func (m *EventPendingLiquidity) Size() (n int)

func (*EventPendingLiquidity) String added in v0.54.0

func (m *EventPendingLiquidity) String() string

func (*EventPendingLiquidity) Type added in v0.54.0

func (m *EventPendingLiquidity) Type() string

Type return the event type

func (*EventPendingLiquidity) Unmarshal added in v0.54.0

func (m *EventPendingLiquidity) Unmarshal(dAtA []byte) error

func (*EventPendingLiquidity) XXX_DiscardUnknown added in v0.54.0

func (m *EventPendingLiquidity) XXX_DiscardUnknown()

func (*EventPendingLiquidity) XXX_Marshal added in v0.54.0

func (m *EventPendingLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPendingLiquidity) XXX_Merge added in v0.54.0

func (m *EventPendingLiquidity) XXX_Merge(src proto.Message)

func (*EventPendingLiquidity) XXX_Size added in v0.54.0

func (m *EventPendingLiquidity) XXX_Size() int

func (*EventPendingLiquidity) XXX_Unmarshal added in v0.54.0

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 added in v0.41.0

func (*EventPool) Descriptor() ([]byte, []int)

func (*EventPool) Events

func (m *EventPool) Events() (cosmos.Events, error)

Events provide an instance of cosmos.Events

func (*EventPool) GetPool added in v0.41.0

func (m *EventPool) GetPool() common.Asset

func (*EventPool) GetStatus added in v0.41.0

func (m *EventPool) GetStatus() PoolStatus

func (*EventPool) Marshal added in v0.41.0

func (m *EventPool) Marshal() (dAtA []byte, err error)

func (*EventPool) MarshalTo added in v0.41.0

func (m *EventPool) MarshalTo(dAtA []byte) (int, error)

func (*EventPool) MarshalToSizedBuffer added in v0.41.0

func (m *EventPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPool) ProtoMessage added in v0.41.0

func (*EventPool) ProtoMessage()

func (*EventPool) Reset added in v0.41.0

func (m *EventPool) Reset()

func (*EventPool) Size added in v0.41.0

func (m *EventPool) Size() (n int)

func (*EventPool) String added in v0.41.0

func (m *EventPool) String() string

func (*EventPool) Type

func (m *EventPool) Type() string

Type return pool event type

func (*EventPool) Unmarshal added in v0.41.0

func (m *EventPool) Unmarshal(dAtA []byte) error

func (*EventPool) XXX_DiscardUnknown added in v0.41.0

func (m *EventPool) XXX_DiscardUnknown()

func (*EventPool) XXX_Marshal added in v0.41.0

func (m *EventPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPool) XXX_Merge added in v0.41.0

func (m *EventPool) XXX_Merge(src proto.Message)

func (*EventPool) XXX_Size added in v0.41.0

func (m *EventPool) XXX_Size() int

func (*EventPool) XXX_Unmarshal added in v0.41.0

func (m *EventPool) XXX_Unmarshal(b []byte) error

type EventPoolBalanceChanged added in v0.41.0

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 added in v0.41.0

func NewEventPoolBalanceChanged(poolMod PoolMod, reason string) *EventPoolBalanceChanged

NewEventPoolBalanceChanged create a new instance of EventPoolBalanceChanged

func (*EventPoolBalanceChanged) Descriptor added in v0.41.0

func (*EventPoolBalanceChanged) Descriptor() ([]byte, []int)

func (*EventPoolBalanceChanged) Events added in v0.41.0

func (m *EventPoolBalanceChanged) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventPoolBalanceChanged) GetPoolChange added in v0.41.0

func (m *EventPoolBalanceChanged) GetPoolChange() PoolMod

func (*EventPoolBalanceChanged) GetReason added in v0.41.0

func (m *EventPoolBalanceChanged) GetReason() string

func (*EventPoolBalanceChanged) Marshal added in v0.41.0

func (m *EventPoolBalanceChanged) Marshal() (dAtA []byte, err error)

func (*EventPoolBalanceChanged) MarshalTo added in v0.41.0

func (m *EventPoolBalanceChanged) MarshalTo(dAtA []byte) (int, error)

func (*EventPoolBalanceChanged) MarshalToSizedBuffer added in v0.41.0

func (m *EventPoolBalanceChanged) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPoolBalanceChanged) ProtoMessage added in v0.41.0

func (*EventPoolBalanceChanged) ProtoMessage()

func (*EventPoolBalanceChanged) Reset added in v0.41.0

func (m *EventPoolBalanceChanged) Reset()

func (*EventPoolBalanceChanged) Size added in v0.41.0

func (m *EventPoolBalanceChanged) Size() (n int)

func (*EventPoolBalanceChanged) String added in v0.41.0

func (m *EventPoolBalanceChanged) String() string

func (*EventPoolBalanceChanged) Type added in v0.41.0

func (m *EventPoolBalanceChanged) Type() string

Type return a string which represent the type of this event

func (*EventPoolBalanceChanged) Unmarshal added in v0.41.0

func (m *EventPoolBalanceChanged) Unmarshal(dAtA []byte) error

func (*EventPoolBalanceChanged) XXX_DiscardUnknown added in v0.41.0

func (m *EventPoolBalanceChanged) XXX_DiscardUnknown()

func (*EventPoolBalanceChanged) XXX_Marshal added in v0.41.0

func (m *EventPoolBalanceChanged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPoolBalanceChanged) XXX_Merge added in v0.41.0

func (m *EventPoolBalanceChanged) XXX_Merge(src proto.Message)

func (*EventPoolBalanceChanged) XXX_Size added in v0.41.0

func (m *EventPoolBalanceChanged) XXX_Size() int

func (*EventPoolBalanceChanged) XXX_Unmarshal added in v0.41.0

func (m *EventPoolBalanceChanged) 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

func NewEventRefund(code uint32, reason string, inTx common.Tx, fee common.Fee) *EventRefund

NewEventRefund create a new EventRefund

func (*EventRefund) Descriptor added in v0.41.0

func (*EventRefund) Descriptor() ([]byte, []int)

func (*EventRefund) Events

func (m *EventRefund) Events() (cosmos.Events, error)

Events return events

func (*EventRefund) GetCode added in v0.41.0

func (m *EventRefund) GetCode() uint32

func (*EventRefund) GetFee added in v0.41.0

func (m *EventRefund) GetFee() common.Fee

func (*EventRefund) GetInTx added in v0.41.0

func (m *EventRefund) GetInTx() common.Tx

func (*EventRefund) GetReason added in v0.41.0

func (m *EventRefund) GetReason() string

func (*EventRefund) Marshal added in v0.41.0

func (m *EventRefund) Marshal() (dAtA []byte, err error)

func (*EventRefund) MarshalTo added in v0.41.0

func (m *EventRefund) MarshalTo(dAtA []byte) (int, error)

func (*EventRefund) MarshalToSizedBuffer added in v0.41.0

func (m *EventRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventRefund) ProtoMessage added in v0.41.0

func (*EventRefund) ProtoMessage()

func (*EventRefund) Reset added in v0.41.0

func (m *EventRefund) Reset()

func (*EventRefund) Size added in v0.41.0

func (m *EventRefund) Size() (n int)

func (*EventRefund) String added in v0.41.0

func (m *EventRefund) String() string

func (*EventRefund) Type

func (m *EventRefund) Type() string

Type return reward event type

func (*EventRefund) Unmarshal added in v0.41.0

func (m *EventRefund) Unmarshal(dAtA []byte) error

func (*EventRefund) XXX_DiscardUnknown added in v0.41.0

func (m *EventRefund) XXX_DiscardUnknown()

func (*EventRefund) XXX_Marshal added in v0.41.0

func (m *EventRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventRefund) XXX_Merge added in v0.41.0

func (m *EventRefund) XXX_Merge(src proto.Message)

func (*EventRefund) XXX_Size added in v0.41.0

func (m *EventRefund) XXX_Size() int

func (*EventRefund) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*EventReserve) Descriptor() ([]byte, []int)

func (*EventReserve) Events

func (m *EventReserve) Events() (cosmos.Events, error)

Events return standard cosmos event

func (*EventReserve) GetInTx added in v0.41.0

func (m *EventReserve) GetInTx() common.Tx

func (*EventReserve) GetReserveContributor added in v0.41.0

func (m *EventReserve) GetReserveContributor() ReserveContributor

func (*EventReserve) Marshal added in v0.41.0

func (m *EventReserve) Marshal() (dAtA []byte, err error)

func (*EventReserve) MarshalTo added in v0.41.0

func (m *EventReserve) MarshalTo(dAtA []byte) (int, error)

func (*EventReserve) MarshalToSizedBuffer added in v0.41.0

func (m *EventReserve) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventReserve) ProtoMessage added in v0.41.0

func (*EventReserve) ProtoMessage()

func (*EventReserve) Reset added in v0.41.0

func (m *EventReserve) Reset()

func (*EventReserve) Size added in v0.41.0

func (m *EventReserve) Size() (n int)

func (*EventReserve) String added in v0.41.0

func (m *EventReserve) String() string

func (*EventReserve) Type

func (m *EventReserve) Type() string

Type return the event Type

func (*EventReserve) Unmarshal added in v0.41.0

func (m *EventReserve) Unmarshal(dAtA []byte) error

func (*EventReserve) XXX_DiscardUnknown added in v0.41.0

func (m *EventReserve) XXX_DiscardUnknown()

func (*EventReserve) XXX_Marshal added in v0.41.0

func (m *EventReserve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventReserve) XXX_Merge added in v0.41.0

func (m *EventReserve) XXX_Merge(src proto.Message)

func (*EventReserve) XXX_Size added in v0.41.0

func (m *EventReserve) XXX_Size() int

func (*EventReserve) XXX_Unmarshal added in v0.41.0

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"`
}

func NewEventRewards

func NewEventRewards(bondReward cosmos.Uint, poolRewards []PoolAmt) *EventRewards

NewEventRewards create a new reward event

func (*EventRewards) Descriptor added in v0.41.0

func (*EventRewards) Descriptor() ([]byte, []int)

func (*EventRewards) Events

func (m *EventRewards) Events() (cosmos.Events, error)

Events return a standard cosmos event

func (*EventRewards) GetPoolRewards added in v0.41.0

func (m *EventRewards) GetPoolRewards() []PoolAmt

func (*EventRewards) Marshal added in v0.41.0

func (m *EventRewards) Marshal() (dAtA []byte, err error)

func (*EventRewards) MarshalTo added in v0.41.0

func (m *EventRewards) MarshalTo(dAtA []byte) (int, error)

func (*EventRewards) MarshalToSizedBuffer added in v0.41.0

func (m *EventRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventRewards) ProtoMessage added in v0.41.0

func (*EventRewards) ProtoMessage()

func (*EventRewards) Reset added in v0.41.0

func (m *EventRewards) Reset()

func (*EventRewards) Size added in v0.41.0

func (m *EventRewards) Size() (n int)

func (*EventRewards) String added in v0.41.0

func (m *EventRewards) String() string

func (*EventRewards) Type

func (m *EventRewards) Type() string

Type return reward event type

func (*EventRewards) Unmarshal added in v0.41.0

func (m *EventRewards) Unmarshal(dAtA []byte) error

func (*EventRewards) XXX_DiscardUnknown added in v0.41.0

func (m *EventRewards) XXX_DiscardUnknown()

func (*EventRewards) XXX_Marshal added in v0.41.0

func (m *EventRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventRewards) XXX_Merge added in v0.41.0

func (m *EventRewards) XXX_Merge(src proto.Message)

func (*EventRewards) XXX_Size added in v0.41.0

func (m *EventRewards) XXX_Size() int

func (*EventRewards) XXX_Unmarshal added in v0.41.0

func (m *EventRewards) XXX_Unmarshal(b []byte) error

type EventScheduledOutbound added in v1.88.0

type EventScheduledOutbound struct {
	OutTx TxOutItem `protobuf:"bytes,1,opt,name=out_tx,json=outTx,proto3" json:"out_tx"`
}

func NewEventScheduledOutbound added in v1.88.0

func NewEventScheduledOutbound(tx TxOutItem) *EventScheduledOutbound

NewEventScheduledOutbound creates a new scheduled outbound event.

func (*EventScheduledOutbound) Descriptor added in v1.88.0

func (*EventScheduledOutbound) Descriptor() ([]byte, []int)

func (*EventScheduledOutbound) Events added in v1.88.0

func (m *EventScheduledOutbound) Events() (cosmos.Events, error)

Events returns the cosmos events for the scheduled outbound event.

func (*EventScheduledOutbound) GetOutTx added in v1.88.0

func (m *EventScheduledOutbound) GetOutTx() TxOutItem

func (*EventScheduledOutbound) Marshal added in v1.88.0

func (m *EventScheduledOutbound) Marshal() (dAtA []byte, err error)

func (*EventScheduledOutbound) MarshalTo added in v1.88.0

func (m *EventScheduledOutbound) MarshalTo(dAtA []byte) (int, error)

func (*EventScheduledOutbound) MarshalToSizedBuffer added in v1.88.0

func (m *EventScheduledOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventScheduledOutbound) ProtoMessage added in v1.88.0

func (*EventScheduledOutbound) ProtoMessage()

func (*EventScheduledOutbound) Reset added in v1.88.0

func (m *EventScheduledOutbound) Reset()

func (*EventScheduledOutbound) Size added in v1.88.0

func (m *EventScheduledOutbound) Size() (n int)

func (*EventScheduledOutbound) String added in v1.88.0

func (m *EventScheduledOutbound) String() string

func (*EventScheduledOutbound) Type added in v1.88.0

func (m *EventScheduledOutbound) Type() string

Type returns the scheduled outbound event type.

func (*EventScheduledOutbound) Unmarshal added in v1.88.0

func (m *EventScheduledOutbound) Unmarshal(dAtA []byte) error

func (*EventScheduledOutbound) XXX_DiscardUnknown added in v1.88.0

func (m *EventScheduledOutbound) XXX_DiscardUnknown()

func (*EventScheduledOutbound) XXX_Marshal added in v1.88.0

func (m *EventScheduledOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventScheduledOutbound) XXX_Merge added in v1.88.0

func (m *EventScheduledOutbound) XXX_Merge(src proto.Message)

func (*EventScheduledOutbound) XXX_Size added in v1.88.0

func (m *EventScheduledOutbound) XXX_Size() int

func (*EventScheduledOutbound) XXX_Unmarshal added in v1.88.0

func (m *EventScheduledOutbound) XXX_Unmarshal(b []byte) error

type EventSecurity added in v1.87.0

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 added in v1.87.0

func NewEventSecurity(tx common.Tx, msg string) *EventSecurity

NewEventSecurity creates a new security event.

func (*EventSecurity) Descriptor added in v1.87.0

func (*EventSecurity) Descriptor() ([]byte, []int)

func (*EventSecurity) Events added in v1.87.0

func (m *EventSecurity) Events() (cosmos.Events, error)

Events returns the cosmos events for the security event.

func (*EventSecurity) GetMsg added in v1.87.0

func (m *EventSecurity) GetMsg() string

func (*EventSecurity) GetTx added in v1.87.0

func (m *EventSecurity) GetTx() common.Tx

func (*EventSecurity) Marshal added in v1.87.0

func (m *EventSecurity) Marshal() (dAtA []byte, err error)

func (*EventSecurity) MarshalTo added in v1.87.0

func (m *EventSecurity) MarshalTo(dAtA []byte) (int, error)

func (*EventSecurity) MarshalToSizedBuffer added in v1.87.0

func (m *EventSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSecurity) ProtoMessage added in v1.87.0

func (*EventSecurity) ProtoMessage()

func (*EventSecurity) Reset added in v1.87.0

func (m *EventSecurity) Reset()

func (*EventSecurity) Size added in v1.87.0

func (m *EventSecurity) Size() (n int)

func (*EventSecurity) String added in v1.87.0

func (m *EventSecurity) String() string

func (*EventSecurity) Type added in v1.87.0

func (m *EventSecurity) Type() string

Type returns the security event type.

func (*EventSecurity) Unmarshal added in v1.87.0

func (m *EventSecurity) Unmarshal(dAtA []byte) error

func (*EventSecurity) XXX_DiscardUnknown added in v1.87.0

func (m *EventSecurity) XXX_DiscardUnknown()

func (*EventSecurity) XXX_Marshal added in v1.87.0

func (m *EventSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSecurity) XXX_Merge added in v1.87.0

func (m *EventSecurity) XXX_Merge(src proto.Message)

func (*EventSecurity) XXX_Size added in v1.87.0

func (m *EventSecurity) XXX_Size() int

func (*EventSecurity) XXX_Unmarshal added in v1.87.0

func (m *EventSecurity) XXX_Unmarshal(b []byte) error

type EventSetMimir added in v1.87.0

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 added in v1.87.0

func NewEventSetMimir(key, value string) *EventSetMimir

NewEventSetMimir create a new instance of EventSetMimir

func (*EventSetMimir) Descriptor added in v1.87.0

func (*EventSetMimir) Descriptor() ([]byte, []int)

func (*EventSetMimir) Events added in v1.87.0

func (m *EventSetMimir) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventSetMimir) GetKey added in v1.87.0

func (m *EventSetMimir) GetKey() string

func (*EventSetMimir) GetValue added in v1.87.0

func (m *EventSetMimir) GetValue() string

func (*EventSetMimir) Marshal added in v1.87.0

func (m *EventSetMimir) Marshal() (dAtA []byte, err error)

func (*EventSetMimir) MarshalTo added in v1.87.0

func (m *EventSetMimir) MarshalTo(dAtA []byte) (int, error)

func (*EventSetMimir) MarshalToSizedBuffer added in v1.87.0

func (m *EventSetMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSetMimir) ProtoMessage added in v1.87.0

func (*EventSetMimir) ProtoMessage()

func (*EventSetMimir) Reset added in v1.87.0

func (m *EventSetMimir) Reset()

func (*EventSetMimir) Size added in v1.87.0

func (m *EventSetMimir) Size() (n int)

func (*EventSetMimir) String added in v1.87.0

func (m *EventSetMimir) String() string

func (*EventSetMimir) Type added in v1.87.0

func (m *EventSetMimir) Type() string

Type return a string which represent the type of this event

func (*EventSetMimir) Unmarshal added in v1.87.0

func (m *EventSetMimir) Unmarshal(dAtA []byte) error

func (*EventSetMimir) XXX_DiscardUnknown added in v1.87.0

func (m *EventSetMimir) XXX_DiscardUnknown()

func (*EventSetMimir) XXX_Marshal added in v1.87.0

func (m *EventSetMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSetMimir) XXX_Merge added in v1.87.0

func (m *EventSetMimir) XXX_Merge(src proto.Message)

func (*EventSetMimir) XXX_Size added in v1.87.0

func (m *EventSetMimir) XXX_Size() int

func (*EventSetMimir) XXX_Unmarshal added in v1.87.0

func (m *EventSetMimir) XXX_Unmarshal(b []byte) error

type EventSetNodeMimir added in v1.87.0

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 added in v1.87.0

func NewEventSetNodeMimir(key, value, address string) *EventSetNodeMimir

NewEventSetNodeMimir create a new instance of EventSetNodeMimir

func (*EventSetNodeMimir) Descriptor added in v1.87.0

func (*EventSetNodeMimir) Descriptor() ([]byte, []int)

func (*EventSetNodeMimir) Events added in v1.87.0

func (m *EventSetNodeMimir) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventSetNodeMimir) GetAddress added in v1.87.0

func (m *EventSetNodeMimir) GetAddress() string

func (*EventSetNodeMimir) GetKey added in v1.87.0

func (m *EventSetNodeMimir) GetKey() string

func (*EventSetNodeMimir) GetValue added in v1.87.0

func (m *EventSetNodeMimir) GetValue() string

func (*EventSetNodeMimir) Marshal added in v1.87.0

func (m *EventSetNodeMimir) Marshal() (dAtA []byte, err error)

func (*EventSetNodeMimir) MarshalTo added in v1.87.0

func (m *EventSetNodeMimir) MarshalTo(dAtA []byte) (int, error)

func (*EventSetNodeMimir) MarshalToSizedBuffer added in v1.87.0

func (m *EventSetNodeMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSetNodeMimir) ProtoMessage added in v1.87.0

func (*EventSetNodeMimir) ProtoMessage()

func (*EventSetNodeMimir) Reset added in v1.87.0

func (m *EventSetNodeMimir) Reset()

func (*EventSetNodeMimir) Size added in v1.87.0

func (m *EventSetNodeMimir) Size() (n int)

func (*EventSetNodeMimir) String added in v1.87.0

func (m *EventSetNodeMimir) String() string

func (*EventSetNodeMimir) Type added in v1.87.0

func (m *EventSetNodeMimir) Type() string

Type return a string which represent the type of this event

func (*EventSetNodeMimir) Unmarshal added in v1.87.0

func (m *EventSetNodeMimir) Unmarshal(dAtA []byte) error

func (*EventSetNodeMimir) XXX_DiscardUnknown added in v1.87.0

func (m *EventSetNodeMimir) XXX_DiscardUnknown()

func (*EventSetNodeMimir) XXX_Marshal added in v1.87.0

func (m *EventSetNodeMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSetNodeMimir) XXX_Merge added in v1.87.0

func (m *EventSetNodeMimir) XXX_Merge(src proto.Message)

func (*EventSetNodeMimir) XXX_Size added in v1.87.0

func (m *EventSetNodeMimir) XXX_Size() int

func (*EventSetNodeMimir) XXX_Unmarshal added in v1.87.0

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 added in v0.41.0

func (*EventSlash) Descriptor() ([]byte, []int)

func (*EventSlash) Events

func (m *EventSlash) Events() (cosmos.Events, error)

Events return a standard cosmos events

func (*EventSlash) GetPool added in v0.41.0

func (m *EventSlash) GetPool() common.Asset

func (*EventSlash) GetSlashAmount added in v0.41.0

func (m *EventSlash) GetSlashAmount() []PoolAmt

func (*EventSlash) Marshal added in v0.41.0

func (m *EventSlash) Marshal() (dAtA []byte, err error)

func (*EventSlash) MarshalTo added in v0.41.0

func (m *EventSlash) MarshalTo(dAtA []byte) (int, error)

func (*EventSlash) MarshalToSizedBuffer added in v0.41.0

func (m *EventSlash) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSlash) ProtoMessage added in v0.41.0

func (*EventSlash) ProtoMessage()

func (*EventSlash) Reset added in v0.41.0

func (m *EventSlash) Reset()

func (*EventSlash) Size added in v0.41.0

func (m *EventSlash) Size() (n int)

func (*EventSlash) String added in v0.41.0

func (m *EventSlash) String() string

func (*EventSlash) Type

func (m *EventSlash) Type() string

Type return slash event type

func (*EventSlash) Unmarshal added in v0.41.0

func (m *EventSlash) Unmarshal(dAtA []byte) error

func (*EventSlash) XXX_DiscardUnknown added in v0.41.0

func (m *EventSlash) XXX_DiscardUnknown()

func (*EventSlash) XXX_Marshal added in v0.41.0

func (m *EventSlash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSlash) XXX_Merge added in v0.41.0

func (m *EventSlash) XXX_Merge(src proto.Message)

func (*EventSlash) XXX_Size added in v0.41.0

func (m *EventSlash) XXX_Size() int

func (*EventSlash) XXX_Unmarshal added in v0.41.0

func (m *EventSlash) XXX_Unmarshal(b []byte) error

type EventSlashPoint added in v0.41.0

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 added in v0.41.0

func NewEventSlashPoint(addr cosmos.AccAddress, slashPoints int64, reason string) *EventSlashPoint

NewEventSlashPoint create a new slash point event

func (*EventSlashPoint) Descriptor added in v0.41.0

func (*EventSlashPoint) Descriptor() ([]byte, []int)

func (*EventSlashPoint) Events added in v0.41.0

func (m *EventSlashPoint) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventSlashPoint) GetNodeAddress added in v0.41.0

func (*EventSlashPoint) GetReason added in v0.41.0

func (m *EventSlashPoint) GetReason() string

func (*EventSlashPoint) GetSlashPoints added in v0.41.0

func (m *EventSlashPoint) GetSlashPoints() int64

func (*EventSlashPoint) Marshal added in v0.41.0

func (m *EventSlashPoint) Marshal() (dAtA []byte, err error)

func (*EventSlashPoint) MarshalTo added in v0.41.0

func (m *EventSlashPoint) MarshalTo(dAtA []byte) (int, error)

func (*EventSlashPoint) MarshalToSizedBuffer added in v0.41.0

func (m *EventSlashPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSlashPoint) ProtoMessage added in v0.41.0

func (*EventSlashPoint) ProtoMessage()

func (*EventSlashPoint) Reset added in v0.41.0

func (m *EventSlashPoint) Reset()

func (*EventSlashPoint) Size added in v0.41.0

func (m *EventSlashPoint) Size() (n int)

func (*EventSlashPoint) String added in v0.41.0

func (m *EventSlashPoint) String() string

func (*EventSlashPoint) Type added in v0.41.0

func (m *EventSlashPoint) Type() string

Type return a string which represent the type of this event

func (*EventSlashPoint) Unmarshal added in v0.41.0

func (m *EventSlashPoint) Unmarshal(dAtA []byte) error

func (*EventSlashPoint) XXX_DiscardUnknown added in v0.41.0

func (m *EventSlashPoint) XXX_DiscardUnknown()

func (*EventSlashPoint) XXX_Marshal added in v0.41.0

func (m *EventSlashPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSlashPoint) XXX_Merge added in v0.41.0

func (m *EventSlashPoint) XXX_Merge(src proto.Message)

func (*EventSlashPoint) XXX_Size added in v0.41.0

func (m *EventSlashPoint) XXX_Size() int

func (*EventSlashPoint) XXX_Unmarshal added in v0.41.0

func (m *EventSlashPoint) XXX_Unmarshal(b []byte) error

type EventStreamingSwap added in v1.121.0

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 added in v1.121.0

func NewEventStreamingSwap(inAsset, outAsset common.Asset, swp StreamingSwap) *EventStreamingSwap

NewEventStreamingSwap create a new streaming swap event

func (*EventStreamingSwap) Descriptor added in v1.121.0

func (*EventStreamingSwap) Descriptor() ([]byte, []int)

func (*EventStreamingSwap) Events added in v1.121.0

func (m *EventStreamingSwap) Events() (cosmos.Events, error)

Events convert EventSwap to key value pairs used in cosmos

func (*EventStreamingSwap) GetCount added in v1.121.0

func (m *EventStreamingSwap) GetCount() uint64

func (*EventStreamingSwap) GetDeposit added in v1.121.0

func (m *EventStreamingSwap) GetDeposit() common.Coin

func (*EventStreamingSwap) GetFailedSwapReasons added in v1.121.0

func (m *EventStreamingSwap) GetFailedSwapReasons() []string

func (*EventStreamingSwap) GetFailedSwaps added in v1.121.0

func (m *EventStreamingSwap) GetFailedSwaps() []uint64

func (*EventStreamingSwap) GetIn added in v1.121.0

func (m *EventStreamingSwap) GetIn() common.Coin

func (*EventStreamingSwap) GetInterval added in v1.121.0

func (m *EventStreamingSwap) GetInterval() uint64

func (*EventStreamingSwap) GetLastHeight added in v1.121.0

func (m *EventStreamingSwap) GetLastHeight() int64

func (*EventStreamingSwap) GetOut added in v1.121.0

func (m *EventStreamingSwap) GetOut() common.Coin

func (*EventStreamingSwap) GetQuantity added in v1.121.0

func (m *EventStreamingSwap) GetQuantity() uint64

func (*EventStreamingSwap) GetTxID added in v1.121.0

func (*EventStreamingSwap) Marshal added in v1.121.0

func (m *EventStreamingSwap) Marshal() (dAtA []byte, err error)

func (*EventStreamingSwap) MarshalTo added in v1.121.0

func (m *EventStreamingSwap) MarshalTo(dAtA []byte) (int, error)

func (*EventStreamingSwap) MarshalToSizedBuffer added in v1.121.0

func (m *EventStreamingSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventStreamingSwap) ProtoMessage added in v1.121.0

func (*EventStreamingSwap) ProtoMessage()

func (*EventStreamingSwap) Reset added in v1.121.0

func (m *EventStreamingSwap) Reset()

func (*EventStreamingSwap) Size added in v1.121.0

func (m *EventStreamingSwap) Size() (n int)

func (*EventStreamingSwap) String added in v1.121.0

func (m *EventStreamingSwap) String() string

func (*EventStreamingSwap) Type added in v1.121.0

func (m *EventStreamingSwap) Type() string

Type return a string that represent the type, it should not duplicated with other event

func (*EventStreamingSwap) Unmarshal added in v1.121.0

func (m *EventStreamingSwap) Unmarshal(dAtA []byte) error

func (*EventStreamingSwap) XXX_DiscardUnknown added in v1.121.0

func (m *EventStreamingSwap) XXX_DiscardUnknown()

func (*EventStreamingSwap) XXX_Marshal added in v1.121.0

func (m *EventStreamingSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStreamingSwap) XXX_Merge added in v1.121.0

func (m *EventStreamingSwap) XXX_Merge(src proto.Message)

func (*EventStreamingSwap) XXX_Size added in v1.121.0

func (m *EventStreamingSwap) XXX_Size() int

func (*EventStreamingSwap) XXX_Unmarshal added in v1.121.0

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 added in v0.41.0

func (*EventSwap) Descriptor() ([]byte, []int)

func (*EventSwap) Events

func (m *EventSwap) Events() (cosmos.Events, error)

Events convert EventSwap to key value pairs used in cosmos

func (*EventSwap) GetEmitAsset added in v0.41.0

func (m *EventSwap) GetEmitAsset() common.Coin

func (*EventSwap) GetInTx added in v0.41.0

func (m *EventSwap) GetInTx() common.Tx

func (*EventSwap) GetOutTxs added in v0.41.0

func (m *EventSwap) GetOutTxs() common.Tx

func (*EventSwap) GetPool added in v0.41.0

func (m *EventSwap) GetPool() common.Asset

func (*EventSwap) GetStreamingSwapCount added in v1.121.0

func (m *EventSwap) GetStreamingSwapCount() uint64

func (*EventSwap) GetStreamingSwapQuantity added in v1.121.0

func (m *EventSwap) GetStreamingSwapQuantity() uint64

func (*EventSwap) Marshal added in v0.41.0

func (m *EventSwap) Marshal() (dAtA []byte, err error)

func (*EventSwap) MarshalTo added in v0.41.0

func (m *EventSwap) MarshalTo(dAtA []byte) (int, error)

func (*EventSwap) MarshalToSizedBuffer added in v0.41.0

func (m *EventSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwap) ProtoMessage added in v0.41.0

func (*EventSwap) ProtoMessage()

func (*EventSwap) Reset added in v0.41.0

func (m *EventSwap) Reset()

func (*EventSwap) Size added in v0.41.0

func (m *EventSwap) Size() (n int)

func (*EventSwap) String added in v0.41.0

func (m *EventSwap) String() string

func (*EventSwap) Type

func (m *EventSwap) Type() string

Type return a string that represent the type, it should not duplicated with other event

func (*EventSwap) Unmarshal added in v0.41.0

func (m *EventSwap) Unmarshal(dAtA []byte) error

func (*EventSwap) XXX_DiscardUnknown added in v0.41.0

func (m *EventSwap) XXX_DiscardUnknown()

func (*EventSwap) XXX_Marshal added in v0.41.0

func (m *EventSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwap) XXX_Merge added in v0.41.0

func (m *EventSwap) XXX_Merge(src proto.Message)

func (*EventSwap) XXX_Size added in v0.41.0

func (m *EventSwap) XXX_Size() int

func (*EventSwap) XXX_Unmarshal added in v0.41.0

func (m *EventSwap) XXX_Unmarshal(b []byte) error

type EventSwitch added in v0.41.0

type EventSwitch struct {
	ToAddress   github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 143-byte string literal not displayed */
	FromAddress gitlab_com_thorchain_thornode_common.Address  `` /* 148-byte string literal not displayed */
	Burn        common.Coin                                   `protobuf:"bytes,3,opt,name=burn,proto3" json:"burn"`
	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"`
}

TODO remove on hard fork

func NewEventSwitch added in v0.41.0

func NewEventSwitch(from common.Address, to cosmos.AccAddress, coin common.Coin, hash common.TxID) *EventSwitch

NewEventSwitch create a new instance of EventSwitch

func (*EventSwitch) Descriptor added in v0.41.0

func (*EventSwitch) Descriptor() ([]byte, []int)

func (*EventSwitch) Events added in v0.41.0

func (m *EventSwitch) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventSwitch) GetBurn added in v0.41.0

func (m *EventSwitch) GetBurn() common.Coin

func (*EventSwitch) GetFromAddress added in v0.41.0

func (*EventSwitch) GetToAddress added in v0.41.0

func (*EventSwitch) GetTxID added in v1.87.0

func (*EventSwitch) Marshal added in v0.41.0

func (m *EventSwitch) Marshal() (dAtA []byte, err error)

func (*EventSwitch) MarshalTo added in v0.41.0

func (m *EventSwitch) MarshalTo(dAtA []byte) (int, error)

func (*EventSwitch) MarshalToSizedBuffer added in v0.41.0

func (m *EventSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwitch) ProtoMessage added in v0.41.0

func (*EventSwitch) ProtoMessage()

func (*EventSwitch) Reset added in v0.41.0

func (m *EventSwitch) Reset()

func (*EventSwitch) Size added in v0.41.0

func (m *EventSwitch) Size() (n int)

func (*EventSwitch) String added in v0.41.0

func (m *EventSwitch) String() string

func (*EventSwitch) Type added in v0.41.0

func (m *EventSwitch) Type() string

Type return a string which represent the type of this event

func (*EventSwitch) Unmarshal added in v0.41.0

func (m *EventSwitch) Unmarshal(dAtA []byte) error

func (*EventSwitch) XXX_DiscardUnknown added in v0.41.0

func (m *EventSwitch) XXX_DiscardUnknown()

func (*EventSwitch) XXX_Marshal added in v0.41.0

func (m *EventSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwitch) XXX_Merge added in v0.41.0

func (m *EventSwitch) XXX_Merge(src proto.Message)

func (*EventSwitch) XXX_Size added in v0.41.0

func (m *EventSwitch) XXX_Size() int

func (*EventSwitch) XXX_Unmarshal added in v0.41.0

func (m *EventSwitch) XXX_Unmarshal(b []byte) error

type EventSwitchV87 added in v1.87.0

type EventSwitchV87 struct {
	ToAddress   github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 143-byte string literal not displayed */
	FromAddress gitlab_com_thorchain_thornode_common.Address  `` /* 148-byte string literal not displayed */
	Burn        common.Coin                                   `protobuf:"bytes,3,opt,name=burn,proto3" json:"burn"`
	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"`
	Mint        github_com_cosmos_cosmos_sdk_types.Uint       `protobuf:"bytes,5,opt,name=mint,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"mint"`
}

TODO remove on hard fork

func NewEventSwitchV87 added in v1.87.0

func NewEventSwitchV87(from common.Address, to cosmos.AccAddress, coin common.Coin, hash common.TxID, mint cosmos.Uint) *EventSwitchV87

NewEventSwitchV87 create a new instance of EventSwitch

func (*EventSwitchV87) Descriptor added in v1.87.0

func (*EventSwitchV87) Descriptor() ([]byte, []int)

func (*EventSwitchV87) Events added in v1.87.0

func (m *EventSwitchV87) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventSwitchV87) GetBurn added in v1.87.0

func (m *EventSwitchV87) GetBurn() common.Coin

func (*EventSwitchV87) GetFromAddress added in v1.87.0

func (*EventSwitchV87) GetToAddress added in v1.87.0

func (*EventSwitchV87) GetTxID added in v1.87.0

func (*EventSwitchV87) Marshal added in v1.87.0

func (m *EventSwitchV87) Marshal() (dAtA []byte, err error)

func (*EventSwitchV87) MarshalTo added in v1.87.0

func (m *EventSwitchV87) MarshalTo(dAtA []byte) (int, error)

func (*EventSwitchV87) MarshalToSizedBuffer added in v1.87.0

func (m *EventSwitchV87) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSwitchV87) ProtoMessage added in v1.87.0

func (*EventSwitchV87) ProtoMessage()

func (*EventSwitchV87) Reset added in v1.87.0

func (m *EventSwitchV87) Reset()

func (*EventSwitchV87) Size added in v1.87.0

func (m *EventSwitchV87) Size() (n int)

func (*EventSwitchV87) String added in v1.87.0

func (m *EventSwitchV87) String() string

func (*EventSwitchV87) Type added in v1.87.0

func (m *EventSwitchV87) Type() string

Type return a string which represent the type of this event

func (*EventSwitchV87) Unmarshal added in v1.87.0

func (m *EventSwitchV87) Unmarshal(dAtA []byte) error

func (*EventSwitchV87) XXX_DiscardUnknown added in v1.87.0

func (m *EventSwitchV87) XXX_DiscardUnknown()

func (*EventSwitchV87) XXX_Marshal added in v1.87.0

func (m *EventSwitchV87) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSwitchV87) XXX_Merge added in v1.87.0

func (m *EventSwitchV87) XXX_Merge(src proto.Message)

func (*EventSwitchV87) XXX_Size added in v1.87.0

func (m *EventSwitchV87) XXX_Size() int

func (*EventSwitchV87) XXX_Unmarshal added in v1.87.0

func (m *EventSwitchV87) XXX_Unmarshal(b []byte) error

type EventTHORName added in v0.58.0

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 added in v0.58.0

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 added in v0.58.0

func (*EventTHORName) Descriptor() ([]byte, []int)

func (*EventTHORName) Events added in v0.58.0

func (m *EventTHORName) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventTHORName) GetAddress added in v0.58.0

func (*EventTHORName) GetChain added in v0.58.0

func (*EventTHORName) GetExpire added in v0.58.0

func (m *EventTHORName) GetExpire() int64

func (*EventTHORName) GetName added in v0.58.0

func (m *EventTHORName) GetName() string

func (*EventTHORName) GetOwner added in v0.58.0

func (*EventTHORName) Marshal added in v0.58.0

func (m *EventTHORName) Marshal() (dAtA []byte, err error)

func (*EventTHORName) MarshalTo added in v0.58.0

func (m *EventTHORName) MarshalTo(dAtA []byte) (int, error)

func (*EventTHORName) MarshalToSizedBuffer added in v0.58.0

func (m *EventTHORName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTHORName) ProtoMessage added in v0.58.0

func (*EventTHORName) ProtoMessage()

func (*EventTHORName) Reset added in v0.58.0

func (m *EventTHORName) Reset()

func (*EventTHORName) Size added in v0.58.0

func (m *EventTHORName) Size() (n int)

func (*EventTHORName) String added in v0.58.0

func (m *EventTHORName) String() string

func (*EventTHORName) Type added in v0.58.0

func (m *EventTHORName) Type() string

Type return a string which represent the type of this event

func (*EventTHORName) Unmarshal added in v0.58.0

func (m *EventTHORName) Unmarshal(dAtA []byte) error

func (*EventTHORName) XXX_DiscardUnknown added in v0.58.0

func (m *EventTHORName) XXX_DiscardUnknown()

func (*EventTHORName) XXX_Marshal added in v0.58.0

func (m *EventTHORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTHORName) XXX_Merge added in v0.58.0

func (m *EventTHORName) XXX_Merge(src proto.Message)

func (*EventTHORName) XXX_Size added in v0.58.0

func (m *EventTHORName) XXX_Size() int

func (*EventTHORName) XXX_Unmarshal added in v0.58.0

func (m *EventTHORName) XXX_Unmarshal(b []byte) error

type EventTradeAccountDeposit added in v1.128.0

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 added in v1.128.0

func NewEventTradeAccountDeposit(
	amt cosmos.Uint,
	asset common.Asset,
	assetAddress common.Address,
	runeAddress common.Address,
	txID common.TxID,
) *EventTradeAccountDeposit

NewEventWithdraw create a new withdraw event

func (*EventTradeAccountDeposit) Descriptor added in v1.128.0

func (*EventTradeAccountDeposit) Descriptor() ([]byte, []int)

func (*EventTradeAccountDeposit) Events added in v1.128.0

Events return the cosmos event

func (*EventTradeAccountDeposit) GetAsset added in v1.128.0

func (m *EventTradeAccountDeposit) GetAsset() common.Asset

func (*EventTradeAccountDeposit) GetAssetAddress added in v1.128.0

func (*EventTradeAccountDeposit) GetRuneAddress added in v1.128.0

func (*EventTradeAccountDeposit) GetTxID added in v1.128.0

func (*EventTradeAccountDeposit) Marshal added in v1.128.0

func (m *EventTradeAccountDeposit) Marshal() (dAtA []byte, err error)

func (*EventTradeAccountDeposit) MarshalTo added in v1.128.0

func (m *EventTradeAccountDeposit) MarshalTo(dAtA []byte) (int, error)

func (*EventTradeAccountDeposit) MarshalToSizedBuffer added in v1.128.0

func (m *EventTradeAccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTradeAccountDeposit) ProtoMessage added in v1.128.0

func (*EventTradeAccountDeposit) ProtoMessage()

func (*EventTradeAccountDeposit) Reset added in v1.128.0

func (m *EventTradeAccountDeposit) Reset()

func (*EventTradeAccountDeposit) Size added in v1.128.0

func (m *EventTradeAccountDeposit) Size() (n int)

func (*EventTradeAccountDeposit) String added in v1.128.0

func (m *EventTradeAccountDeposit) String() string

func (*EventTradeAccountDeposit) Type added in v1.128.0

func (m *EventTradeAccountDeposit) Type() string

Type return the withdraw event type

func (*EventTradeAccountDeposit) Unmarshal added in v1.128.0

func (m *EventTradeAccountDeposit) Unmarshal(dAtA []byte) error

func (*EventTradeAccountDeposit) XXX_DiscardUnknown added in v1.128.0

func (m *EventTradeAccountDeposit) XXX_DiscardUnknown()

func (*EventTradeAccountDeposit) XXX_Marshal added in v1.128.0

func (m *EventTradeAccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTradeAccountDeposit) XXX_Merge added in v1.128.0

func (m *EventTradeAccountDeposit) XXX_Merge(src proto.Message)

func (*EventTradeAccountDeposit) XXX_Size added in v1.128.0

func (m *EventTradeAccountDeposit) XXX_Size() int

func (*EventTradeAccountDeposit) XXX_Unmarshal added in v1.128.0

func (m *EventTradeAccountDeposit) XXX_Unmarshal(b []byte) error

type EventTradeAccountWithdraw added in v1.128.0

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 added in v1.128.0

func NewEventTradeAccountWithdraw(
	amt cosmos.Uint,
	asset common.Asset,
	assetAddress common.Address,
	runeAddress common.Address,
	txID common.TxID,
) *EventTradeAccountWithdraw

NewEventWithdraw create a new withdraw event

func (*EventTradeAccountWithdraw) Descriptor added in v1.128.0

func (*EventTradeAccountWithdraw) Descriptor() ([]byte, []int)

func (*EventTradeAccountWithdraw) Events added in v1.128.0

Events return the cosmos event

func (*EventTradeAccountWithdraw) GetAsset added in v1.128.0

func (m *EventTradeAccountWithdraw) GetAsset() common.Asset

func (*EventTradeAccountWithdraw) GetAssetAddress added in v1.128.0

func (*EventTradeAccountWithdraw) GetRuneAddress added in v1.128.0

func (*EventTradeAccountWithdraw) GetTxID added in v1.128.0

func (*EventTradeAccountWithdraw) Marshal added in v1.128.0

func (m *EventTradeAccountWithdraw) Marshal() (dAtA []byte, err error)

func (*EventTradeAccountWithdraw) MarshalTo added in v1.128.0

func (m *EventTradeAccountWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*EventTradeAccountWithdraw) MarshalToSizedBuffer added in v1.128.0

func (m *EventTradeAccountWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTradeAccountWithdraw) ProtoMessage added in v1.128.0

func (*EventTradeAccountWithdraw) ProtoMessage()

func (*EventTradeAccountWithdraw) Reset added in v1.128.0

func (m *EventTradeAccountWithdraw) Reset()

func (*EventTradeAccountWithdraw) Size added in v1.128.0

func (m *EventTradeAccountWithdraw) Size() (n int)

func (*EventTradeAccountWithdraw) String added in v1.128.0

func (m *EventTradeAccountWithdraw) String() string

func (*EventTradeAccountWithdraw) Type added in v1.128.0

Type return the withdraw event type

func (*EventTradeAccountWithdraw) Unmarshal added in v1.128.0

func (m *EventTradeAccountWithdraw) Unmarshal(dAtA []byte) error

func (*EventTradeAccountWithdraw) XXX_DiscardUnknown added in v1.128.0

func (m *EventTradeAccountWithdraw) XXX_DiscardUnknown()

func (*EventTradeAccountWithdraw) XXX_Marshal added in v1.128.0

func (m *EventTradeAccountWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTradeAccountWithdraw) XXX_Merge added in v1.128.0

func (m *EventTradeAccountWithdraw) XXX_Merge(src proto.Message)

func (*EventTradeAccountWithdraw) XXX_Size added in v1.128.0

func (m *EventTradeAccountWithdraw) XXX_Size() int

func (*EventTradeAccountWithdraw) XXX_Unmarshal added in v1.128.0

func (m *EventTradeAccountWithdraw) XXX_Unmarshal(b []byte) error

type EventTssKeygenFailure added in v1.121.0

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 added in v1.121.0

func NewEventTssKeygenFailure(reason, round string, unicast bool, height int64, blame []string) *EventTssKeygenFailure

NewEventTssKeygenFailure create a new EventTssKeygenFailure

func (*EventTssKeygenFailure) Descriptor added in v1.121.0

func (*EventTssKeygenFailure) Descriptor() ([]byte, []int)

func (*EventTssKeygenFailure) Events added in v1.121.0

func (m *EventTssKeygenFailure) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventTssKeygenFailure) GetBlameNodes added in v1.121.0

func (m *EventTssKeygenFailure) GetBlameNodes() []string

func (*EventTssKeygenFailure) GetFailReason added in v1.121.0

func (m *EventTssKeygenFailure) GetFailReason() string

func (*EventTssKeygenFailure) GetHeight added in v1.121.0

func (m *EventTssKeygenFailure) GetHeight() int64

func (*EventTssKeygenFailure) GetIsUnicast added in v1.121.0

func (m *EventTssKeygenFailure) GetIsUnicast() bool

func (*EventTssKeygenFailure) GetRound added in v1.121.0

func (m *EventTssKeygenFailure) GetRound() string

func (*EventTssKeygenFailure) Marshal added in v1.121.0

func (m *EventTssKeygenFailure) Marshal() (dAtA []byte, err error)

func (*EventTssKeygenFailure) MarshalTo added in v1.121.0

func (m *EventTssKeygenFailure) MarshalTo(dAtA []byte) (int, error)

func (*EventTssKeygenFailure) MarshalToSizedBuffer added in v1.121.0

func (m *EventTssKeygenFailure) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTssKeygenFailure) ProtoMessage added in v1.121.0

func (*EventTssKeygenFailure) ProtoMessage()

func (*EventTssKeygenFailure) Reset added in v1.121.0

func (m *EventTssKeygenFailure) Reset()

func (*EventTssKeygenFailure) Size added in v1.121.0

func (m *EventTssKeygenFailure) Size() (n int)

func (*EventTssKeygenFailure) String added in v1.121.0

func (m *EventTssKeygenFailure) String() string

func (*EventTssKeygenFailure) Type added in v1.121.0

func (m *EventTssKeygenFailure) Type() string

Type return a string which represent the type of this event

func (*EventTssKeygenFailure) Unmarshal added in v1.121.0

func (m *EventTssKeygenFailure) Unmarshal(dAtA []byte) error

func (*EventTssKeygenFailure) XXX_DiscardUnknown added in v1.121.0

func (m *EventTssKeygenFailure) XXX_DiscardUnknown()

func (*EventTssKeygenFailure) XXX_Marshal added in v1.121.0

func (m *EventTssKeygenFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTssKeygenFailure) XXX_Merge added in v1.121.0

func (m *EventTssKeygenFailure) XXX_Merge(src proto.Message)

func (*EventTssKeygenFailure) XXX_Size added in v1.121.0

func (m *EventTssKeygenFailure) XXX_Size() int

func (*EventTssKeygenFailure) XXX_Unmarshal added in v1.121.0

func (m *EventTssKeygenFailure) XXX_Unmarshal(b []byte) error

type EventTssKeygenMetric added in v0.41.0

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 added in v0.41.0

func NewEventTssKeygenMetric(pubkey common.PubKey, medianDurationMS int64) *EventTssKeygenMetric

NewEventTssKeygenMetric create a new EventTssMetric

func (*EventTssKeygenMetric) Descriptor added in v0.41.0

func (*EventTssKeygenMetric) Descriptor() ([]byte, []int)

func (*EventTssKeygenMetric) Events added in v0.41.0

func (m *EventTssKeygenMetric) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventTssKeygenMetric) GetMedianDurationMs added in v0.41.0

func (m *EventTssKeygenMetric) GetMedianDurationMs() int64

func (*EventTssKeygenMetric) GetPubKey added in v0.41.0

func (*EventTssKeygenMetric) Marshal added in v0.41.0

func (m *EventTssKeygenMetric) Marshal() (dAtA []byte, err error)

func (*EventTssKeygenMetric) MarshalTo added in v0.41.0

func (m *EventTssKeygenMetric) MarshalTo(dAtA []byte) (int, error)

func (*EventTssKeygenMetric) MarshalToSizedBuffer added in v0.41.0

func (m *EventTssKeygenMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTssKeygenMetric) ProtoMessage added in v0.41.0

func (*EventTssKeygenMetric) ProtoMessage()

func (*EventTssKeygenMetric) Reset added in v0.41.0

func (m *EventTssKeygenMetric) Reset()

func (*EventTssKeygenMetric) Size added in v0.41.0

func (m *EventTssKeygenMetric) Size() (n int)

func (*EventTssKeygenMetric) String added in v0.41.0

func (m *EventTssKeygenMetric) String() string

func (*EventTssKeygenMetric) Type added in v0.41.0

func (m *EventTssKeygenMetric) Type() string

Type return a string which represent the type of this event

func (*EventTssKeygenMetric) Unmarshal added in v0.41.0

func (m *EventTssKeygenMetric) Unmarshal(dAtA []byte) error

func (*EventTssKeygenMetric) XXX_DiscardUnknown added in v0.41.0

func (m *EventTssKeygenMetric) XXX_DiscardUnknown()

func (*EventTssKeygenMetric) XXX_Marshal added in v0.41.0

func (m *EventTssKeygenMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTssKeygenMetric) XXX_Merge added in v0.41.0

func (m *EventTssKeygenMetric) XXX_Merge(src proto.Message)

func (*EventTssKeygenMetric) XXX_Size added in v0.41.0

func (m *EventTssKeygenMetric) XXX_Size() int

func (*EventTssKeygenMetric) XXX_Unmarshal added in v0.41.0

func (m *EventTssKeygenMetric) XXX_Unmarshal(b []byte) error

type EventTssKeygenSuccess added in v1.121.0

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 added in v1.121.0

func NewEventTssKeygenSuccess(pubkey common.PubKey, height int64, members []string) *EventTssKeygenSuccess

NewEventTssKeygenSuccess create a new EventTssKeygenSuccess

func (*EventTssKeygenSuccess) Descriptor added in v1.121.0

func (*EventTssKeygenSuccess) Descriptor() ([]byte, []int)

func (*EventTssKeygenSuccess) Events added in v1.121.0

func (m *EventTssKeygenSuccess) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventTssKeygenSuccess) GetHeight added in v1.121.0

func (m *EventTssKeygenSuccess) GetHeight() int64

func (*EventTssKeygenSuccess) GetMembers added in v1.121.0

func (m *EventTssKeygenSuccess) GetMembers() []string

func (*EventTssKeygenSuccess) GetPubKey added in v1.121.0

func (*EventTssKeygenSuccess) Marshal added in v1.121.0

func (m *EventTssKeygenSuccess) Marshal() (dAtA []byte, err error)

func (*EventTssKeygenSuccess) MarshalTo added in v1.121.0

func (m *EventTssKeygenSuccess) MarshalTo(dAtA []byte) (int, error)

func (*EventTssKeygenSuccess) MarshalToSizedBuffer added in v1.121.0

func (m *EventTssKeygenSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTssKeygenSuccess) ProtoMessage added in v1.121.0

func (*EventTssKeygenSuccess) ProtoMessage()

func (*EventTssKeygenSuccess) Reset added in v1.121.0

func (m *EventTssKeygenSuccess) Reset()

func (*EventTssKeygenSuccess) Size added in v1.121.0

func (m *EventTssKeygenSuccess) Size() (n int)

func (*EventTssKeygenSuccess) String added in v1.121.0

func (m *EventTssKeygenSuccess) String() string

func (*EventTssKeygenSuccess) Type added in v1.121.0

func (m *EventTssKeygenSuccess) Type() string

Type return a string which represent the type of this event

func (*EventTssKeygenSuccess) Unmarshal added in v1.121.0

func (m *EventTssKeygenSuccess) Unmarshal(dAtA []byte) error

func (*EventTssKeygenSuccess) XXX_DiscardUnknown added in v1.121.0

func (m *EventTssKeygenSuccess) XXX_DiscardUnknown()

func (*EventTssKeygenSuccess) XXX_Marshal added in v1.121.0

func (m *EventTssKeygenSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTssKeygenSuccess) XXX_Merge added in v1.121.0

func (m *EventTssKeygenSuccess) XXX_Merge(src proto.Message)

func (*EventTssKeygenSuccess) XXX_Size added in v1.121.0

func (m *EventTssKeygenSuccess) XXX_Size() int

func (*EventTssKeygenSuccess) XXX_Unmarshal added in v1.121.0

func (m *EventTssKeygenSuccess) XXX_Unmarshal(b []byte) error

type EventTssKeysignMetric added in v0.41.0

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 added in v0.41.0

func NewEventTssKeysignMetric(txID common.TxID, medianDurationMS int64) *EventTssKeysignMetric

NewEventTssKeysignMetric create a new EventTssMetric

func (*EventTssKeysignMetric) Descriptor added in v0.41.0

func (*EventTssKeysignMetric) Descriptor() ([]byte, []int)

func (*EventTssKeysignMetric) Events added in v0.41.0

func (m *EventTssKeysignMetric) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventTssKeysignMetric) GetMedianDurationMs added in v0.41.0

func (m *EventTssKeysignMetric) GetMedianDurationMs() int64

func (*EventTssKeysignMetric) GetTxID added in v0.41.0

func (*EventTssKeysignMetric) Marshal added in v0.41.0

func (m *EventTssKeysignMetric) Marshal() (dAtA []byte, err error)

func (*EventTssKeysignMetric) MarshalTo added in v0.41.0

func (m *EventTssKeysignMetric) MarshalTo(dAtA []byte) (int, error)

func (*EventTssKeysignMetric) MarshalToSizedBuffer added in v0.41.0

func (m *EventTssKeysignMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTssKeysignMetric) ProtoMessage added in v0.41.0

func (*EventTssKeysignMetric) ProtoMessage()

func (*EventTssKeysignMetric) Reset added in v0.41.0

func (m *EventTssKeysignMetric) Reset()

func (*EventTssKeysignMetric) Size added in v0.41.0

func (m *EventTssKeysignMetric) Size() (n int)

func (*EventTssKeysignMetric) String added in v0.41.0

func (m *EventTssKeysignMetric) String() string

func (*EventTssKeysignMetric) Type added in v0.41.0

func (m *EventTssKeysignMetric) Type() string

Type return a string which represent the type of this event

func (*EventTssKeysignMetric) Unmarshal added in v0.41.0

func (m *EventTssKeysignMetric) Unmarshal(dAtA []byte) error

func (*EventTssKeysignMetric) XXX_DiscardUnknown added in v0.41.0

func (m *EventTssKeysignMetric) XXX_DiscardUnknown()

func (*EventTssKeysignMetric) XXX_Marshal added in v0.41.0

func (m *EventTssKeysignMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTssKeysignMetric) XXX_Merge added in v0.41.0

func (m *EventTssKeysignMetric) XXX_Merge(src proto.Message)

func (*EventTssKeysignMetric) XXX_Size added in v0.41.0

func (m *EventTssKeysignMetric) XXX_Size() int

func (*EventTssKeysignMetric) XXX_Unmarshal added in v0.41.0

func (m *EventTssKeysignMetric) XXX_Unmarshal(b []byte) error

type EventVersion added in v1.121.0

type EventVersion struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
}

func NewEventVersion added in v1.121.0

func NewEventVersion(version semver.Version) *EventVersion

NewEventVersion create a new instance of EventVersion

func (*EventVersion) Descriptor added in v1.121.0

func (*EventVersion) Descriptor() ([]byte, []int)

func (*EventVersion) Events added in v1.121.0

func (m *EventVersion) Events() (cosmos.Events, error)

Events return cosmos sdk events

func (*EventVersion) GetVersion added in v1.121.0

func (m *EventVersion) GetVersion() string

func (*EventVersion) Marshal added in v1.121.0

func (m *EventVersion) Marshal() (dAtA []byte, err error)

func (*EventVersion) MarshalTo added in v1.121.0

func (m *EventVersion) MarshalTo(dAtA []byte) (int, error)

func (*EventVersion) MarshalToSizedBuffer added in v1.121.0

func (m *EventVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventVersion) ProtoMessage added in v1.121.0

func (*EventVersion) ProtoMessage()

func (*EventVersion) Reset added in v1.121.0

func (m *EventVersion) Reset()

func (*EventVersion) Size added in v1.121.0

func (m *EventVersion) Size() (n int)

func (*EventVersion) String added in v1.121.0

func (m *EventVersion) String() string

func (*EventVersion) Type added in v1.121.0

func (m *EventVersion) Type() string

func (*EventVersion) Unmarshal added in v1.121.0

func (m *EventVersion) Unmarshal(dAtA []byte) error

func (*EventVersion) XXX_DiscardUnknown added in v1.121.0

func (m *EventVersion) XXX_DiscardUnknown()

func (*EventVersion) XXX_Marshal added in v1.121.0

func (m *EventVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventVersion) XXX_Merge added in v1.121.0

func (m *EventVersion) XXX_Merge(src proto.Message)

func (*EventVersion) XXX_Size added in v1.121.0

func (m *EventVersion) XXX_Size() int

func (*EventVersion) XXX_Unmarshal added in v1.121.0

func (m *EventVersion) XXX_Unmarshal(b []byte) error

type EventWithdraw added in v0.41.0

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 */
	ImpLossProtection github_com_cosmos_cosmos_sdk_types.Uint `` /* 155-byte string literal not displayed */
}

func NewEventWithdraw added in v0.41.0

func NewEventWithdraw(pool common.Asset, su cosmos.Uint, basisPts int64, asym cosmos.Dec, inTx common.Tx, emitAsset, emitRune, impLoss cosmos.Uint) *EventWithdraw

NewEventWithdraw create a new withdraw event

func (*EventWithdraw) Descriptor added in v0.41.0

func (*EventWithdraw) Descriptor() ([]byte, []int)

func (*EventWithdraw) Events added in v0.41.0

func (m *EventWithdraw) Events() (cosmos.Events, error)

Events return the cosmos event

func (*EventWithdraw) GetBasisPoints added in v0.41.0

func (m *EventWithdraw) GetBasisPoints() int64

func (*EventWithdraw) GetInTx added in v0.41.0

func (m *EventWithdraw) GetInTx() common.Tx

func (*EventWithdraw) GetPool added in v0.41.0

func (m *EventWithdraw) GetPool() common.Asset

func (*EventWithdraw) Marshal added in v0.41.0

func (m *EventWithdraw) Marshal() (dAtA []byte, err error)

func (*EventWithdraw) MarshalTo added in v0.41.0

func (m *EventWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*EventWithdraw) MarshalToSizedBuffer added in v0.41.0

func (m *EventWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventWithdraw) ProtoMessage added in v0.41.0

func (*EventWithdraw) ProtoMessage()

func (*EventWithdraw) Reset added in v0.41.0

func (m *EventWithdraw) Reset()

func (*EventWithdraw) Size added in v0.41.0

func (m *EventWithdraw) Size() (n int)

func (*EventWithdraw) String added in v0.41.0

func (m *EventWithdraw) String() string

func (*EventWithdraw) Type added in v0.41.0

func (m *EventWithdraw) Type() string

Type return the withdraw event type

func (*EventWithdraw) Unmarshal added in v0.41.0

func (m *EventWithdraw) Unmarshal(dAtA []byte) error

func (*EventWithdraw) XXX_DiscardUnknown added in v0.41.0

func (m *EventWithdraw) XXX_DiscardUnknown()

func (*EventWithdraw) XXX_Marshal added in v0.41.0

func (m *EventWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventWithdraw) XXX_Merge added in v0.41.0

func (m *EventWithdraw) XXX_Merge(src proto.Message)

func (*EventWithdraw) XXX_Size added in v0.41.0

func (m *EventWithdraw) XXX_Size() int

func (*EventWithdraw) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*GasPool) Descriptor() ([]byte, []int)

func (*GasPool) GetAsset added in v0.41.0

func (m *GasPool) GetAsset() common.Asset

func (*GasPool) GetCount added in v0.41.0

func (m *GasPool) GetCount() int64

func (*GasPool) Marshal added in v0.41.0

func (m *GasPool) Marshal() (dAtA []byte, err error)

func (*GasPool) MarshalTo added in v0.41.0

func (m *GasPool) MarshalTo(dAtA []byte) (int, error)

func (*GasPool) MarshalToSizedBuffer added in v0.41.0

func (m *GasPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GasPool) ProtoMessage added in v0.41.0

func (*GasPool) ProtoMessage()

func (*GasPool) Reset added in v0.41.0

func (m *GasPool) Reset()

func (*GasPool) Size added in v0.41.0

func (m *GasPool) Size() (n int)

func (*GasPool) String added in v0.41.0

func (m *GasPool) String() string

func (*GasPool) Unmarshal added in v0.41.0

func (m *GasPool) Unmarshal(dAtA []byte) error

func (*GasPool) XXX_DiscardUnknown added in v0.41.0

func (m *GasPool) XXX_DiscardUnknown()

func (*GasPool) XXX_Marshal added in v0.41.0

func (m *GasPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GasPool) XXX_Merge added in v0.41.0

func (m *GasPool) XXX_Merge(src proto.Message)

func (*GasPool) XXX_Size added in v0.41.0

func (m *GasPool) XXX_Size() int

func (*GasPool) XXX_Unmarshal added in v0.41.0

func (m *GasPool) XXX_Unmarshal(b []byte) error

type GenesisState added in v0.41.0

type GenesisState struct {
}

GenesisState defines the capability module's genesis state.

func DefaultGenesis added in v0.41.0

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor added in v0.41.0

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) Marshal added in v0.41.0

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo added in v0.41.0

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer added in v0.41.0

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage added in v0.41.0

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset added in v0.41.0

func (m *GenesisState) Reset()

func (*GenesisState) Size added in v0.41.0

func (m *GenesisState) Size() (n int)

func (*GenesisState) String added in v0.41.0

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal added in v0.41.0

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) Validate added in v0.41.0

func (m *GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown added in v0.41.0

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal added in v0.41.0

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge added in v0.41.0

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size added in v0.41.0

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal added in v0.41.0

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 NewJail

func NewJail(addr cosmos.AccAddress) Jail

NewJail create a new Jail instance

func (*Jail) Descriptor added in v0.41.0

func (*Jail) Descriptor() ([]byte, []int)

func (*Jail) GetNodeAddress added in v0.41.0

func (*Jail) GetReason added in v0.41.0

func (m *Jail) GetReason() string

func (*Jail) GetReleaseHeight added in v0.41.0

func (m *Jail) GetReleaseHeight() int64

func (*Jail) IsJailed

func (m *Jail) IsJailed(ctx cosmos.Context) bool

IsJailed on a given height , check whether a node is jailed or not

func (*Jail) Marshal added in v0.41.0

func (m *Jail) Marshal() (dAtA []byte, err error)

func (*Jail) MarshalTo added in v0.41.0

func (m *Jail) MarshalTo(dAtA []byte) (int, error)

func (*Jail) MarshalToSizedBuffer added in v0.41.0

func (m *Jail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Jail) ProtoMessage added in v0.41.0

func (*Jail) ProtoMessage()

func (*Jail) Reset added in v0.41.0

func (m *Jail) Reset()

func (*Jail) Size added in v0.41.0

func (m *Jail) Size() (n int)

func (*Jail) String added in v0.41.0

func (m *Jail) String() string

func (*Jail) Unmarshal added in v0.41.0

func (m *Jail) Unmarshal(dAtA []byte) error

func (*Jail) XXX_DiscardUnknown added in v0.41.0

func (m *Jail) XXX_DiscardUnknown()

func (*Jail) XXX_Marshal added in v0.41.0

func (m *Jail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Jail) XXX_Merge added in v0.41.0

func (m *Jail) XXX_Merge(src proto.Message)

func (*Jail) XXX_Size added in v0.41.0

func (m *Jail) XXX_Size() int

func (*Jail) XXX_Unmarshal added in v0.41.0

func (m *Jail) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*Keygen) Descriptor() ([]byte, []int)

func (*Keygen) GetMembers added in v0.41.0

func (m *Keygen) GetMembers() common.PubKeys

func (*Keygen) IsEmpty

func (m *Keygen) IsEmpty() bool

IsEmpty check whether there are any keys in the keygen

func (*Keygen) Marshal added in v0.41.0

func (m *Keygen) Marshal() (dAtA []byte, err error)

func (*Keygen) MarshalTo added in v0.41.0

func (m *Keygen) MarshalTo(dAtA []byte) (int, error)

func (*Keygen) MarshalToSizedBuffer added in v0.41.0

func (m *Keygen) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Keygen) ProtoMessage added in v0.41.0

func (*Keygen) ProtoMessage()

func (*Keygen) Reset added in v0.41.0

func (m *Keygen) Reset()

func (*Keygen) Size added in v0.41.0

func (m *Keygen) Size() (n int)

func (*Keygen) String

func (m *Keygen) String() string

String implement of fmt.Stringer

func (*Keygen) Unmarshal added in v0.41.0

func (m *Keygen) Unmarshal(dAtA []byte) error

func (*Keygen) Valid

func (m *Keygen) Valid() error

Valid is to check whether the keygen members are valid

func (*Keygen) XXX_DiscardUnknown added in v0.41.0

func (m *Keygen) XXX_DiscardUnknown()

func (*Keygen) XXX_Marshal added in v0.41.0

func (m *Keygen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Keygen) XXX_Merge added in v0.41.0

func (m *Keygen) XXX_Merge(src proto.Message)

func (*Keygen) XXX_Size added in v0.41.0

func (m *Keygen) XXX_Size() int

func (*Keygen) XXX_Unmarshal added in v0.41.0

func (m *Keygen) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*KeygenBlock) Descriptor() ([]byte, []int)

func (*KeygenBlock) IsEmpty

func (m *KeygenBlock) IsEmpty() bool

IsEmpty determinate whether KeygenBlock is empty

func (*KeygenBlock) Marshal added in v0.41.0

func (m *KeygenBlock) Marshal() (dAtA []byte, err error)

func (*KeygenBlock) MarshalTo added in v0.41.0

func (m *KeygenBlock) MarshalTo(dAtA []byte) (int, error)

func (*KeygenBlock) MarshalToSizedBuffer added in v0.41.0

func (m *KeygenBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeygenBlock) ProtoMessage added in v0.41.0

func (*KeygenBlock) ProtoMessage()

func (*KeygenBlock) Reset added in v0.41.0

func (m *KeygenBlock) Reset()

func (*KeygenBlock) Size added in v0.41.0

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 added in v0.41.0

func (m *KeygenBlock) Unmarshal(dAtA []byte) error

func (*KeygenBlock) XXX_DiscardUnknown added in v0.41.0

func (m *KeygenBlock) XXX_DiscardUnknown()

func (*KeygenBlock) XXX_Marshal added in v0.41.0

func (m *KeygenBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeygenBlock) XXX_Merge added in v0.41.0

func (m *KeygenBlock) XXX_Merge(src proto.Message)

func (*KeygenBlock) XXX_Size added in v0.41.0

func (m *KeygenBlock) XXX_Size() int

func (*KeygenBlock) XXX_Unmarshal added in v0.41.0

func (m *KeygenBlock) XXX_Unmarshal(b []byte) error

type KeygenType

type KeygenType int32
const (
	KeygenType_UnknownKeygen   KeygenType = 0
	KeygenType_AsgardKeygen    KeygenType = 1
	KeygenType_YggdrasilKeygen KeygenType = 2
)

func (KeygenType) EnumDescriptor added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*LiquidityProvider) Descriptor() ([]byte, []int)

func (LiquidityProvider) GetAddress added in v0.41.0

func (lp LiquidityProvider) GetAddress() common.Address

func (*LiquidityProvider) GetAsset added in v0.41.0

func (m *LiquidityProvider) GetAsset() common.Asset

func (*LiquidityProvider) GetAssetAddress added in v0.41.0

func (LiquidityProvider) GetAssetRedeemValue added in v1.121.0

func (lp LiquidityProvider) GetAssetRedeemValue(version semver.Version, pool Pool, synthSupply cosmos.Uint) (error, cosmos.Uint)

func (*LiquidityProvider) GetLastAddHeight added in v0.41.0

func (m *LiquidityProvider) GetLastAddHeight() int64

func (*LiquidityProvider) GetLastWithdrawHeight added in v0.41.0

func (m *LiquidityProvider) GetLastWithdrawHeight() int64

func (LiquidityProvider) GetLuviDepositValue added in v1.121.0

func (lp LiquidityProvider) GetLuviDepositValue(pool Pool) (error, cosmos.Uint)

func (LiquidityProvider) GetLuviRedeemValue added in v1.121.0

func (lp LiquidityProvider) GetLuviRedeemValue(runeRedeemValue, assetRedeemValue cosmos.Uint) (error, cosmos.Uint)

func (*LiquidityProvider) GetPendingTxID added in v0.41.0

func (*LiquidityProvider) GetRuneAddress added in v0.41.0

func (LiquidityProvider) GetRuneRedeemValue added in v1.121.0

func (lp LiquidityProvider) GetRuneRedeemValue(version semver.Version, pool Pool, synthSupply cosmos.Uint) (error, cosmos.Uint)

func (LiquidityProvider) GetSaversAssetRedeemValue added in v1.121.0

func (lp LiquidityProvider) GetSaversAssetRedeemValue(pool Pool) cosmos.Uint

func (LiquidityProvider) Key added in v0.41.0

func (lp LiquidityProvider) Key() string

Key return a string which can be used to identify lp

func (*LiquidityProvider) Marshal added in v0.41.0

func (m *LiquidityProvider) Marshal() (dAtA []byte, err error)

func (*LiquidityProvider) MarshalTo added in v0.41.0

func (m *LiquidityProvider) MarshalTo(dAtA []byte) (int, error)

func (*LiquidityProvider) MarshalToSizedBuffer added in v0.41.0

func (m *LiquidityProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiquidityProvider) ProtoMessage added in v0.41.0

func (*LiquidityProvider) ProtoMessage()

func (*LiquidityProvider) Reset added in v0.41.0

func (m *LiquidityProvider) Reset()

func (*LiquidityProvider) Size added in v0.41.0

func (m *LiquidityProvider) Size() (n int)

func (*LiquidityProvider) String added in v0.41.0

func (m *LiquidityProvider) String() string

func (*LiquidityProvider) Unmarshal added in v0.41.0

func (m *LiquidityProvider) Unmarshal(dAtA []byte) error

func (*LiquidityProvider) Valid added in v0.41.0

func (m *LiquidityProvider) Valid() error

Valid check whether lp represent valid information

func (*LiquidityProvider) XXX_DiscardUnknown added in v0.41.0

func (m *LiquidityProvider) XXX_DiscardUnknown()

func (*LiquidityProvider) XXX_Marshal added in v0.41.0

func (m *LiquidityProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiquidityProvider) XXX_Merge added in v0.41.0

func (m *LiquidityProvider) XXX_Merge(src proto.Message)

func (*LiquidityProvider) XXX_Size added in v0.41.0

func (m *LiquidityProvider) XXX_Size() int

func (*LiquidityProvider) XXX_Unmarshal added in v0.41.0

func (m *LiquidityProvider) XXX_Unmarshal(b []byte) error

type LiquidityProviders added in v0.41.0

type LiquidityProviders []LiquidityProvider

LiquidityProviders a list of liquidity providers

type Loan added in v1.121.0

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 NewLoan added in v1.121.0

func NewLoan(owner common.Address, asset common.Asset, lastOpenHeight int64) Loan

func (*Loan) Collateral added in v1.121.0

func (m *Loan) Collateral() cosmos.Uint

func (*Loan) Debt added in v1.121.0

func (m *Loan) Debt() cosmos.Uint

func (*Loan) Descriptor added in v1.121.0

func (*Loan) Descriptor() ([]byte, []int)

func (*Loan) GetAsset added in v1.121.0

func (m *Loan) GetAsset() common.Asset

func (*Loan) GetLastOpenHeight added in v1.121.0

func (m *Loan) GetLastOpenHeight() int64

func (*Loan) GetLastRepayHeight added in v1.121.0

func (m *Loan) GetLastRepayHeight() int64

func (*Loan) GetOwner added in v1.121.0

func (Loan) Key added in v1.121.0

func (m Loan) Key() string

Key return a string which can be used to identify loan

func (*Loan) Marshal added in v1.121.0

func (m *Loan) Marshal() (dAtA []byte, err error)

func (*Loan) MarshalTo added in v1.121.0

func (m *Loan) MarshalTo(dAtA []byte) (int, error)

func (*Loan) MarshalToSizedBuffer added in v1.121.0

func (m *Loan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Loan) ProtoMessage added in v1.121.0

func (*Loan) ProtoMessage()

func (*Loan) Reset added in v1.121.0

func (m *Loan) Reset()

func (*Loan) Size added in v1.121.0

func (m *Loan) Size() (n int)

func (*Loan) String added in v1.121.0

func (m *Loan) String() string

func (*Loan) Unmarshal added in v1.121.0

func (m *Loan) Unmarshal(dAtA []byte) error

func (*Loan) Valid added in v1.121.0

func (m *Loan) Valid() error

Valid check whether lp represent valid information

func (*Loan) XXX_DiscardUnknown added in v1.121.0

func (m *Loan) XXX_DiscardUnknown()

func (*Loan) XXX_Marshal added in v1.121.0

func (m *Loan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Loan) XXX_Merge added in v1.121.0

func (m *Loan) XXX_Merge(src proto.Message)

func (*Loan) XXX_Size added in v1.121.0

func (m *Loan) XXX_Size() int

func (*Loan) XXX_Unmarshal added in v1.121.0

func (m *Loan) XXX_Unmarshal(b []byte) error

type Loans added in v1.107.0

type Loans []Loan

Loans a list of loans

type MinJoinLast added in v1.121.0

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 added in v1.121.0

func (*MinJoinLast) Descriptor() ([]byte, []int)

func (*MinJoinLast) Marshal added in v1.121.0

func (m *MinJoinLast) Marshal() (dAtA []byte, err error)

func (*MinJoinLast) MarshalTo added in v1.121.0

func (m *MinJoinLast) MarshalTo(dAtA []byte) (int, error)

func (*MinJoinLast) MarshalToSizedBuffer added in v1.121.0

func (m *MinJoinLast) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MinJoinLast) ProtoMessage added in v1.121.0

func (*MinJoinLast) ProtoMessage()

func (*MinJoinLast) Reset added in v1.121.0

func (m *MinJoinLast) Reset()

func (*MinJoinLast) Size added in v1.121.0

func (m *MinJoinLast) Size() (n int)

func (*MinJoinLast) String added in v1.121.0

func (this *MinJoinLast) String() string

func (*MinJoinLast) Unmarshal added in v1.121.0

func (m *MinJoinLast) Unmarshal(dAtA []byte) error

func (*MinJoinLast) XXX_DiscardUnknown added in v1.121.0

func (m *MinJoinLast) XXX_DiscardUnknown()

func (*MinJoinLast) XXX_Marshal added in v1.121.0

func (m *MinJoinLast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MinJoinLast) XXX_Merge added in v1.121.0

func (m *MinJoinLast) XXX_Merge(src proto.Message)

func (*MinJoinLast) XXX_Size added in v1.121.0

func (m *MinJoinLast) XXX_Size() int

func (*MinJoinLast) XXX_Unmarshal added in v1.121.0

func (m *MinJoinLast) XXX_Unmarshal(b []byte) error

type MintBurnSupplyType added in v1.121.0

type MintBurnSupplyType int32
const (
	MintBurnSupplyType_mint MintBurnSupplyType = 0
	MintBurnSupplyType_burn MintBurnSupplyType = 1
)

func (MintBurnSupplyType) EnumDescriptor added in v1.121.0

func (MintBurnSupplyType) EnumDescriptor() ([]byte, []int)

func (MintBurnSupplyType) String added in v1.121.0

func (x MintBurnSupplyType) String() string

type MsgAddLiquidity added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*MsgAddLiquidity) Descriptor() ([]byte, []int)

func (*MsgAddLiquidity) GetAffiliateAddress added in v0.41.0

func (*MsgAddLiquidity) GetAsset added in v0.41.0

func (m *MsgAddLiquidity) GetAsset() common.Asset

func (*MsgAddLiquidity) GetAssetAddress added in v0.41.0

func (*MsgAddLiquidity) GetRuneAddress added in v0.41.0

func (*MsgAddLiquidity) GetSignBytes added in v0.41.0

func (m *MsgAddLiquidity) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgAddLiquidity) GetSigner added in v0.41.0

func (*MsgAddLiquidity) GetSigners added in v0.41.0

func (m *MsgAddLiquidity) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgAddLiquidity) GetTx added in v0.41.0

func (m *MsgAddLiquidity) GetTx() common.Tx

func (*MsgAddLiquidity) Marshal added in v0.41.0

func (m *MsgAddLiquidity) Marshal() (dAtA []byte, err error)

func (*MsgAddLiquidity) MarshalTo added in v0.41.0

func (m *MsgAddLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddLiquidity) MarshalToSizedBuffer added in v0.41.0

func (m *MsgAddLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddLiquidity) ProtoMessage added in v0.41.0

func (*MsgAddLiquidity) ProtoMessage()

func (*MsgAddLiquidity) Reset added in v0.41.0

func (m *MsgAddLiquidity) Reset()

func (*MsgAddLiquidity) Route added in v0.41.0

func (m *MsgAddLiquidity) Route() string

Route should return the route key of the module

func (*MsgAddLiquidity) Size added in v0.41.0

func (m *MsgAddLiquidity) Size() (n int)

func (*MsgAddLiquidity) String added in v0.41.0

func (m *MsgAddLiquidity) String() string

func (MsgAddLiquidity) Type added in v0.41.0

func (m MsgAddLiquidity) Type() string

Type should return the action

func (*MsgAddLiquidity) Unmarshal added in v0.41.0

func (m *MsgAddLiquidity) Unmarshal(dAtA []byte) error

func (*MsgAddLiquidity) ValidateBasic added in v0.41.0

func (m *MsgAddLiquidity) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgAddLiquidity) ValidateBasicV63 added in v0.63.0

func (m *MsgAddLiquidity) ValidateBasicV63() error

ValidateBasicV63 runs stateless checks on the message

func (*MsgAddLiquidity) ValidateBasicV93 added in v1.121.0

func (m *MsgAddLiquidity) ValidateBasicV93() error

ValidateBasicV93 runs stateless checks on the message

func (*MsgAddLiquidity) ValidateBasicV98 added in v1.121.0

func (m *MsgAddLiquidity) ValidateBasicV98() error

ValidateBasicV98 runs stateless checks on the message

func (*MsgAddLiquidity) XXX_DiscardUnknown added in v0.41.0

func (m *MsgAddLiquidity) XXX_DiscardUnknown()

func (*MsgAddLiquidity) XXX_Marshal added in v0.41.0

func (m *MsgAddLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddLiquidity) XXX_Merge added in v0.41.0

func (m *MsgAddLiquidity) XXX_Merge(src proto.Message)

func (*MsgAddLiquidity) XXX_Size added in v0.41.0

func (m *MsgAddLiquidity) XXX_Size() int

func (*MsgAddLiquidity) XXX_Unmarshal added in v0.41.0

func (m *MsgAddLiquidity) 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 added in v0.41.0

func (*MsgBan) Descriptor() ([]byte, []int)

func (*MsgBan) GetNodeAddress added in v0.41.0

func (*MsgBan) GetSignBytes

func (m *MsgBan) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgBan) GetSigner added in v0.41.0

func (*MsgBan) GetSigners

func (m *MsgBan) GetSigners() []cosmos.AccAddress

GetSigners return all the signer who signed this message

func (*MsgBan) Marshal added in v0.41.0

func (m *MsgBan) Marshal() (dAtA []byte, err error)

func (*MsgBan) MarshalTo added in v0.41.0

func (m *MsgBan) MarshalTo(dAtA []byte) (int, error)

func (*MsgBan) MarshalToSizedBuffer added in v0.41.0

func (m *MsgBan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBan) ProtoMessage added in v0.41.0

func (*MsgBan) ProtoMessage()

func (*MsgBan) Reset added in v0.41.0

func (m *MsgBan) Reset()

func (*MsgBan) Route

func (m *MsgBan) Route() string

Route should return the name of the module

func (*MsgBan) Size added in v0.41.0

func (m *MsgBan) Size() (n int)

func (*MsgBan) String added in v0.41.0

func (m *MsgBan) String() string

func (MsgBan) Type

func (m MsgBan) Type() string

Type should return the action

func (*MsgBan) Unmarshal added in v0.41.0

func (m *MsgBan) Unmarshal(dAtA []byte) error

func (*MsgBan) ValidateBasic

func (m *MsgBan) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgBan) XXX_DiscardUnknown added in v0.41.0

func (m *MsgBan) XXX_DiscardUnknown()

func (*MsgBan) XXX_Marshal added in v0.41.0

func (m *MsgBan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBan) XXX_Merge added in v0.41.0

func (m *MsgBan) XXX_Merge(src proto.Message)

func (*MsgBan) XXX_Size added in v0.41.0

func (m *MsgBan) XXX_Size() int

func (*MsgBan) XXX_Unmarshal added in v0.41.0

func (m *MsgBan) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*MsgBond) Descriptor() ([]byte, []int)

func (*MsgBond) GetBondAddress added in v0.41.0

func (*MsgBond) GetBondProviderAddress added in v0.81.0

func (m *MsgBond) GetBondProviderAddress() github_com_cosmos_cosmos_sdk_types.AccAddress

func (*MsgBond) GetNodeAddress added in v0.41.0

func (*MsgBond) GetOperatorFee added in v1.88.0

func (m *MsgBond) GetOperatorFee() int64

func (*MsgBond) GetSignBytes

func (m *MsgBond) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgBond) GetSigner added in v0.41.0

func (*MsgBond) GetSigners

func (m *MsgBond) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgBond) GetTxIn added in v0.41.0

func (m *MsgBond) GetTxIn() common.Tx

func (*MsgBond) Marshal added in v0.41.0

func (m *MsgBond) Marshal() (dAtA []byte, err error)

func (*MsgBond) MarshalTo added in v0.41.0

func (m *MsgBond) MarshalTo(dAtA []byte) (int, error)

func (*MsgBond) MarshalToSizedBuffer added in v0.41.0

func (m *MsgBond) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBond) ProtoMessage added in v0.41.0

func (*MsgBond) ProtoMessage()

func (*MsgBond) Reset added in v0.41.0

func (m *MsgBond) Reset()

func (*MsgBond) Route

func (m *MsgBond) Route() string

Route should return the router key of the module

func (*MsgBond) Size added in v0.41.0

func (m *MsgBond) Size() (n int)

func (*MsgBond) String added in v0.41.0

func (m *MsgBond) String() string

func (MsgBond) Type

func (m MsgBond) Type() string

Type should return the action

func (*MsgBond) Unmarshal added in v0.41.0

func (m *MsgBond) Unmarshal(dAtA []byte) error

func (*MsgBond) ValidateBasic

func (m *MsgBond) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgBond) XXX_DiscardUnknown added in v0.41.0

func (m *MsgBond) XXX_DiscardUnknown()

func (*MsgBond) XXX_Marshal added in v0.41.0

func (m *MsgBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBond) XXX_Merge added in v0.41.0

func (m *MsgBond) XXX_Merge(src proto.Message)

func (*MsgBond) XXX_Size added in v0.41.0

func (m *MsgBond) XXX_Size() int

func (*MsgBond) XXX_Unmarshal added in v0.41.0

func (m *MsgBond) XXX_Unmarshal(b []byte) error

type MsgConsolidate added in v0.54.0

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 added in v0.54.0

func NewMsgConsolidate(observedTx ObservedTx, signer cosmos.AccAddress) *MsgConsolidate

NewMsgConsolidate is a constructor function for MsgConsolidate

func (*MsgConsolidate) Descriptor added in v0.54.0

func (*MsgConsolidate) Descriptor() ([]byte, []int)

func (*MsgConsolidate) GetObservedTx added in v0.54.0

func (m *MsgConsolidate) GetObservedTx() ObservedTx

func (*MsgConsolidate) GetSignBytes added in v0.54.0

func (m *MsgConsolidate) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgConsolidate) GetSigner added in v0.54.0

func (*MsgConsolidate) GetSigners added in v0.54.0

func (m *MsgConsolidate) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgConsolidate) Marshal added in v0.54.0

func (m *MsgConsolidate) Marshal() (dAtA []byte, err error)

func (*MsgConsolidate) MarshalTo added in v0.54.0

func (m *MsgConsolidate) MarshalTo(dAtA []byte) (int, error)

func (*MsgConsolidate) MarshalToSizedBuffer added in v0.54.0

func (m *MsgConsolidate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgConsolidate) ProtoMessage added in v0.54.0

func (*MsgConsolidate) ProtoMessage()

func (*MsgConsolidate) Reset added in v0.54.0

func (m *MsgConsolidate) Reset()

func (*MsgConsolidate) Route added in v0.54.0

func (m *MsgConsolidate) Route() string

Route should return the pooldata of the module

func (*MsgConsolidate) Size added in v0.54.0

func (m *MsgConsolidate) Size() (n int)

func (*MsgConsolidate) String added in v0.54.0

func (m *MsgConsolidate) String() string

func (MsgConsolidate) Type added in v0.54.0

func (m MsgConsolidate) Type() string

Type should return the action

func (*MsgConsolidate) Unmarshal added in v0.54.0

func (m *MsgConsolidate) Unmarshal(dAtA []byte) error

func (*MsgConsolidate) ValidateBasic added in v0.54.0

func (m *MsgConsolidate) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgConsolidate) XXX_DiscardUnknown added in v0.54.0

func (m *MsgConsolidate) XXX_DiscardUnknown()

func (*MsgConsolidate) XXX_Marshal added in v0.54.0

func (m *MsgConsolidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgConsolidate) XXX_Merge added in v0.54.0

func (m *MsgConsolidate) XXX_Merge(src proto.Message)

func (*MsgConsolidate) XXX_Size added in v0.54.0

func (m *MsgConsolidate) XXX_Size() int

func (*MsgConsolidate) XXX_Unmarshal added in v0.54.0

func (m *MsgConsolidate) XXX_Unmarshal(b []byte) error

type MsgDeposit added in v0.41.0

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 added in v0.41.0

func NewMsgDeposit(coins common.Coins, memo string, signer cosmos.AccAddress) *MsgDeposit

NewMsgDeposit is a constructor function for NewMsgDeposit

func (*MsgDeposit) Descriptor added in v0.41.0

func (*MsgDeposit) Descriptor() ([]byte, []int)

func (*MsgDeposit) GetCoins added in v0.41.0

func (*MsgDeposit) GetMemo added in v0.41.0

func (m *MsgDeposit) GetMemo() string

func (*MsgDeposit) GetSignBytes added in v0.41.0

func (m *MsgDeposit) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgDeposit) GetSigner added in v0.41.0

func (*MsgDeposit) GetSigners added in v0.41.0

func (m *MsgDeposit) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgDeposit) Marshal added in v0.41.0

func (m *MsgDeposit) Marshal() (dAtA []byte, err error)

func (*MsgDeposit) MarshalTo added in v0.41.0

func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeposit) MarshalToSizedBuffer added in v0.41.0

func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeposit) ProtoMessage added in v0.41.0

func (*MsgDeposit) ProtoMessage()

func (*MsgDeposit) Reset added in v0.41.0

func (m *MsgDeposit) Reset()

func (*MsgDeposit) Route added in v0.41.0

func (m *MsgDeposit) Route() string

Route should return the route key of the module

func (*MsgDeposit) Size added in v0.41.0

func (m *MsgDeposit) Size() (n int)

func (*MsgDeposit) String added in v0.41.0

func (m *MsgDeposit) String() string

func (MsgDeposit) Type added in v0.41.0

func (m MsgDeposit) Type() string

Type should return the action

func (*MsgDeposit) Unmarshal added in v0.41.0

func (m *MsgDeposit) Unmarshal(dAtA []byte) error

func (*MsgDeposit) ValidateBasic added in v0.41.0

func (m *MsgDeposit) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgDeposit) XXX_DiscardUnknown added in v0.41.0

func (m *MsgDeposit) XXX_DiscardUnknown()

func (*MsgDeposit) XXX_Marshal added in v0.41.0

func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeposit) XXX_Merge added in v0.41.0

func (m *MsgDeposit) XXX_Merge(src proto.Message)

func (*MsgDeposit) XXX_Size added in v0.41.0

func (m *MsgDeposit) XXX_Size() int

func (*MsgDeposit) XXX_Unmarshal added in v0.41.0

func (m *MsgDeposit) XXX_Unmarshal(b []byte) error

type MsgDonate added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*MsgDonate) Descriptor() ([]byte, []int)

func (*MsgDonate) GetAsset added in v0.41.0

func (m *MsgDonate) GetAsset() common.Asset

func (*MsgDonate) GetSignBytes added in v0.41.0

func (m *MsgDonate) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgDonate) GetSigner added in v0.41.0

func (*MsgDonate) GetSigners added in v0.41.0

func (m *MsgDonate) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgDonate) GetTx added in v0.41.0

func (m *MsgDonate) GetTx() common.Tx

func (*MsgDonate) Marshal added in v0.41.0

func (m *MsgDonate) Marshal() (dAtA []byte, err error)

func (*MsgDonate) MarshalTo added in v0.41.0

func (m *MsgDonate) MarshalTo(dAtA []byte) (int, error)

func (*MsgDonate) MarshalToSizedBuffer added in v0.41.0

func (m *MsgDonate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDonate) ProtoMessage added in v0.41.0

func (*MsgDonate) ProtoMessage()

func (*MsgDonate) Reset added in v0.41.0

func (m *MsgDonate) Reset()

func (*MsgDonate) Route added in v0.41.0

func (m *MsgDonate) Route() string

Route should return the route key of the module

func (*MsgDonate) Size added in v0.41.0

func (m *MsgDonate) Size() (n int)

func (*MsgDonate) String added in v0.41.0

func (m *MsgDonate) String() string

func (MsgDonate) Type added in v0.41.0

func (m MsgDonate) Type() string

Type should return the action

func (*MsgDonate) Unmarshal added in v0.41.0

func (m *MsgDonate) Unmarshal(dAtA []byte) error

func (*MsgDonate) ValidateBasic added in v0.41.0

func (m *MsgDonate) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgDonate) XXX_DiscardUnknown added in v0.41.0

func (m *MsgDonate) XXX_DiscardUnknown()

func (*MsgDonate) XXX_Marshal added in v0.41.0

func (m *MsgDonate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDonate) XXX_Merge added in v0.41.0

func (m *MsgDonate) XXX_Merge(src proto.Message)

func (*MsgDonate) XXX_Size added in v0.41.0

func (m *MsgDonate) XXX_Size() int

func (*MsgDonate) XXX_Unmarshal added in v0.41.0

func (m *MsgDonate) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*MsgErrataTx) Descriptor() ([]byte, []int)

func (*MsgErrataTx) GetChain added in v0.41.0

func (*MsgErrataTx) GetSignBytes

func (m *MsgErrataTx) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgErrataTx) GetSigner added in v0.41.0

func (*MsgErrataTx) GetSigners

func (m *MsgErrataTx) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgErrataTx) GetTxID added in v0.41.0

func (*MsgErrataTx) Marshal added in v0.41.0

func (m *MsgErrataTx) Marshal() (dAtA []byte, err error)

func (*MsgErrataTx) MarshalTo added in v0.41.0

func (m *MsgErrataTx) MarshalTo(dAtA []byte) (int, error)

func (*MsgErrataTx) MarshalToSizedBuffer added in v0.41.0

func (m *MsgErrataTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgErrataTx) ProtoMessage added in v0.41.0

func (*MsgErrataTx) ProtoMessage()

func (*MsgErrataTx) Reset added in v0.41.0

func (m *MsgErrataTx) Reset()

func (*MsgErrataTx) Route

func (m *MsgErrataTx) Route() string

Route should return the name of the module

func (*MsgErrataTx) Size added in v0.41.0

func (m *MsgErrataTx) Size() (n int)

func (*MsgErrataTx) String added in v0.41.0

func (m *MsgErrataTx) String() string

func (MsgErrataTx) Type

func (m MsgErrataTx) Type() string

Type should return the action

func (*MsgErrataTx) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgErrataTx) XXX_DiscardUnknown()

func (*MsgErrataTx) XXX_Marshal added in v0.41.0

func (m *MsgErrataTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgErrataTx) XXX_Merge added in v0.41.0

func (m *MsgErrataTx) XXX_Merge(src proto.Message)

func (*MsgErrataTx) XXX_Size added in v0.41.0

func (m *MsgErrataTx) XXX_Size() int

func (*MsgErrataTx) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgLeave) Descriptor() ([]byte, []int)

func (*MsgLeave) GetNodeAddress added in v0.41.0

func (*MsgLeave) GetSignBytes

func (m *MsgLeave) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLeave) GetSigner added in v0.41.0

func (*MsgLeave) GetSigners

func (m *MsgLeave) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgLeave) GetTx added in v0.41.0

func (m *MsgLeave) GetTx() common.Tx

func (*MsgLeave) Marshal added in v0.41.0

func (m *MsgLeave) Marshal() (dAtA []byte, err error)

func (*MsgLeave) MarshalTo added in v0.41.0

func (m *MsgLeave) MarshalTo(dAtA []byte) (int, error)

func (*MsgLeave) MarshalToSizedBuffer added in v0.41.0

func (m *MsgLeave) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgLeave) ProtoMessage added in v0.41.0

func (*MsgLeave) ProtoMessage()

func (*MsgLeave) Reset added in v0.41.0

func (m *MsgLeave) Reset()

func (*MsgLeave) Route

func (m *MsgLeave) Route() string

Route should return the router key of the module

func (*MsgLeave) Size added in v0.41.0

func (m *MsgLeave) Size() (n int)

func (*MsgLeave) String added in v0.41.0

func (m *MsgLeave) String() string

func (MsgLeave) Type

func (m MsgLeave) Type() string

Type should return the action

func (*MsgLeave) Unmarshal added in v0.41.0

func (m *MsgLeave) Unmarshal(dAtA []byte) error

func (*MsgLeave) ValidateBasic

func (m *MsgLeave) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgLeave) XXX_DiscardUnknown added in v0.41.0

func (m *MsgLeave) XXX_DiscardUnknown()

func (*MsgLeave) XXX_Marshal added in v0.41.0

func (m *MsgLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgLeave) XXX_Merge added in v0.41.0

func (m *MsgLeave) XXX_Merge(src proto.Message)

func (*MsgLeave) XXX_Size added in v0.41.0

func (m *MsgLeave) XXX_Size() int

func (*MsgLeave) XXX_Unmarshal added in v0.41.0

func (m *MsgLeave) XXX_Unmarshal(b []byte) error

type MsgLoanOpen added in v1.121.0

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 added in v1.121.0

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 added in v1.121.0

func (*MsgLoanOpen) Descriptor() ([]byte, []int)

func (*MsgLoanOpen) GetAffiliateAddress added in v1.121.0

func (m *MsgLoanOpen) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address

func (*MsgLoanOpen) GetAggregator added in v1.121.0

func (m *MsgLoanOpen) GetAggregator() string

func (*MsgLoanOpen) GetAggregatorTargetAddress added in v1.121.0

func (m *MsgLoanOpen) GetAggregatorTargetAddress() string

func (*MsgLoanOpen) GetCollateralAsset added in v1.121.0

func (m *MsgLoanOpen) GetCollateralAsset() common.Asset

func (*MsgLoanOpen) GetOwner added in v1.121.0

func (*MsgLoanOpen) GetSignBytes added in v1.121.0

func (m *MsgLoanOpen) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLoanOpen) GetSigner added in v1.121.0

func (*MsgLoanOpen) GetSigners added in v1.121.0

func (m *MsgLoanOpen) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgLoanOpen) GetTargetAddress added in v1.121.0

func (*MsgLoanOpen) GetTargetAsset added in v1.121.0

func (m *MsgLoanOpen) GetTargetAsset() common.Asset

func (*MsgLoanOpen) GetTxID added in v1.121.0

func (*MsgLoanOpen) Marshal added in v1.121.0

func (m *MsgLoanOpen) Marshal() (dAtA []byte, err error)

func (*MsgLoanOpen) MarshalTo added in v1.121.0

func (m *MsgLoanOpen) MarshalTo(dAtA []byte) (int, error)

func (*MsgLoanOpen) MarshalToSizedBuffer added in v1.121.0

func (m *MsgLoanOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgLoanOpen) ProtoMessage added in v1.121.0

func (*MsgLoanOpen) ProtoMessage()

func (*MsgLoanOpen) Reset added in v1.121.0

func (m *MsgLoanOpen) Reset()

func (*MsgLoanOpen) Route added in v1.121.0

func (m *MsgLoanOpen) Route() string

Route should return the router key of the module

func (*MsgLoanOpen) Size added in v1.121.0

func (m *MsgLoanOpen) Size() (n int)

func (*MsgLoanOpen) String added in v1.121.0

func (m *MsgLoanOpen) String() string

func (MsgLoanOpen) Type added in v1.121.0

func (m MsgLoanOpen) Type() string

Type should return the action

func (*MsgLoanOpen) Unmarshal added in v1.121.0

func (m *MsgLoanOpen) Unmarshal(dAtA []byte) error

func (*MsgLoanOpen) ValidateBasic added in v1.121.0

func (m *MsgLoanOpen) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgLoanOpen) XXX_DiscardUnknown added in v1.121.0

func (m *MsgLoanOpen) XXX_DiscardUnknown()

func (*MsgLoanOpen) XXX_Marshal added in v1.121.0

func (m *MsgLoanOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgLoanOpen) XXX_Merge added in v1.121.0

func (m *MsgLoanOpen) XXX_Merge(src proto.Message)

func (*MsgLoanOpen) XXX_Size added in v1.121.0

func (m *MsgLoanOpen) XXX_Size() int

func (*MsgLoanOpen) XXX_Unmarshal added in v1.121.0

func (m *MsgLoanOpen) XXX_Unmarshal(b []byte) error

type MsgLoanRepayment added in v1.121.0

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 added in v1.121.0

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 added in v1.121.0

func (*MsgLoanRepayment) Descriptor() ([]byte, []int)

func (*MsgLoanRepayment) GetCoin added in v1.121.0

func (m *MsgLoanRepayment) GetCoin() common.Coin

func (*MsgLoanRepayment) GetCollateralAsset added in v1.121.0

func (m *MsgLoanRepayment) GetCollateralAsset() common.Asset

func (*MsgLoanRepayment) GetFrom added in v1.121.0

func (*MsgLoanRepayment) GetOwner added in v1.121.0

func (*MsgLoanRepayment) GetSignBytes added in v1.121.0

func (m *MsgLoanRepayment) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLoanRepayment) GetSigner added in v1.121.0

func (*MsgLoanRepayment) GetSigners added in v1.121.0

func (m *MsgLoanRepayment) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgLoanRepayment) GetTxID added in v1.121.0

func (*MsgLoanRepayment) Marshal added in v1.121.0

func (m *MsgLoanRepayment) Marshal() (dAtA []byte, err error)

func (*MsgLoanRepayment) MarshalTo added in v1.121.0

func (m *MsgLoanRepayment) MarshalTo(dAtA []byte) (int, error)

func (*MsgLoanRepayment) MarshalToSizedBuffer added in v1.121.0

func (m *MsgLoanRepayment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgLoanRepayment) ProtoMessage added in v1.121.0

func (*MsgLoanRepayment) ProtoMessage()

func (*MsgLoanRepayment) Reset added in v1.121.0

func (m *MsgLoanRepayment) Reset()

func (*MsgLoanRepayment) Route added in v1.121.0

func (m *MsgLoanRepayment) Route() string

Route should return the router key of the module

func (*MsgLoanRepayment) Size added in v1.121.0

func (m *MsgLoanRepayment) Size() (n int)

func (*MsgLoanRepayment) String added in v1.121.0

func (m *MsgLoanRepayment) String() string

func (MsgLoanRepayment) Type added in v1.121.0

func (m MsgLoanRepayment) Type() string

Type should return the action

func (*MsgLoanRepayment) Unmarshal added in v1.121.0

func (m *MsgLoanRepayment) Unmarshal(dAtA []byte) error

func (*MsgLoanRepayment) ValidateBasic added in v1.121.0

func (m *MsgLoanRepayment) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgLoanRepayment) XXX_DiscardUnknown added in v1.121.0

func (m *MsgLoanRepayment) XXX_DiscardUnknown()

func (*MsgLoanRepayment) XXX_Marshal added in v1.121.0

func (m *MsgLoanRepayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgLoanRepayment) XXX_Merge added in v1.121.0

func (m *MsgLoanRepayment) XXX_Merge(src proto.Message)

func (*MsgLoanRepayment) XXX_Size added in v1.121.0

func (m *MsgLoanRepayment) XXX_Size() int

func (*MsgLoanRepayment) XXX_Unmarshal added in v1.121.0

func (m *MsgLoanRepayment) XXX_Unmarshal(b []byte) error

type MsgManageTHORName added in v0.58.0

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 added in v0.58.0

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 added in v0.58.0

func (*MsgManageTHORName) Descriptor() ([]byte, []int)

func (*MsgManageTHORName) GetAddress added in v0.58.0

func (*MsgManageTHORName) GetChain added in v0.58.0

func (*MsgManageTHORName) GetCoin added in v0.58.0

func (m *MsgManageTHORName) GetCoin() common.Coin

func (*MsgManageTHORName) GetExpireBlockHeight added in v0.58.0

func (m *MsgManageTHORName) GetExpireBlockHeight() int64

func (*MsgManageTHORName) GetName added in v0.58.0

func (m *MsgManageTHORName) GetName() string

func (*MsgManageTHORName) GetOwner added in v0.58.0

func (*MsgManageTHORName) GetPreferredAsset added in v0.58.0

func (m *MsgManageTHORName) GetPreferredAsset() common.Asset

func (*MsgManageTHORName) GetSignBytes added in v0.58.0

func (m *MsgManageTHORName) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgManageTHORName) GetSigner added in v0.58.0

func (*MsgManageTHORName) GetSigners added in v0.58.0

func (m *MsgManageTHORName) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgManageTHORName) Marshal added in v0.58.0

func (m *MsgManageTHORName) Marshal() (dAtA []byte, err error)

func (*MsgManageTHORName) MarshalTo added in v0.58.0

func (m *MsgManageTHORName) MarshalTo(dAtA []byte) (int, error)

func (*MsgManageTHORName) MarshalToSizedBuffer added in v0.58.0

func (m *MsgManageTHORName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgManageTHORName) ProtoMessage added in v0.58.0

func (*MsgManageTHORName) ProtoMessage()

func (*MsgManageTHORName) Reset added in v0.58.0

func (m *MsgManageTHORName) Reset()

func (*MsgManageTHORName) Route added in v0.58.0

func (m *MsgManageTHORName) Route() string

Route should return the Route of the module

func (*MsgManageTHORName) Size added in v0.58.0

func (m *MsgManageTHORName) Size() (n int)

func (*MsgManageTHORName) String added in v0.58.0

func (m *MsgManageTHORName) String() string

func (MsgManageTHORName) Type added in v0.58.0

func (m MsgManageTHORName) Type() string

Type should return the action

func (*MsgManageTHORName) Unmarshal added in v0.58.0

func (m *MsgManageTHORName) Unmarshal(dAtA []byte) error

func (*MsgManageTHORName) ValidateBasic added in v0.58.0

func (m *MsgManageTHORName) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgManageTHORName) XXX_DiscardUnknown added in v0.58.0

func (m *MsgManageTHORName) XXX_DiscardUnknown()

func (*MsgManageTHORName) XXX_Marshal added in v0.58.0

func (m *MsgManageTHORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgManageTHORName) XXX_Merge added in v0.58.0

func (m *MsgManageTHORName) XXX_Merge(src proto.Message)

func (*MsgManageTHORName) XXX_Size added in v0.58.0

func (m *MsgManageTHORName) XXX_Size() int

func (*MsgManageTHORName) XXX_Unmarshal added in v0.58.0

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 added in v0.41.0

func (*MsgMigrate) Descriptor() ([]byte, []int)

func (*MsgMigrate) GetBlockHeight added in v0.41.0

func (m *MsgMigrate) GetBlockHeight() int64

func (*MsgMigrate) GetSignBytes

func (m *MsgMigrate) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgMigrate) GetSigner added in v0.41.0

func (*MsgMigrate) GetSigners

func (m *MsgMigrate) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgMigrate) GetTx added in v0.41.0

func (m *MsgMigrate) GetTx() ObservedTx

func (*MsgMigrate) Marshal added in v0.41.0

func (m *MsgMigrate) Marshal() (dAtA []byte, err error)

func (*MsgMigrate) MarshalTo added in v0.41.0

func (m *MsgMigrate) MarshalTo(dAtA []byte) (int, error)

func (*MsgMigrate) MarshalToSizedBuffer added in v0.41.0

func (m *MsgMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMigrate) ProtoMessage added in v0.41.0

func (*MsgMigrate) ProtoMessage()

func (*MsgMigrate) Reset added in v0.41.0

func (m *MsgMigrate) Reset()

func (*MsgMigrate) Route

func (m *MsgMigrate) Route() string

Route should return the name of the module

func (*MsgMigrate) Size added in v0.41.0

func (m *MsgMigrate) Size() (n int)

func (*MsgMigrate) String added in v0.41.0

func (m *MsgMigrate) String() string

func (MsgMigrate) Type

func (m MsgMigrate) Type() string

Type should return the action

func (*MsgMigrate) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgMigrate) XXX_DiscardUnknown()

func (*MsgMigrate) XXX_Marshal added in v0.41.0

func (m *MsgMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMigrate) XXX_Merge added in v0.41.0

func (m *MsgMigrate) XXX_Merge(src proto.Message)

func (*MsgMigrate) XXX_Size added in v0.41.0

func (m *MsgMigrate) XXX_Size() int

func (*MsgMigrate) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgMimir) Descriptor() ([]byte, []int)

func (*MsgMimir) GetKey added in v0.41.0

func (m *MsgMimir) GetKey() string

func (*MsgMimir) GetSignBytes

func (m *MsgMimir) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgMimir) GetSigner added in v0.41.0

func (*MsgMimir) GetSigners

func (m *MsgMimir) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgMimir) GetValue added in v0.41.0

func (m *MsgMimir) GetValue() int64

func (*MsgMimir) Marshal added in v0.41.0

func (m *MsgMimir) Marshal() (dAtA []byte, err error)

func (*MsgMimir) MarshalTo added in v0.41.0

func (m *MsgMimir) MarshalTo(dAtA []byte) (int, error)

func (*MsgMimir) MarshalToSizedBuffer added in v0.41.0

func (m *MsgMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMimir) ProtoMessage added in v0.41.0

func (*MsgMimir) ProtoMessage()

func (*MsgMimir) Reset added in v0.41.0

func (m *MsgMimir) Reset()

func (*MsgMimir) Route

func (m *MsgMimir) Route() string

Route should return the route key of the module

func (*MsgMimir) Size added in v0.41.0

func (m *MsgMimir) Size() (n int)

func (*MsgMimir) String added in v0.41.0

func (m *MsgMimir) String() string

func (MsgMimir) Type

func (m MsgMimir) Type() string

Type should return the action

func (*MsgMimir) Unmarshal added in v0.41.0

func (m *MsgMimir) Unmarshal(dAtA []byte) error

func (*MsgMimir) ValidateBasic

func (m *MsgMimir) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgMimir) XXX_DiscardUnknown added in v0.41.0

func (m *MsgMimir) XXX_DiscardUnknown()

func (*MsgMimir) XXX_Marshal added in v0.41.0

func (m *MsgMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMimir) XXX_Merge added in v0.41.0

func (m *MsgMimir) XXX_Merge(src proto.Message)

func (*MsgMimir) XXX_Size added in v0.41.0

func (m *MsgMimir) XXX_Size() int

func (*MsgMimir) XXX_Unmarshal added in v0.41.0

func (m *MsgMimir) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*MsgNetworkFee) Descriptor() ([]byte, []int)

func (*MsgNetworkFee) GetBlockHeight added in v0.41.0

func (m *MsgNetworkFee) GetBlockHeight() int64

func (*MsgNetworkFee) GetChain added in v0.41.0

func (*MsgNetworkFee) GetSignBytes

func (m *MsgNetworkFee) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgNetworkFee) GetSigner added in v0.41.0

func (*MsgNetworkFee) GetSigners

func (m *MsgNetworkFee) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgNetworkFee) GetTransactionFeeRate added in v0.41.0

func (m *MsgNetworkFee) GetTransactionFeeRate() uint64

func (*MsgNetworkFee) GetTransactionSize added in v0.41.0

func (m *MsgNetworkFee) GetTransactionSize() uint64

func (*MsgNetworkFee) Marshal added in v0.41.0

func (m *MsgNetworkFee) Marshal() (dAtA []byte, err error)

func (*MsgNetworkFee) MarshalTo added in v0.41.0

func (m *MsgNetworkFee) MarshalTo(dAtA []byte) (int, error)

func (*MsgNetworkFee) MarshalToSizedBuffer added in v0.41.0

func (m *MsgNetworkFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgNetworkFee) ProtoMessage added in v0.41.0

func (*MsgNetworkFee) ProtoMessage()

func (*MsgNetworkFee) Reset added in v0.41.0

func (m *MsgNetworkFee) Reset()

func (*MsgNetworkFee) Route

func (m *MsgNetworkFee) Route() string

Route should return the Route of the module

func (*MsgNetworkFee) Size added in v0.41.0

func (m *MsgNetworkFee) Size() (n int)

func (*MsgNetworkFee) String added in v0.41.0

func (m *MsgNetworkFee) String() string

func (MsgNetworkFee) Type

func (m MsgNetworkFee) Type() string

Type should return the action

func (*MsgNetworkFee) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgNetworkFee) XXX_DiscardUnknown()

func (*MsgNetworkFee) XXX_Marshal added in v0.41.0

func (m *MsgNetworkFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgNetworkFee) XXX_Merge added in v0.41.0

func (m *MsgNetworkFee) XXX_Merge(src proto.Message)

func (*MsgNetworkFee) XXX_Size added in v0.41.0

func (m *MsgNetworkFee) XXX_Size() int

func (*MsgNetworkFee) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgNoOp) Descriptor() ([]byte, []int)

func (*MsgNoOp) GetAction added in v0.41.0

func (m *MsgNoOp) GetAction() string

func (*MsgNoOp) GetObservedTx added in v0.41.0

func (m *MsgNoOp) GetObservedTx() ObservedTx

func (*MsgNoOp) GetSignBytes

func (m *MsgNoOp) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgNoOp) GetSigner added in v0.41.0

func (*MsgNoOp) GetSigners

func (m *MsgNoOp) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgNoOp) Marshal added in v0.41.0

func (m *MsgNoOp) Marshal() (dAtA []byte, err error)

func (*MsgNoOp) MarshalTo added in v0.41.0

func (m *MsgNoOp) MarshalTo(dAtA []byte) (int, error)

func (*MsgNoOp) MarshalToSizedBuffer added in v0.41.0

func (m *MsgNoOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgNoOp) ProtoMessage added in v0.41.0

func (*MsgNoOp) ProtoMessage()

func (*MsgNoOp) Reset added in v0.41.0

func (m *MsgNoOp) Reset()

func (*MsgNoOp) Route

func (m *MsgNoOp) Route() string

Route should return the pooldata of the module

func (*MsgNoOp) Size added in v0.41.0

func (m *MsgNoOp) Size() (n int)

func (*MsgNoOp) String added in v0.41.0

func (m *MsgNoOp) String() string

func (MsgNoOp) Type

func (m MsgNoOp) Type() string

Type should return the action

func (*MsgNoOp) Unmarshal added in v0.41.0

func (m *MsgNoOp) Unmarshal(dAtA []byte) error

func (*MsgNoOp) ValidateBasic

func (m *MsgNoOp) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgNoOp) XXX_DiscardUnknown added in v0.41.0

func (m *MsgNoOp) XXX_DiscardUnknown()

func (*MsgNoOp) XXX_Marshal added in v0.41.0

func (m *MsgNoOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgNoOp) XXX_Merge added in v0.41.0

func (m *MsgNoOp) XXX_Merge(src proto.Message)

func (*MsgNoOp) XXX_Size added in v0.41.0

func (m *MsgNoOp) XXX_Size() int

func (*MsgNoOp) XXX_Unmarshal added in v0.41.0

func (m *MsgNoOp) XXX_Unmarshal(b []byte) error

type MsgNodePauseChain added in v0.65.0

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 added in v0.65.0

func NewMsgNodePauseChain(val int64, signer cosmos.AccAddress) *MsgNodePauseChain

NewMsgNodePauseChain is a constructor function for NewMsgNodePauseChain

func (*MsgNodePauseChain) Descriptor added in v0.65.0

func (*MsgNodePauseChain) Descriptor() ([]byte, []int)

func (*MsgNodePauseChain) GetSignBytes added in v0.65.0

func (m *MsgNodePauseChain) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgNodePauseChain) GetSigner added in v0.65.0

func (*MsgNodePauseChain) GetSigners added in v0.65.0

func (m *MsgNodePauseChain) GetSigners() []cosmos.AccAddress

GetSigners return all the signer who signed this message

func (*MsgNodePauseChain) GetValue added in v0.65.0

func (m *MsgNodePauseChain) GetValue() int64

func (*MsgNodePauseChain) Marshal added in v0.65.0

func (m *MsgNodePauseChain) Marshal() (dAtA []byte, err error)

func (*MsgNodePauseChain) MarshalTo added in v0.65.0

func (m *MsgNodePauseChain) MarshalTo(dAtA []byte) (int, error)

func (*MsgNodePauseChain) MarshalToSizedBuffer added in v0.65.0

func (m *MsgNodePauseChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgNodePauseChain) ProtoMessage added in v0.65.0

func (*MsgNodePauseChain) ProtoMessage()

func (*MsgNodePauseChain) Reset added in v0.65.0

func (m *MsgNodePauseChain) Reset()

func (*MsgNodePauseChain) Route added in v0.65.0

func (m *MsgNodePauseChain) Route() string

Route should return the name of the module

func (*MsgNodePauseChain) Size added in v0.65.0

func (m *MsgNodePauseChain) Size() (n int)

func (*MsgNodePauseChain) String added in v0.65.0

func (m *MsgNodePauseChain) String() string

func (MsgNodePauseChain) Type added in v0.65.0

func (m MsgNodePauseChain) Type() string

Type should return the action

func (*MsgNodePauseChain) Unmarshal added in v0.65.0

func (m *MsgNodePauseChain) Unmarshal(dAtA []byte) error

func (*MsgNodePauseChain) ValidateBasic added in v0.65.0

func (m *MsgNodePauseChain) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgNodePauseChain) XXX_DiscardUnknown added in v0.65.0

func (m *MsgNodePauseChain) XXX_DiscardUnknown()

func (*MsgNodePauseChain) XXX_Marshal added in v0.65.0

func (m *MsgNodePauseChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgNodePauseChain) XXX_Merge added in v0.65.0

func (m *MsgNodePauseChain) XXX_Merge(src proto.Message)

func (*MsgNodePauseChain) XXX_Size added in v0.65.0

func (m *MsgNodePauseChain) XXX_Size() int

func (*MsgNodePauseChain) XXX_Unmarshal added in v0.65.0

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 added in v0.41.0

func (*MsgObservedTxIn) Descriptor() ([]byte, []int)

func (*MsgObservedTxIn) GetSignBytes

func (m *MsgObservedTxIn) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgObservedTxIn) GetSigner added in v0.41.0

func (*MsgObservedTxIn) GetSigners

func (m *MsgObservedTxIn) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgObservedTxIn) GetTxs added in v0.41.0

func (m *MsgObservedTxIn) GetTxs() ObservedTxs

func (*MsgObservedTxIn) Marshal added in v0.41.0

func (m *MsgObservedTxIn) Marshal() (dAtA []byte, err error)

func (*MsgObservedTxIn) MarshalTo added in v0.41.0

func (m *MsgObservedTxIn) MarshalTo(dAtA []byte) (int, error)

func (*MsgObservedTxIn) MarshalToSizedBuffer added in v0.41.0

func (m *MsgObservedTxIn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgObservedTxIn) ProtoMessage added in v0.41.0

func (*MsgObservedTxIn) ProtoMessage()

func (*MsgObservedTxIn) Reset added in v0.41.0

func (m *MsgObservedTxIn) Reset()

func (*MsgObservedTxIn) Route

func (m *MsgObservedTxIn) Route() string

Route should return the route key of the module

func (*MsgObservedTxIn) Size added in v0.41.0

func (m *MsgObservedTxIn) Size() (n int)

func (*MsgObservedTxIn) String added in v0.41.0

func (m *MsgObservedTxIn) String() string

func (MsgObservedTxIn) Type

func (m MsgObservedTxIn) Type() string

Type should return the action

func (*MsgObservedTxIn) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgObservedTxIn) XXX_DiscardUnknown()

func (*MsgObservedTxIn) XXX_Marshal added in v0.41.0

func (m *MsgObservedTxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgObservedTxIn) XXX_Merge added in v0.41.0

func (m *MsgObservedTxIn) XXX_Merge(src proto.Message)

func (*MsgObservedTxIn) XXX_Size added in v0.41.0

func (m *MsgObservedTxIn) XXX_Size() int

func (*MsgObservedTxIn) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgObservedTxOut) Descriptor() ([]byte, []int)

func (*MsgObservedTxOut) GetSignBytes

func (m *MsgObservedTxOut) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgObservedTxOut) GetSigner added in v0.41.0

func (*MsgObservedTxOut) GetSigners

func (m *MsgObservedTxOut) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgObservedTxOut) GetTxs added in v0.41.0

func (m *MsgObservedTxOut) GetTxs() ObservedTxs

func (*MsgObservedTxOut) Marshal added in v0.41.0

func (m *MsgObservedTxOut) Marshal() (dAtA []byte, err error)

func (*MsgObservedTxOut) MarshalTo added in v0.41.0

func (m *MsgObservedTxOut) MarshalTo(dAtA []byte) (int, error)

func (*MsgObservedTxOut) MarshalToSizedBuffer added in v0.41.0

func (m *MsgObservedTxOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgObservedTxOut) ProtoMessage added in v0.41.0

func (*MsgObservedTxOut) ProtoMessage()

func (*MsgObservedTxOut) Reset added in v0.41.0

func (m *MsgObservedTxOut) Reset()

func (*MsgObservedTxOut) Route

func (m *MsgObservedTxOut) Route() string

Route should return the route key of the module

func (*MsgObservedTxOut) Size added in v0.41.0

func (m *MsgObservedTxOut) Size() (n int)

func (*MsgObservedTxOut) String added in v0.41.0

func (m *MsgObservedTxOut) String() string

func (MsgObservedTxOut) Type

func (m MsgObservedTxOut) Type() string

Type should return the action

func (*MsgObservedTxOut) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgObservedTxOut) XXX_DiscardUnknown()

func (*MsgObservedTxOut) XXX_Marshal added in v0.41.0

func (m *MsgObservedTxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgObservedTxOut) XXX_Merge added in v0.41.0

func (m *MsgObservedTxOut) XXX_Merge(src proto.Message)

func (*MsgObservedTxOut) XXX_Size added in v0.41.0

func (m *MsgObservedTxOut) XXX_Size() int

func (*MsgObservedTxOut) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgOutboundTx) Descriptor() ([]byte, []int)

func (*MsgOutboundTx) GetInTxID added in v0.41.0

func (*MsgOutboundTx) GetSignBytes

func (m *MsgOutboundTx) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgOutboundTx) GetSigner added in v0.41.0

func (*MsgOutboundTx) GetSigners

func (m *MsgOutboundTx) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgOutboundTx) GetTx added in v0.41.0

func (m *MsgOutboundTx) GetTx() ObservedTx

func (*MsgOutboundTx) Marshal added in v0.41.0

func (m *MsgOutboundTx) Marshal() (dAtA []byte, err error)

func (*MsgOutboundTx) MarshalTo added in v0.41.0

func (m *MsgOutboundTx) MarshalTo(dAtA []byte) (int, error)

func (*MsgOutboundTx) MarshalToSizedBuffer added in v0.41.0

func (m *MsgOutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgOutboundTx) ProtoMessage added in v0.41.0

func (*MsgOutboundTx) ProtoMessage()

func (*MsgOutboundTx) Reset added in v0.41.0

func (m *MsgOutboundTx) Reset()

func (*MsgOutboundTx) Route

func (m *MsgOutboundTx) Route() string

Route should return the route key of the module

func (*MsgOutboundTx) Size added in v0.41.0

func (m *MsgOutboundTx) Size() (n int)

func (*MsgOutboundTx) String added in v0.41.0

func (m *MsgOutboundTx) String() string

func (MsgOutboundTx) Type

func (m MsgOutboundTx) Type() string

Type should return the action

func (*MsgOutboundTx) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgOutboundTx) XXX_DiscardUnknown()

func (*MsgOutboundTx) XXX_Marshal added in v0.41.0

func (m *MsgOutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgOutboundTx) XXX_Merge added in v0.41.0

func (m *MsgOutboundTx) XXX_Merge(src proto.Message)

func (*MsgOutboundTx) XXX_Size added in v0.41.0

func (m *MsgOutboundTx) XXX_Size() int

func (*MsgOutboundTx) XXX_Unmarshal added in v0.41.0

func (m *MsgOutboundTx) 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 added in v0.41.0

func (*MsgRagnarok) Descriptor() ([]byte, []int)

func (*MsgRagnarok) GetBlockHeight added in v0.41.0

func (m *MsgRagnarok) GetBlockHeight() int64

func (*MsgRagnarok) GetSignBytes

func (m *MsgRagnarok) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgRagnarok) GetSigner added in v0.41.0

func (*MsgRagnarok) GetSigners

func (m *MsgRagnarok) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgRagnarok) GetTx added in v0.41.0

func (m *MsgRagnarok) GetTx() ObservedTx

func (*MsgRagnarok) Marshal added in v0.41.0

func (m *MsgRagnarok) Marshal() (dAtA []byte, err error)

func (*MsgRagnarok) MarshalTo added in v0.41.0

func (m *MsgRagnarok) MarshalTo(dAtA []byte) (int, error)

func (*MsgRagnarok) MarshalToSizedBuffer added in v0.41.0

func (m *MsgRagnarok) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRagnarok) ProtoMessage added in v0.41.0

func (*MsgRagnarok) ProtoMessage()

func (*MsgRagnarok) Reset added in v0.41.0

func (m *MsgRagnarok) Reset()

func (*MsgRagnarok) Route

func (m *MsgRagnarok) Route() string

Route should return the name of the module

func (*MsgRagnarok) Size added in v0.41.0

func (m *MsgRagnarok) Size() (n int)

func (*MsgRagnarok) String added in v0.41.0

func (m *MsgRagnarok) String() string

func (MsgRagnarok) Type

func (m MsgRagnarok) Type() string

Type should return the action

func (*MsgRagnarok) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgRagnarok) XXX_DiscardUnknown()

func (*MsgRagnarok) XXX_Marshal added in v0.41.0

func (m *MsgRagnarok) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRagnarok) XXX_Merge added in v0.41.0

func (m *MsgRagnarok) XXX_Merge(src proto.Message)

func (*MsgRagnarok) XXX_Size added in v0.41.0

func (m *MsgRagnarok) XXX_Size() int

func (*MsgRagnarok) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgRefundTx) Descriptor() ([]byte, []int)

func (*MsgRefundTx) GetInTxID added in v0.41.0

func (*MsgRefundTx) GetSignBytes

func (m *MsgRefundTx) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgRefundTx) GetSigner added in v0.41.0

func (*MsgRefundTx) GetSigners

func (m *MsgRefundTx) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgRefundTx) GetTx added in v0.41.0

func (m *MsgRefundTx) GetTx() ObservedTx

func (*MsgRefundTx) Marshal added in v0.41.0

func (m *MsgRefundTx) Marshal() (dAtA []byte, err error)

func (*MsgRefundTx) MarshalTo added in v0.41.0

func (m *MsgRefundTx) MarshalTo(dAtA []byte) (int, error)

func (*MsgRefundTx) MarshalToSizedBuffer added in v0.41.0

func (m *MsgRefundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRefundTx) ProtoMessage added in v0.41.0

func (*MsgRefundTx) ProtoMessage()

func (*MsgRefundTx) Reset added in v0.41.0

func (m *MsgRefundTx) Reset()

func (*MsgRefundTx) Route

func (m *MsgRefundTx) Route() string

Route should return the route key of the module

func (*MsgRefundTx) Size added in v0.41.0

func (m *MsgRefundTx) Size() (n int)

func (*MsgRefundTx) String added in v0.41.0

func (m *MsgRefundTx) String() string

func (MsgRefundTx) Type

func (m MsgRefundTx) Type() string

Type should return the action

func (*MsgRefundTx) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgRefundTx) XXX_DiscardUnknown()

func (*MsgRefundTx) XXX_Marshal added in v0.41.0

func (m *MsgRefundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRefundTx) XXX_Merge added in v0.41.0

func (m *MsgRefundTx) XXX_Merge(src proto.Message)

func (*MsgRefundTx) XXX_Size added in v0.41.0

func (m *MsgRefundTx) XXX_Size() int

func (*MsgRefundTx) XXX_Unmarshal added in v0.41.0

func (m *MsgRefundTx) 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 added in v0.41.0

func (*MsgReserveContributor) Descriptor() ([]byte, []int)

func (*MsgReserveContributor) GetContributor added in v0.41.0

func (m *MsgReserveContributor) GetContributor() ReserveContributor

func (*MsgReserveContributor) GetSignBytes

func (m *MsgReserveContributor) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgReserveContributor) GetSigner added in v0.41.0

func (*MsgReserveContributor) GetSigners

func (m *MsgReserveContributor) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgReserveContributor) GetTx added in v0.41.0

func (m *MsgReserveContributor) GetTx() common.Tx

func (*MsgReserveContributor) Marshal added in v0.41.0

func (m *MsgReserveContributor) Marshal() (dAtA []byte, err error)

func (*MsgReserveContributor) MarshalTo added in v0.41.0

func (m *MsgReserveContributor) MarshalTo(dAtA []byte) (int, error)

func (*MsgReserveContributor) MarshalToSizedBuffer added in v0.41.0

func (m *MsgReserveContributor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgReserveContributor) ProtoMessage added in v0.41.0

func (*MsgReserveContributor) ProtoMessage()

func (*MsgReserveContributor) Reset added in v0.41.0

func (m *MsgReserveContributor) Reset()

func (*MsgReserveContributor) Route

func (m *MsgReserveContributor) Route() string

Route return the route key of module

func (*MsgReserveContributor) Size added in v0.41.0

func (m *MsgReserveContributor) Size() (n int)

func (*MsgReserveContributor) String added in v0.41.0

func (m *MsgReserveContributor) String() string

func (MsgReserveContributor) Type

func (m MsgReserveContributor) Type() string

Type return a unique action

func (*MsgReserveContributor) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgReserveContributor) XXX_DiscardUnknown()

func (*MsgReserveContributor) XXX_Marshal added in v0.41.0

func (m *MsgReserveContributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgReserveContributor) XXX_Merge added in v0.41.0

func (m *MsgReserveContributor) XXX_Merge(src proto.Message)

func (*MsgReserveContributor) XXX_Size added in v0.41.0

func (m *MsgReserveContributor) XXX_Size() int

func (*MsgReserveContributor) XXX_Unmarshal added in v0.41.0

func (m *MsgReserveContributor) XXX_Unmarshal(b []byte) error

type MsgSend added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*MsgSend) Descriptor() ([]byte, []int)

func (*MsgSend) GetAmount added in v0.41.0

func (*MsgSend) GetFromAddress added in v0.41.0

func (*MsgSend) GetSignBytes added in v0.41.0

func (m *MsgSend) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (*MsgSend) GetSigners added in v0.41.0

func (m *MsgSend) GetSigners() []cosmos.AccAddress

GetSigners Implements Msg.

func (*MsgSend) GetToAddress added in v0.41.0

func (*MsgSend) Marshal added in v0.41.0

func (m *MsgSend) Marshal() (dAtA []byte, err error)

func (*MsgSend) MarshalTo added in v0.41.0

func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)

func (*MsgSend) MarshalToSizedBuffer added in v0.41.0

func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSend) ProtoMessage added in v0.41.0

func (*MsgSend) ProtoMessage()

func (*MsgSend) Reset added in v0.41.0

func (m *MsgSend) Reset()

func (*MsgSend) Route added in v0.41.0

func (m *MsgSend) Route() string

Route Implements Msg.

func (*MsgSend) Size added in v0.41.0

func (m *MsgSend) Size() (n int)

func (*MsgSend) String added in v0.41.0

func (m *MsgSend) String() string

func (MsgSend) Type added in v0.41.0

func (m MsgSend) Type() string

Type Implements Msg.

func (*MsgSend) Unmarshal added in v0.41.0

func (m *MsgSend) Unmarshal(dAtA []byte) error

func (*MsgSend) ValidateBasic added in v0.41.0

func (m *MsgSend) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgSend) XXX_DiscardUnknown added in v0.41.0

func (m *MsgSend) XXX_DiscardUnknown()

func (*MsgSend) XXX_Marshal added in v0.41.0

func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSend) XXX_Merge added in v0.41.0

func (m *MsgSend) XXX_Merge(src proto.Message)

func (*MsgSend) XXX_Size added in v0.41.0

func (m *MsgSend) XXX_Size() int

func (*MsgSend) XXX_Unmarshal added in v0.41.0

func (m *MsgSend) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*MsgSetIPAddress) Descriptor() ([]byte, []int)

func (*MsgSetIPAddress) GetIPAddress added in v0.41.0

func (m *MsgSetIPAddress) GetIPAddress() string

func (*MsgSetIPAddress) GetSignBytes

func (m *MsgSetIPAddress) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSetIPAddress) GetSigner added in v0.41.0

func (*MsgSetIPAddress) GetSigners

func (m *MsgSetIPAddress) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgSetIPAddress) Marshal added in v0.41.0

func (m *MsgSetIPAddress) Marshal() (dAtA []byte, err error)

func (*MsgSetIPAddress) MarshalTo added in v0.41.0

func (m *MsgSetIPAddress) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetIPAddress) MarshalToSizedBuffer added in v0.41.0

func (m *MsgSetIPAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetIPAddress) ProtoMessage added in v0.41.0

func (*MsgSetIPAddress) ProtoMessage()

func (*MsgSetIPAddress) Reset added in v0.41.0

func (m *MsgSetIPAddress) Reset()

func (*MsgSetIPAddress) Route

func (m *MsgSetIPAddress) Route() string

Route should return the name of the module

func (*MsgSetIPAddress) Size added in v0.41.0

func (m *MsgSetIPAddress) Size() (n int)

func (*MsgSetIPAddress) String added in v0.41.0

func (m *MsgSetIPAddress) String() string

func (MsgSetIPAddress) Type

func (m MsgSetIPAddress) Type() string

Type should return the action

func (*MsgSetIPAddress) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgSetIPAddress) XXX_DiscardUnknown()

func (*MsgSetIPAddress) XXX_Marshal added in v0.41.0

func (m *MsgSetIPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetIPAddress) XXX_Merge added in v0.41.0

func (m *MsgSetIPAddress) XXX_Merge(src proto.Message)

func (*MsgSetIPAddress) XXX_Size added in v0.41.0

func (m *MsgSetIPAddress) XXX_Size() int

func (*MsgSetIPAddress) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgSetNodeKeys) Descriptor() ([]byte, []int)

func (*MsgSetNodeKeys) GetPubKeySetSet added in v0.41.0

func (m *MsgSetNodeKeys) GetPubKeySetSet() common.PubKeySet

func (*MsgSetNodeKeys) GetSignBytes

func (m *MsgSetNodeKeys) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSetNodeKeys) GetSigner added in v0.41.0

func (*MsgSetNodeKeys) GetSigners

func (m *MsgSetNodeKeys) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgSetNodeKeys) GetValidatorConsPubKey added in v0.41.0

func (m *MsgSetNodeKeys) GetValidatorConsPubKey() string

func (*MsgSetNodeKeys) Marshal added in v0.41.0

func (m *MsgSetNodeKeys) Marshal() (dAtA []byte, err error)

func (*MsgSetNodeKeys) MarshalTo added in v0.41.0

func (m *MsgSetNodeKeys) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetNodeKeys) MarshalToSizedBuffer added in v0.41.0

func (m *MsgSetNodeKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetNodeKeys) ProtoMessage added in v0.41.0

func (*MsgSetNodeKeys) ProtoMessage()

func (*MsgSetNodeKeys) Reset added in v0.41.0

func (m *MsgSetNodeKeys) Reset()

func (*MsgSetNodeKeys) Route

func (m *MsgSetNodeKeys) Route() string

Route should return the router key of the module

func (*MsgSetNodeKeys) Size added in v0.41.0

func (m *MsgSetNodeKeys) Size() (n int)

func (*MsgSetNodeKeys) String added in v0.41.0

func (m *MsgSetNodeKeys) String() string

func (MsgSetNodeKeys) Type

func (m MsgSetNodeKeys) Type() string

Type should return the action

func (*MsgSetNodeKeys) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgSetNodeKeys) XXX_DiscardUnknown()

func (*MsgSetNodeKeys) XXX_Marshal added in v0.41.0

func (m *MsgSetNodeKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetNodeKeys) XXX_Merge added in v0.41.0

func (m *MsgSetNodeKeys) XXX_Merge(src proto.Message)

func (*MsgSetNodeKeys) XXX_Size added in v0.41.0

func (m *MsgSetNodeKeys) XXX_Size() int

func (*MsgSetNodeKeys) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (m *MsgSetVersion) GetVersion() (semver.Version, error)

GetVersion return the semantic version

func (*MsgSetVersion) Marshal added in v0.41.0

func (m *MsgSetVersion) Marshal() (dAtA []byte, err error)

func (*MsgSetVersion) MarshalTo added in v0.41.0

func (m *MsgSetVersion) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetVersion) MarshalToSizedBuffer added in v0.41.0

func (m *MsgSetVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetVersion) ProtoMessage added in v0.41.0

func (*MsgSetVersion) ProtoMessage()

func (*MsgSetVersion) Reset added in v0.41.0

func (m *MsgSetVersion) Reset()

func (*MsgSetVersion) Route

func (m *MsgSetVersion) Route() string

Route should return the route key of the module

func (*MsgSetVersion) Size added in v0.41.0

func (m *MsgSetVersion) Size() (n int)

func (*MsgSetVersion) String added in v0.41.0

func (m *MsgSetVersion) String() string

func (MsgSetVersion) Type

func (m MsgSetVersion) Type() string

Type should return the action

func (*MsgSetVersion) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgSetVersion) XXX_DiscardUnknown()

func (*MsgSetVersion) XXX_Marshal added in v0.41.0

func (m *MsgSetVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetVersion) XXX_Merge added in v0.41.0

func (m *MsgSetVersion) XXX_Merge(src proto.Message)

func (*MsgSetVersion) XXX_Size added in v0.41.0

func (m *MsgSetVersion) XXX_Size() int

func (*MsgSetVersion) XXX_Unmarshal added in v0.41.0

func (m *MsgSetVersion) XXX_Unmarshal(b []byte) error

type MsgSolvency added in v0.63.0

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 added in v0.63.0

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 added in v0.63.0

func (*MsgSolvency) Descriptor() ([]byte, []int)

func (*MsgSolvency) GetChain added in v0.63.0

func (*MsgSolvency) GetCoins added in v0.63.0

func (*MsgSolvency) GetHeight added in v0.63.0

func (m *MsgSolvency) GetHeight() int64

func (*MsgSolvency) GetId added in v0.63.0

func (*MsgSolvency) GetPubKey added in v0.63.0

func (*MsgSolvency) GetSignBytes added in v0.63.0

func (m *MsgSolvency) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (*MsgSolvency) GetSigner added in v0.63.0

func (*MsgSolvency) GetSigners added in v0.63.0

func (m *MsgSolvency) GetSigners() []cosmos.AccAddress

GetSigners Implements Msg.

func (*MsgSolvency) Marshal added in v0.63.0

func (m *MsgSolvency) Marshal() (dAtA []byte, err error)

func (*MsgSolvency) MarshalTo added in v0.63.0

func (m *MsgSolvency) MarshalTo(dAtA []byte) (int, error)

func (*MsgSolvency) MarshalToSizedBuffer added in v0.63.0

func (m *MsgSolvency) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSolvency) ProtoMessage added in v0.63.0

func (*MsgSolvency) ProtoMessage()

func (*MsgSolvency) Reset added in v0.63.0

func (m *MsgSolvency) Reset()

func (*MsgSolvency) Route added in v0.63.0

func (m *MsgSolvency) Route() string

Route Implements Msg.

func (*MsgSolvency) Size added in v0.63.0

func (m *MsgSolvency) Size() (n int)

func (*MsgSolvency) String added in v0.63.0

func (m *MsgSolvency) String() string

func (MsgSolvency) Type added in v0.63.0

func (m MsgSolvency) Type() string

Type Implements Msg.

func (*MsgSolvency) Unmarshal added in v0.63.0

func (m *MsgSolvency) Unmarshal(dAtA []byte) error

func (*MsgSolvency) ValidateBasic added in v0.63.0

func (m *MsgSolvency) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgSolvency) XXX_DiscardUnknown added in v0.63.0

func (m *MsgSolvency) XXX_DiscardUnknown()

func (*MsgSolvency) XXX_Marshal added in v0.63.0

func (m *MsgSolvency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSolvency) XXX_Merge added in v0.63.0

func (m *MsgSolvency) XXX_Merge(src proto.Message)

func (*MsgSolvency) XXX_Size added in v0.63.0

func (m *MsgSolvency) XXX_Size() int

func (*MsgSolvency) XXX_Unmarshal added in v0.63.0

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 added in v0.41.0

func (*MsgSwap) Descriptor() ([]byte, []int)

func (*MsgSwap) GetAffiliateAddress added in v0.41.0

func (m *MsgSwap) GetAffiliateAddress() gitlab_com_thorchain_thornode_common.Address

func (*MsgSwap) GetAggregator added in v1.121.0

func (m *MsgSwap) GetAggregator() string

func (*MsgSwap) GetAggregatorTargetAddress added in v1.121.0

func (m *MsgSwap) GetAggregatorTargetAddress() string

func (*MsgSwap) GetDestination added in v0.41.0

func (*MsgSwap) GetOrderType added in v1.121.0

func (m *MsgSwap) GetOrderType() OrderType

func (*MsgSwap) GetSignBytes

func (m *MsgSwap) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSwap) GetSigner added in v0.41.0

func (*MsgSwap) GetSigners

func (m *MsgSwap) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgSwap) GetStreamInterval added in v1.121.0

func (m *MsgSwap) GetStreamInterval() uint64

func (*MsgSwap) GetStreamQuantity added in v1.121.0

func (m *MsgSwap) GetStreamQuantity() uint64

func (*MsgSwap) GetStreamingSwap added in v1.121.0

func (m *MsgSwap) GetStreamingSwap() StreamingSwap

func (*MsgSwap) GetTargetAsset added in v0.41.0

func (m *MsgSwap) GetTargetAsset() common.Asset

func (*MsgSwap) GetTx added in v0.41.0

func (m *MsgSwap) GetTx() common.Tx

func (*MsgSwap) IsStreaming added in v1.121.0

func (m *MsgSwap) IsStreaming() bool

func (*MsgSwap) Marshal added in v0.41.0

func (m *MsgSwap) Marshal() (dAtA []byte, err error)

func (*MsgSwap) MarshalTo added in v0.41.0

func (m *MsgSwap) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwap) MarshalToSizedBuffer added in v0.41.0

func (m *MsgSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwap) ProtoMessage added in v0.41.0

func (*MsgSwap) ProtoMessage()

func (*MsgSwap) Reset added in v0.41.0

func (m *MsgSwap) Reset()

func (*MsgSwap) Route

func (m *MsgSwap) Route() string

Route should return the route key of the module

func (*MsgSwap) Size added in v0.41.0

func (m *MsgSwap) Size() (n int)

func (*MsgSwap) String added in v0.41.0

func (m *MsgSwap) String() string

func (MsgSwap) Type

func (m MsgSwap) Type() string

Type should return the action

func (*MsgSwap) Unmarshal added in v0.41.0

func (m *MsgSwap) Unmarshal(dAtA []byte) error

func (*MsgSwap) ValidateBasic

func (m *MsgSwap) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgSwap) ValidateBasicV63 added in v0.63.0

func (m *MsgSwap) ValidateBasicV63() error

ValidateBasicV63 runs stateless checks on the message

func (*MsgSwap) XXX_DiscardUnknown added in v0.41.0

func (m *MsgSwap) XXX_DiscardUnknown()

func (*MsgSwap) XXX_Marshal added in v0.41.0

func (m *MsgSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwap) XXX_Merge added in v0.41.0

func (m *MsgSwap) XXX_Merge(src proto.Message)

func (*MsgSwap) XXX_Size added in v0.41.0

func (m *MsgSwap) XXX_Size() int

func (*MsgSwap) XXX_Unmarshal added in v0.41.0

func (m *MsgSwap) XXX_Unmarshal(b []byte) error

type MsgSwitch

type MsgSwitch struct {
	Tx          common.Tx                                     `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"`
	Destination gitlab_com_thorchain_thornode_common.Address  `` /* 129-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"`
}

TODO remove on hard fork

func NewMsgSwitch

func NewMsgSwitch(tx common.Tx, addr common.Address, signer cosmos.AccAddress) *MsgSwitch

NewMsgSwitch is a constructor function for NewMsgSwitch

func (*MsgSwitch) Descriptor added in v0.41.0

func (*MsgSwitch) Descriptor() ([]byte, []int)

func (*MsgSwitch) GetDestination added in v0.41.0

func (*MsgSwitch) GetSignBytes

func (m *MsgSwitch) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgSwitch) GetSigner added in v0.41.0

func (*MsgSwitch) GetSigners

func (m *MsgSwitch) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgSwitch) GetTx added in v0.41.0

func (m *MsgSwitch) GetTx() common.Tx

func (*MsgSwitch) Marshal added in v0.41.0

func (m *MsgSwitch) Marshal() (dAtA []byte, err error)

func (*MsgSwitch) MarshalTo added in v0.41.0

func (m *MsgSwitch) MarshalTo(dAtA []byte) (int, error)

func (*MsgSwitch) MarshalToSizedBuffer added in v0.41.0

func (m *MsgSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSwitch) ProtoMessage added in v0.41.0

func (*MsgSwitch) ProtoMessage()

func (*MsgSwitch) Reset added in v0.41.0

func (m *MsgSwitch) Reset()

func (*MsgSwitch) Route

func (m *MsgSwitch) Route() string

Route should return the route key of the module

func (*MsgSwitch) Size added in v0.41.0

func (m *MsgSwitch) Size() (n int)

func (*MsgSwitch) String added in v0.41.0

func (m *MsgSwitch) String() string

func (MsgSwitch) Type

func (m MsgSwitch) Type() string

Type should return the action

func (*MsgSwitch) Unmarshal added in v0.41.0

func (m *MsgSwitch) Unmarshal(dAtA []byte) error

func (*MsgSwitch) ValidateBasic

func (m *MsgSwitch) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgSwitch) XXX_DiscardUnknown added in v0.41.0

func (m *MsgSwitch) XXX_DiscardUnknown()

func (*MsgSwitch) XXX_Marshal added in v0.41.0

func (m *MsgSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSwitch) XXX_Merge added in v0.41.0

func (m *MsgSwitch) XXX_Merge(src proto.Message)

func (*MsgSwitch) XXX_Size added in v0.41.0

func (m *MsgSwitch) XXX_Size() int

func (*MsgSwitch) XXX_Unmarshal added in v0.41.0

func (m *MsgSwitch) XXX_Unmarshal(b []byte) error

type MsgTradeAccountDeposit added in v1.128.0

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 added in v1.128.0

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 added in v1.128.0

func (*MsgTradeAccountDeposit) Descriptor() ([]byte, []int)

func (*MsgTradeAccountDeposit) GetAddress added in v1.128.0

func (*MsgTradeAccountDeposit) GetAsset added in v1.128.0

func (m *MsgTradeAccountDeposit) GetAsset() common.Asset

func (*MsgTradeAccountDeposit) GetSignBytes added in v1.128.0

func (m *MsgTradeAccountDeposit) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgTradeAccountDeposit) GetSigner added in v1.128.0

func (*MsgTradeAccountDeposit) GetSigners added in v1.128.0

func (m *MsgTradeAccountDeposit) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgTradeAccountDeposit) GetTx added in v1.128.0

func (m *MsgTradeAccountDeposit) GetTx() common.Tx

func (*MsgTradeAccountDeposit) Marshal added in v1.128.0

func (m *MsgTradeAccountDeposit) Marshal() (dAtA []byte, err error)

func (*MsgTradeAccountDeposit) MarshalTo added in v1.128.0

func (m *MsgTradeAccountDeposit) MarshalTo(dAtA []byte) (int, error)

func (*MsgTradeAccountDeposit) MarshalToSizedBuffer added in v1.128.0

func (m *MsgTradeAccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTradeAccountDeposit) ProtoMessage added in v1.128.0

func (*MsgTradeAccountDeposit) ProtoMessage()

func (*MsgTradeAccountDeposit) Reset added in v1.128.0

func (m *MsgTradeAccountDeposit) Reset()

func (*MsgTradeAccountDeposit) Route added in v1.128.0

func (m *MsgTradeAccountDeposit) Route() string

Route should return the pooldata of the module

func (*MsgTradeAccountDeposit) Size added in v1.128.0

func (m *MsgTradeAccountDeposit) Size() (n int)

func (*MsgTradeAccountDeposit) String added in v1.128.0

func (m *MsgTradeAccountDeposit) String() string

func (MsgTradeAccountDeposit) Type added in v1.128.0

func (m MsgTradeAccountDeposit) Type() string

Type should return the action

func (*MsgTradeAccountDeposit) Unmarshal added in v1.128.0

func (m *MsgTradeAccountDeposit) Unmarshal(dAtA []byte) error

func (*MsgTradeAccountDeposit) ValidateBasic added in v1.128.0

func (m *MsgTradeAccountDeposit) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgTradeAccountDeposit) XXX_DiscardUnknown added in v1.128.0

func (m *MsgTradeAccountDeposit) XXX_DiscardUnknown()

func (*MsgTradeAccountDeposit) XXX_Marshal added in v1.128.0

func (m *MsgTradeAccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTradeAccountDeposit) XXX_Merge added in v1.128.0

func (m *MsgTradeAccountDeposit) XXX_Merge(src proto.Message)

func (*MsgTradeAccountDeposit) XXX_Size added in v1.128.0

func (m *MsgTradeAccountDeposit) XXX_Size() int

func (*MsgTradeAccountDeposit) XXX_Unmarshal added in v1.128.0

func (m *MsgTradeAccountDeposit) XXX_Unmarshal(b []byte) error

type MsgTradeAccountWithdrawal added in v1.128.0

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 added in v1.128.0

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 added in v1.128.0

func (*MsgTradeAccountWithdrawal) Descriptor() ([]byte, []int)

func (*MsgTradeAccountWithdrawal) GetAsset added in v1.128.0

func (m *MsgTradeAccountWithdrawal) GetAsset() common.Asset

func (*MsgTradeAccountWithdrawal) GetAssetAddress added in v1.128.0

func (*MsgTradeAccountWithdrawal) GetSignBytes added in v1.128.0

func (m *MsgTradeAccountWithdrawal) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgTradeAccountWithdrawal) GetSigner added in v1.128.0

func (*MsgTradeAccountWithdrawal) GetSigners added in v1.128.0

func (m *MsgTradeAccountWithdrawal) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgTradeAccountWithdrawal) GetTx added in v1.128.0

func (m *MsgTradeAccountWithdrawal) GetTx() common.Tx

func (*MsgTradeAccountWithdrawal) Marshal added in v1.128.0

func (m *MsgTradeAccountWithdrawal) Marshal() (dAtA []byte, err error)

func (*MsgTradeAccountWithdrawal) MarshalTo added in v1.128.0

func (m *MsgTradeAccountWithdrawal) MarshalTo(dAtA []byte) (int, error)

func (*MsgTradeAccountWithdrawal) MarshalToSizedBuffer added in v1.128.0

func (m *MsgTradeAccountWithdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTradeAccountWithdrawal) ProtoMessage added in v1.128.0

func (*MsgTradeAccountWithdrawal) ProtoMessage()

func (*MsgTradeAccountWithdrawal) Reset added in v1.128.0

func (m *MsgTradeAccountWithdrawal) Reset()

func (*MsgTradeAccountWithdrawal) Route added in v1.128.0

func (m *MsgTradeAccountWithdrawal) Route() string

Route should return the pooldata of the module

func (*MsgTradeAccountWithdrawal) Size added in v1.128.0

func (m *MsgTradeAccountWithdrawal) Size() (n int)

func (*MsgTradeAccountWithdrawal) String added in v1.128.0

func (m *MsgTradeAccountWithdrawal) String() string

func (MsgTradeAccountWithdrawal) Type added in v1.128.0

Type should return the action

func (*MsgTradeAccountWithdrawal) Unmarshal added in v1.128.0

func (m *MsgTradeAccountWithdrawal) Unmarshal(dAtA []byte) error

func (*MsgTradeAccountWithdrawal) ValidateBasic added in v1.128.0

func (m *MsgTradeAccountWithdrawal) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgTradeAccountWithdrawal) XXX_DiscardUnknown added in v1.128.0

func (m *MsgTradeAccountWithdrawal) XXX_DiscardUnknown()

func (*MsgTradeAccountWithdrawal) XXX_Marshal added in v1.128.0

func (m *MsgTradeAccountWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTradeAccountWithdrawal) XXX_Merge added in v1.128.0

func (m *MsgTradeAccountWithdrawal) XXX_Merge(src proto.Message)

func (*MsgTradeAccountWithdrawal) XXX_Size added in v1.128.0

func (m *MsgTradeAccountWithdrawal) XXX_Size() int

func (*MsgTradeAccountWithdrawal) XXX_Unmarshal added in v1.128.0

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 added in v0.41.0

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 added in v0.41.0

func (m *MsgTssKeysignFail) Marshal() (dAtA []byte, err error)

func (*MsgTssKeysignFail) MarshalTo added in v0.41.0

func (m *MsgTssKeysignFail) MarshalTo(dAtA []byte) (int, error)

func (*MsgTssKeysignFail) MarshalToSizedBuffer added in v0.41.0

func (m *MsgTssKeysignFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTssKeysignFail) ProtoMessage added in v0.41.0

func (*MsgTssKeysignFail) ProtoMessage()

func (*MsgTssKeysignFail) Reset added in v0.41.0

func (m *MsgTssKeysignFail) Reset()

func (*MsgTssKeysignFail) Route

func (m *MsgTssKeysignFail) Route() string

Route should return the route key of the module

func (*MsgTssKeysignFail) Size added in v0.41.0

func (m *MsgTssKeysignFail) Size() (n int)

func (*MsgTssKeysignFail) String added in v0.41.0

func (m *MsgTssKeysignFail) String() string

func (MsgTssKeysignFail) Type

func (m MsgTssKeysignFail) Type() string

Type should return the action

func (*MsgTssKeysignFail) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgTssKeysignFail) XXX_DiscardUnknown()

func (*MsgTssKeysignFail) XXX_Marshal added in v0.41.0

func (m *MsgTssKeysignFail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTssKeysignFail) XXX_Merge added in v0.41.0

func (m *MsgTssKeysignFail) XXX_Merge(src proto.Message)

func (*MsgTssKeysignFail) XXX_Size added in v0.41.0

func (m *MsgTssKeysignFail) XXX_Size() int

func (*MsgTssKeysignFail) XXX_Unmarshal added in v0.41.0

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"`
	KeysharesBackup []byte                                        `protobuf:"bytes,10,opt,name=keyshares_backup,json=keysharesBackup,proto3" json:"keyshares_backup,omitempty"`
}

func NewMsgTssPool

func NewMsgTssPool(pks []string, poolpk common.PubKey, 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 added in v0.41.0

func (*MsgTssPool) Descriptor() ([]byte, []int)

func (MsgTssPool) GetChains added in v0.41.0

func (m MsgTssPool) GetChains() common.Chains

func (MsgTssPool) GetPubKeys added in v0.41.0

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 added in v0.41.0

func (m *MsgTssPool) Marshal() (dAtA []byte, err error)

func (*MsgTssPool) MarshalTo added in v0.41.0

func (m *MsgTssPool) MarshalTo(dAtA []byte) (int, error)

func (*MsgTssPool) MarshalToSizedBuffer added in v0.41.0

func (m *MsgTssPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTssPool) ProtoMessage added in v0.41.0

func (*MsgTssPool) ProtoMessage()

func (*MsgTssPool) Reset added in v0.41.0

func (m *MsgTssPool) Reset()

func (*MsgTssPool) Route

func (m *MsgTssPool) Route() string

Route should return the route key of the module

func (*MsgTssPool) Size added in v0.41.0

func (m *MsgTssPool) Size() (n int)

func (*MsgTssPool) String added in v0.41.0

func (m *MsgTssPool) String() string

func (MsgTssPool) Type

func (m MsgTssPool) Type() string

Type should return the action

func (*MsgTssPool) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *MsgTssPool) XXX_DiscardUnknown()

func (*MsgTssPool) XXX_Marshal added in v0.41.0

func (m *MsgTssPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTssPool) XXX_Merge added in v0.41.0

func (m *MsgTssPool) XXX_Merge(src proto.Message)

func (*MsgTssPool) XXX_Size added in v0.41.0

func (m *MsgTssPool) XXX_Size() int

func (*MsgTssPool) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*MsgUnBond) Descriptor() ([]byte, []int)

func (*MsgUnBond) GetBondAddress added in v0.41.0

func (*MsgUnBond) GetBondProviderAddress added in v0.81.0

func (m *MsgUnBond) GetBondProviderAddress() github_com_cosmos_cosmos_sdk_types.AccAddress

func (*MsgUnBond) GetNodeAddress added in v0.41.0

func (*MsgUnBond) GetSignBytes

func (m *MsgUnBond) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgUnBond) GetSigner added in v0.41.0

func (*MsgUnBond) GetSigners

func (m *MsgUnBond) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgUnBond) GetTxIn added in v0.41.0

func (m *MsgUnBond) GetTxIn() common.Tx

func (*MsgUnBond) Marshal added in v0.41.0

func (m *MsgUnBond) Marshal() (dAtA []byte, err error)

func (*MsgUnBond) MarshalTo added in v0.41.0

func (m *MsgUnBond) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnBond) MarshalToSizedBuffer added in v0.41.0

func (m *MsgUnBond) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnBond) ProtoMessage added in v0.41.0

func (*MsgUnBond) ProtoMessage()

func (*MsgUnBond) Reset added in v0.41.0

func (m *MsgUnBond) Reset()

func (*MsgUnBond) Route

func (m *MsgUnBond) Route() string

Route should return the router key of the module

func (*MsgUnBond) Size added in v0.41.0

func (m *MsgUnBond) Size() (n int)

func (*MsgUnBond) String added in v0.41.0

func (m *MsgUnBond) String() string

func (MsgUnBond) Type

func (m MsgUnBond) Type() string

Type should return the action

func (*MsgUnBond) Unmarshal added in v0.41.0

func (m *MsgUnBond) Unmarshal(dAtA []byte) error

func (*MsgUnBond) ValidateBasic

func (m *MsgUnBond) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgUnBond) ValidateBasicV117 added in v1.121.0

func (m *MsgUnBond) ValidateBasicV117() error

ValidateBasic runs stateless checks on the message

func (*MsgUnBond) XXX_DiscardUnknown added in v0.41.0

func (m *MsgUnBond) XXX_DiscardUnknown()

func (*MsgUnBond) XXX_Marshal added in v0.41.0

func (m *MsgUnBond) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnBond) XXX_Merge added in v0.41.0

func (m *MsgUnBond) XXX_Merge(src proto.Message)

func (*MsgUnBond) XXX_Size added in v0.41.0

func (m *MsgUnBond) XXX_Size() int

func (*MsgUnBond) XXX_Unmarshal added in v0.41.0

func (m *MsgUnBond) XXX_Unmarshal(b []byte) error

type MsgWithdrawLiquidity added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*MsgWithdrawLiquidity) Descriptor() ([]byte, []int)

func (*MsgWithdrawLiquidity) GetAsset added in v0.41.0

func (m *MsgWithdrawLiquidity) GetAsset() common.Asset

func (*MsgWithdrawLiquidity) GetSignBytes added in v0.41.0

func (m *MsgWithdrawLiquidity) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgWithdrawLiquidity) GetSigner added in v0.41.0

func (*MsgWithdrawLiquidity) GetSigners added in v0.41.0

func (m *MsgWithdrawLiquidity) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgWithdrawLiquidity) GetTx added in v0.41.0

func (m *MsgWithdrawLiquidity) GetTx() common.Tx

func (*MsgWithdrawLiquidity) GetWithdrawAddress added in v0.41.0

func (*MsgWithdrawLiquidity) GetWithdrawalAsset added in v0.41.0

func (m *MsgWithdrawLiquidity) GetWithdrawalAsset() common.Asset

func (*MsgWithdrawLiquidity) Marshal added in v0.41.0

func (m *MsgWithdrawLiquidity) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawLiquidity) MarshalTo added in v0.41.0

func (m *MsgWithdrawLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawLiquidity) MarshalToSizedBuffer added in v0.41.0

func (m *MsgWithdrawLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawLiquidity) ProtoMessage added in v0.41.0

func (*MsgWithdrawLiquidity) ProtoMessage()

func (*MsgWithdrawLiquidity) Reset added in v0.41.0

func (m *MsgWithdrawLiquidity) Reset()

func (*MsgWithdrawLiquidity) Route added in v0.41.0

func (m *MsgWithdrawLiquidity) Route() string

Route should return the route key of the module

func (*MsgWithdrawLiquidity) Size added in v0.41.0

func (m *MsgWithdrawLiquidity) Size() (n int)

func (*MsgWithdrawLiquidity) String added in v0.41.0

func (m *MsgWithdrawLiquidity) String() string

func (MsgWithdrawLiquidity) Type added in v0.41.0

func (m MsgWithdrawLiquidity) Type() string

Type should return the action

func (*MsgWithdrawLiquidity) Unmarshal added in v0.41.0

func (m *MsgWithdrawLiquidity) Unmarshal(dAtA []byte) error

func (*MsgWithdrawLiquidity) ValidateBasic added in v0.41.0

func (m *MsgWithdrawLiquidity) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgWithdrawLiquidity) XXX_DiscardUnknown added in v0.41.0

func (m *MsgWithdrawLiquidity) XXX_DiscardUnknown()

func (*MsgWithdrawLiquidity) XXX_Marshal added in v0.41.0

func (m *MsgWithdrawLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawLiquidity) XXX_Merge added in v0.41.0

func (m *MsgWithdrawLiquidity) XXX_Merge(src proto.Message)

func (*MsgWithdrawLiquidity) XXX_Size added in v0.41.0

func (m *MsgWithdrawLiquidity) XXX_Size() int

func (*MsgWithdrawLiquidity) XXX_Unmarshal added in v0.41.0

func (m *MsgWithdrawLiquidity) XXX_Unmarshal(b []byte) error

type MsgYggdrasil

type MsgYggdrasil struct {
	Tx          common.Tx                                     `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx"`
	PubKey      gitlab_com_thorchain_thornode_common.PubKey   `` /* 132-byte string literal not displayed */
	AddFunds    bool                                          `protobuf:"varint,3,opt,name=add_funds,json=addFunds,proto3" json:"add_funds,omitempty"`
	Coins       gitlab_com_thorchain_thornode_common.Coins    `protobuf:"bytes,4,rep,name=coins,proto3,castrepeated=gitlab.com/thorchain/thornode/common.Coins" json:"coins"`
	BlockHeight int64                                         `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_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 NewMsgYggdrasil

func NewMsgYggdrasil(tx common.Tx, pk common.PubKey, blockHeight int64, addFunds bool, coins common.Coins, signer cosmos.AccAddress) *MsgYggdrasil

NewMsgYggdrasil is a constructor function for MsgYggdrasil

func (*MsgYggdrasil) Descriptor added in v0.41.0

func (*MsgYggdrasil) Descriptor() ([]byte, []int)

func (*MsgYggdrasil) GetAddFunds added in v0.41.0

func (m *MsgYggdrasil) GetAddFunds() bool

func (*MsgYggdrasil) GetBlockHeight added in v0.41.0

func (m *MsgYggdrasil) GetBlockHeight() int64

func (*MsgYggdrasil) GetCoins added in v0.41.0

func (*MsgYggdrasil) GetPubKey added in v0.41.0

func (*MsgYggdrasil) GetSignBytes

func (m *MsgYggdrasil) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgYggdrasil) GetSigner added in v0.41.0

func (*MsgYggdrasil) GetSigners

func (m *MsgYggdrasil) GetSigners() []cosmos.AccAddress

GetSigners defines whose signature is required

func (*MsgYggdrasil) GetTx added in v0.41.0

func (m *MsgYggdrasil) GetTx() common.Tx

func (*MsgYggdrasil) Marshal added in v0.41.0

func (m *MsgYggdrasil) Marshal() (dAtA []byte, err error)

func (*MsgYggdrasil) MarshalTo added in v0.41.0

func (m *MsgYggdrasil) MarshalTo(dAtA []byte) (int, error)

func (*MsgYggdrasil) MarshalToSizedBuffer added in v0.41.0

func (m *MsgYggdrasil) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgYggdrasil) ProtoMessage added in v0.41.0

func (*MsgYggdrasil) ProtoMessage()

func (*MsgYggdrasil) Reset added in v0.41.0

func (m *MsgYggdrasil) Reset()

func (*MsgYggdrasil) Route

func (m *MsgYggdrasil) Route() string

Route should return the route key of the module

func (*MsgYggdrasil) Size added in v0.41.0

func (m *MsgYggdrasil) Size() (n int)

func (*MsgYggdrasil) String added in v0.41.0

func (m *MsgYggdrasil) String() string

func (MsgYggdrasil) Type

func (m MsgYggdrasil) Type() string

Type should return the action

func (*MsgYggdrasil) Unmarshal added in v0.41.0

func (m *MsgYggdrasil) Unmarshal(dAtA []byte) error

func (*MsgYggdrasil) ValidateBasic

func (m *MsgYggdrasil) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgYggdrasil) XXX_DiscardUnknown added in v0.41.0

func (m *MsgYggdrasil) XXX_DiscardUnknown()

func (*MsgYggdrasil) XXX_Marshal added in v0.41.0

func (m *MsgYggdrasil) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgYggdrasil) XXX_Merge added in v0.41.0

func (m *MsgYggdrasil) XXX_Merge(src proto.Message)

func (*MsgYggdrasil) XXX_Size added in v0.41.0

func (m *MsgYggdrasil) XXX_Size() int

func (*MsgYggdrasil) XXX_Unmarshal added in v0.41.0

func (m *MsgYggdrasil) XXX_Unmarshal(b []byte) error

type Network added in v0.41.0

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 */
	BurnedBep2Rune          github_com_cosmos_cosmos_sdk_types.Uint `` /* 146-byte string literal not displayed */
	BurnedErc20Rune         github_com_cosmos_cosmos_sdk_types.Uint `` /* 149-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 added in v0.41.0

func NewNetwork() Network

NewNetwork create a new instance Network it is empty though

func (*Network) CalcNodeRewards added in v0.41.0

func (m *Network) CalcNodeRewards(nodeUnits cosmos.Uint) cosmos.Uint

CalcNodeRewards calculate node rewards

func (*Network) Descriptor added in v0.41.0

func (*Network) Descriptor() ([]byte, []int)

func (*Network) GetLPIncomeSplit added in v0.69.0

func (m *Network) GetLPIncomeSplit() int64

func (*Network) GetNodeIncomeSplit added in v0.69.0

func (m *Network) GetNodeIncomeSplit() int64

func (*Network) GetOutboundGasSpentRune added in v1.121.0

func (m *Network) GetOutboundGasSpentRune() uint64

func (*Network) GetOutboundGasWithheldRune added in v1.121.0

func (m *Network) GetOutboundGasWithheldRune() uint64

func (*Network) Marshal added in v0.41.0

func (m *Network) Marshal() (dAtA []byte, err error)

func (*Network) MarshalTo added in v0.41.0

func (m *Network) MarshalTo(dAtA []byte) (int, error)

func (*Network) MarshalToSizedBuffer added in v0.41.0

func (m *Network) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network) ProtoMessage added in v0.41.0

func (*Network) ProtoMessage()

func (*Network) Reset added in v0.41.0

func (m *Network) Reset()

func (*Network) Size added in v0.41.0

func (m *Network) Size() (n int)

func (*Network) String added in v0.41.0

func (m *Network) String() string

func (*Network) Unmarshal added in v0.41.0

func (m *Network) Unmarshal(dAtA []byte) error

func (*Network) XXX_DiscardUnknown added in v0.41.0

func (m *Network) XXX_DiscardUnknown()

func (*Network) XXX_Marshal added in v0.41.0

func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Network) XXX_Merge added in v0.41.0

func (m *Network) XXX_Merge(src proto.Message)

func (*Network) XXX_Size added in v0.41.0

func (m *Network) XXX_Size() int

func (*Network) XXX_Unmarshal added in v0.41.0

func (m *Network) XXX_Unmarshal(b []byte) error

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 represent the fee rate and typical transaction size outbound from THORNode This is to keep the information reported by bifrost For BTC chain, TransactionFeeRate should be sats/vbyte For Binance chain , given fee is fixed , thus for single coin , transaction size will be 1, and the rate should be 37500, for multiple coin , Transaction size should the number of coins

func NewNetworkFee

func NewNetworkFee(chain common.Chain, transactionSize, transactionFeeRate uint64) NetworkFee

NewNetworkFee create a new instance of network fee

func (*NetworkFee) Descriptor added in v0.41.0

func (*NetworkFee) Descriptor() ([]byte, []int)

func (*NetworkFee) GetChain added in v0.41.0

func (*NetworkFee) GetTransactionFeeRate added in v0.41.0

func (m *NetworkFee) GetTransactionFeeRate() uint64

func (*NetworkFee) GetTransactionSize added in v0.41.0

func (m *NetworkFee) GetTransactionSize() uint64

func (*NetworkFee) Marshal added in v0.41.0

func (m *NetworkFee) Marshal() (dAtA []byte, err error)

func (*NetworkFee) MarshalTo added in v0.41.0

func (m *NetworkFee) MarshalTo(dAtA []byte) (int, error)

func (*NetworkFee) MarshalToSizedBuffer added in v0.41.0

func (m *NetworkFee) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkFee) ProtoMessage added in v0.41.0

func (*NetworkFee) ProtoMessage()

func (*NetworkFee) Reset added in v0.41.0

func (m *NetworkFee) Reset()

func (*NetworkFee) Size added in v0.41.0

func (m *NetworkFee) Size() (n int)

func (*NetworkFee) String added in v0.41.0

func (m *NetworkFee) String() string

func (*NetworkFee) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *NetworkFee) XXX_DiscardUnknown()

func (*NetworkFee) XXX_Marshal added in v0.41.0

func (m *NetworkFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkFee) XXX_Merge added in v0.41.0

func (m *NetworkFee) XXX_Merge(src proto.Message)

func (*NetworkFee) XXX_Size added in v0.41.0

func (m *NetworkFee) XXX_Size() int

func (*NetworkFee) XXX_Unmarshal added in v0.41.0

func (m *NetworkFee) XXX_Unmarshal(b []byte) error

type Node added in v0.41.0

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 added in v0.41.0

func (*Node) Descriptor() ([]byte, []int)

func (*Node) Marshal added in v0.41.0

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo added in v0.41.0

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) MarshalToSizedBuffer added in v0.41.0

func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Node) ProtoMessage added in v0.41.0

func (*Node) ProtoMessage()

func (*Node) Reset added in v0.41.0

func (m *Node) Reset()

func (*Node) Size added in v0.41.0

func (m *Node) Size() (n int)

func (*Node) String added in v0.41.0

func (m *Node) String() string

func (*Node) Unmarshal added in v0.41.0

func (m *Node) Unmarshal(dAtA []byte) error

func (*Node) XXX_DiscardUnknown added in v0.41.0

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal added in v0.41.0

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge added in v0.41.0

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size added in v0.41.0

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal added in v0.41.0

func (m *Node) XXX_Unmarshal(b []byte) error

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 added in v0.68.0

func GetRandomValidatorNode(status NodeStatus) NodeAccount

GetRandomValidatorNode creates a random validator node account, used for testing

func GetRandomVaultNode added in v0.73.0

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 added in v0.41.0

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 added in v0.41.0

func (m *NodeAccount) GetSignerMembership() common.PubKeys

GetSignerMembership return a list of pubkey that the node are part of

func (*NodeAccount) GetVersion added in v0.41.0

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 added in v0.41.0

func (m *NodeAccount) Marshal() (dAtA []byte, err error)

func (*NodeAccount) MarshalTo added in v0.41.0

func (m *NodeAccount) MarshalTo(dAtA []byte) (int, error)

func (*NodeAccount) MarshalToSizedBuffer added in v0.41.0

func (m *NodeAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeAccount) ProtoMessage added in v0.41.0

func (*NodeAccount) ProtoMessage()

func (*NodeAccount) Reset added in v0.41.0

func (m *NodeAccount) Reset()

func (*NodeAccount) Size added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (m *NodeAccount) XXX_DiscardUnknown()

func (*NodeAccount) XXX_Marshal added in v0.41.0

func (m *NodeAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeAccount) XXX_Merge added in v0.41.0

func (m *NodeAccount) XXX_Merge(src proto.Message)

func (*NodeAccount) XXX_Size added in v0.41.0

func (m *NodeAccount) XXX_Size() int

func (*NodeAccount) XXX_Unmarshal added in v0.41.0

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 added in v0.78.0

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) Len

func (nas NodeAccounts) Len() int

Len return the number of accounts in it

func (NodeAccounts) Less

func (nas NodeAccounts) Less(i, j int) bool

Less sort interface , it will sort by StatusSince field, and then by SignerBNBAddress

func (NodeAccounts) Swap

func (nas NodeAccounts) Swap(i, j int)

Swap node account

type NodeMimir added in v0.78.0

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 added in v0.78.0

func (*NodeMimir) Descriptor() ([]byte, []int)

func (*NodeMimir) GetKey added in v0.78.0

func (m *NodeMimir) GetKey() string

func (*NodeMimir) GetSigner added in v0.78.0

func (*NodeMimir) GetValue added in v0.78.0

func (m *NodeMimir) GetValue() int64

func (*NodeMimir) Marshal added in v0.78.0

func (m *NodeMimir) Marshal() (dAtA []byte, err error)

func (*NodeMimir) MarshalTo added in v0.78.0

func (m *NodeMimir) MarshalTo(dAtA []byte) (int, error)

func (*NodeMimir) MarshalToSizedBuffer added in v0.78.0

func (m *NodeMimir) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeMimir) ProtoMessage added in v0.78.0

func (*NodeMimir) ProtoMessage()

func (*NodeMimir) Reset added in v0.78.0

func (m *NodeMimir) Reset()

func (*NodeMimir) Size added in v0.78.0

func (m *NodeMimir) Size() (n int)

func (*NodeMimir) String added in v0.78.0

func (m *NodeMimir) String() string

func (*NodeMimir) Unmarshal added in v0.78.0

func (m *NodeMimir) Unmarshal(dAtA []byte) error

func (*NodeMimir) XXX_DiscardUnknown added in v0.78.0

func (m *NodeMimir) XXX_DiscardUnknown()

func (*NodeMimir) XXX_Marshal added in v0.78.0

func (m *NodeMimir) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeMimir) XXX_Merge added in v0.78.0

func (m *NodeMimir) XXX_Merge(src proto.Message)

func (*NodeMimir) XXX_Size added in v0.78.0

func (m *NodeMimir) XXX_Size() int

func (*NodeMimir) XXX_Unmarshal added in v0.78.0

func (m *NodeMimir) XXX_Unmarshal(b []byte) error

type NodeMimirs added in v0.78.0

type NodeMimirs struct {
	Mimirs []NodeMimir `protobuf:"bytes,1,rep,name=mimirs,proto3" json:"mimirs"`
}

func (*NodeMimirs) Delete added in v0.78.0

func (m *NodeMimirs) Delete(key string, acc cosmos.AccAddress)

func (*NodeMimirs) Descriptor added in v0.78.0

func (*NodeMimirs) Descriptor() ([]byte, []int)

func (NodeMimirs) Get added in v0.78.0

func (m NodeMimirs) Get(key string, acc cosmos.AccAddress) (int64, bool)

func (*NodeMimirs) GetMimirs added in v0.78.0

func (m *NodeMimirs) GetMimirs() []NodeMimir

func (NodeMimirs) Has added in v0.78.0

func (m NodeMimirs) Has(key string, acc cosmos.AccAddress) bool

func (NodeMimirs) HasMinority added in v0.78.0

func (m NodeMimirs) HasMinority(key string, nas []cosmos.AccAddress) (int64, bool)

func (NodeMimirs) HasSimpleMajority added in v0.78.0

func (m NodeMimirs) HasSimpleMajority(key string, nas []cosmos.AccAddress) (int64, bool)

func (NodeMimirs) HasSuperMajority added in v0.78.0

func (m NodeMimirs) HasSuperMajority(key string, nas []cosmos.AccAddress) (int64, bool)

func (*NodeMimirs) Marshal added in v0.78.0

func (m *NodeMimirs) Marshal() (dAtA []byte, err error)

func (*NodeMimirs) MarshalTo added in v0.78.0

func (m *NodeMimirs) MarshalTo(dAtA []byte) (int, error)

func (*NodeMimirs) MarshalToSizedBuffer added in v0.78.0

func (m *NodeMimirs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeMimirs) ProtoMessage added in v0.78.0

func (*NodeMimirs) ProtoMessage()

func (*NodeMimirs) Reset added in v0.78.0

func (m *NodeMimirs) Reset()

func (*NodeMimirs) Set added in v0.78.0

func (m *NodeMimirs) Set(key string, val int64, acc cosmos.AccAddress)

func (*NodeMimirs) Size added in v0.78.0

func (m *NodeMimirs) Size() (n int)

func (*NodeMimirs) String added in v0.78.0

func (m *NodeMimirs) String() string

func (*NodeMimirs) Unmarshal added in v0.78.0

func (m *NodeMimirs) Unmarshal(dAtA []byte) error

func (NodeMimirs) ValueOfEconomic added in v1.124.0

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 added in v1.124.0

func (m NodeMimirs) ValueOfOperational(key string, minVotes int, active []cosmos.AccAddress) int64

ValueOfOperational - fetches the value of a given mimir based most votes (above min vote)

func (*NodeMimirs) XXX_DiscardUnknown added in v0.78.0

func (m *NodeMimirs) XXX_DiscardUnknown()

func (*NodeMimirs) XXX_Marshal added in v0.78.0

func (m *NodeMimirs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeMimirs) XXX_Merge added in v0.78.0

func (m *NodeMimirs) XXX_Merge(src proto.Message)

func (*NodeMimirs) XXX_Size added in v0.78.0

func (m *NodeMimirs) XXX_Size() int

func (*NodeMimirs) XXX_Unmarshal added in v0.78.0

func (m *NodeMimirs) XXX_Unmarshal(b []byte) error

type NodePauseChain added in v0.65.0

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 added in v0.65.0

func (*NodePauseChain) Descriptor() ([]byte, []int)

func (*NodePauseChain) GetBlockHeight added in v0.65.0

func (m *NodePauseChain) GetBlockHeight() int64

func (*NodePauseChain) GetNodeAddress added in v0.65.0

func (*NodePauseChain) Marshal added in v0.65.0

func (m *NodePauseChain) Marshal() (dAtA []byte, err error)

func (*NodePauseChain) MarshalTo added in v0.65.0

func (m *NodePauseChain) MarshalTo(dAtA []byte) (int, error)

func (*NodePauseChain) MarshalToSizedBuffer added in v0.65.0

func (m *NodePauseChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodePauseChain) ProtoMessage added in v0.65.0

func (*NodePauseChain) ProtoMessage()

func (*NodePauseChain) Reset added in v0.65.0

func (m *NodePauseChain) Reset()

func (*NodePauseChain) Size added in v0.65.0

func (m *NodePauseChain) Size() (n int)

func (*NodePauseChain) String added in v0.65.0

func (m *NodePauseChain) String() string

func (*NodePauseChain) Unmarshal added in v0.65.0

func (m *NodePauseChain) Unmarshal(dAtA []byte) error

func (*NodePauseChain) XXX_DiscardUnknown added in v0.65.0

func (m *NodePauseChain) XXX_DiscardUnknown()

func (*NodePauseChain) XXX_Marshal added in v0.65.0

func (m *NodePauseChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodePauseChain) XXX_Merge added in v0.65.0

func (m *NodePauseChain) XXX_Merge(src proto.Message)

func (*NodePauseChain) XXX_Size added in v0.65.0

func (m *NodePauseChain) XXX_Size() int

func (*NodePauseChain) XXX_Unmarshal added in v0.65.0

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 added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (*NodeTssTime) Descriptor() ([]byte, []int)

func (*NodeTssTime) GetAddress added in v0.41.0

func (*NodeTssTime) GetTssTime added in v0.41.0

func (m *NodeTssTime) GetTssTime() int64

func (*NodeTssTime) Marshal added in v0.41.0

func (m *NodeTssTime) Marshal() (dAtA []byte, err error)

func (*NodeTssTime) MarshalTo added in v0.41.0

func (m *NodeTssTime) MarshalTo(dAtA []byte) (int, error)

func (*NodeTssTime) MarshalToSizedBuffer added in v0.41.0

func (m *NodeTssTime) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeTssTime) ProtoMessage added in v0.41.0

func (*NodeTssTime) ProtoMessage()

func (*NodeTssTime) Reset added in v0.41.0

func (m *NodeTssTime) Reset()

func (*NodeTssTime) Size added in v0.41.0

func (m *NodeTssTime) Size() (n int)

func (*NodeTssTime) String added in v0.41.0

func (m *NodeTssTime) String() string

func (*NodeTssTime) Unmarshal added in v0.41.0

func (m *NodeTssTime) Unmarshal(dAtA []byte) error

func (*NodeTssTime) XXX_DiscardUnknown added in v0.41.0

func (m *NodeTssTime) XXX_DiscardUnknown()

func (*NodeTssTime) XXX_Marshal added in v0.41.0

func (m *NodeTssTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeTssTime) XXX_Merge added in v0.41.0

func (m *NodeTssTime) XXX_Merge(src proto.Message)

func (*NodeTssTime) XXX_Size added in v0.41.0

func (m *NodeTssTime) XXX_Size() int

func (*NodeTssTime) XXX_Unmarshal added in v0.41.0

func (m *NodeTssTime) XXX_Unmarshal(b []byte) error

type NodeType added in v0.68.0

type NodeType int32
const (
	NodeType_TypeValidator NodeType = 0
	NodeType_TypeVault     NodeType = 1
	NodeType_TypeUnknown   NodeType = 2
)

func (NodeType) EnumDescriptor added in v0.68.0

func (NodeType) EnumDescriptor() ([]byte, []int)

func (NodeType) String added in v0.68.0

func (x NodeType) String() string

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 added in v0.41.0

func (*ObservedNetworkFeeVoter) Descriptor() ([]byte, []int)

func (*ObservedNetworkFeeVoter) GetSigners added in v0.41.0

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 added in v1.128.0

func (*ObservedNetworkFeeVoter) IsEmpty

func (m *ObservedNetworkFeeVoter) IsEmpty() bool

IsEmpty return true when chain is empty and block height is 0

func (*ObservedNetworkFeeVoter) Marshal added in v0.41.0

func (m *ObservedNetworkFeeVoter) Marshal() (dAtA []byte, err error)

func (*ObservedNetworkFeeVoter) MarshalTo added in v0.41.0

func (m *ObservedNetworkFeeVoter) MarshalTo(dAtA []byte) (int, error)

func (*ObservedNetworkFeeVoter) MarshalToSizedBuffer added in v0.41.0

func (m *ObservedNetworkFeeVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObservedNetworkFeeVoter) ProtoMessage added in v0.41.0

func (*ObservedNetworkFeeVoter) ProtoMessage()

func (*ObservedNetworkFeeVoter) Reset added in v0.41.0

func (m *ObservedNetworkFeeVoter) Reset()

func (*ObservedNetworkFeeVoter) Sign

Sign this voter with given signer address

func (*ObservedNetworkFeeVoter) Size added in v0.41.0

func (m *ObservedNetworkFeeVoter) Size() (n int)

func (*ObservedNetworkFeeVoter) String

func (m *ObservedNetworkFeeVoter) String() string

String implement fmt.Stringer

func (*ObservedNetworkFeeVoter) Unmarshal added in v0.41.0

func (m *ObservedNetworkFeeVoter) Unmarshal(dAtA []byte) error

func (*ObservedNetworkFeeVoter) XXX_DiscardUnknown added in v0.41.0

func (m *ObservedNetworkFeeVoter) XXX_DiscardUnknown()

func (*ObservedNetworkFeeVoter) XXX_Marshal added in v0.41.0

func (m *ObservedNetworkFeeVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObservedNetworkFeeVoter) XXX_Merge added in v0.41.0

func (m *ObservedNetworkFeeVoter) XXX_Merge(src proto.Message)

func (*ObservedNetworkFeeVoter) XXX_Size added in v0.41.0

func (m *ObservedNetworkFeeVoter) XXX_Size() int

func (*ObservedNetworkFeeVoter) XXX_Unmarshal added in v0.41.0

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

func NewObservedTx(tx common.Tx, height int64, pk common.PubKey, finalisedHeight int64) ObservedTx

NewObservedTx create a new instance of ObservedTx

func (*ObservedTx) Descriptor added in v0.41.0

func (*ObservedTx) Descriptor() ([]byte, []int)

func (ObservedTx) Equals

func (m ObservedTx) Equals(tx2 ObservedTx) bool

Equals compare two ObservedTx

func (*ObservedTx) GetOutHashes added in v0.41.0

func (m *ObservedTx) GetOutHashes() common.TxIDs

func (*ObservedTx) GetSigners added in v0.41.0

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 added in v0.41.0

func (m *ObservedTx) IsFinal() bool

IsFinal indicates whether ObserveTx is final.

func (*ObservedTx) Marshal added in v0.41.0

func (m *ObservedTx) Marshal() (dAtA []byte, err error)

func (*ObservedTx) MarshalTo added in v0.41.0

func (m *ObservedTx) MarshalTo(dAtA []byte) (int, error)

func (*ObservedTx) MarshalToSizedBuffer added in v0.41.0

func (m *ObservedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObservedTx) ProtoMessage added in v0.41.0

func (*ObservedTx) ProtoMessage()

func (*ObservedTx) Reset added in v0.41.0

func (m *ObservedTx) Reset()

func (*ObservedTx) SetDone

func (m *ObservedTx) SetDone(version semver.Version, 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) SetDoneV1 added in v1.121.0

func (m *ObservedTx) SetDoneV1(hash common.TxID, numOuts int)

func (*ObservedTx) SetDoneV108 added in v1.121.0

func (m *ObservedTx) SetDoneV108(hash common.TxID, numOuts int)

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 added in v0.41.0

func (m *ObservedTx) Size() (n int)

func (*ObservedTx) String

func (m *ObservedTx) String() string

String implement fmt.Stringer

func (*ObservedTx) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *ObservedTx) XXX_DiscardUnknown()

func (*ObservedTx) XXX_Marshal added in v0.41.0

func (m *ObservedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObservedTx) XXX_Merge added in v0.41.0

func (m *ObservedTx) XXX_Merge(src proto.Message)

func (*ObservedTx) XXX_Size added in v0.41.0

func (m *ObservedTx) XXX_Size() int

func (*ObservedTx) XXX_Unmarshal added in v0.41.0

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 added in v1.88.0

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(version semver.Version, 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) AddOutTxV1 added in v1.121.0

func (m *ObservedTxVoter) AddOutTxV1(version semver.Version, in common.Tx) bool

func (*ObservedTxVoter) AddOutTxV108 added in v1.121.0

func (m *ObservedTxVoter) AddOutTxV108(version semver.Version, in common.Tx) bool

func (*ObservedTxVoter) Descriptor added in v0.41.0

func (*ObservedTxVoter) Descriptor() ([]byte, []int)

func (*ObservedTxVoter) GetConsensusSigners added in v1.121.0

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 added in v0.41.0

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) Key

func (m *ObservedTxVoter) Key() common.TxID

Key is to get the txid

func (*ObservedTxVoter) Marshal added in v0.41.0

func (m *ObservedTxVoter) Marshal() (dAtA []byte, err error)

func (*ObservedTxVoter) MarshalTo added in v0.41.0

func (m *ObservedTxVoter) MarshalTo(dAtA []byte) (int, error)

func (*ObservedTxVoter) MarshalToSizedBuffer added in v0.41.0

func (m *ObservedTxVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObservedTxVoter) ProtoMessage added in v0.41.0

func (*ObservedTxVoter) ProtoMessage()

func (*ObservedTxVoter) Reset added in v0.41.0

func (m *ObservedTxVoter) Reset()

func (*ObservedTxVoter) SetDone added in v0.41.0

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 added in v0.41.0

func (m *ObservedTxVoter) SetReverted()

SetReverted set all the tx status to `Reverted` , only when a relevant errata tx had been processed

func (*ObservedTxVoter) Size added in v0.41.0

func (m *ObservedTxVoter) Size() (n int)

func (*ObservedTxVoter) String

func (m *ObservedTxVoter) String() string

String implement fmt.Stringer

func (*ObservedTxVoter) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *ObservedTxVoter) XXX_DiscardUnknown()

func (*ObservedTxVoter) XXX_Marshal added in v0.41.0

func (m *ObservedTxVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObservedTxVoter) XXX_Merge added in v0.41.0

func (m *ObservedTxVoter) XXX_Merge(src proto.Message)

func (*ObservedTxVoter) XXX_Size added in v0.41.0

func (m *ObservedTxVoter) XXX_Size() int

func (*ObservedTxVoter) XXX_Unmarshal added in v0.41.0

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 added in v0.54.0

func (txs ObservedTxs) Contains(tx ObservedTx) bool

type OrderType added in v1.121.0

type OrderType int32
const (
	OrderType_market OrderType = 0
	OrderType_limit  OrderType = 1
)

func (OrderType) EnumDescriptor added in v1.121.0

func (OrderType) EnumDescriptor() ([]byte, []int)

func (OrderType) String added in v1.121.0

func (x OrderType) String() string

type PendingLiquidityType added in v0.54.0

type PendingLiquidityType int32
const (
	PendingLiquidityType_add      PendingLiquidityType = 0
	PendingLiquidityType_withdraw PendingLiquidityType = 1
)

func (PendingLiquidityType) EnumDescriptor added in v0.54.0

func (PendingLiquidityType) EnumDescriptor() ([]byte, []int)

func (PendingLiquidityType) String added in v0.54.0

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 NewPool

func NewPool() Pool

NewPool Returns a new Pool

func (Pool) AssetDisbursementForRuneAdd added in v0.81.0

func (m Pool) AssetDisbursementForRuneAdd(amt cosmos.Uint) cosmos.Uint

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

func (m Pool) AssetValueInRune(amt cosmos.Uint) cosmos.Uint

AssetValueInRune convert a specific amount of asset amt into its rune value

func (*Pool) CalcUnits added in v0.55.0

func (m *Pool) CalcUnits(version semver.Version, s cosmos.Uint) cosmos.Uint

func (*Pool) CalcUnitsV80 added in v0.80.0

func (m *Pool) CalcUnitsV80(s cosmos.Uint) cosmos.Uint

func (*Pool) Descriptor added in v0.41.0

func (*Pool) Descriptor() ([]byte, []int)

func (Pool) EnsureValidPoolStatus

func (m Pool) EnsureValidPoolStatus(msg cosmos.Msg) error

EnsureValidPoolStatus make sure the pool is in a valid status otherwise it return an error

func (Pool) GetLUVI added in v1.121.0

func (m Pool) GetLUVI() cosmos.Uint

func (*Pool) GetPoolUnits added in v0.55.0

func (m *Pool) GetPoolUnits() cosmos.Uint

func (Pool) IsAvailable added in v0.41.0

func (m Pool) IsAvailable() bool

IsAvailable check whether the pool is in Available status

func (Pool) IsEmpty

func (m Pool) IsEmpty() bool

IsEmpty will return true when the asset is empty

func (Pool) IsStaged added in v1.121.0

func (m Pool) IsStaged() bool

IsStaged check whether the pool is in Staged status

func (*Pool) Marshal added in v0.41.0

func (m *Pool) Marshal() (dAtA []byte, err error)

func (*Pool) MarshalTo added in v0.41.0

func (m *Pool) MarshalTo(dAtA []byte) (int, error)

func (*Pool) MarshalToSizedBuffer added in v0.41.0

func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pool) ProtoMessage added in v0.41.0

func (*Pool) ProtoMessage()

func (*Pool) Reset added in v0.41.0

func (m *Pool) Reset()

func (Pool) RuneDisbursementForAssetAdd added in v0.81.0

func (m Pool) RuneDisbursementForAssetAdd(amt cosmos.Uint) cosmos.Uint

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 added in v0.81.0

func (m Pool) RuneReimbursementForAssetWithdrawal(amt cosmos.Uint) cosmos.Uint

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

func (m Pool) RuneValueInAsset(amt cosmos.Uint) cosmos.Uint

RuneValueInAsset convert a specific amount of rune amt into its asset value

func (*Pool) Size added in v0.41.0

func (m *Pool) Size() (n int)

func (Pool) String

func (m Pool) String() string

String implement fmt.Stringer

func (*Pool) Unmarshal added in v0.41.0

func (m *Pool) Unmarshal(dAtA []byte) error

func (Pool) Valid

func (m Pool) Valid() error

Valid check whether the pool is valid or not, if asset is empty then it is not valid

func (*Pool) XXX_DiscardUnknown added in v0.41.0

func (m *Pool) XXX_DiscardUnknown()

func (*Pool) XXX_Marshal added in v0.41.0

func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pool) XXX_Merge added in v0.41.0

func (m *Pool) XXX_Merge(src proto.Message)

func (*Pool) XXX_Size added in v0.41.0

func (m *Pool) XXX_Size() int

func (*Pool) XXX_Unmarshal added in v0.41.0

func (m *Pool) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*PoolAmt) Descriptor() ([]byte, []int)

func (*PoolAmt) GetAmount added in v0.41.0

func (m *PoolAmt) GetAmount() int64

func (*PoolAmt) GetAsset added in v0.41.0

func (m *PoolAmt) GetAsset() common.Asset

func (*PoolAmt) Marshal added in v0.41.0

func (m *PoolAmt) Marshal() (dAtA []byte, err error)

func (*PoolAmt) MarshalTo added in v0.41.0

func (m *PoolAmt) MarshalTo(dAtA []byte) (int, error)

func (*PoolAmt) MarshalToSizedBuffer added in v0.41.0

func (m *PoolAmt) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolAmt) ProtoMessage added in v0.41.0

func (*PoolAmt) ProtoMessage()

func (*PoolAmt) Reset added in v0.41.0

func (m *PoolAmt) Reset()

func (*PoolAmt) Size added in v0.41.0

func (m *PoolAmt) Size() (n int)

func (*PoolAmt) String added in v0.41.0

func (m *PoolAmt) String() string

func (*PoolAmt) Unmarshal added in v0.41.0

func (m *PoolAmt) Unmarshal(dAtA []byte) error

func (*PoolAmt) XXX_DiscardUnknown added in v0.41.0

func (m *PoolAmt) XXX_DiscardUnknown()

func (*PoolAmt) XXX_Marshal added in v0.41.0

func (m *PoolAmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolAmt) XXX_Merge added in v0.41.0

func (m *PoolAmt) XXX_Merge(src proto.Message)

func (*PoolAmt) XXX_Size added in v0.41.0

func (m *PoolAmt) XXX_Size() int

func (*PoolAmt) XXX_Unmarshal added in v0.41.0

func (m *PoolAmt) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (*PoolMod) Descriptor() ([]byte, []int)

func (*PoolMod) GetAsset added in v0.41.0

func (m *PoolMod) GetAsset() common.Asset

func (*PoolMod) GetAssetAdd added in v0.41.0

func (m *PoolMod) GetAssetAdd() bool

func (*PoolMod) GetRuneAdd added in v0.41.0

func (m *PoolMod) GetRuneAdd() bool

func (*PoolMod) Marshal added in v0.41.0

func (m *PoolMod) Marshal() (dAtA []byte, err error)

func (*PoolMod) MarshalTo added in v0.41.0

func (m *PoolMod) MarshalTo(dAtA []byte) (int, error)

func (*PoolMod) MarshalToSizedBuffer added in v0.41.0

func (m *PoolMod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PoolMod) ProtoMessage added in v0.41.0

func (*PoolMod) ProtoMessage()

func (*PoolMod) Reset added in v0.41.0

func (m *PoolMod) Reset()

func (*PoolMod) Size added in v0.41.0

func (m *PoolMod) Size() (n int)

func (*PoolMod) String added in v0.41.0

func (m *PoolMod) String() string

func (*PoolMod) Unmarshal added in v0.41.0

func (m *PoolMod) Unmarshal(dAtA []byte) error

func (*PoolMod) XXX_DiscardUnknown added in v0.41.0

func (m *PoolMod) XXX_DiscardUnknown()

func (*PoolMod) XXX_Marshal added in v0.41.0

func (m *PoolMod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PoolMod) XXX_Merge added in v0.41.0

func (m *PoolMod) XXX_Merge(src proto.Message)

func (*PoolMod) XXX_Size added in v0.41.0

func (m *PoolMod) XXX_Size() int

func (*PoolMod) XXX_Unmarshal added in v0.41.0

func (m *PoolMod) XXX_Unmarshal(b []byte) error

type PoolMods

type PoolMods []PoolMod

PoolMods a list of pool modifications

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 GetPoolStatus

func GetPoolStatus(ps string) PoolStatus

GetPoolStatus from string

func (PoolStatus) EnumDescriptor added in v0.41.0

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 Pools

type Pools []Pool

Pools represent a list of pools

func (Pools) Get added in v0.75.0

func (m Pools) Get(asset common.Asset) (Pool, bool)

func (Pools) Set added in v0.75.0

func (m Pools) Set(pool Pool) Pools

type ProtoAccAddresses added in v0.41.0

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 added in v0.41.0

func (*ProtoAccAddresses) Descriptor() ([]byte, []int)

func (*ProtoAccAddresses) GetValue added in v0.41.0

func (*ProtoAccAddresses) Marshal added in v0.41.0

func (m *ProtoAccAddresses) Marshal() (dAtA []byte, err error)

func (*ProtoAccAddresses) MarshalTo added in v0.41.0

func (m *ProtoAccAddresses) MarshalTo(dAtA []byte) (int, error)

func (*ProtoAccAddresses) MarshalToSizedBuffer added in v0.41.0

func (m *ProtoAccAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoAccAddresses) ProtoMessage added in v0.41.0

func (*ProtoAccAddresses) ProtoMessage()

func (*ProtoAccAddresses) Reset added in v0.41.0

func (m *ProtoAccAddresses) Reset()

func (*ProtoAccAddresses) Size added in v0.41.0

func (m *ProtoAccAddresses) Size() (n int)

func (*ProtoAccAddresses) String added in v0.41.0

func (m *ProtoAccAddresses) String() string

func (*ProtoAccAddresses) Unmarshal added in v0.41.0

func (m *ProtoAccAddresses) Unmarshal(dAtA []byte) error

func (*ProtoAccAddresses) XXX_DiscardUnknown added in v0.41.0

func (m *ProtoAccAddresses) XXX_DiscardUnknown()

func (*ProtoAccAddresses) XXX_Marshal added in v0.41.0

func (m *ProtoAccAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoAccAddresses) XXX_Merge added in v0.41.0

func (m *ProtoAccAddresses) XXX_Merge(src proto.Message)

func (*ProtoAccAddresses) XXX_Size added in v0.41.0

func (m *ProtoAccAddresses) XXX_Size() int

func (*ProtoAccAddresses) XXX_Unmarshal added in v0.41.0

func (m *ProtoAccAddresses) XXX_Unmarshal(b []byte) error

type ProtoBools added in v1.121.0

type ProtoBools struct {
	Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
}

func (*ProtoBools) Descriptor added in v1.121.0

func (*ProtoBools) Descriptor() ([]byte, []int)

func (*ProtoBools) GetValue added in v1.121.0

func (m *ProtoBools) GetValue() []bool

func (*ProtoBools) Marshal added in v1.121.0

func (m *ProtoBools) Marshal() (dAtA []byte, err error)

func (*ProtoBools) MarshalTo added in v1.121.0

func (m *ProtoBools) MarshalTo(dAtA []byte) (int, error)

func (*ProtoBools) MarshalToSizedBuffer added in v1.121.0

func (m *ProtoBools) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoBools) ProtoMessage added in v1.121.0

func (*ProtoBools) ProtoMessage()

func (*ProtoBools) Reset added in v1.121.0

func (m *ProtoBools) Reset()

func (*ProtoBools) Size added in v1.121.0

func (m *ProtoBools) Size() (n int)

func (*ProtoBools) String added in v1.121.0

func (m *ProtoBools) String() string

func (*ProtoBools) Unmarshal added in v1.121.0

func (m *ProtoBools) Unmarshal(dAtA []byte) error

func (*ProtoBools) XXX_DiscardUnknown added in v1.121.0

func (m *ProtoBools) XXX_DiscardUnknown()

func (*ProtoBools) XXX_Marshal added in v1.121.0

func (m *ProtoBools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoBools) XXX_Merge added in v1.121.0

func (m *ProtoBools) XXX_Merge(src proto.Message)

func (*ProtoBools) XXX_Size added in v1.121.0

func (m *ProtoBools) XXX_Size() int

func (*ProtoBools) XXX_Unmarshal added in v1.121.0

func (m *ProtoBools) XXX_Unmarshal(b []byte) error

type ProtoInt64 added in v0.41.0

type ProtoInt64 struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*ProtoInt64) Descriptor added in v0.41.0

func (*ProtoInt64) Descriptor() ([]byte, []int)

func (*ProtoInt64) GetValue added in v0.41.0

func (m *ProtoInt64) GetValue() int64

func (*ProtoInt64) Marshal added in v0.41.0

func (m *ProtoInt64) Marshal() (dAtA []byte, err error)

func (*ProtoInt64) MarshalTo added in v0.41.0

func (m *ProtoInt64) MarshalTo(dAtA []byte) (int, error)

func (*ProtoInt64) MarshalToSizedBuffer added in v0.41.0

func (m *ProtoInt64) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoInt64) ProtoMessage added in v0.41.0

func (*ProtoInt64) ProtoMessage()

func (*ProtoInt64) Reset added in v0.41.0

func (m *ProtoInt64) Reset()

func (*ProtoInt64) Size added in v0.41.0

func (m *ProtoInt64) Size() (n int)

func (*ProtoInt64) String added in v0.41.0

func (m *ProtoInt64) String() string

func (*ProtoInt64) Unmarshal added in v0.41.0

func (m *ProtoInt64) Unmarshal(dAtA []byte) error

func (*ProtoInt64) XXX_DiscardUnknown added in v0.41.0

func (m *ProtoInt64) XXX_DiscardUnknown()

func (*ProtoInt64) XXX_Marshal added in v0.41.0

func (m *ProtoInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoInt64) XXX_Merge added in v0.41.0

func (m *ProtoInt64) XXX_Merge(src proto.Message)

func (*ProtoInt64) XXX_Size added in v0.41.0

func (m *ProtoInt64) XXX_Size() int

func (*ProtoInt64) XXX_Unmarshal added in v0.41.0

func (m *ProtoInt64) XXX_Unmarshal(b []byte) error

type ProtoStrings added in v0.41.0

type ProtoStrings struct {
	Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

func (*ProtoStrings) Descriptor added in v0.41.0

func (*ProtoStrings) Descriptor() ([]byte, []int)

func (*ProtoStrings) GetValue added in v0.41.0

func (m *ProtoStrings) GetValue() []string

func (*ProtoStrings) Marshal added in v0.41.0

func (m *ProtoStrings) Marshal() (dAtA []byte, err error)

func (*ProtoStrings) MarshalTo added in v0.41.0

func (m *ProtoStrings) MarshalTo(dAtA []byte) (int, error)

func (*ProtoStrings) MarshalToSizedBuffer added in v0.41.0

func (m *ProtoStrings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoStrings) ProtoMessage added in v0.41.0

func (*ProtoStrings) ProtoMessage()

func (*ProtoStrings) Reset added in v0.41.0

func (m *ProtoStrings) Reset()

func (*ProtoStrings) Size added in v0.41.0

func (m *ProtoStrings) Size() (n int)

func (*ProtoStrings) String added in v0.41.0

func (m *ProtoStrings) String() string

func (*ProtoStrings) Unmarshal added in v0.41.0

func (m *ProtoStrings) Unmarshal(dAtA []byte) error

func (*ProtoStrings) XXX_DiscardUnknown added in v0.41.0

func (m *ProtoStrings) XXX_DiscardUnknown()

func (*ProtoStrings) XXX_Marshal added in v0.41.0

func (m *ProtoStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoStrings) XXX_Merge added in v0.41.0

func (m *ProtoStrings) XXX_Merge(src proto.Message)

func (*ProtoStrings) XXX_Size added in v0.41.0

func (m *ProtoStrings) XXX_Size() int

func (*ProtoStrings) XXX_Unmarshal added in v0.41.0

func (m *ProtoStrings) XXX_Unmarshal(b []byte) error

type ProtoUint64 added in v0.41.0

type ProtoUint64 struct {
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*ProtoUint64) Descriptor added in v0.41.0

func (*ProtoUint64) Descriptor() ([]byte, []int)

func (*ProtoUint64) GetValue added in v0.41.0

func (m *ProtoUint64) GetValue() uint64

func (*ProtoUint64) Marshal added in v0.41.0

func (m *ProtoUint64) Marshal() (dAtA []byte, err error)

func (*ProtoUint64) MarshalTo added in v0.41.0

func (m *ProtoUint64) MarshalTo(dAtA []byte) (int, error)

func (*ProtoUint64) MarshalToSizedBuffer added in v0.41.0

func (m *ProtoUint64) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProtoUint64) ProtoMessage added in v0.41.0

func (*ProtoUint64) ProtoMessage()

func (*ProtoUint64) Reset added in v0.41.0

func (m *ProtoUint64) Reset()

func (*ProtoUint64) Size added in v0.41.0

func (m *ProtoUint64) Size() (n int)

func (*ProtoUint64) String added in v0.41.0

func (m *ProtoUint64) String() string

func (*ProtoUint64) Unmarshal added in v0.41.0

func (m *ProtoUint64) Unmarshal(dAtA []byte) error

func (*ProtoUint64) XXX_DiscardUnknown added in v0.41.0

func (m *ProtoUint64) XXX_DiscardUnknown()

func (*ProtoUint64) XXX_Marshal added in v0.41.0

func (m *ProtoUint64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoUint64) XXX_Merge added in v0.41.0

func (m *ProtoUint64) XXX_Merge(src proto.Message)

func (*ProtoUint64) XXX_Size added in v0.41.0

func (m *ProtoUint64) XXX_Size() int

func (*ProtoUint64) XXX_Unmarshal added in v0.41.0

func (m *ProtoUint64) XXX_Unmarshal(b []byte) error

type ProtocolOwnedLiquidity added in v1.121.0

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 added in v1.121.0

func NewProtocolOwnedLiquidity() ProtocolOwnedLiquidity

NewProtocolOwnedLiquidity create a new instance ProtocolOwnedLiquidity it is empty though

func (ProtocolOwnedLiquidity) CurrentDeposit added in v1.121.0

func (pol ProtocolOwnedLiquidity) CurrentDeposit() cosmos.Int

func (*ProtocolOwnedLiquidity) Descriptor added in v1.121.0

func (*ProtocolOwnedLiquidity) Descriptor() ([]byte, []int)

func (*ProtocolOwnedLiquidity) Marshal added in v1.121.0

func (m *ProtocolOwnedLiquidity) Marshal() (dAtA []byte, err error)

func (*ProtocolOwnedLiquidity) MarshalTo added in v1.121.0

func (m *ProtocolOwnedLiquidity) MarshalTo(dAtA []byte) (int, error)

func (*ProtocolOwnedLiquidity) MarshalToSizedBuffer added in v1.121.0

func (m *ProtocolOwnedLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (ProtocolOwnedLiquidity) PnL added in v1.121.0

func (pol ProtocolOwnedLiquidity) PnL(value cosmos.Uint) cosmos.Int

PnL - Profit and Loss

func (*ProtocolOwnedLiquidity) ProtoMessage added in v1.121.0

func (*ProtocolOwnedLiquidity) ProtoMessage()

func (*ProtocolOwnedLiquidity) Reset added in v1.121.0

func (m *ProtocolOwnedLiquidity) Reset()

func (*ProtocolOwnedLiquidity) Size added in v1.121.0

func (m *ProtocolOwnedLiquidity) Size() (n int)

func (*ProtocolOwnedLiquidity) String added in v1.121.0

func (m *ProtocolOwnedLiquidity) String() string

func (*ProtocolOwnedLiquidity) Unmarshal added in v1.121.0

func (m *ProtocolOwnedLiquidity) Unmarshal(dAtA []byte) error

func (*ProtocolOwnedLiquidity) XXX_DiscardUnknown added in v1.121.0

func (m *ProtocolOwnedLiquidity) XXX_DiscardUnknown()

func (*ProtocolOwnedLiquidity) XXX_Marshal added in v1.121.0

func (m *ProtocolOwnedLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtocolOwnedLiquidity) XXX_Merge added in v1.121.0

func (m *ProtocolOwnedLiquidity) XXX_Merge(src proto.Message)

func (*ProtocolOwnedLiquidity) XXX_Size added in v1.121.0

func (m *ProtocolOwnedLiquidity) XXX_Size() int

func (*ProtocolOwnedLiquidity) XXX_Unmarshal added in v1.121.0

func (m *ProtocolOwnedLiquidity) XXX_Unmarshal(b []byte) error

type QueryBlockResponse added in v1.122.0

type QueryBlockResponse struct {
	openapi.BlockResponse
	Txs []QueryBlockTx `json:"txs"`
}

QueryBlockResponse overrides the openapi type with a custom Txs field for marshaling.

type QueryBlockTx added in v1.122.0

type QueryBlockTx struct {
	openapi.BlockTx
	Tx json.RawMessage `json:"tx,omitempty"`
}

QueryBlockTx overrides the openapi type with a custom Tx field for marshaling.

type RagnarokWithdrawPosition added in v0.41.0

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 added in v0.41.0

func (*RagnarokWithdrawPosition) Descriptor() ([]byte, []int)

func (*RagnarokWithdrawPosition) GetNumber added in v0.41.0

func (m *RagnarokWithdrawPosition) GetNumber() int64

func (*RagnarokWithdrawPosition) GetPool added in v0.41.0

func (m *RagnarokWithdrawPosition) GetPool() common.Asset

func (RagnarokWithdrawPosition) IsEmpty added in v0.41.0

func (m RagnarokWithdrawPosition) IsEmpty() bool

IsEmpty whether the position is empty

func (*RagnarokWithdrawPosition) Marshal added in v0.41.0

func (m *RagnarokWithdrawPosition) Marshal() (dAtA []byte, err error)

func (*RagnarokWithdrawPosition) MarshalTo added in v0.41.0

func (m *RagnarokWithdrawPosition) MarshalTo(dAtA []byte) (int, error)

func (*RagnarokWithdrawPosition) MarshalToSizedBuffer added in v0.41.0

func (m *RagnarokWithdrawPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RagnarokWithdrawPosition) ProtoMessage added in v0.41.0

func (*RagnarokWithdrawPosition) ProtoMessage()

func (*RagnarokWithdrawPosition) Reset added in v0.41.0

func (m *RagnarokWithdrawPosition) Reset()

func (*RagnarokWithdrawPosition) Size added in v0.41.0

func (m *RagnarokWithdrawPosition) Size() (n int)

func (*RagnarokWithdrawPosition) String added in v0.41.0

func (m *RagnarokWithdrawPosition) String() string

func (*RagnarokWithdrawPosition) Unmarshal added in v0.41.0

func (m *RagnarokWithdrawPosition) Unmarshal(dAtA []byte) error

func (*RagnarokWithdrawPosition) XXX_DiscardUnknown added in v0.41.0

func (m *RagnarokWithdrawPosition) XXX_DiscardUnknown()

func (*RagnarokWithdrawPosition) XXX_Marshal added in v0.41.0

func (m *RagnarokWithdrawPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RagnarokWithdrawPosition) XXX_Merge added in v0.41.0

func (m *RagnarokWithdrawPosition) XXX_Merge(src proto.Message)

func (*RagnarokWithdrawPosition) XXX_Size added in v0.41.0

func (m *RagnarokWithdrawPosition) XXX_Size() int

func (*RagnarokWithdrawPosition) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

func (*ReserveContributor) Descriptor() ([]byte, []int)

func (*ReserveContributor) GetAddress added in v0.41.0

func (*ReserveContributor) IsEmpty

func (m *ReserveContributor) IsEmpty() bool

IsEmpty return true when the reserve contributor's address is empty

func (*ReserveContributor) Marshal added in v0.41.0

func (m *ReserveContributor) Marshal() (dAtA []byte, err error)

func (*ReserveContributor) MarshalTo added in v0.41.0

func (m *ReserveContributor) MarshalTo(dAtA []byte) (int, error)

func (*ReserveContributor) MarshalToSizedBuffer added in v0.41.0

func (m *ReserveContributor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReserveContributor) ProtoMessage added in v0.41.0

func (*ReserveContributor) ProtoMessage()

func (*ReserveContributor) Reset added in v0.41.0

func (m *ReserveContributor) Reset()

func (*ReserveContributor) Size added in v0.41.0

func (m *ReserveContributor) Size() (n int)

func (*ReserveContributor) String added in v0.41.0

func (m *ReserveContributor) String() string

func (*ReserveContributor) Unmarshal added in v0.41.0

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 added in v0.41.0

func (m *ReserveContributor) XXX_DiscardUnknown()

func (*ReserveContributor) XXX_Marshal added in v0.41.0

func (m *ReserveContributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReserveContributor) XXX_Merge added in v0.41.0

func (m *ReserveContributor) XXX_Merge(src proto.Message)

func (*ReserveContributor) XXX_Size added in v0.41.0

func (m *ReserveContributor) XXX_Size() int

func (*ReserveContributor) XXX_Unmarshal added in v0.41.0

func (m *ReserveContributor) XXX_Unmarshal(b []byte) error

type ReserveContributors

type ReserveContributors []ReserveContributor

ReserveContributors a list of reserve contributors

func (ReserveContributors) Add

Add the given reserve contributor to list

type SolvencyVoter added in v0.63.0

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 added in v0.63.0

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 added in v0.63.0

func (*SolvencyVoter) Descriptor() ([]byte, []int)

func (*SolvencyVoter) Empty added in v0.63.0

func (m *SolvencyVoter) Empty() bool

Empty check whether TxID or Chain is empty

func (*SolvencyVoter) GetSigners added in v0.63.0

func (m *SolvencyVoter) GetSigners() []cosmos.AccAddress

func (*SolvencyVoter) HasConsensus added in v0.63.0

func (m *SolvencyVoter) HasConsensus(nas NodeAccounts) bool

HasConsensus determine if this errata has enough signers

func (*SolvencyVoter) HasSigned added in v0.63.0

func (m *SolvencyVoter) HasSigned(signer cosmos.AccAddress) bool

HasSigned - check if given address has signed

func (*SolvencyVoter) Marshal added in v0.63.0

func (m *SolvencyVoter) Marshal() (dAtA []byte, err error)

func (*SolvencyVoter) MarshalTo added in v0.63.0

func (m *SolvencyVoter) MarshalTo(dAtA []byte) (int, error)

func (*SolvencyVoter) MarshalToSizedBuffer added in v0.63.0

func (m *SolvencyVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SolvencyVoter) ProtoMessage added in v0.63.0

func (*SolvencyVoter) ProtoMessage()

func (*SolvencyVoter) Reset added in v0.63.0

func (m *SolvencyVoter) Reset()

func (*SolvencyVoter) Sign added in v0.63.0

func (m *SolvencyVoter) Sign(signer cosmos.AccAddress) bool

Sign this voter with given signer address

func (*SolvencyVoter) Size added in v0.63.0

func (m *SolvencyVoter) Size() (n int)

func (*SolvencyVoter) String added in v0.63.0

func (m *SolvencyVoter) String() string

String implement fmt.Stinger , return a string representation of solvency tx voter

func (*SolvencyVoter) Unmarshal added in v0.63.0

func (m *SolvencyVoter) Unmarshal(dAtA []byte) error

func (*SolvencyVoter) XXX_DiscardUnknown added in v0.63.0

func (m *SolvencyVoter) XXX_DiscardUnknown()

func (*SolvencyVoter) XXX_Marshal added in v0.63.0

func (m *SolvencyVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SolvencyVoter) XXX_Merge added in v0.63.0

func (m *SolvencyVoter) XXX_Merge(src proto.Message)

func (*SolvencyVoter) XXX_Size added in v0.63.0

func (m *SolvencyVoter) XXX_Size() int

func (*SolvencyVoter) XXX_Unmarshal added in v0.63.0

func (m *SolvencyVoter) XXX_Unmarshal(b []byte) error

type Status added in v0.41.0

type Status int32
const (
	Status_incomplete Status = 0
	Status_done       Status = 1
	Status_reverted   Status = 2
)

func (Status) EnumDescriptor added in v0.41.0

func (Status) EnumDescriptor() ([]byte, []int)

func (Status) MarshalJSON added in v0.41.0

func (x Status) MarshalJSON() ([]byte, error)

MarshalJSON marshal Status to JSON in string form

func (Status) String added in v0.41.0

func (x Status) String() string

func (*Status) UnmarshalJSON added in v0.41.0

func (x *Status) UnmarshalJSON(b []byte) error

UnmarshalJSON convert string form back to Status

type StreamingSwap added in v1.121.0

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 added in v1.121.0

func NewStreamingSwap(hash common.TxID, quan, interval uint64, target, deposit cosmos.Uint) StreamingSwap

func (*StreamingSwap) DefaultSwapSize added in v1.121.0

func (m *StreamingSwap) DefaultSwapSize() cosmos.Uint

func (*StreamingSwap) Descriptor added in v1.121.0

func (*StreamingSwap) Descriptor() ([]byte, []int)

func (*StreamingSwap) GetCount added in v1.121.0

func (m *StreamingSwap) GetCount() uint64

func (*StreamingSwap) GetFailedSwapReasons added in v1.121.0

func (m *StreamingSwap) GetFailedSwapReasons() []string

func (*StreamingSwap) GetFailedSwaps added in v1.121.0

func (m *StreamingSwap) GetFailedSwaps() []uint64

func (*StreamingSwap) GetInterval added in v1.121.0

func (m *StreamingSwap) GetInterval() uint64

func (*StreamingSwap) GetLastHeight added in v1.121.0

func (m *StreamingSwap) GetLastHeight() int64

func (*StreamingSwap) GetQuantity added in v1.121.0

func (m *StreamingSwap) GetQuantity() uint64

func (*StreamingSwap) GetTxID added in v1.121.0

func (*StreamingSwap) IsDone added in v1.121.0

func (m *StreamingSwap) IsDone() bool

func (*StreamingSwap) IsLastSwap added in v1.121.0

func (m *StreamingSwap) IsLastSwap() bool

func (*StreamingSwap) Marshal added in v1.121.0

func (m *StreamingSwap) Marshal() (dAtA []byte, err error)

func (*StreamingSwap) MarshalTo added in v1.121.0

func (m *StreamingSwap) MarshalTo(dAtA []byte) (int, error)

func (*StreamingSwap) MarshalToSizedBuffer added in v1.121.0

func (m *StreamingSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StreamingSwap) NextSize added in v1.121.0

func (m *StreamingSwap) NextSize(version semver.Version) (cosmos.Uint, cosmos.Uint)

func (*StreamingSwap) NextSizeV115 added in v1.121.0

func (m *StreamingSwap) NextSizeV115() (cosmos.Uint, cosmos.Uint)

func (*StreamingSwap) NextSizeV116 added in v1.121.0

func (m *StreamingSwap) NextSizeV116() (cosmos.Uint, cosmos.Uint)

func (*StreamingSwap) NextSizeV121 added in v1.121.0

func (m *StreamingSwap) NextSizeV121() (cosmos.Uint, cosmos.Uint)

func (*StreamingSwap) ProtoMessage added in v1.121.0

func (*StreamingSwap) ProtoMessage()

func (*StreamingSwap) Reset added in v1.121.0

func (m *StreamingSwap) Reset()

func (*StreamingSwap) Size added in v1.121.0

func (m *StreamingSwap) Size() (n int)

func (*StreamingSwap) String added in v1.121.0

func (m *StreamingSwap) String() string

func (*StreamingSwap) Unmarshal added in v1.121.0

func (m *StreamingSwap) Unmarshal(dAtA []byte) error

func (*StreamingSwap) Valid added in v1.121.0

func (m *StreamingSwap) Valid() error

func (*StreamingSwap) XXX_DiscardUnknown added in v1.121.0

func (m *StreamingSwap) XXX_DiscardUnknown()

func (*StreamingSwap) XXX_Marshal added in v1.121.0

func (m *StreamingSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamingSwap) XXX_Merge added in v1.121.0

func (m *StreamingSwap) XXX_Merge(src proto.Message)

func (*StreamingSwap) XXX_Size added in v1.121.0

func (m *StreamingSwap) XXX_Size() int

func (*StreamingSwap) XXX_Unmarshal added in v1.121.0

func (m *StreamingSwap) XXX_Unmarshal(b []byte) error

type StreamingSwaps added in v1.115.0

type StreamingSwaps []StreamingSwap

type SwapperClout added in v1.125.0

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 added in v1.125.0

func NewSwapperClout(addr common.Address) SwapperClout

func (SwapperClout) Available added in v1.125.0

func (c SwapperClout) Available() cosmos.Uint

calculate the available clout to spend

func (SwapperClout) Claimable added in v1.125.0

func (c SwapperClout) Claimable() cosmos.Uint

calculate the available clout to reclaim

func (*SwapperClout) Descriptor added in v1.125.0

func (*SwapperClout) Descriptor() ([]byte, []int)

func (*SwapperClout) GetAddress added in v1.125.0

func (*SwapperClout) GetLastReclaimHeight added in v1.125.0

func (m *SwapperClout) GetLastReclaimHeight() int64

func (*SwapperClout) GetLastSpentHeight added in v1.125.0

func (m *SwapperClout) GetLastSpentHeight() int64

func (*SwapperClout) Marshal added in v1.125.0

func (m *SwapperClout) Marshal() (dAtA []byte, err error)

func (*SwapperClout) MarshalTo added in v1.125.0

func (m *SwapperClout) MarshalTo(dAtA []byte) (int, error)

func (*SwapperClout) MarshalToSizedBuffer added in v1.125.0

func (m *SwapperClout) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwapperClout) ProtoMessage added in v1.125.0

func (*SwapperClout) ProtoMessage()

func (*SwapperClout) Reclaim added in v1.125.0

func (c *SwapperClout) Reclaim(value cosmos.Uint)

func (*SwapperClout) Reset added in v1.125.0

func (m *SwapperClout) Reset()

func (*SwapperClout) Restore added in v1.125.0

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 added in v1.125.0

func (m *SwapperClout) Size() (n int)

func (*SwapperClout) String added in v1.125.0

func (m *SwapperClout) String() string

func (*SwapperClout) Unmarshal added in v1.125.0

func (m *SwapperClout) Unmarshal(dAtA []byte) error

func (SwapperClout) Valid added in v1.125.0

func (c SwapperClout) Valid() error

func (*SwapperClout) XXX_DiscardUnknown added in v1.125.0

func (m *SwapperClout) XXX_DiscardUnknown()

func (*SwapperClout) XXX_Marshal added in v1.125.0

func (m *SwapperClout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwapperClout) XXX_Merge added in v1.125.0

func (m *SwapperClout) XXX_Merge(src proto.Message)

func (*SwapperClout) XXX_Size added in v1.125.0

func (m *SwapperClout) XXX_Size() int

func (*SwapperClout) XXX_Unmarshal added in v1.125.0

func (m *SwapperClout) XXX_Unmarshal(b []byte) error

type THORName added in v0.58.0

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 added in v0.58.0

func NewTHORName(name string, exp int64, aliases []THORNameAlias) THORName

NewTHORName create a new instance of THORName

func (*THORName) Descriptor added in v0.58.0

func (*THORName) Descriptor() ([]byte, []int)

func (*THORName) GetAlias added in v0.58.0

func (m *THORName) GetAlias(chain common.Chain) common.Address

func (*THORName) GetAliases added in v0.58.0

func (m *THORName) GetAliases() []THORNameAlias

func (*THORName) GetExpireBlockHeight added in v0.58.0

func (m *THORName) GetExpireBlockHeight() int64

func (*THORName) GetName added in v0.58.0

func (m *THORName) GetName() string

func (*THORName) GetOwner added in v0.58.0

func (*THORName) GetPreferredAsset added in v0.58.0

func (m *THORName) GetPreferredAsset() common.Asset

func (*THORName) Key added in v0.58.0

func (m *THORName) Key() string

func (*THORName) Marshal added in v0.58.0

func (m *THORName) Marshal() (dAtA []byte, err error)

func (*THORName) MarshalTo added in v0.58.0

func (m *THORName) MarshalTo(dAtA []byte) (int, error)

func (*THORName) MarshalToSizedBuffer added in v0.58.0

func (m *THORName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*THORName) ProtoMessage added in v0.58.0

func (*THORName) ProtoMessage()

func (*THORName) Reset added in v0.58.0

func (m *THORName) Reset()

func (*THORName) SetAlias added in v0.58.0

func (m *THORName) SetAlias(chain common.Chain, addr common.Address)

func (*THORName) Size added in v0.58.0

func (m *THORName) Size() (n int)

func (*THORName) String added in v0.58.0

func (m *THORName) String() string

func (*THORName) Unmarshal added in v0.58.0

func (m *THORName) Unmarshal(dAtA []byte) error

func (*THORName) Valid added in v0.58.0

func (m *THORName) Valid() error

Valid - check whether THORName struct represent valid information

func (*THORName) XXX_DiscardUnknown added in v0.58.0

func (m *THORName) XXX_DiscardUnknown()

func (*THORName) XXX_Marshal added in v0.58.0

func (m *THORName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*THORName) XXX_Merge added in v0.58.0

func (m *THORName) XXX_Merge(src proto.Message)

func (*THORName) XXX_Size added in v0.58.0

func (m *THORName) XXX_Size() int

func (*THORName) XXX_Unmarshal added in v0.58.0

func (m *THORName) XXX_Unmarshal(b []byte) error

type THORNameAlias added in v0.58.0

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 added in v0.58.0

func (*THORNameAlias) Descriptor() ([]byte, []int)

func (*THORNameAlias) GetAddress added in v0.58.0

func (*THORNameAlias) GetChain added in v0.58.0

func (*THORNameAlias) Marshal added in v0.58.0

func (m *THORNameAlias) Marshal() (dAtA []byte, err error)

func (*THORNameAlias) MarshalTo added in v0.58.0

func (m *THORNameAlias) MarshalTo(dAtA []byte) (int, error)

func (*THORNameAlias) MarshalToSizedBuffer added in v0.58.0

func (m *THORNameAlias) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*THORNameAlias) ProtoMessage added in v0.58.0

func (*THORNameAlias) ProtoMessage()

func (*THORNameAlias) Reset added in v0.58.0

func (m *THORNameAlias) Reset()

func (*THORNameAlias) Size added in v0.58.0

func (m *THORNameAlias) Size() (n int)

func (*THORNameAlias) String added in v0.58.0

func (m *THORNameAlias) String() string

func (*THORNameAlias) Unmarshal added in v0.58.0

func (m *THORNameAlias) Unmarshal(dAtA []byte) error

func (*THORNameAlias) XXX_DiscardUnknown added in v0.58.0

func (m *THORNameAlias) XXX_DiscardUnknown()

func (*THORNameAlias) XXX_Marshal added in v0.58.0

func (m *THORNameAlias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*THORNameAlias) XXX_Merge added in v0.58.0

func (m *THORNameAlias) XXX_Merge(src proto.Message)

func (*THORNameAlias) XXX_Size added in v0.58.0

func (m *THORNameAlias) XXX_Size() int

func (*THORNameAlias) XXX_Unmarshal added in v0.58.0

func (m *THORNameAlias) XXX_Unmarshal(b []byte) error

type TradeAccount added in v1.128.0

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 added in v1.128.0

func NewTradeAccount(addr cosmos.AccAddress, asset common.Asset) TradeAccount

func (*TradeAccount) Descriptor added in v1.128.0

func (*TradeAccount) Descriptor() ([]byte, []int)

func (*TradeAccount) GetAsset added in v1.128.0

func (m *TradeAccount) GetAsset() common.Asset

func (*TradeAccount) GetLastAddHeight added in v1.128.0

func (m *TradeAccount) GetLastAddHeight() int64

func (*TradeAccount) GetLastWithdrawHeight added in v1.128.0

func (m *TradeAccount) GetLastWithdrawHeight() int64

func (*TradeAccount) GetOwner added in v1.128.0

func (TradeAccount) Key added in v1.128.0

func (tr TradeAccount) Key() string

func (*TradeAccount) Marshal added in v1.128.0

func (m *TradeAccount) Marshal() (dAtA []byte, err error)

func (*TradeAccount) MarshalTo added in v1.128.0

func (m *TradeAccount) MarshalTo(dAtA []byte) (int, error)

func (*TradeAccount) MarshalToSizedBuffer added in v1.128.0

func (m *TradeAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradeAccount) ProtoMessage added in v1.128.0

func (*TradeAccount) ProtoMessage()

func (*TradeAccount) Reset added in v1.128.0

func (m *TradeAccount) Reset()

func (*TradeAccount) Size added in v1.128.0

func (m *TradeAccount) Size() (n int)

func (*TradeAccount) String added in v1.128.0

func (m *TradeAccount) String() string

func (*TradeAccount) Unmarshal added in v1.128.0

func (m *TradeAccount) Unmarshal(dAtA []byte) error

func (*TradeAccount) XXX_DiscardUnknown added in v1.128.0

func (m *TradeAccount) XXX_DiscardUnknown()

func (*TradeAccount) XXX_Marshal added in v1.128.0

func (m *TradeAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeAccount) XXX_Merge added in v1.128.0

func (m *TradeAccount) XXX_Merge(src proto.Message)

func (*TradeAccount) XXX_Size added in v1.128.0

func (m *TradeAccount) XXX_Size() int

func (*TradeAccount) XXX_Unmarshal added in v1.128.0

func (m *TradeAccount) XXX_Unmarshal(b []byte) error

type TradeUnit added in v1.128.0

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 added in v1.128.0

func NewTradeUnit(asset common.Asset) TradeUnit

func (*TradeUnit) Descriptor added in v1.128.0

func (*TradeUnit) Descriptor() ([]byte, []int)

func (*TradeUnit) GetAsset added in v1.128.0

func (m *TradeUnit) GetAsset() common.Asset

func (TradeUnit) Key added in v1.128.0

func (tu TradeUnit) Key() string

func (*TradeUnit) Marshal added in v1.128.0

func (m *TradeUnit) Marshal() (dAtA []byte, err error)

func (*TradeUnit) MarshalTo added in v1.128.0

func (m *TradeUnit) MarshalTo(dAtA []byte) (int, error)

func (*TradeUnit) MarshalToSizedBuffer added in v1.128.0

func (m *TradeUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradeUnit) ProtoMessage added in v1.128.0

func (*TradeUnit) ProtoMessage()

func (*TradeUnit) Reset added in v1.128.0

func (m *TradeUnit) Reset()

func (*TradeUnit) Size added in v1.128.0

func (m *TradeUnit) Size() (n int)

func (*TradeUnit) String added in v1.128.0

func (m *TradeUnit) String() string

func (*TradeUnit) Unmarshal added in v1.128.0

func (m *TradeUnit) Unmarshal(dAtA []byte) error

func (*TradeUnit) XXX_DiscardUnknown added in v1.128.0

func (m *TradeUnit) XXX_DiscardUnknown()

func (*TradeUnit) XXX_Marshal added in v1.128.0

func (m *TradeUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeUnit) XXX_Merge added in v1.128.0

func (m *TradeUnit) XXX_Merge(src proto.Message)

func (*TradeUnit) XXX_Size added in v1.128.0

func (m *TradeUnit) XXX_Size() int

func (*TradeUnit) XXX_Unmarshal added in v1.128.0

func (m *TradeUnit) XXX_Unmarshal(b []byte) error

type TssKeygenMetric added in v0.41.0

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 added in v0.41.0

func NewTssKeygenMetric(pubkey common.PubKey) *TssKeygenMetric

NewTssKeygenMetric create a new instance of TssKeygenMetric

func (*TssKeygenMetric) AddNodeTssTime added in v0.41.0

func (m *TssKeygenMetric) AddNodeTssTime(addr cosmos.AccAddress, keygenTime int64)

AddNodeTssTime add node tss time

func (*TssKeygenMetric) Descriptor added in v0.41.0

func (*TssKeygenMetric) Descriptor() ([]byte, []int)

func (*TssKeygenMetric) GetMedianTime added in v0.41.0

func (m *TssKeygenMetric) GetMedianTime() int64

GetMedianTime return the median time

func (*TssKeygenMetric) GetNodeTssTimes added in v0.41.0

func (m *TssKeygenMetric) GetNodeTssTimes() []NodeTssTime

func (*TssKeygenMetric) GetPubKey added in v0.41.0

func (*TssKeygenMetric) Marshal added in v0.41.0

func (m *TssKeygenMetric) Marshal() (dAtA []byte, err error)

func (*TssKeygenMetric) MarshalTo added in v0.41.0

func (m *TssKeygenMetric) MarshalTo(dAtA []byte) (int, error)

func (*TssKeygenMetric) MarshalToSizedBuffer added in v0.41.0

func (m *TssKeygenMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKeygenMetric) ProtoMessage added in v0.41.0

func (*TssKeygenMetric) ProtoMessage()

func (*TssKeygenMetric) Reset added in v0.41.0

func (m *TssKeygenMetric) Reset()

func (*TssKeygenMetric) Size added in v0.41.0

func (m *TssKeygenMetric) Size() (n int)

func (*TssKeygenMetric) String added in v0.41.0

func (m *TssKeygenMetric) String() string

func (*TssKeygenMetric) Unmarshal added in v0.41.0

func (m *TssKeygenMetric) Unmarshal(dAtA []byte) error

func (*TssKeygenMetric) XXX_DiscardUnknown added in v0.41.0

func (m *TssKeygenMetric) XXX_DiscardUnknown()

func (*TssKeygenMetric) XXX_Marshal added in v0.41.0

func (m *TssKeygenMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKeygenMetric) XXX_Merge added in v0.41.0

func (m *TssKeygenMetric) XXX_Merge(src proto.Message)

func (*TssKeygenMetric) XXX_Size added in v0.41.0

func (m *TssKeygenMetric) XXX_Size() int

func (*TssKeygenMetric) XXX_Unmarshal added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (m *TssKeysignFailVoter) Marshal() (dAtA []byte, err error)

func (*TssKeysignFailVoter) MarshalTo added in v0.41.0

func (m *TssKeysignFailVoter) MarshalTo(dAtA []byte) (int, error)

func (*TssKeysignFailVoter) MarshalToSizedBuffer added in v0.41.0

func (m *TssKeysignFailVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKeysignFailVoter) ProtoMessage added in v0.41.0

func (*TssKeysignFailVoter) ProtoMessage()

func (*TssKeysignFailVoter) Reset added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (m *TssKeysignFailVoter) Unmarshal(dAtA []byte) error

func (*TssKeysignFailVoter) XXX_DiscardUnknown added in v0.41.0

func (m *TssKeysignFailVoter) XXX_DiscardUnknown()

func (*TssKeysignFailVoter) XXX_Marshal added in v0.41.0

func (m *TssKeysignFailVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKeysignFailVoter) XXX_Merge added in v0.41.0

func (m *TssKeysignFailVoter) XXX_Merge(src proto.Message)

func (*TssKeysignFailVoter) XXX_Size added in v0.41.0

func (m *TssKeysignFailVoter) XXX_Size() int

func (*TssKeysignFailVoter) XXX_Unmarshal added in v0.41.0

func (m *TssKeysignFailVoter) XXX_Unmarshal(b []byte) error

type TssKeysignMetric added in v0.41.0

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 added in v0.41.0

func NewTssKeysignMetric(txID common.TxID) *TssKeysignMetric

NewTssKeysignMetric create a new instance of TssKeysignMetric

func (*TssKeysignMetric) AddNodeTssTime added in v0.41.0

func (m *TssKeysignMetric) AddNodeTssTime(addr cosmos.AccAddress, keygenTime int64)

AddNodeTssTime add node tss time

func (*TssKeysignMetric) Descriptor added in v0.41.0

func (*TssKeysignMetric) Descriptor() ([]byte, []int)

func (*TssKeysignMetric) GetMedianTime added in v0.41.0

func (m *TssKeysignMetric) GetMedianTime() int64

GetMedianTime return median time

func (*TssKeysignMetric) GetNodeTssTimes added in v0.41.0

func (m *TssKeysignMetric) GetNodeTssTimes() []NodeTssTime

func (*TssKeysignMetric) GetTxID added in v0.41.0

func (*TssKeysignMetric) Marshal added in v0.41.0

func (m *TssKeysignMetric) Marshal() (dAtA []byte, err error)

func (*TssKeysignMetric) MarshalTo added in v0.41.0

func (m *TssKeysignMetric) MarshalTo(dAtA []byte) (int, error)

func (*TssKeysignMetric) MarshalToSizedBuffer added in v0.41.0

func (m *TssKeysignMetric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssKeysignMetric) ProtoMessage added in v0.41.0

func (*TssKeysignMetric) ProtoMessage()

func (*TssKeysignMetric) Reset added in v0.41.0

func (m *TssKeysignMetric) Reset()

func (*TssKeysignMetric) Size added in v0.41.0

func (m *TssKeysignMetric) Size() (n int)

func (*TssKeysignMetric) String added in v0.41.0

func (m *TssKeysignMetric) String() string

func (*TssKeysignMetric) Unmarshal added in v0.41.0

func (m *TssKeysignMetric) Unmarshal(dAtA []byte) error

func (*TssKeysignMetric) XXX_DiscardUnknown added in v0.41.0

func (m *TssKeysignMetric) XXX_DiscardUnknown()

func (*TssKeysignMetric) XXX_Marshal added in v0.41.0

func (m *TssKeysignMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssKeysignMetric) XXX_Merge added in v0.41.0

func (m *TssKeysignMetric) XXX_Merge(src proto.Message)

func (*TssKeysignMetric) XXX_Size added in v0.41.0

func (m *TssKeysignMetric) XXX_Size() int

func (*TssKeysignMetric) XXX_Unmarshal added in v0.41.0

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 */
}

func NewTssVoter

func NewTssVoter(id string, pks []string, pool common.PubKey) TssVoter

NewTssVoter create a new instance of TssVoter

func (*TssVoter) ConsensusChains

func (m *TssVoter) ConsensusChains() common.Chains

ConsensusChains - get a list of chains that have 2/3rds majority

func (*TssVoter) Descriptor added in v0.41.0

func (*TssVoter) Descriptor() ([]byte, []int)

func (*TssVoter) GetChains added in v0.41.0

func (m *TssVoter) GetChains() common.Chains

func (*TssVoter) GetPubKeys added in v0.41.0

func (m *TssVoter) GetPubKeys() common.PubKeys

func (*TssVoter) GetSigners added in v0.41.0

func (m *TssVoter) GetSigners() []cosmos.AccAddress

func (*TssVoter) HasCompleteConsensus added in v0.73.0

func (m *TssVoter) HasCompleteConsensus() bool

HasCompleteConsensus return true only when all signers vote

func (*TssVoter) HasConsensus

func (m *TssVoter) HasConsensus() bool

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) IsEmpty

func (m *TssVoter) IsEmpty() bool

IsEmpty check whether TssVoter represent empty info

func (*TssVoter) Marshal added in v0.41.0

func (m *TssVoter) Marshal() (dAtA []byte, err error)

func (*TssVoter) MarshalTo added in v0.41.0

func (m *TssVoter) MarshalTo(dAtA []byte) (int, error)

func (*TssVoter) MarshalToSizedBuffer added in v0.41.0

func (m *TssVoter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TssVoter) ProtoMessage added in v0.41.0

func (*TssVoter) ProtoMessage()

func (*TssVoter) Reset added in v0.41.0

func (m *TssVoter) Reset()

func (*TssVoter) Sign

func (m *TssVoter) Sign(signer cosmos.AccAddress, chains []string) bool

Sign this voter with given signer address

func (*TssVoter) Size added in v0.41.0

func (m *TssVoter) Size() (n int)

func (*TssVoter) String

func (m *TssVoter) String() string

String implement fmt.Stringer

func (*TssVoter) Unmarshal added in v0.41.0

func (m *TssVoter) Unmarshal(dAtA []byte) error

func (*TssVoter) XXX_DiscardUnknown added in v0.41.0

func (m *TssVoter) XXX_DiscardUnknown()

func (*TssVoter) XXX_Marshal added in v0.41.0

func (m *TssVoter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TssVoter) XXX_Merge added in v0.41.0

func (m *TssVoter) XXX_Merge(src proto.Message)

func (*TssVoter) XXX_Size added in v0.41.0

func (m *TssVoter) XXX_Size() int

func (*TssVoter) XXX_Unmarshal added in v0.41.0

func (m *TssVoter) XXX_Unmarshal(b []byte) error

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 NewTxOut

func NewTxOut(height int64) *TxOut

NewTxOut creates a new TxOut.

func (*TxOut) Descriptor added in v0.41.0

func (*TxOut) Descriptor() ([]byte, []int)

func (*TxOut) IsEmpty

func (m *TxOut) IsEmpty() bool

IsEmpty to determinate whether there are txitm in this TxOut

func (*TxOut) Marshal added in v0.41.0

func (m *TxOut) Marshal() (dAtA []byte, err error)

func (*TxOut) MarshalTo added in v0.41.0

func (m *TxOut) MarshalTo(dAtA []byte) (int, error)

func (*TxOut) MarshalToSizedBuffer added in v0.41.0

func (m *TxOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxOut) ProtoMessage added in v0.41.0

func (*TxOut) ProtoMessage()

func (*TxOut) Reset added in v0.41.0

func (m *TxOut) Reset()

func (*TxOut) Size added in v0.41.0

func (m *TxOut) Size() (n int)

func (*TxOut) String added in v0.41.0

func (this *TxOut) String() string

func (*TxOut) Unmarshal added in v0.41.0

func (m *TxOut) Unmarshal(dAtA []byte) error

func (*TxOut) Valid

func (m *TxOut) Valid() error

Valid check every item in it's internal txarray, return an error if it is not valid

func (*TxOut) XXX_DiscardUnknown added in v0.41.0

func (m *TxOut) XXX_DiscardUnknown()

func (*TxOut) XXX_Marshal added in v0.41.0

func (m *TxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxOut) XXX_Merge added in v0.41.0

func (m *TxOut) XXX_Merge(src proto.Message)

func (*TxOut) XXX_Size added in v0.41.0

func (m *TxOut) XXX_Size() int

func (*TxOut) XXX_Unmarshal added in v0.41.0

func (m *TxOut) XXX_Unmarshal(b []byte) error

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 added in v1.88.0

func GetRandomTxOutItem() TxOutItem

func (*TxOutItem) Descriptor added in v0.41.0

func (*TxOutItem) Descriptor() ([]byte, []int)

func (TxOutItem) Equals

func (m TxOutItem) Equals(toi2 TxOutItem) bool

Equals compare two tx out item

func (TxOutItem) GetModuleName added in v1.121.0

func (toi TxOutItem) GetModuleName() string

func (*TxOutItem) Marshal added in v0.41.0

func (m *TxOutItem) Marshal() (dAtA []byte, err error)

func (*TxOutItem) MarshalTo added in v0.41.0

func (m *TxOutItem) MarshalTo(dAtA []byte) (int, error)

func (*TxOutItem) MarshalToSizedBuffer added in v0.41.0

func (m *TxOutItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxOutItem) ProtoMessage added in v0.41.0

func (*TxOutItem) ProtoMessage()

func (*TxOutItem) Reset added in v0.41.0

func (m *TxOutItem) Reset()

func (*TxOutItem) Size added in v0.41.0

func (m *TxOutItem) Size() (n int)

func (TxOutItem) String

func (m TxOutItem) String() string

String implement stringer interface

func (*TxOutItem) Unmarshal added in v0.41.0

func (m *TxOutItem) Unmarshal(dAtA []byte) error

func (TxOutItem) Valid

func (m TxOutItem) Valid() error

Valid check whether TxOutItem hold valid information

func (*TxOutItem) XXX_DiscardUnknown added in v0.41.0

func (m *TxOutItem) XXX_DiscardUnknown()

func (*TxOutItem) XXX_Marshal added in v0.41.0

func (m *TxOutItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxOutItem) XXX_Merge added in v0.41.0

func (m *TxOutItem) XXX_Merge(src proto.Message)

func (*TxOutItem) XXX_Size added in v0.41.0

func (m *TxOutItem) XXX_Size() int

func (*TxOutItem) XXX_Unmarshal added in v0.41.0

func (m *TxOutItem) XXX_Unmarshal(b []byte) error

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 GetRandomYggVault added in v1.121.0

func GetRandomYggVault() Vault

TODO remove on hard fork

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) AddFunds

func (m *Vault) AddFunds(coins common.Coins)

AddFunds add given coins into 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

func (m Vault) CoinLength() (count int)

CoinLength - counts the number of coins this vault has

func (Vault) CoinLengthByChain added in v0.41.0

func (m Vault) CoinLengthByChain(c common.Chain) int

CoinLengthByChain - count the number of coins this vault has for the given chain

func (Vault) Contains

func (m Vault) Contains(pubkey common.PubKey) bool

Contains check whether the given pubkey is party of the originally node who create this vault

func (*Vault) DeductVaultPendingOutbounds added in v1.127.0

func (m *Vault) DeductVaultPendingOutbounds(pendingOutbounds []TxOutItem)

func (*Vault) Descriptor added in v0.41.0

func (*Vault) Descriptor() ([]byte, []int)

func (Vault) GetChains added in v0.41.0

func (m Vault) GetChains() common.Chains

func (Vault) GetCoin

func (m Vault) GetCoin(asset common.Asset) common.Coin

GetCoin return coin type of given asset

func (Vault) GetContract added in v0.41.0

func (v Vault) GetContract(chain common.Chain) ChainContract

GetContract return the contract that match the request chain

func (Vault) GetMembers

func (m Vault) GetMembers(activeObservers []cosmos.AccAddress) (common.PubKeys, error)

GetMembers return members who's address exist in the given list

func (Vault) GetMembership added in v0.41.0

func (m Vault) GetMembership() common.PubKeys

func (Vault) HasAsset

func (m Vault) HasAsset(asset common.Asset) bool

HasAsset Check if this vault has a particular asset

func (Vault) HasFunds

func (m Vault) HasFunds() bool

HasFunds check whether the vault pool has fund

func (Vault) HasFundsForChain

func (m Vault) HasFundsForChain(chain common.Chain) bool

HasFundsForChain check whether the vault pool has funds for a specific chain

func (Vault) IsActive added in v1.121.0

func (m Vault) IsActive() bool

IsActive return true when the vault is in active status

func (Vault) IsAsgard

func (m Vault) IsAsgard() bool

IsAsgard check whether the vault is Asgard vault, it returns true when it is an asgard vault

func (Vault) IsEmpty

func (m Vault) IsEmpty() bool

IsEmpty returns true when the vault pubkey is empty

func (Vault) IsRetiring added in v1.121.0

func (m Vault) IsRetiring() bool

IsRetiring return true when the vault is in retiring status

func (Vault) IsType

func (m Vault) IsType(vtype VaultType) bool

IsType determine whether the vault is given type

func (Vault) IsYggdrasil

func (m Vault) IsYggdrasil() bool

IsYggdrasil return true when the vault is YggdrasilVault TODO remove on hard fork

func (*Vault) LenPendingTxBlockHeights

func (m *Vault) LenPendingTxBlockHeights(currentBlockHeight, maxBlocks int64) int

LenPendingTxBlockHeights count how many outstanding block heights in the vault if the a block height is older than SigningTransactionPeriod , it will ignore

func (*Vault) Marshal added in v0.41.0

func (m *Vault) Marshal() (dAtA []byte, err error)

func (*Vault) MarshalTo added in v0.41.0

func (m *Vault) MarshalTo(dAtA []byte) (int, error)

func (*Vault) MarshalToSizedBuffer added in v0.41.0

func (m *Vault) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Vault) MembershipEquals added in v0.41.0

func (m Vault) MembershipEquals(pks common.PubKeys) bool

MembershipEquals check whether the vault has the same membership as the given pubkeys

func (*Vault) ProtoMessage added in v0.41.0

func (*Vault) ProtoMessage()

func (*Vault) RemovePendingTxBlockHeights

func (m *Vault) RemovePendingTxBlockHeights(blockHeight int64)

RemovePendingTxBlockHeights remove the given block height from internal pending tx block height

func (*Vault) Reset added in v0.41.0

func (m *Vault) Reset()

func (*Vault) Size added in v0.41.0

func (m *Vault) Size() (n int)

func (*Vault) String added in v0.41.0

func (m *Vault) String() string

func (*Vault) SubFunds

func (m *Vault) SubFunds(coins common.Coins)

SubFunds subtract given coins from vault

func (*Vault) Unmarshal added in v0.41.0

func (m *Vault) Unmarshal(dAtA []byte) error

func (*Vault) UpdateContract added in v0.41.0

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) Valid

func (m Vault) Valid() error

Valid check whether Vault has all necessary values

func (*Vault) XXX_DiscardUnknown added in v0.41.0

func (m *Vault) XXX_DiscardUnknown()

func (*Vault) XXX_Marshal added in v0.41.0

func (m *Vault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vault) XXX_Merge added in v0.41.0

func (m *Vault) XXX_Merge(src proto.Message)

func (*Vault) XXX_Size added in v0.41.0

func (m *Vault) XXX_Size() int

func (*Vault) XXX_Unmarshal added in v0.41.0

func (m *Vault) XXX_Unmarshal(b []byte) error

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 added in v0.41.0

func (VaultStatus) EnumDescriptor() ([]byte, []int)

func (VaultStatus) MarshalJSON added in v0.41.0

func (x VaultStatus) MarshalJSON() ([]byte, error)

MarshalJSON marshal vault status to string

func (VaultStatus) String added in v0.41.0

func (x VaultStatus) String() string

func (*VaultStatus) UnmarshalJSON added in v0.41.0

func (x *VaultStatus) UnmarshalJSON(b []byte) error

UnmarshalJSON parse string type back to VaultStatus

type VaultType

type VaultType int32
const (
	VaultType_UnknownVault   VaultType = 0
	VaultType_AsgardVault    VaultType = 1
	VaultType_YggdrasilVault VaultType = 2
)

func (VaultType) EnumDescriptor added in v0.41.0

func (VaultType) EnumDescriptor() ([]byte, []int)

func (VaultType) MarshalJSON added in v0.41.0

func (x VaultType) MarshalJSON() ([]byte, error)

MarshalJSON marshal vault type to string

func (VaultType) String added in v0.41.0

func (x VaultType) String() string

func (*VaultType) UnmarshalJSON added in v0.41.0

func (x *VaultType) UnmarshalJSON(b []byte) error

UnmarshalJSON parse string type back to VaultType

type Vaults

type Vaults []Vault

Vaults a list of vault

func (Vaults) Has added in v0.41.0

func (vs Vaults) Has(target common.Coin) Vaults

Has return vaults that have that amount of coins in it

func (Vaults) HasAddress

func (vs Vaults) HasAddress(chain common.Chain, address common.Address) (bool, error)

HasAddress will go through the vaults to determinate whether any of the vault match the given address on the given chain

func (Vaults) SelectByMaxCoin

func (vs Vaults) SelectByMaxCoin(asset common.Asset) (vault Vault)

SelectByMaxCoin return the vault that has most of given asset

func (Vaults) SelectByMinCoin

func (vs Vaults) SelectByMinCoin(asset common.Asset) (vault Vault)

SelectByMinCoin return the vault that has least of given asset

func (Vaults) SortBy

func (vs Vaults) SortBy(sortBy common.Asset) Vaults

SortBy order coins by the given asset

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL