Versions in this module Expand all Collapse all v1 v1.2.11 Sep 23, 2022 v1.2.10 Sep 23, 2022 v1.2.9 Sep 23, 2022 v1.2.8 Sep 23, 2022 v1.2.7 Sep 23, 2022 v1.0.0 Sep 23, 2022 Changes in this version + const AccountFlagsRoute + const AtomicSwapRoute + const BindMsgType + const ClaimHTLT + const ClaimMsgType + const CrossChainFeeLength + const Decimals + const DepositHTLT + const DotBSuffix + const HTLT + const InitialRecordId + const Int64Size + const IssueMiniMsgType + const IssueTinyMsgType + const MaxDescriptionLength + const MaxExpectedIncomeLength + const MaxMiniTokenNameLength + const MaxOtherChainAddrLength + const MaxSideChainIdLength + const MaxSymbolLength + const MaxTimeLockDescriptionLength + const MaxTitleLength + const MaxTokenURILength + const MaxTotalSupply + const MaxVotingPeriod + const MaximumHeightSpan + const MinDelegationAmount + const MinLockTime + const MiniRoute + const MiniTokenSymbolMSuffix + const MiniTokenSymbolMaxLen + const MiniTokenSymbolMinLen + const MiniTokenSymbolSuffixLen + const MiniTokenSymbolTxHashSuffixLen + const MinimumHeightSpan + const MsgRoute + const MsgTypeSideDeposit + const MsgTypeSideSubmitProposal + const MsgTypeSideVote + const NativeToken + const NativeTokenDotBSuffixed + const OracleChannelId + const PackageHeaderLength + const PackageTypeLength + const ProposalTypeCSCParamsChange + const ProposalTypeSCParamsChange + const RandomNumberHashLength + const RandomNumberLength + const RefundHTLT + const RouteBridge + const RouteCancelOrder + const RouteNewOrder + const RouteOracle + const SetAccountFlagsMsgType + const SideChainAddrLen + const SideChainSlashMsgRoute + const SideChainStakeMsgRoute + const SwapIDLength + const TokenSymbolMaxLen + const TokenSymbolMinLen + const TokenSymbolTxHashSuffixLen + const TransferOutMsgType + const TypeCreateSideChainValidator + const TypeEditSideChainValidator + const TypeMsgSideChainUnjail + const TypeSideChainDelegate + const TypeSideChainRedelegate + const TypeSideChainUndelegate + const UnbindMsgType + var AtomicSwapCoinsAccAddr = types.AccAddress(crypto.AddressHash([]byte("BinanceChainAtomicSwapCoins"))) + var MsgCdc = amino.NewCodec() + var OrderSide = struct{ ... } + var OrderType = struct{ ... } + var StatusTextToString = [...]string + var StringToStatusText = map[string]StatusText + var TimeInForce = struct{ ... } + var TimeLockCoinsAccAddr = types.AccAddress(crypto.AddressHash([]byte("BinanceChainTimeLockCoins"))) + func CalculateRandomHash(randomNumber []byte, timestamp int64) []byte + func CalculateSwapID(randomNumberHash []byte, sender types.AccAddress, senderOtherChain string) []byte + func GenerateOrderID(sequence int64, from types.AccAddress) string + func GetClaimId(chainId sdk.IbcChainID, channelId sdk.IbcChannelID, sequence int64) string + func Has0xPrefix(input string) bool + func HexAddress(a []byte) string + func HexDecode(input string) ([]byte, error) + func HexEncode(b []byte) string + func IToOrderType(tpe int8) string + func IToSide(side int8) string + func IToTimeInForce(tif int8) string + func IsValidMiniTokenSymbol(symbol string) bool + func IsValidOrderType(ot int8) bool + func IsValidSide(side int8) bool + func IsValidTimeInForce(tif int8) bool + func MustSortJSON(toSortJSON []byte) []byte + func RegisterCodec(cdc *amino.Codec) + func SideStringToSideCode(side string) (int8, error) + func SortJSON(toSortJSON []byte) ([]byte, error) + func TifStringToTifCode(tif string) (int8, error) + func ValidateMiniTokenSymbol(symbol string) error + func ValidateSymbol(symbol string) error + type ApproveBindSynPackage struct + Bep2TokenSymbol [32]byte + Status uint32 + type BindMsg struct + Amount int64 + ContractAddress SmartChainAddress + ContractDecimals int8 + ExpireTime int64 + From sdk.AccAddress + Symbol string + func NewBindMsg(from sdk.AccAddress, symbol string, amount int64, ...) BindMsg + func (msg BindMsg) GetInvolvedAddresses() []sdk.AccAddress + func (msg BindMsg) GetSignBytes() []byte + func (msg BindMsg) GetSigners() []sdk.AccAddress + func (msg BindMsg) Route() string + func (msg BindMsg) String() string + func (msg BindMsg) Type() string + func (msg BindMsg) ValidateBasic() error + type BindStatus int8 + type BindSynPackage struct + Bep2TokenSymbol [32]byte + ContractAddr [20]byte + Decimals uint8 + ExpireTime uint64 + PackageType uint8 + PeggyAmount *big.Int + TotalSupply *big.Int + type CSCParamChange struct + Key string + Target string + TargetBytes []byte + Value string + ValueBytes []byte + func (c *CSCParamChange) Check() error + type CancelOrderMsg struct + RefID string + Sender types.AccAddress + Symbol string + func NewCancelOrderMsg(sender types.AccAddress, symbol, refID string) CancelOrderMsg + func (msg CancelOrderMsg) GetInvolvedAddresses() []types.AccAddress + func (msg CancelOrderMsg) GetSignBytes() []byte + func (msg CancelOrderMsg) GetSigners() []types.AccAddress + func (msg CancelOrderMsg) Route() string + func (msg CancelOrderMsg) String() string + func (msg CancelOrderMsg) Type() string + func (msg CancelOrderMsg) ValidateBasic() error + type Claim struct + Content string + ID string + ValidatorAddress sdk.ValAddress + func NewClaim(id string, validatorAddress sdk.ValAddress, content string) Claim + type ClaimHTLTMsg struct + From types.AccAddress + RandomNumber types.SwapBytes + SwapID types.SwapBytes + func NewClaimHTLTMsg(from types.AccAddress, swapID, randomNumber []byte) ClaimHTLTMsg + func (msg ClaimHTLTMsg) GetInvolvedAddresses() []types.AccAddress + func (msg ClaimHTLTMsg) GetSignBytes() []byte + func (msg ClaimHTLTMsg) GetSigners() []types.AccAddress + func (msg ClaimHTLTMsg) Route() string + func (msg ClaimHTLTMsg) String() string + func (msg ClaimHTLTMsg) Type() string + func (msg ClaimHTLTMsg) ValidateBasic() error + type ClaimMsg struct + ChainId sdk.IbcChainID + Payload []byte + Sequence uint64 + ValidatorAddress sdk.AccAddress + func NewClaimMsg(ChainId sdk.IbcChainID, sequence uint64, payload []byte, ...) ClaimMsg + func (msg ClaimMsg) GetInvolvedAddresses() []sdk.AccAddress + func (msg ClaimMsg) GetSignBytes() []byte + func (msg ClaimMsg) GetSigners() []sdk.AccAddress + func (msg ClaimMsg) Route() string + func (msg ClaimMsg) String() string + func (msg ClaimMsg) Type() string + func (msg ClaimMsg) ValidateBasic() error + type CommonAckPackage struct + Code uint32 + type CreateOrderMsg struct + ID string + OrderType int8 + Price int64 + Quantity int64 + Sender types.AccAddress + Side int8 + Symbol string + TimeInForce int8 + func NewCreateOrderMsg(sender types.AccAddress, id string, side int8, symbol string, price int64, ...) CreateOrderMsg + func (msg CreateOrderMsg) GetInvolvedAddresses() []types.AccAddress + func (msg CreateOrderMsg) GetSignBytes() []byte + func (msg CreateOrderMsg) GetSigners() []types.AccAddress + func (msg CreateOrderMsg) Route() string + func (msg CreateOrderMsg) String() string + func (msg CreateOrderMsg) Type() string + func (msg CreateOrderMsg) ValidateBasic() error + type CreateSideChainValidatorMsg struct + Commission types.CommissionMsg + Delegation types.Coin + DelegatorAddr types.AccAddress + Description Description + SideChainId string + SideConsAddr []byte + SideFeeAddr []byte + ValidatorAddr types.ValAddress + func NewCreateSideChainValidatorMsg(valAddr types.ValAddress, delegation types.Coin, description Description, ...) CreateSideChainValidatorMsg + func NewMsgCreateSideChainValidatorOnBehalfOf(delegatorAddr types.AccAddress, valAddr types.ValAddress, ...) CreateSideChainValidatorMsg + func (msg CreateSideChainValidatorMsg) GetInvolvedAddresses() []types.AccAddress + func (msg CreateSideChainValidatorMsg) GetSignBytes() []byte + func (msg CreateSideChainValidatorMsg) GetSigners() []types.AccAddress + func (msg CreateSideChainValidatorMsg) Route() string + func (msg CreateSideChainValidatorMsg) Type() string + func (msg CreateSideChainValidatorMsg) ValidateBasic() error + type CrossChainPackage struct + Content interface{} + PackageType CrossChainPackageType + RelayFee big.Int + func ParseClaimPayload(payload []byte) ([]CrossChainPackage, error) + type CrossChainPackageType uint8 + const AckCrossChainPackageType + const FailAckCrossChainPackageType + const SynCrossChainPackageType + func DecodePackageHeader(packageHeader []byte) (packageType CrossChainPackageType, relayFee big.Int, err error) + type CrossParamChange struct + Key string + Target []byte + Value []byte + type DBProphecy struct + ID string + Status Status + ValidatorClaims []byte + func (dbProphecy DBProphecy) DeserializeFromDB() (Prophecy, error) + type DepositHTLTMsg struct + Amount types.Coins + From types.AccAddress + SwapID types.SwapBytes + func NewDepositHTLTMsg(from types.AccAddress, swapID []byte, amount types.Coins) DepositHTLTMsg + func (msg DepositHTLTMsg) GetInvolvedAddresses() []types.AccAddress + func (msg DepositHTLTMsg) GetSignBytes() []byte + func (msg DepositHTLTMsg) GetSigners() []types.AccAddress + func (msg DepositHTLTMsg) Route() string + func (msg DepositHTLTMsg) String() string + func (msg DepositHTLTMsg) Type() string + func (msg DepositHTLTMsg) ValidateBasic() error + type DepositMsg struct + Amount types.Coins + Depositer types.AccAddress + ProposalID int64 + func NewDepositMsg(depositer types.AccAddress, proposalID int64, amount types.Coins) DepositMsg + func (msg DepositMsg) Get(key interface{}) (value interface{}) + func (msg DepositMsg) GetInvolvedAddresses() []types.AccAddress + func (msg DepositMsg) GetSignBytes() []byte + func (msg DepositMsg) GetSigners() []types.AccAddress + func (msg DepositMsg) Route() string + func (msg DepositMsg) String() string + func (msg DepositMsg) Type() string + func (msg DepositMsg) ValidateBasic() error + type Description struct + Details string + Identity string + Moniker string + Website string + func (d Description) EnsureLength() (Description, error) + type DexListMsg struct + BaseAssetSymbol string + From types.AccAddress + InitPrice int64 + ProposalId int64 + QuoteAssetSymbol string + func NewDexListMsg(from types.AccAddress, proposalId int64, baseAssetSymbol string, ...) DexListMsg + func (msg DexListMsg) GetInvolvedAddresses() []types.AccAddress + func (msg DexListMsg) GetSignBytes() []byte + func (msg DexListMsg) GetSigners() []types.AccAddress + func (msg DexListMsg) Route() string + func (msg DexListMsg) String() string + func (msg DexListMsg) Type() string + func (msg DexListMsg) ValidateBasic() error + type EditSideChainValidatorMsg struct + CommissionRate *types.Dec + Description Description + SideChainId string + SideFeeAddr []byte + ValidatorAddr types.ValAddress + func NewEditSideChainValidatorMsg(sideChainId string, validatorAddr types.ValAddress, description Description, ...) EditSideChainValidatorMsg + func (msg EditSideChainValidatorMsg) GetInvolvedAddresses() []types.AccAddress + func (msg EditSideChainValidatorMsg) GetSignBytes() []byte + func (msg EditSideChainValidatorMsg) GetSigners() []types.AccAddress + func (msg EditSideChainValidatorMsg) Route() string + func (msg EditSideChainValidatorMsg) Type() string + func (msg EditSideChainValidatorMsg) ValidateBasic() error + type HTLTMsg struct + Amount types.Coins + CrossChain bool + ExpectedIncome string + From types.AccAddress + HeightSpan int64 + RandomNumberHash types.SwapBytes + RecipientOtherChain string + SenderOtherChain string + Timestamp int64 + To types.AccAddress + func NewHTLTMsg(from, to types.AccAddress, recipientOtherChain, senderOtherChain string, ...) HTLTMsg + func (msg HTLTMsg) GetInvolvedAddresses() []types.AccAddress + func (msg HTLTMsg) GetSignBytes() []byte + func (msg HTLTMsg) GetSigners() []types.AccAddress + func (msg HTLTMsg) Route() string + func (msg HTLTMsg) String() string + func (msg HTLTMsg) Type() string + func (msg HTLTMsg) ValidateBasic() error + type IbcParams struct + RelayerFee int64 + func (p *IbcParams) GetParamAttribute() (string, bool) + func (p *IbcParams) UpdateCheck() error + type IbcValidator struct + ConsAddr []byte + DistAddr []byte + FeeAddr []byte + Power uint64 + type IbcValidatorSetPackage struct + Type uint8 + ValidatorSet []IbcValidator + type Input struct + Address types.AccAddress + Coins types.Coins + func NewInput(addr types.AccAddress, coins types.Coins) Input + func (in Input) GetSignBytes() []byte + func (in Input) ValidateBasic() error + type ListMiniMsg struct + BaseAssetSymbol string + From types.AccAddress + InitPrice int64 + QuoteAssetSymbol string + func NewListMiniMsg(from types.AccAddress, baseAssetSymbol string, quoteAssetSymbol string, ...) ListMiniMsg + func (msg ListMiniMsg) GetInvolvedAddresses() []types.AccAddress + func (msg ListMiniMsg) GetSignBytes() []byte + func (msg ListMiniMsg) GetSigners() []types.AccAddress + func (msg ListMiniMsg) Route() string + func (msg ListMiniMsg) String() string + func (msg ListMiniMsg) Type() string + func (msg ListMiniMsg) ValidateBasic() error + type ListTradingPairParams struct + BaseAssetSymbol string + Description string + ExpireTime time.Time + InitPrice int64 + QuoteAssetSymbol string + type MiniTokenIssueMsg struct + From types.AccAddress + Mintable bool + Name string + Symbol string + TokenURI string + TotalSupply int64 + func NewMiniTokenIssueMsg(from types.AccAddress, name, symbol string, supply int64, mintable bool, ...) MiniTokenIssueMsg + func (msg MiniTokenIssueMsg) GetInvolvedAddresses() []types.AccAddress + func (msg MiniTokenIssueMsg) GetSignBytes() []byte + func (msg MiniTokenIssueMsg) GetSigners() []types.AccAddress + func (msg MiniTokenIssueMsg) Route() string + func (msg MiniTokenIssueMsg) String() string + func (msg MiniTokenIssueMsg) Type() string + func (msg MiniTokenIssueMsg) ValidateBasic() error + type MintMsg struct + Amount int64 + From types.AccAddress + Symbol string + func NewMintMsg(from types.AccAddress, symbol string, amount int64) MintMsg + func (msg MintMsg) GetInvolvedAddresses() []types.AccAddress + func (msg MintMsg) GetSignBytes() []byte + func (msg MintMsg) GetSigners() []types.AccAddress + func (msg MintMsg) Route() string + func (msg MintMsg) String() string + func (msg MintMsg) Type() string + func (msg MintMsg) ValidateBasic() error + type Msg interface + GetInvolvedAddresses func() []types.AccAddress + GetSignBytes func() []byte + GetSigners func() []types.AccAddress + Route func() string + Type func() string + ValidateBasic func() error + type MsgCreateValidator struct + Commission types.CommissionMsg + Delegation types.Coin + DelegatorAddr types.AccAddress + Description Description + PubKey crypto.PubKey + ValidatorAddr types.ValAddress + func (msg MsgCreateValidator) GetInvolvedAddresses() []types.AccAddress + func (msg MsgCreateValidator) GetSignBytes() []byte + func (msg MsgCreateValidator) GetSigners() []types.AccAddress + func (msg MsgCreateValidator) Route() string + func (msg MsgCreateValidator) Type() string + func (msg MsgCreateValidator) ValidateBasic() error + type MsgCreateValidatorProposal struct + ProposalId int64 + type MsgRemoveValidator struct + LauncherAddr types.AccAddress + ProposalId int64 + ValAddr types.ValAddress + ValConsAddr types.ConsAddress + func NewMsgRemoveValidator(launcherAddr types.AccAddress, valAddr types.ValAddress, ...) MsgRemoveValidator + func (msg MsgRemoveValidator) GetInvolvedAddresses() []types.AccAddress + func (msg MsgRemoveValidator) GetSignBytes() []byte + func (msg MsgRemoveValidator) GetSigners() []types.AccAddress + func (msg MsgRemoveValidator) Route() string + func (msg MsgRemoveValidator) Type() string + func (msg MsgRemoveValidator) ValidateBasic() error + type MsgSideChainUnjail struct + SideChainId string + ValidatorAddr types.ValAddress + func NewMsgSideChainUnjail(validatorAddr types.ValAddress, sideChainId string) MsgSideChainUnjail + func (msg MsgSideChainUnjail) GetInvolvedAddresses() []types.AccAddress + func (msg MsgSideChainUnjail) GetSignBytes() []byte + func (msg MsgSideChainUnjail) GetSigners() []types.AccAddress + func (msg MsgSideChainUnjail) Route() string + func (msg MsgSideChainUnjail) Type() string + func (msg MsgSideChainUnjail) ValidateBasic() error + type OracleParams struct + ConsensusNeeded types.Dec + func (p *OracleParams) GetParamAttribute() (string, bool) + func (p *OracleParams) UpdateCheck() error + type Output struct + Address types.AccAddress + Coins types.Coins + func NewOutput(addr types.AccAddress, coins types.Coins) Output + func (out Output) GetSignBytes() []byte + func (out Output) ValidateBasic() error + type Package struct + ChannelId sdk.IbcChannelID + Payload []byte + Sequence uint64 + type Packages []Package + type Prophecy struct + ClaimValidators map[string][]types.ValAddress + ID string + Status Status + ValidatorClaims map[string]string + func (prophecy Prophecy) SerializeForDB() (DBProphecy, error) + type ProposalKind byte + const ProposalTypeFeeChange + const ProposalTypeListTradingPair + const ProposalTypeNil + const ProposalTypeParameterChange + const ProposalTypeSoftwareUpgrade + const ProposalTypeText + func ProposalTypeFromString(str string) (ProposalKind, error) + func (pt *ProposalKind) Unmarshal(data []byte) error + func (pt *ProposalKind) UnmarshalJSON(data []byte) error + func (pt ProposalKind) Format(s fmt.State, verb rune) + func (pt ProposalKind) Marshal() ([]byte, error) + func (pt ProposalKind) MarshalJSON() ([]byte, error) + func (pt ProposalKind) String() string + type RefundHTLTMsg struct + From types.AccAddress + SwapID types.SwapBytes + func NewRefundHTLTMsg(from types.AccAddress, swapID []byte) RefundHTLTMsg + func (msg RefundHTLTMsg) GetInvolvedAddresses() []types.AccAddress + func (msg RefundHTLTMsg) GetSignBytes() []byte + func (msg RefundHTLTMsg) GetSigners() []types.AccAddress + func (msg RefundHTLTMsg) Route() string + func (msg RefundHTLTMsg) String() string + func (msg RefundHTLTMsg) Type() string + func (msg RefundHTLTMsg) ValidateBasic() error + type SCChangeParams struct + Description string + SCParams []SCParam + func (s *SCChangeParams) Check() error + type SCParam interface + GetParamAttribute func() (string, bool) + UpdateCheck func() error + type SendMsg struct + Inputs []Input + Outputs []Output + func CreateSendMsg(from types.AccAddress, fromCoins types.Coins, transfers []Transfer) SendMsg + func NewMsgSend(in []Input, out []Output) SendMsg + func (msg SendMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SendMsg) GetSignBytes() []byte + func (msg SendMsg) GetSigners() []types.AccAddress + func (msg SendMsg) Route() string + func (msg SendMsg) Type() string + func (msg SendMsg) ValidateBasic() error + type SetAccountFlagsMsg struct + Flags uint64 + From types.AccAddress + func NewSetAccountFlagsMsg(from types.AccAddress, flags uint64) SetAccountFlagsMsg + func (msg SetAccountFlagsMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SetAccountFlagsMsg) GetSignBytes() []byte + func (msg SetAccountFlagsMsg) GetSigners() []types.AccAddress + func (msg SetAccountFlagsMsg) Route() string + func (msg SetAccountFlagsMsg) String() string + func (msg SetAccountFlagsMsg) Type() string + func (msg SetAccountFlagsMsg) ValidateBasic() error + type SetURIMsg struct + From types.AccAddress + Symbol string + TokenURI string + func NewSetUriMsg(from types.AccAddress, symbol string, tokenURI string) SetURIMsg + func (msg SetURIMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SetURIMsg) GetSignBytes() []byte + func (msg SetURIMsg) GetSigners() []types.AccAddress + func (msg SetURIMsg) Route() string + func (msg SetURIMsg) String() string + func (msg SetURIMsg) Type() string + func (msg SetURIMsg) ValidateBasic() error + type SideChainDelegateMsg struct + Delegation types.Coin + DelegatorAddr types.AccAddress + SideChainId string + ValidatorAddr types.ValAddress + func NewSideChainDelegateMsg(sideChainId string, delAddr types.AccAddress, valAddr types.ValAddress, ...) SideChainDelegateMsg + func (msg SideChainDelegateMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SideChainDelegateMsg) GetSignBytes() []byte + func (msg SideChainDelegateMsg) GetSigners() []types.AccAddress + func (msg SideChainDelegateMsg) Route() string + func (msg SideChainDelegateMsg) Type() string + func (msg SideChainDelegateMsg) ValidateBasic() error + type SideChainDepositMsg struct + Amount types.Coins + Depositer types.AccAddress + ProposalID int64 + SideChainId string + func NewSideChainDepositMsg(depositer types.AccAddress, proposalID int64, amount types.Coins, ...) SideChainDepositMsg + func (msg SideChainDepositMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SideChainDepositMsg) GetSignBytes() []byte + func (msg SideChainDepositMsg) GetSigners() []types.AccAddress + func (msg SideChainDepositMsg) Route() string + func (msg SideChainDepositMsg) String() string + func (msg SideChainDepositMsg) Type() string + func (msg SideChainDepositMsg) ValidateBasic() error + type SideChainRedelegateMsg struct + Amount types.Coin + DelegatorAddr types.AccAddress + SideChainId string + ValidatorDstAddr types.ValAddress + ValidatorSrcAddr types.ValAddress + func NewSideChainRedelegateMsg(sideChainId string, delegatorAddr types.AccAddress, ...) SideChainRedelegateMsg + func (msg SideChainRedelegateMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SideChainRedelegateMsg) GetSignBytes() []byte + func (msg SideChainRedelegateMsg) GetSigners() []types.AccAddress + func (msg SideChainRedelegateMsg) Route() string + func (msg SideChainRedelegateMsg) Type() string + func (msg SideChainRedelegateMsg) ValidateBasic() error + type SideChainSubmitProposalMsg struct + Description string + InitialDeposit types.Coins + ProposalType ProposalKind + Proposer types.AccAddress + SideChainId string + Title string + VotingPeriod time.Duration + func NewSideChainSubmitProposalMsg(title string, description string, proposalType ProposalKind, ...) SideChainSubmitProposalMsg + func (msg SideChainSubmitProposalMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SideChainSubmitProposalMsg) GetSignBytes() []byte + func (msg SideChainSubmitProposalMsg) GetSigners() []types.AccAddress + func (msg SideChainSubmitProposalMsg) Route() string + func (msg SideChainSubmitProposalMsg) String() string + func (msg SideChainSubmitProposalMsg) Type() string + func (msg SideChainSubmitProposalMsg) ValidateBasic() error + type SideChainUndelegateMsg struct + Amount types.Coin + DelegatorAddr types.AccAddress + SideChainId string + ValidatorAddr types.ValAddress + func NewSideChainUndelegateMsg(sideChainId string, delegatorAddr types.AccAddress, valAddr types.ValAddress, ...) SideChainUndelegateMsg + func (msg SideChainUndelegateMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SideChainUndelegateMsg) GetSignBytes() []byte + func (msg SideChainUndelegateMsg) GetSigners() []types.AccAddress + func (msg SideChainUndelegateMsg) Route() string + func (msg SideChainUndelegateMsg) Type() string + func (msg SideChainUndelegateMsg) ValidateBasic() error + type SideChainVoteMsg struct + Option VoteOption + ProposalID int64 + SideChainId string + Voter types.AccAddress + func NewSideChainVoteMsg(voter types.AccAddress, proposalID int64, option VoteOption, ...) SideChainVoteMsg + func (msg SideChainVoteMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SideChainVoteMsg) GetSignBytes() []byte + func (msg SideChainVoteMsg) GetSigners() []types.AccAddress + func (msg SideChainVoteMsg) Route() string + func (msg SideChainVoteMsg) String() string + func (msg SideChainVoteMsg) Type() string + func (msg SideChainVoteMsg) ValidateBasic() error + type SideDowntimeSlashPackage struct + SideChainId uint16 + SideConsAddr []byte + SideHeight uint64 + SideTimestamp uint64 + type SlashParams struct + DoubleSignSlashAmount int64 + DoubleSignUnbondDuration time.Duration + DowntimeSlashAmount int64 + DowntimeSlashFee int64 + DowntimeUnbondDuration time.Duration + MaxEvidenceAge time.Duration + MinSignedPerWindow types.Dec + SignedBlocksWindow int64 + SlashFractionDoubleSign types.Dec + SlashFractionDowntime types.Dec + SubmitterReward int64 + TooLowDelUnbondDuration time.Duration + func (p *SlashParams) GetParamAttribute() (string, bool) + func (p *SlashParams) UpdateCheck() error + type SmartChainAddress [20]byte + func NewSmartChainAddress(addr string) SmartChainAddress + func (addr *SmartChainAddress) SetBytes(b []byte) + func (addr *SmartChainAddress) UnmarshalJSON(input []byte) error + func (addr SmartChainAddress) IsEmpty() bool + func (addr SmartChainAddress) MarshalJSON() ([]byte, error) + func (addr SmartChainAddress) String() string + type StakeParams struct + BondDenom string + MaxValidators uint16 + MinDelegationChange int64 + MinSelfDelegation int64 + UnbondingTime time.Duration + func (p *StakeParams) GetParamAttribute() (string, bool) + func (p *StakeParams) UpdateCheck() error + type Status struct + FinalClaim string + Text StatusText + type StatusText int + const FailedStatusText + const PendingStatusText + const SuccessStatusText + func (text *StatusText) UnmarshalJSON(b []byte) error + func (text StatusText) MarshalJSON() ([]byte, error) + func (text StatusText) String() string + type SubmitProposalMsg struct + Description string + InitialDeposit types.Coins + ProposalType ProposalKind + Proposer types.AccAddress + Title string + VotingPeriod time.Duration + func NewMsgSubmitProposal(title string, description string, proposalType ProposalKind, ...) SubmitProposalMsg + func (msg SubmitProposalMsg) Get(key interface{}) (value interface{}) + func (msg SubmitProposalMsg) GetInvolvedAddresses() []types.AccAddress + func (msg SubmitProposalMsg) GetSignBytes() []byte + func (msg SubmitProposalMsg) GetSigners() []types.AccAddress + func (msg SubmitProposalMsg) Route() string + func (msg SubmitProposalMsg) String() string + func (msg SubmitProposalMsg) Type() string + func (msg SubmitProposalMsg) ValidateBasic() error + type TimeLockMsg struct + Amount types.Coins + Description string + From types.AccAddress + LockTime int64 + func NewTimeLockMsg(from types.AccAddress, description string, amount types.Coins, lockTime int64) TimeLockMsg + func (msg TimeLockMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TimeLockMsg) GetSignBytes() []byte + func (msg TimeLockMsg) GetSigners() []types.AccAddress + func (msg TimeLockMsg) Route() string + func (msg TimeLockMsg) String() string + func (msg TimeLockMsg) Type() string + func (msg TimeLockMsg) ValidateBasic() error + type TimeRelockMsg struct + Amount types.Coins + Description string + From types.AccAddress + Id int64 + LockTime int64 + func NewTimeRelockMsg(from types.AccAddress, id int64, description string, amount types.Coins, ...) TimeRelockMsg + func (msg TimeRelockMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TimeRelockMsg) GetSignBytes() []byte + func (msg TimeRelockMsg) GetSigners() []types.AccAddress + func (msg TimeRelockMsg) Route() string + func (msg TimeRelockMsg) String() string + func (msg TimeRelockMsg) Type() string + func (msg TimeRelockMsg) ValidateBasic() error + type TimeUnlockMsg struct + From types.AccAddress + Id int64 + func NewTimeUnlockMsg(from types.AccAddress, id int64) TimeUnlockMsg + func (msg TimeUnlockMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TimeUnlockMsg) GetSignBytes() []byte + func (msg TimeUnlockMsg) GetSigners() []types.AccAddress + func (msg TimeUnlockMsg) Route() string + func (msg TimeUnlockMsg) String() string + func (msg TimeUnlockMsg) Type() string + func (msg TimeUnlockMsg) ValidateBasic() error + type TinyTokenIssueMsg struct + From types.AccAddress + Mintable bool + Name string + Symbol string + TokenURI string + TotalSupply int64 + func NewTinyTokenIssueMsg(from types.AccAddress, name, symbol string, supply int64, mintable bool, ...) TinyTokenIssueMsg + func (msg TinyTokenIssueMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TinyTokenIssueMsg) GetSignBytes() []byte + func (msg TinyTokenIssueMsg) GetSigners() []types.AccAddress + func (msg TinyTokenIssueMsg) Route() string + func (msg TinyTokenIssueMsg) String() string + func (msg TinyTokenIssueMsg) Type() string + func (msg TinyTokenIssueMsg) ValidateBasic() error + type TokenBurnMsg struct + Amount int64 + From types.AccAddress + Symbol string + func NewTokenBurnMsg(from types.AccAddress, symbol string, amount int64) TokenBurnMsg + func (msg TokenBurnMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TokenBurnMsg) GetSignBytes() []byte + func (msg TokenBurnMsg) GetSigners() []types.AccAddress + func (msg TokenBurnMsg) Route() string + func (msg TokenBurnMsg) String() string + func (msg TokenBurnMsg) Type() string + func (msg TokenBurnMsg) ValidateBasic() error + type TokenFreezeMsg struct + Amount int64 + From types.AccAddress + Symbol string + func NewFreezeMsg(from types.AccAddress, symbol string, amount int64) TokenFreezeMsg + func (msg TokenFreezeMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TokenFreezeMsg) GetSignBytes() []byte + func (msg TokenFreezeMsg) GetSigners() []types.AccAddress + func (msg TokenFreezeMsg) Route() string + func (msg TokenFreezeMsg) String() string + func (msg TokenFreezeMsg) Type() string + func (msg TokenFreezeMsg) ValidateBasic() error + type TokenIssueMsg struct + From types.AccAddress + Mintable bool + Name string + Symbol string + TotalSupply int64 + func NewTokenIssueMsg(from types.AccAddress, name, symbol string, supply int64, mintable bool) TokenIssueMsg + func (msg TokenIssueMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TokenIssueMsg) GetSignBytes() []byte + func (msg TokenIssueMsg) GetSigners() []types.AccAddress + func (msg TokenIssueMsg) Route() string + func (msg TokenIssueMsg) String() string + func (msg TokenIssueMsg) Type() string + func (msg TokenIssueMsg) ValidateBasic() error + type TokenUnfreezeMsg struct + Amount int64 + From types.AccAddress + Symbol string + func NewUnfreezeMsg(from types.AccAddress, symbol string, amount int64) TokenUnfreezeMsg + func (msg TokenUnfreezeMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TokenUnfreezeMsg) GetSignBytes() []byte + func (msg TokenUnfreezeMsg) GetSigners() []types.AccAddress + func (msg TokenUnfreezeMsg) Route() string + func (msg TokenUnfreezeMsg) String() string + func (msg TokenUnfreezeMsg) Type() string + func (msg TokenUnfreezeMsg) ValidateBasic() error + type Transfer struct + Coins types.Coins + ToAddr types.AccAddress + type TransferInSynPackage struct + Amounts []*big.Int + Bep2TokenSymbol [32]byte + ContractAddress [20]byte + ExpireTime uint64 + ReceiverAddresses [][]byte + RefundAddresses [][20]byte + type TransferOutMsg struct + Amount sdk.Coin + ExpireTime int64 + From sdk.AccAddress + To SmartChainAddress + func NewTransferOutMsg(from sdk.AccAddress, to SmartChainAddress, amount sdk.Coin, expireTime int64) TransferOutMsg + func (msg TransferOutMsg) GetInvolvedAddresses() []sdk.AccAddress + func (msg TransferOutMsg) GetSignBytes() []byte + func (msg TransferOutMsg) GetSigners() []sdk.AccAddress + func (msg TransferOutMsg) Route() string + func (msg TransferOutMsg) String() string + func (msg TransferOutMsg) Type() string + func (msg TransferOutMsg) ValidateBasic() error + type TransferOutRefundPackage struct + Bep2TokenSymbol [32]byte + RefundAddr []byte + RefundAmount *big.Int + RefundReason uint32 + type TransferOutSynPackage struct + Amount *big.Int + Bep2TokenSymbol [32]byte + ContractAddress [20]byte + ExpireTime uint64 + Recipient [20]byte + RefundAddress []byte + type TransferOwnershipMsg struct + From types.AccAddress + NewOwner types.AccAddress + Symbol string + func NewTransferOwnershipMsg(from types.AccAddress, symbol string, newOwner types.AccAddress) TransferOwnershipMsg + func (msg TransferOwnershipMsg) GetInvolvedAddresses() []types.AccAddress + func (msg TransferOwnershipMsg) GetSignBytes() []byte + func (msg TransferOwnershipMsg) GetSigners() []types.AccAddress + func (msg TransferOwnershipMsg) Route() string + func (msg TransferOwnershipMsg) String() string + func (msg TransferOwnershipMsg) Type() string + func (msg TransferOwnershipMsg) ValidateBasic() error + type UnbindMsg struct + From sdk.AccAddress + Symbol string + func NewUnbindMsg(from sdk.AccAddress, symbol string) UnbindMsg + func (msg UnbindMsg) GetInvolvedAddresses() []sdk.AccAddress + func (msg UnbindMsg) GetSignBytes() []byte + func (msg UnbindMsg) GetSigners() []sdk.AccAddress + func (msg UnbindMsg) Route() string + func (msg UnbindMsg) String() string + func (msg UnbindMsg) Type() string + func (msg UnbindMsg) ValidateBasic() error + type VoteMsg struct + Option VoteOption + ProposalID int64 + Voter types.AccAddress + func NewMsgVote(voter types.AccAddress, proposalID int64, option VoteOption) VoteMsg + func (msg VoteMsg) Get(key interface{}) (value interface{}) + func (msg VoteMsg) GetInvolvedAddresses() []types.AccAddress + func (msg VoteMsg) GetSignBytes() []byte + func (msg VoteMsg) GetSigners() []types.AccAddress + func (msg VoteMsg) Route() string + func (msg VoteMsg) String() string + func (msg VoteMsg) Type() string + func (msg VoteMsg) ValidateBasic() error + type VoteOption byte + const OptionAbstain + const OptionEmpty + const OptionNo + const OptionNoWithVeto + const OptionYes + func VoteOptionFromString(str string) (VoteOption, error) + func (vo *VoteOption) Unmarshal(data []byte) error + func (vo *VoteOption) UnmarshalJSON(data []byte) error + func (vo VoteOption) Format(s fmt.State, verb rune) + func (vo VoteOption) Marshal() ([]byte, error) + func (vo VoteOption) MarshalJSON() ([]byte, error) + func (vo VoteOption) String() string