Documentation ¶
Index ¶
- Constants
- Variables
- func SetChainConfig()
- type AccountInfoMsg
- type AccountInfoResponse
- type AppliedMsg
- type AuthzExecMsg
- type AuthzGrantMsg
- type AuthzRevokeMsg
- type BankBalancesMsg
- type BankSendMsg
- type BlockMsg
- type BlockResponse
- type CallSolContractMsg
- type CallSolContractResponse
- type CancelSoftwareUpgradeMsg
- type ClearContractAdminMsg
- type CodeInfoMsg
- type CommunityPoolSpendMsg
- type ContractHistoryMsg
- type ContractInfoMsg
- type ContractStateAllMsg
- type CreateValidatorMsg
- type DecodeTxMsg
- type DelegateMsg
- type DenomMetadataMsg
- type DeploySolContractMsg
- type DownloadMsg
- type EditValidatorMsg
- type EncodeTxMsg
- type EstimateGasResponse
- type EthAccountsResponse
- type EthBlockNumberResponse
- type EthChainIdResponse
- type EthCoinbaseResponse
- type EthGetBlockTransactionCountMsg
- type EthGetBlockTransactionCountResponse
- type EthGetFilterChangesMsg
- type EthGetFilterChangesResponse
- type EthGetFilterLogsMsg
- type EthGetFilterLogsResponse
- type EthGetLogsMsg
- type EthGetLogsResponse
- type EthNewBlockFilterResponse
- type EthNewFilterMsg
- type EthNewFilterResponse
- type EthNewPendingTransactionFilterResponse
- type EthProtocolVersionResponse
- type EthSyncingResponse
- type EthUninstallFilterMsg
- type EthUninstallFilterResponse
- type ExecuteMsg
- type FeeGrantMsg
- type FundCommunityPoolMsg
- type FundFeeCollectorMsg
- type GetBlockByHashHeightMsg
- type GetTransactionByBlockHashAndIndexMsg
- type GetTransactionByHashMsg
- type GetTransactionReceiptMsg
- type GovDepositMsg
- type GovParamsMsg
- type HistoricalInfoMsg
- type IbcChannelClientStateMsg
- type IbcChannelConnectionsMsg
- type IbcChannelMsg
- type IbcChannelNextSequenceMsg
- type IbcChannelPacketAckMsg
- type IbcChannelPacketCommitmentsMsg
- type IbcChannelPacketReceiptMsg
- type IbcChannelUnreceivedAcksMsg
- type IbcChannelUnreceivedPacketsMsg
- type IbcClientConnectionsMsg
- type IbcClientConsensusStateHeightsMsg
- type IbcClientConsensusStateMsg
- type IbcClientConsensusStatesMsg
- type IbcClientStateMsg
- type IbcClientStatusMsg
- type IbcConnectionMsg
- type IbcDenomHashMsg
- type IbcDenomTraceMsg
- type IbcEscrowAddressMsg
- type InstantiateMsg
- type InvariantBrokenMsg
- type InvokeSolContractMsg
- type ListContractByCodeMsg
- type MigrateMsg
- type NetListeningResponse
- type NetPeerCountResponse
- type NetVersionResponse
- type Pagination
- type ParamChangeMsg
- type ProposerMsg
- type QueryAccAddressMsg
- type QueryAuthzGrantMsg
- type QueryDelegationMsg
- type QueryDepositMsg
- type QueryDistCommissionMsg
- type QueryDistRewardsMsg
- type QueryDistSlashesMsg
- type QueryEvidenceMsg
- type QueryFeeGrantMsg
- type QueryModulesVersionMsg
- type QueryMsg
- type QueryProposalMsg
- type QueryProposalsMsg
- type QueryRedelegationMsg
- type QueryTxMsg
- type QueryTxsByEventsMsg
- type QueryUnbondingDelegationMsg
- type QueryValidatorMsg
- type QueryVoteMsg
- type RedelegateMsg
- type RevokeFeeGrantMsg
- type SendCoinMsg
- type SetContractAdminMsg
- type SetWithdrawAddrMsg
- type SignTxMsg
- type SigningInfoMsg
- type SoftwareUpgradeMsg
- type StoreMsg
- type SubmitProposalMsg
- type SubspaceMsg
- type SuggestGasPriceResponse
- type TallyMsg
- type TotalMsg
- type TxMultiSignMsg
- type TxRes
- type UnbondMsg
- type ValidateSignaturesMsg
- type ValidatorOutstandingRewardsMsg
- type ValidatorSetMsg
- type VoteMsg
- type Web3ClientVersionResponse
- type Web3Sha3Msg
- type Web3Sha3Response
- type WeightedVoteMsg
- type WithdrawRewardsMsg
Constants ¶
View Source
const ( // New mnemonic entropy size DefaultEntropySize = 256 // Xpla base denomination XplaDenom = "axpla" // Xpla default key algorithm name DefaultXplaKeyAlgo = "eth_secp256k1" // Xpla tool default name XplaToolDefaultName = "xpla" // query method type QueryGrpc = 1 QueryLcd = 2 DefaultGasLimit = "250000" DefaultGasPrice = "850000000000" DefaultGasAdjustment = "1.75" DefaultAccNum = 0 DefaultAccSeq = 0 )
Variables ¶
View Source
var ( DefaultTokens = sdk.TokensFromConsensusPower(100, sdk.DefaultPowerReduction) DefaultAmount = DefaultTokens.String() + XplaDenom DefaultCommissionRate = "0.1" DefaultCommissionMaxRate = "0.2" DefaultCommissionMaxChangeRate = "0.01" DefaultMinSelfDelegation = "1" DefaultHomeDir = ".xpla" Memo string )
Functions ¶
func SetChainConfig ¶ added in v0.0.4
func SetChainConfig()
Types ¶
type AccountInfoMsg ¶
type AccountInfoMsg struct {
Account string
}
type AccountInfoResponse ¶
type AccountInfoResponse struct { Account string `json:"account"` Bech32Account string `json:"bech32_account"` Balance *big.Int `json:"balance"` Nonce uint64 `json:"nonce"` Storage string `json:"storage"` Code string `json:"code"` PendingBalance *big.Int `json:"pending_balance"` PendingNonce uint64 `json:"pending_nonce"` PendingStorage string `json:"pending_storage"` PendingCode string `json:"pending_code"` PendingTransactionCount uint `json:"pending_transaction_count"` }
type AppliedMsg ¶
type AppliedMsg struct {
UpgradeName string
}
type AuthzExecMsg ¶
type AuthzGrantMsg ¶
type AuthzRevokeMsg ¶
type BankBalancesMsg ¶
type BankSendMsg ¶
type BlockResponse ¶
type CallSolContractMsg ¶
type CallSolContractResponse ¶
type CallSolContractResponse struct {
ContractResponse []string `json:"contract_response"`
}
Responses
type ClearContractAdminMsg ¶
type ClearContractAdminMsg struct {
ContractAddress string
}
type CodeInfoMsg ¶
type CodeInfoMsg struct {
CodeId string
}
type CommunityPoolSpendMsg ¶
type ContractHistoryMsg ¶
type ContractHistoryMsg struct {
ContractAddress string
}
type ContractInfoMsg ¶
type ContractInfoMsg struct {
ContractAddress string
}
type ContractStateAllMsg ¶
type ContractStateAllMsg struct {
ContractAddress string
}
type CreateValidatorMsg ¶
type CreateValidatorMsg struct { NodeKey string PrivValidatorKey string ValidatorAddress string HomeDir string Website string SecurityContact string Identity string Moniker string Amount string Details string CommissionRate string CommissionMaxRate string CommissionMaxChangeRate string MinSelfDelegation string ServerIp string }
type DecodeTxMsg ¶
type DecodeTxMsg struct {
EncodedByteString string
}
type DelegateMsg ¶
type DenomMetadataMsg ¶
type DenomMetadataMsg struct {
Denom string
}
type DeploySolContractMsg ¶
type DownloadMsg ¶
type EditValidatorMsg ¶
type EncodeTxMsg ¶
type EncodeTxMsg struct {
FileName string
}
type EstimateGasResponse ¶ added in v0.0.6
type EstimateGasResponse struct {
EstimateGas uint64 `json:"eth_estimateGas"`
}
type EthAccountsResponse ¶ added in v0.0.6
type EthAccountsResponse struct {
EthAccounts []string `json:"eth_accounts"`
}
type EthBlockNumberResponse ¶
type EthBlockNumberResponse struct {
BlockNumber uint64 `json:"block_number"`
}
type EthChainIdResponse ¶
type EthCoinbaseResponse ¶ added in v0.0.6
type EthCoinbaseResponse struct {
Coinbase string `json:"eth_coinbase"`
}
type EthGetBlockTransactionCountMsg ¶ added in v0.0.6
type EthGetBlockTransactionCountResponse ¶ added in v0.0.6
type EthGetFilterChangesMsg ¶ added in v0.0.6
type EthGetFilterChangesMsg struct {
FilterId string
}
type EthGetFilterChangesResponse ¶ added in v0.0.6
type EthGetFilterChangesResponse struct {
GetFilterChanges []string `json:"eth_getFilterChanges"`
}
type EthGetFilterLogsMsg ¶ added in v0.0.6
type EthGetFilterLogsMsg struct {
FilterId string
}
type EthGetFilterLogsResponse ¶ added in v0.0.6
type EthGetFilterLogsResponse struct {
GetFilterLogs []string `json:"eth_getFilterLogs"`
}
type EthGetLogsMsg ¶ added in v0.0.6
type EthGetLogsResponse ¶ added in v0.0.6
type EthGetLogsResponse struct {
GetLogs interface{} `json:"eth_getLogs"`
}
type EthNewBlockFilterResponse ¶ added in v0.0.6
type EthNewBlockFilterResponse struct {
NewBlockFilter interface{} `json:"eth_newBlockFilter"`
}
type EthNewFilterMsg ¶ added in v0.0.6
type EthNewFilterResponse ¶ added in v0.0.6
type EthNewFilterResponse struct {
NewFilter interface{} `json:"eth_newFilter"`
}
type EthNewPendingTransactionFilterResponse ¶ added in v0.0.6
type EthNewPendingTransactionFilterResponse struct {
NewPendingTransactionFilter interface{} `json:"eth_newPendingTransactionFilter"`
}
type EthProtocolVersionResponse ¶ added in v0.0.6
type EthSyncingResponse ¶ added in v0.0.6
type EthSyncingResponse struct {
EthSyncing bool `json:"eth_syncing"`
}
type EthUninstallFilterMsg ¶ added in v0.1.0
type EthUninstallFilterMsg struct {
FilterId string
}
type EthUninstallFilterResponse ¶ added in v0.0.6
type EthUninstallFilterResponse struct {
UninstallFilter bool `json:"eth_uninstallFilter"`
}
type ExecuteMsg ¶
type FeeGrantMsg ¶ added in v0.0.5
type FundCommunityPoolMsg ¶
type FundCommunityPoolMsg struct {
Amount string
}
type FundFeeCollectorMsg ¶ added in v0.0.3
type GetBlockByHashHeightMsg ¶
type GetTransactionByBlockHashAndIndexMsg ¶ added in v0.0.6
type GetTransactionByHashMsg ¶
type GetTransactionByHashMsg struct {
TxHash string
}
type GetTransactionReceiptMsg ¶ added in v0.0.6
type GetTransactionReceiptMsg struct {
TransactionHash string
}
type GovDepositMsg ¶
type GovParamsMsg ¶
type GovParamsMsg struct {
ParamType string
}
type HistoricalInfoMsg ¶
type HistoricalInfoMsg struct {
Height string
}
type IbcChannelClientStateMsg ¶ added in v0.0.10
type IbcChannelConnectionsMsg ¶ added in v0.0.10
type IbcChannelConnectionsMsg struct {
ConnectionId string
}
type IbcChannelMsg ¶ added in v0.0.10
type IbcChannelNextSequenceMsg ¶ added in v0.0.10
type IbcChannelPacketAckMsg ¶ added in v0.0.10
type IbcChannelPacketCommitmentsMsg ¶ added in v0.0.10
type IbcChannelPacketReceiptMsg ¶ added in v0.0.10
type IbcChannelUnreceivedAcksMsg ¶ added in v0.0.10
type IbcChannelUnreceivedPacketsMsg ¶ added in v0.0.10
type IbcClientConnectionsMsg ¶ added in v0.0.10
type IbcClientConnectionsMsg struct {
ClientId string
}
type IbcClientConsensusStateHeightsMsg ¶ added in v0.0.10
type IbcClientConsensusStateHeightsMsg struct {
ClientId string
}
type IbcClientConsensusStateMsg ¶ added in v0.0.10
type IbcClientConsensusStatesMsg ¶ added in v0.0.10
type IbcClientConsensusStatesMsg struct {
ClientId string
}
type IbcClientStateMsg ¶ added in v0.0.10
type IbcClientStateMsg struct {
ClientId string
}
type IbcClientStatusMsg ¶ added in v0.0.10
type IbcClientStatusMsg struct {
ClientId string
}
type IbcConnectionMsg ¶ added in v0.0.10
type IbcConnectionMsg struct {
ConnectionId string
}
type IbcDenomHashMsg ¶ added in v0.0.10
type IbcDenomHashMsg struct {
Trace string
}
type IbcDenomTraceMsg ¶ added in v0.0.10
type IbcDenomTraceMsg struct {
HashDenom string
}
type IbcEscrowAddressMsg ¶ added in v0.0.10
type InstantiateMsg ¶
type InvariantBrokenMsg ¶
type InvokeSolContractMsg ¶
type ListContractByCodeMsg ¶
type ListContractByCodeMsg struct {
CodeId string
}
type MigrateMsg ¶
type NetListeningResponse ¶ added in v0.0.6
type NetListeningResponse struct {
NetListening bool `json:"net_listening"`
}
type NetPeerCountResponse ¶ added in v0.0.6
type NetPeerCountResponse struct {
NetPeerCount int `json:"net_peerCount"`
}
type NetVersionResponse ¶ added in v0.0.6
type NetVersionResponse struct {
NetVersion string `json:"net_version"`
}
type Pagination ¶
type ParamChangeMsg ¶
type ProposerMsg ¶
type ProposerMsg struct {
ProposalID string
}
type QueryAccAddressMsg ¶
type QueryAccAddressMsg struct {
Address string
}
type QueryAuthzGrantMsg ¶
type QueryDelegationMsg ¶
type QueryDepositMsg ¶
type QueryDistCommissionMsg ¶
type QueryDistCommissionMsg struct {
ValidatorAddr string
}
type QueryDistRewardsMsg ¶
type QueryDistSlashesMsg ¶
type QueryEvidenceMsg ¶
type QueryEvidenceMsg struct {
Hash string
}
type QueryFeeGrantMsg ¶ added in v0.0.5
type QueryModulesVersionMsg ¶
type QueryModulesVersionMsg struct {
ModuleName string
}
type QueryProposalMsg ¶
type QueryProposalMsg struct {
ProposalID string
}
type QueryProposalsMsg ¶
type QueryRedelegationMsg ¶
type QueryTxMsg ¶
type QueryTxsByEventsMsg ¶
type QueryValidatorMsg ¶
type QueryValidatorMsg struct {
ValidatorAddr string
}
type QueryVoteMsg ¶
type RedelegateMsg ¶
type RevokeFeeGrantMsg ¶ added in v0.0.5
type SendCoinMsg ¶
type SetContractAdminMsg ¶
type SetWithdrawAddrMsg ¶ added in v0.1.3
type SetWithdrawAddrMsg struct {
WithdrawAddr string
}
type SigningInfoMsg ¶
type SoftwareUpgradeMsg ¶
type SubmitProposalMsg ¶
type SubspaceMsg ¶
type SuggestGasPriceResponse ¶
type TxMultiSignMsg ¶
type ValidateSignaturesMsg ¶
type ValidatorOutstandingRewardsMsg ¶
type ValidatorOutstandingRewardsMsg struct {
ValidatorAddr string
}
type ValidatorSetMsg ¶ added in v0.0.12
type ValidatorSetMsg struct {
Height string
}
type Web3ClientVersionResponse ¶ added in v0.0.6
type Web3ClientVersionResponse struct {
Web3ClientVersion string `json:"web3_clientVersion"`
}
type Web3Sha3Msg ¶ added in v0.0.6
type Web3Sha3Msg struct {
InputParam string
}
type Web3Sha3Response ¶ added in v0.0.6
type Web3Sha3Response struct {
Web3Sha3 string `json:"web3_sha3"`
}
type WeightedVoteMsg ¶
type WithdrawRewardsMsg ¶
Source Files ¶
- chain.go
- core_auth_msg.go
- core_authz_msg.go
- core_bank_msg.go
- core_base_msg.go
- core_crisis_msg.go
- core_distribution_msg.go
- core_evidence_msg.go
- core_evm_msg.go
- core_feegrant_msg.go
- core_gov_msg.go
- core_ibc_msg.go
- core_params_msg.go
- core_reward_msg.go
- core_slashing_msg.go
- core_staking_msg.go
- core_upgrade_msg.go
- core_wasm_msg.go
- pagination.go
- response.go
- types.go
Click to show internal directories.
Click to hide internal directories.