Versions in this module Expand all Collapse all v0 v0.1.0 Feb 19, 2020 v0.0.0 Feb 6, 2020 Changes in this version + const AltTestCoins + const AltTestEthereumAddress + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + const TestAddress + const TestBridgeContractAddress + const TestCoins + const TestEthereumAddress + const TestEthereumChainID + const TestNonce + const TestSymbol + const TestTokenContractAddress + const TestValidator + var AttributeKeyAmount = "amount" + var AttributeKeyCosmosReceiver = "cosmos_receiver" + var AttributeKeyEthereumSender = "ethereum_sender" + var AttributeKeyStatus = "status" + var AttributeValueCategory = ModuleName + var EventTypeCreateClaim = "create_claim" + var EventTypeProphecyStatus = "prophecy_status" + func CreateOracleClaimFromEthClaim(cdc *codec.Codec, ethClaim EthBridgeClaim) (oracle.Claim, error) + func ErrInvalidEthAddress(codespace sdk.CodespaceType) sdk.Error + func ErrInvalidEthNonce(codespace sdk.CodespaceType) sdk.Error + func ErrInvalidEthSymbol(codespace sdk.CodespaceType) sdk.Error + func ErrJSONMarshalling(codespace sdk.CodespaceType) sdk.Error + func RegisterCodec(cdc *codec.Codec) + type CodeType = sdk.CodeType + const CodeErrJSONMarshalling + const CodeInvalidEthAddress + const CodeInvalidEthNonce + const CodeInvalidEthSymbol + const DefaultCodespace + type EthBridgeClaim struct + Amount sdk.Coins + BridgeContractAddress EthereumAddress + CosmosReceiver sdk.AccAddress + EthereumChainID int + EthereumSender EthereumAddress + Nonce int + Symbol string + TokenContractAddress EthereumAddress + ValidatorAddress sdk.ValAddress + func CreateEthClaimFromOracleString(ethereumChainID int, bridgeContract EthereumAddress, nonce int, symbol string, ...) (EthBridgeClaim, sdk.Error) + func CreateTestEthClaim(t *testing.T, testContractAddress EthereumAddress, ...) EthBridgeClaim + func MapOracleClaimsToEthBridgeClaims(ethereumChainID int, bridgeContract EthereumAddress, nonce int, symbol string, ...) ([]EthBridgeClaim, sdk.Error) + func NewEthBridgeClaim(ethereumChainID int, bridgeContract EthereumAddress, nonce int, symbol string, ...) EthBridgeClaim + type EthereumAddress gethCommon.Address + func NewEthereumAddress(address string) EthereumAddress + func (ethAddr *EthereumAddress) UnmarshalJSON(input []byte) error + func (ethAddr EthereumAddress) MarshalJSON() ([]byte, error) + func (ethAddr EthereumAddress) String() string + type MsgCreateEthBridgeClaim EthBridgeClaim + func CreateTestEthMsg(t *testing.T, validatorAddress sdk.ValAddress) MsgCreateEthBridgeClaim + func NewMsgCreateEthBridgeClaim(ethBridgeClaim EthBridgeClaim) MsgCreateEthBridgeClaim + func (msg MsgCreateEthBridgeClaim) GetSignBytes() []byte + func (msg MsgCreateEthBridgeClaim) GetSigners() []sdk.AccAddress + func (msg MsgCreateEthBridgeClaim) Route() string + func (msg MsgCreateEthBridgeClaim) Type() string + func (msg MsgCreateEthBridgeClaim) ValidateBasic() sdk.Error + type OracleClaimContent struct + Amount sdk.Coins + CosmosReceiver sdk.AccAddress + func CreateOracleClaimFromOracleString(oracleClaimString string) (OracleClaimContent, sdk.Error) + func NewOracleClaimContent(cosmosReceiver sdk.AccAddress, amount sdk.Coins) OracleClaimContent + type QueryEthProphecyParams struct + BridgeContractAddress EthereumAddress + EthereumChainID int + EthereumSender EthereumAddress + Nonce int + Symbol string + TokenContractAddress EthereumAddress + func NewQueryEthProphecyParams(ethereumChainID int, bridgeContractAddress EthereumAddress, nonce int, ...) QueryEthProphecyParams + type QueryEthProphecyResponse struct + Claims []EthBridgeClaim + ID string + Status oracle.Status + func CreateTestQueryEthProphecyResponse(cdc *codec.Codec, t *testing.T, validatorAddress sdk.ValAddress) QueryEthProphecyResponse + func NewQueryEthProphecyResponse(id string, status oracle.Status, claims []EthBridgeClaim) QueryEthProphecyResponse + func (response QueryEthProphecyResponse) String() string