Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2023 Changes in this version + const EthereumPrivateKey + const GasLimit + const TestAddrHex + const TestBridgeContractAddress + const TestBurnClaimType + const TestCosmosAddress1 + const TestCosmosAddress2 + const TestCosmosAddressSequence + const TestCosmosValAddress + const TestEthTokenAddress + const TestEthereumAddress1 + const TestEthereumAddress2 + const TestEthereumChainID + const TestExpectedMessage + const TestExpectedSignature + const TestLockClaimType + const TestNonce + const TestNullAddress + const TestOtherAddress + const TestPrivHex + const TestProphecyID + const TestSymbol + func AttributesToEthereumBridgeClaim(attributes []abci.EventAttribute) (types.EthereumBridgeClaim, error) + func BurnLockEventToCosmosMsg(claimType types.Event, attributes []abci.EventAttribute, ...) (types.CosmosMsg, error) + func CreateCosmosMsgAttributes(t *testing.T, claimType types.Event) []abci.EventAttribute + func CreateCosmosMsgIncompleteAttributes(t *testing.T, claimType types.Event) []abci.EventAttribute + func CreateEthereumBridgeClaimAttributes(t *testing.T) []abci.EventAttribute + func CreateInvalidCosmosSenderEthereumBridgeClaimAttributes(t *testing.T) []abci.EventAttribute + func CreateInvalidEthereumSenderEthereumBridgeClaimAttributes(t *testing.T) []abci.EventAttribute + func CreateInvalidSequenceEthereumBridgeClaimAttributes(t *testing.T) []abci.EventAttribute + func CreateTestCosmosMsg(t *testing.T, claimType types.Event) types.CosmosMsg + func CreateTestLogEthereumEvent(t *testing.T) types.EthereumEvent + func CreateTestProphecyClaimEvent(t *testing.T) types.ProphecyClaimEvent + func EthereumEventToEthBridgeClaim(valAddr sdk.ValAddress, event types.EthereumEvent, ...) (ethbridge.EthBridgeClaim, error) + func GenerateClaimMessage(event types.ProphecyClaimEvent) []byte + func GetAddressFromBridgeRegistry(client *ethclient.Client, registry common.Address, target ContractRegistry, ...) (common.Address, error) + func InitRelayConfig(provider string, registry common.Address, event types.Event, ...) (*ethclient.Client, *bind.TransactOpts, common.Address, error) + func LoadPrivateKey() (key *ecdsa.PrivateKey, err error) + func LoadSender() (address common.Address, err error) + func PrefixMsg(msg []byte) []byte + func RelayProphecyClaimToEthereum(claim types.CosmosMsg, sugaredLogger *zap.SugaredLogger, ...) error + func RelayToCosmos(factory tx.Factory, claims []*types.EthBridgeClaim, cliCtx client.Context, ...) error + func SignClaim(msg []byte, key *ecdsa.PrivateKey) ([]byte, error) + type ContractRegistry byte + const BridgeBank + const CosmosBridge + const Oracle + const Valset + func (d ContractRegistry) String() string