Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2023 Changes in this version + const Alt2TestEthereumAddress + const AltTestCoinsAmount + const AltTestCoinsSymbol + const AltTestEthereumAddress + const CethSymbol + const FlagEthereumChainID + const FlagTokenContractAddr + const ModuleName + const PeggedCoinPrefix + const PeggyTokenKey + const QuerierRoute + const QueryBlacklist + const QueryEthProphecy + const QueryPause + const RouterKey + const StoreKey + const TestAddress + const TestBridgeContractAddress + const TestCoinIntAmount + const TestCoinsLockedSymbol + const TestCoinsSymbol + const TestEthereumAddress + const TestEthereumChainID + const TestNonce + const TestTokenContractAddress + const TestValidator + var AltTestCoinsAmountSDKInt = sdk.NewInt(12) + var AttributeKeyAmount = "amount" + var AttributeKeyCethAmount = "ceth_amount" + var AttributeKeyCethReceiverAccount = "ceth_receiver_account" + var AttributeKeyClaimType = "claim_type" + var AttributeKeyCoins = "coins" + var AttributeKeyCosmosReceiver = "cosmos_receiver" + var AttributeKeyCosmosSender = "cosmos_sender" + var AttributeKeyCosmosSenderSequence = "cosmos_sender_sequence" + var AttributeKeyEthereumChainID = "ethereum_chain_id" + var AttributeKeyEthereumReceiver = "ethereum_receiver" + var AttributeKeyEthereumSender = "ethereum_sender" + var AttributeKeyEthereumSenderNonce = "ethereum_sender_nonce" + var AttributeKeyOperationType = "operation_type" + var AttributeKeyStatus = "status" + var AttributeKeySymbol = "symbol" + var AttributeKeyTokenContract = "token_contract_address" + var AttributeKeyValidator = "validator" + var AttributeValueCategory = ModuleName + var BlacklistPrefix = []byte + var CethReceiverAccountPrefix = []byte + var ClaimType_name = map[int32]string + var ClaimType_value = map[string]int32 + var ErrCethAmount = sdkerrors.Register(ModuleName, 10, "not enough ceth provided") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidAmount = sdkerrors.Register(ModuleName, 7, "amount must be a valid integer > 0") + var ErrInvalidBurnSymbol = sdkerrors.Register(ModuleName, 9, ...) + var ErrInvalidClaimType = sdkerrors.Register(ModuleName, 5, "invalid claim type provided") + var ErrInvalidEthAddress = sdkerrors.Register(ModuleName, 2, ...) + var ErrInvalidEthNonce = sdkerrors.Register(ModuleName, 1, "invalid ethereum nonce provided, must be >= 0") + var ErrInvalidEthSymbol = sdkerrors.Register(ModuleName, 4, ...) + var ErrInvalidEthereumChainID = sdkerrors.Register(ModuleName, 6, "invalid ethereum chain id") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidSymbol = sdkerrors.Register(ModuleName, 8, "symbol must be 1 character or more") + var ErrJSONMarshalling = sdkerrors.Register(ModuleName, 3, "error marshalling JSON for this claim") + var ErrNotEnoughPermissions = sdkerrors.Register(ModuleName, 11, "account does not have enough permissions") + var ErrPaused = sdkerrors.Register(ModuleName, 12, "transaction is paused") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var EventTypeBurn = "burn" + var EventTypeCreateClaim = "create_claim" + var EventTypeLock = "lock" + var EventTypeProphecyStatus = "prophecy_status" + var EventTypeUpdateWhiteListValidator = "update_whitelist_validator" + var ModuleCdc = codec.NewAminoCodec(amino) + var PausePrefix = []byte + var PeggyTokenKeyPrefix = []byte + var TestCoinsAmount = sdk.NewInt(10) + func CreateOracleClaimFromEthClaim(ethClaim *EthBridgeClaim) (oracletypes.Claim, error) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AccountKeeper interface + GetAccount func(sdk.Context, sdk.AccAddress) authtypes.AccountI + SetModuleAccount func(sdk.Context, authtypes.ModuleAccountI) + type AdminKeeper interface + IsAdminAccount func(ctx sdk.Context, moduleName admintypes.AdminType, adminAccount sdk.AccAddress) bool + type BankKeeper interface + BurnCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type ClaimType int32 + const ClaimType_CLAIM_TYPE_BURN + const ClaimType_CLAIM_TYPE_LOCK + const ClaimType_CLAIM_TYPE_UNSPECIFIED + func (ClaimType) EnumDescriptor() ([]byte, []int) + func (x ClaimType) String() string + type EthBridgeClaim struct + Amount github_com_cosmos_cosmos_sdk_types.Int + BridgeContractAddress string + ClaimType ClaimType + CosmosReceiver string + EthereumChainId int64 + EthereumSender string + Nonce int64 + Symbol string + TokenContractAddress string + ValidatorAddress string + func CreateEthClaimFromOracleString(ethereumChainID int64, bridgeContract EthereumAddress, nonce int64, ...) (*EthBridgeClaim, error) + func CreateTestEthClaim(t *testing.T, testContractAddress EthereumAddress, ...) *EthBridgeClaim + func MapOracleClaimsToEthBridgeClaims(ethereumChainID int64, bridgeContract EthereumAddress, nonce int64, ...) ([]*EthBridgeClaim, error) + func NewEthBridgeClaim(ethereumChainID int64, bridgeContract EthereumAddress, nonce int64, ...) *EthBridgeClaim + func (*EthBridgeClaim) Descriptor() ([]byte, []int) + func (*EthBridgeClaim) ProtoMessage() + func (m *EthBridgeClaim) GetBridgeContractAddress() string + func (m *EthBridgeClaim) GetClaimType() ClaimType + func (m *EthBridgeClaim) GetCosmosReceiver() string + func (m *EthBridgeClaim) GetEthereumChainId() int64 + func (m *EthBridgeClaim) GetEthereumSender() string + func (m *EthBridgeClaim) GetNonce() int64 + func (m *EthBridgeClaim) GetSymbol() string + func (m *EthBridgeClaim) GetTokenContractAddress() string + func (m *EthBridgeClaim) GetValidatorAddress() string + func (m *EthBridgeClaim) Marshal() (dAtA []byte, err error) + func (m *EthBridgeClaim) MarshalTo(dAtA []byte) (int, error) + func (m *EthBridgeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EthBridgeClaim) Reset() + func (m *EthBridgeClaim) Size() (n int) + func (m *EthBridgeClaim) String() string + func (m *EthBridgeClaim) Unmarshal(dAtA []byte) error + func (m *EthBridgeClaim) XXX_DiscardUnknown() + func (m *EthBridgeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EthBridgeClaim) XXX_Merge(src proto.Message) + func (m *EthBridgeClaim) XXX_Size() int + func (m *EthBridgeClaim) XXX_Unmarshal(b []byte) error + 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 GenesisState struct + CethReceiveAccount string + PeggyTokens []string + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetCethReceiveAccount() string + func (m *GenesisState) GetPeggyTokens() []string + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type MsgBurn struct + Amount github_com_cosmos_cosmos_sdk_types.Int + CethAmount github_com_cosmos_cosmos_sdk_types.Int + CosmosSender string + EthereumChainId int64 + EthereumReceiver string + Symbol string + func CreateTestBurnMsg(t *testing.T, testCosmosSender string, ethereumReceiver EthereumAddress, ...) MsgBurn + func NewMsgBurn(ethereumChainID int64, cosmosSender sdk.AccAddress, ...) MsgBurn + func (*MsgBurn) Descriptor() ([]byte, []int) + func (*MsgBurn) ProtoMessage() + func (m *MsgBurn) GetCosmosSender() string + func (m *MsgBurn) GetEthereumChainId() int64 + func (m *MsgBurn) GetEthereumReceiver() string + func (m *MsgBurn) GetSymbol() string + func (m *MsgBurn) Marshal() (dAtA []byte, err error) + func (m *MsgBurn) MarshalTo(dAtA []byte) (int, error) + func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgBurn) Reset() + func (m *MsgBurn) Size() (n int) + func (m *MsgBurn) String() string + func (m *MsgBurn) Unmarshal(dAtA []byte) error + func (m *MsgBurn) XXX_DiscardUnknown() + func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgBurn) XXX_Merge(src proto.Message) + func (m *MsgBurn) XXX_Size() int + func (m *MsgBurn) XXX_Unmarshal(b []byte) error + func (msg MsgBurn) GetSignBytes() []byte + func (msg MsgBurn) GetSigners() []sdk.AccAddress + func (msg MsgBurn) Route() string + func (msg MsgBurn) Type() string + func (msg MsgBurn) ValidateBasic() error + type MsgBurnResponse struct + func (*MsgBurnResponse) Descriptor() ([]byte, []int) + func (*MsgBurnResponse) ProtoMessage() + func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error) + func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgBurnResponse) Reset() + func (m *MsgBurnResponse) Size() (n int) + func (m *MsgBurnResponse) String() string + func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error + func (m *MsgBurnResponse) XXX_DiscardUnknown() + func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgBurnResponse) XXX_Merge(src proto.Message) + func (m *MsgBurnResponse) XXX_Size() int + func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + Burn func(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) + CreateEthBridgeClaim func(ctx context.Context, in *MsgCreateEthBridgeClaim, opts ...grpc.CallOption) (*MsgCreateEthBridgeClaimResponse, error) + Lock func(ctx context.Context, in *MsgLock, opts ...grpc.CallOption) (*MsgLockResponse, error) + RescueCeth func(ctx context.Context, in *MsgRescueCeth, opts ...grpc.CallOption) (*MsgRescueCethResponse, error) + SetBlacklist func(ctx context.Context, in *MsgSetBlacklist, opts ...grpc.CallOption) (*MsgSetBlacklistResponse, error) + SetPause func(ctx context.Context, in *MsgPause, opts ...grpc.CallOption) (*MsgPauseResponse, error) + UpdateCethReceiverAccount func(ctx context.Context, in *MsgUpdateCethReceiverAccount, opts ...grpc.CallOption) (*MsgUpdateCethReceiverAccountResponse, error) + UpdateWhiteListValidator func(ctx context.Context, in *MsgUpdateWhiteListValidator, opts ...grpc.CallOption) (*MsgUpdateWhiteListValidatorResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateEthBridgeClaim struct + EthBridgeClaim *EthBridgeClaim + func CreateTestEthMsg(t *testing.T, validatorAddress sdk.ValAddress, claimType ClaimType) MsgCreateEthBridgeClaim + func NewMsgCreateEthBridgeClaim(ethBridgeClaim *EthBridgeClaim) MsgCreateEthBridgeClaim + func (*MsgCreateEthBridgeClaim) Descriptor() ([]byte, []int) + func (*MsgCreateEthBridgeClaim) ProtoMessage() + func (m *MsgCreateEthBridgeClaim) GetEthBridgeClaim() *EthBridgeClaim + func (m *MsgCreateEthBridgeClaim) Marshal() (dAtA []byte, err error) + func (m *MsgCreateEthBridgeClaim) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateEthBridgeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateEthBridgeClaim) Reset() + func (m *MsgCreateEthBridgeClaim) Size() (n int) + func (m *MsgCreateEthBridgeClaim) String() string + func (m *MsgCreateEthBridgeClaim) Unmarshal(dAtA []byte) error + func (m *MsgCreateEthBridgeClaim) XXX_DiscardUnknown() + func (m *MsgCreateEthBridgeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateEthBridgeClaim) XXX_Merge(src proto.Message) + func (m *MsgCreateEthBridgeClaim) XXX_Size() int + func (m *MsgCreateEthBridgeClaim) XXX_Unmarshal(b []byte) error + 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() error + type MsgCreateEthBridgeClaimResponse struct + func (*MsgCreateEthBridgeClaimResponse) Descriptor() ([]byte, []int) + func (*MsgCreateEthBridgeClaimResponse) ProtoMessage() + func (m *MsgCreateEthBridgeClaimResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateEthBridgeClaimResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateEthBridgeClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateEthBridgeClaimResponse) Reset() + func (m *MsgCreateEthBridgeClaimResponse) Size() (n int) + func (m *MsgCreateEthBridgeClaimResponse) String() string + func (m *MsgCreateEthBridgeClaimResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateEthBridgeClaimResponse) XXX_DiscardUnknown() + func (m *MsgCreateEthBridgeClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateEthBridgeClaimResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateEthBridgeClaimResponse) XXX_Size() int + func (m *MsgCreateEthBridgeClaimResponse) XXX_Unmarshal(b []byte) error + type MsgLock struct + Amount github_com_cosmos_cosmos_sdk_types.Int + CethAmount github_com_cosmos_cosmos_sdk_types.Int + CosmosSender string + EthereumChainId int64 + EthereumReceiver string + Symbol string + func CreateTestLockMsg(t *testing.T, testCosmosSender string, ethereumReceiver EthereumAddress, ...) MsgLock + func NewMsgLock(ethereumChainID int64, cosmosSender sdk.AccAddress, ...) MsgLock + func (*MsgLock) Descriptor() ([]byte, []int) + func (*MsgLock) ProtoMessage() + func (m *MsgLock) GetCosmosSender() string + func (m *MsgLock) GetEthereumChainId() int64 + func (m *MsgLock) GetEthereumReceiver() string + func (m *MsgLock) GetSymbol() string + func (m *MsgLock) Marshal() (dAtA []byte, err error) + func (m *MsgLock) MarshalTo(dAtA []byte) (int, error) + func (m *MsgLock) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgLock) Reset() + func (m *MsgLock) Size() (n int) + func (m *MsgLock) String() string + func (m *MsgLock) Unmarshal(dAtA []byte) error + func (m *MsgLock) XXX_DiscardUnknown() + func (m *MsgLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgLock) XXX_Merge(src proto.Message) + func (m *MsgLock) XXX_Size() int + func (m *MsgLock) XXX_Unmarshal(b []byte) error + func (msg MsgLock) GetSignBytes() []byte + func (msg MsgLock) GetSigners() []sdk.AccAddress + func (msg MsgLock) Route() string + func (msg MsgLock) Type() string + func (msg MsgLock) ValidateBasic() error + type MsgLockResponse struct + func (*MsgLockResponse) Descriptor() ([]byte, []int) + func (*MsgLockResponse) ProtoMessage() + func (m *MsgLockResponse) Marshal() (dAtA []byte, err error) + func (m *MsgLockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgLockResponse) Reset() + func (m *MsgLockResponse) Size() (n int) + func (m *MsgLockResponse) String() string + func (m *MsgLockResponse) Unmarshal(dAtA []byte) error + func (m *MsgLockResponse) XXX_DiscardUnknown() + func (m *MsgLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgLockResponse) XXX_Merge(src proto.Message) + func (m *MsgLockResponse) XXX_Size() int + func (m *MsgLockResponse) XXX_Unmarshal(b []byte) error + type MsgPause struct + IsPaused bool + Signer string + func (*MsgPause) Descriptor() ([]byte, []int) + func (*MsgPause) ProtoMessage() + func (m *MsgPause) GetIsPaused() bool + func (m *MsgPause) GetSigner() string + func (m *MsgPause) Marshal() (dAtA []byte, err error) + func (m *MsgPause) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPause) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPause) Reset() + func (m *MsgPause) Size() (n int) + func (m *MsgPause) String() string + func (m *MsgPause) Unmarshal(dAtA []byte) error + func (m *MsgPause) XXX_DiscardUnknown() + func (m *MsgPause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPause) XXX_Merge(src proto.Message) + func (m *MsgPause) XXX_Size() int + func (m *MsgPause) XXX_Unmarshal(b []byte) error + func (msg MsgPause) GetSignBytes() []byte + func (msg MsgPause) GetSigners() []sdk.AccAddress + func (msg MsgPause) Route() string + func (msg MsgPause) Type() string + func (msg MsgPause) ValidateBasic() error + type MsgPauseResponse struct + func (*MsgPauseResponse) Descriptor() ([]byte, []int) + func (*MsgPauseResponse) ProtoMessage() + func (m *MsgPauseResponse) Marshal() (dAtA []byte, err error) + func (m *MsgPauseResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPauseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPauseResponse) Reset() + func (m *MsgPauseResponse) Size() (n int) + func (m *MsgPauseResponse) String() string + func (m *MsgPauseResponse) Unmarshal(dAtA []byte) error + func (m *MsgPauseResponse) XXX_DiscardUnknown() + func (m *MsgPauseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPauseResponse) XXX_Merge(src proto.Message) + func (m *MsgPauseResponse) XXX_Size() int + func (m *MsgPauseResponse) XXX_Unmarshal(b []byte) error + type MsgRescueCeth struct + CethAmount github_com_cosmos_cosmos_sdk_types.Int + CosmosReceiver string + CosmosSender string + func CreateTestRescueCethMsg(t *testing.T, testCosmosSender string, testCethReceiverAccount string, ...) MsgRescueCeth + func NewMsgRescueCeth(cosmosSender sdk.AccAddress, cosmosReceiver sdk.AccAddress, cethAmount sdk.Int) MsgRescueCeth + func (*MsgRescueCeth) Descriptor() ([]byte, []int) + func (*MsgRescueCeth) ProtoMessage() + func (m *MsgRescueCeth) GetCosmosReceiver() string + func (m *MsgRescueCeth) GetCosmosSender() string + func (m *MsgRescueCeth) Marshal() (dAtA []byte, err error) + func (m *MsgRescueCeth) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRescueCeth) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRescueCeth) Reset() + func (m *MsgRescueCeth) Size() (n int) + func (m *MsgRescueCeth) String() string + func (m *MsgRescueCeth) Unmarshal(dAtA []byte) error + func (m *MsgRescueCeth) XXX_DiscardUnknown() + func (m *MsgRescueCeth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRescueCeth) XXX_Merge(src proto.Message) + func (m *MsgRescueCeth) XXX_Size() int + func (m *MsgRescueCeth) XXX_Unmarshal(b []byte) error + func (msg MsgRescueCeth) GetSignBytes() []byte + func (msg MsgRescueCeth) GetSigners() []sdk.AccAddress + func (msg MsgRescueCeth) Route() string + func (msg MsgRescueCeth) Type() string + func (msg MsgRescueCeth) ValidateBasic() error + type MsgRescueCethResponse struct + func (*MsgRescueCethResponse) Descriptor() ([]byte, []int) + func (*MsgRescueCethResponse) ProtoMessage() + func (m *MsgRescueCethResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRescueCethResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRescueCethResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRescueCethResponse) Reset() + func (m *MsgRescueCethResponse) Size() (n int) + func (m *MsgRescueCethResponse) String() string + func (m *MsgRescueCethResponse) Unmarshal(dAtA []byte) error + func (m *MsgRescueCethResponse) XXX_DiscardUnknown() + func (m *MsgRescueCethResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRescueCethResponse) XXX_Merge(src proto.Message) + func (m *MsgRescueCethResponse) XXX_Size() int + func (m *MsgRescueCethResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + Burn func(context.Context, *MsgBurn) (*MsgBurnResponse, error) + CreateEthBridgeClaim func(context.Context, *MsgCreateEthBridgeClaim) (*MsgCreateEthBridgeClaimResponse, error) + Lock func(context.Context, *MsgLock) (*MsgLockResponse, error) + RescueCeth func(context.Context, *MsgRescueCeth) (*MsgRescueCethResponse, error) + SetBlacklist func(context.Context, *MsgSetBlacklist) (*MsgSetBlacklistResponse, error) + SetPause func(context.Context, *MsgPause) (*MsgPauseResponse, error) + UpdateCethReceiverAccount func(context.Context, *MsgUpdateCethReceiverAccount) (*MsgUpdateCethReceiverAccountResponse, error) + UpdateWhiteListValidator func(context.Context, *MsgUpdateWhiteListValidator) (*MsgUpdateWhiteListValidatorResponse, error) + type MsgSetBlacklist struct + Addresses []string + From string + func (*MsgSetBlacklist) Descriptor() ([]byte, []int) + func (*MsgSetBlacklist) ProtoMessage() + func (m *MsgSetBlacklist) GetAddresses() []string + func (m *MsgSetBlacklist) GetFrom() string + func (m *MsgSetBlacklist) Marshal() (dAtA []byte, err error) + func (m *MsgSetBlacklist) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetBlacklist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetBlacklist) Reset() + func (m *MsgSetBlacklist) Size() (n int) + func (m *MsgSetBlacklist) String() string + func (m *MsgSetBlacklist) Unmarshal(dAtA []byte) error + func (m *MsgSetBlacklist) XXX_DiscardUnknown() + func (m *MsgSetBlacklist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetBlacklist) XXX_Merge(src proto.Message) + func (m *MsgSetBlacklist) XXX_Size() int + func (m *MsgSetBlacklist) XXX_Unmarshal(b []byte) error + func (msg *MsgSetBlacklist) GetSigners() []sdk.AccAddress + func (msg *MsgSetBlacklist) ValidateBasic() error + func (msg MsgSetBlacklist) GetSignBytes() []byte + func (msg MsgSetBlacklist) Route() string + func (msg MsgSetBlacklist) Type() string + type MsgSetBlacklistResponse struct + func (*MsgSetBlacklistResponse) Descriptor() ([]byte, []int) + func (*MsgSetBlacklistResponse) ProtoMessage() + func (m *MsgSetBlacklistResponse) Marshal() (dAtA []byte, err error) + func (m *MsgSetBlacklistResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetBlacklistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetBlacklistResponse) Reset() + func (m *MsgSetBlacklistResponse) Size() (n int) + func (m *MsgSetBlacklistResponse) String() string + func (m *MsgSetBlacklistResponse) Unmarshal(dAtA []byte) error + func (m *MsgSetBlacklistResponse) XXX_DiscardUnknown() + func (m *MsgSetBlacklistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetBlacklistResponse) XXX_Merge(src proto.Message) + func (m *MsgSetBlacklistResponse) XXX_Size() int + func (m *MsgSetBlacklistResponse) XXX_Unmarshal(b []byte) error + type MsgUpdateCethReceiverAccount struct + CethReceiverAccount string + CosmosSender string + func CreateTestUpdateCethReceiverAccountMsg(t *testing.T, testCosmosSender string, testCethReceiverAccount string) MsgUpdateCethReceiverAccount + func NewMsgUpdateCethReceiverAccount(cosmosSender sdk.AccAddress, cethReceiverAccount sdk.AccAddress) MsgUpdateCethReceiverAccount + func (*MsgUpdateCethReceiverAccount) Descriptor() ([]byte, []int) + func (*MsgUpdateCethReceiverAccount) ProtoMessage() + func (m *MsgUpdateCethReceiverAccount) GetCethReceiverAccount() string + func (m *MsgUpdateCethReceiverAccount) GetCosmosSender() string + func (m *MsgUpdateCethReceiverAccount) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateCethReceiverAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateCethReceiverAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateCethReceiverAccount) Reset() + func (m *MsgUpdateCethReceiverAccount) Size() (n int) + func (m *MsgUpdateCethReceiverAccount) String() string + func (m *MsgUpdateCethReceiverAccount) Unmarshal(dAtA []byte) error + func (m *MsgUpdateCethReceiverAccount) XXX_DiscardUnknown() + func (m *MsgUpdateCethReceiverAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateCethReceiverAccount) XXX_Merge(src proto.Message) + func (m *MsgUpdateCethReceiverAccount) XXX_Size() int + func (m *MsgUpdateCethReceiverAccount) XXX_Unmarshal(b []byte) error + func (msg MsgUpdateCethReceiverAccount) GetSignBytes() []byte + func (msg MsgUpdateCethReceiverAccount) GetSigners() []sdk.AccAddress + func (msg MsgUpdateCethReceiverAccount) Route() string + func (msg MsgUpdateCethReceiverAccount) Type() string + func (msg MsgUpdateCethReceiverAccount) ValidateBasic() error + type MsgUpdateCethReceiverAccountResponse struct + func (*MsgUpdateCethReceiverAccountResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateCethReceiverAccountResponse) ProtoMessage() + func (m *MsgUpdateCethReceiverAccountResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateCethReceiverAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateCethReceiverAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateCethReceiverAccountResponse) Reset() + func (m *MsgUpdateCethReceiverAccountResponse) Size() (n int) + func (m *MsgUpdateCethReceiverAccountResponse) String() string + func (m *MsgUpdateCethReceiverAccountResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateCethReceiverAccountResponse) XXX_DiscardUnknown() + func (m *MsgUpdateCethReceiverAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateCethReceiverAccountResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateCethReceiverAccountResponse) XXX_Size() int + func (m *MsgUpdateCethReceiverAccountResponse) XXX_Unmarshal(b []byte) error + type MsgUpdateWhiteListValidator struct + CosmosSender string + OperationType string + Validator string + func CreateTestUpdateWhiteListValidatorMsg(_ *testing.T, sender string, validator string, operation string) MsgUpdateWhiteListValidator + func NewMsgUpdateWhiteListValidator(cosmosSender sdk.AccAddress, validator sdk.ValAddress, operationType string) MsgUpdateWhiteListValidator + func (*MsgUpdateWhiteListValidator) Descriptor() ([]byte, []int) + func (*MsgUpdateWhiteListValidator) ProtoMessage() + func (m *MsgUpdateWhiteListValidator) GetCosmosSender() string + func (m *MsgUpdateWhiteListValidator) GetOperationType() string + func (m *MsgUpdateWhiteListValidator) GetValidator() string + func (m *MsgUpdateWhiteListValidator) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateWhiteListValidator) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateWhiteListValidator) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateWhiteListValidator) Reset() + func (m *MsgUpdateWhiteListValidator) Size() (n int) + func (m *MsgUpdateWhiteListValidator) String() string + func (m *MsgUpdateWhiteListValidator) Unmarshal(dAtA []byte) error + func (m *MsgUpdateWhiteListValidator) XXX_DiscardUnknown() + func (m *MsgUpdateWhiteListValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateWhiteListValidator) XXX_Merge(src proto.Message) + func (m *MsgUpdateWhiteListValidator) XXX_Size() int + func (m *MsgUpdateWhiteListValidator) XXX_Unmarshal(b []byte) error + func (msg MsgUpdateWhiteListValidator) GetSignBytes() []byte + func (msg MsgUpdateWhiteListValidator) GetSigners() []sdk.AccAddress + func (msg MsgUpdateWhiteListValidator) Route() string + func (msg MsgUpdateWhiteListValidator) Type() string + func (msg MsgUpdateWhiteListValidator) ValidateBasic() error + type MsgUpdateWhiteListValidatorResponse struct + func (*MsgUpdateWhiteListValidatorResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateWhiteListValidatorResponse) ProtoMessage() + func (m *MsgUpdateWhiteListValidatorResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateWhiteListValidatorResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateWhiteListValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateWhiteListValidatorResponse) Reset() + func (m *MsgUpdateWhiteListValidatorResponse) Size() (n int) + func (m *MsgUpdateWhiteListValidatorResponse) String() string + func (m *MsgUpdateWhiteListValidatorResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateWhiteListValidatorResponse) XXX_DiscardUnknown() + func (m *MsgUpdateWhiteListValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateWhiteListValidatorResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateWhiteListValidatorResponse) XXX_Size() int + func (m *MsgUpdateWhiteListValidatorResponse) XXX_Unmarshal(b []byte) error + type OracleClaimContent struct + Amount sdk.Int + ClaimType ClaimType + CosmosReceiver sdk.AccAddress + Symbol string + TokenContractAddress EthereumAddress + func CreateOracleClaimFromOracleString(oracleClaimString string) (OracleClaimContent, error) + func NewOracleClaimContent(cosmosReceiver sdk.AccAddress, amount sdk.Int, symbol string, ...) OracleClaimContent + type OracleKeeper interface + GetAdminAccount func(ctx sdk.Context) sdk.AccAddress + GetProphecy func(ctx sdk.Context, id string) (oracletypes.Prophecy, bool) + IsAdminAccount func(ctx sdk.Context, cosmosSender sdk.AccAddress) bool + ProcessClaim func(ctx sdk.Context, claim oracletypes.Claim) (oracletypes.Status, error) + ProcessUpdateWhiteListValidator func(ctx sdk.Context, cosmosSender sdk.AccAddress, validator sdk.ValAddress, ...) error + SetAdminAccount func(ctx sdk.Context, cosmosSender sdk.AccAddress) + type Pause struct + IsPaused bool + func (*Pause) Descriptor() ([]byte, []int) + func (*Pause) ProtoMessage() + func (m *Pause) GetIsPaused() bool + func (m *Pause) Marshal() (dAtA []byte, err error) + func (m *Pause) MarshalTo(dAtA []byte) (int, error) + func (m *Pause) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Pause) Reset() + func (m *Pause) Size() (n int) + func (m *Pause) String() string + func (m *Pause) Unmarshal(dAtA []byte) error + func (m *Pause) XXX_DiscardUnknown() + func (m *Pause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pause) XXX_Merge(src proto.Message) + func (m *Pause) XXX_Size() int + func (m *Pause) XXX_Unmarshal(b []byte) error + type PeggyTokens struct + Tokens []string + func (*PeggyTokens) Descriptor() ([]byte, []int) + func (*PeggyTokens) ProtoMessage() + func (m *PeggyTokens) GetTokens() []string + func (m *PeggyTokens) Marshal() (dAtA []byte, err error) + func (m *PeggyTokens) MarshalTo(dAtA []byte) (int, error) + func (m *PeggyTokens) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PeggyTokens) Reset() + func (m *PeggyTokens) Size() (n int) + func (m *PeggyTokens) String() string + func (m *PeggyTokens) Unmarshal(dAtA []byte) error + func (m *PeggyTokens) XXX_DiscardUnknown() + func (m *PeggyTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PeggyTokens) XXX_Merge(src proto.Message) + func (m *PeggyTokens) XXX_Size() int + func (m *PeggyTokens) XXX_Unmarshal(b []byte) error + type QueryBlacklistRequest struct + func (*QueryBlacklistRequest) Descriptor() ([]byte, []int) + func (*QueryBlacklistRequest) ProtoMessage() + func (m *QueryBlacklistRequest) Marshal() (dAtA []byte, err error) + func (m *QueryBlacklistRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBlacklistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBlacklistRequest) Reset() + func (m *QueryBlacklistRequest) Size() (n int) + func (m *QueryBlacklistRequest) String() string + func (m *QueryBlacklistRequest) Unmarshal(dAtA []byte) error + func (m *QueryBlacklistRequest) XXX_DiscardUnknown() + func (m *QueryBlacklistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBlacklistRequest) XXX_Merge(src proto.Message) + func (m *QueryBlacklistRequest) XXX_Size() int + func (m *QueryBlacklistRequest) XXX_Unmarshal(b []byte) error + type QueryBlacklistResponse struct + Addresses []string + func (*QueryBlacklistResponse) Descriptor() ([]byte, []int) + func (*QueryBlacklistResponse) ProtoMessage() + func (m *QueryBlacklistResponse) GetAddresses() []string + func (m *QueryBlacklistResponse) Marshal() (dAtA []byte, err error) + func (m *QueryBlacklistResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBlacklistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBlacklistResponse) Reset() + func (m *QueryBlacklistResponse) Size() (n int) + func (m *QueryBlacklistResponse) String() string + func (m *QueryBlacklistResponse) Unmarshal(dAtA []byte) error + func (m *QueryBlacklistResponse) XXX_DiscardUnknown() + func (m *QueryBlacklistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBlacklistResponse) XXX_Merge(src proto.Message) + func (m *QueryBlacklistResponse) XXX_Size() int + func (m *QueryBlacklistResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + EthProphecy func(ctx context.Context, in *QueryEthProphecyRequest, opts ...grpc.CallOption) (*QueryEthProphecyResponse, error) + GetBlacklist func(ctx context.Context, in *QueryBlacklistRequest, opts ...grpc.CallOption) (*QueryBlacklistResponse, error) + GetPauseStatus func(ctx context.Context, in *QueryPauseRequest, opts ...grpc.CallOption) (*QueryPauseResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryEthProphecyRequest struct + BridgeContractAddress string + EthereumChainId int64 + EthereumSender string + Nonce int64 + Symbol string + TokenContractAddress string + func NewQueryEthProphecyRequest(ethereumChainID int64, bridgeContractAddress EthereumAddress, nonce int64, ...) *QueryEthProphecyRequest + func (*QueryEthProphecyRequest) Descriptor() ([]byte, []int) + func (*QueryEthProphecyRequest) ProtoMessage() + func (m *QueryEthProphecyRequest) GetBridgeContractAddress() string + func (m *QueryEthProphecyRequest) GetEthereumChainId() int64 + func (m *QueryEthProphecyRequest) GetEthereumSender() string + func (m *QueryEthProphecyRequest) GetNonce() int64 + func (m *QueryEthProphecyRequest) GetSymbol() string + func (m *QueryEthProphecyRequest) GetTokenContractAddress() string + func (m *QueryEthProphecyRequest) Marshal() (dAtA []byte, err error) + func (m *QueryEthProphecyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryEthProphecyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryEthProphecyRequest) Reset() + func (m *QueryEthProphecyRequest) Size() (n int) + func (m *QueryEthProphecyRequest) String() string + func (m *QueryEthProphecyRequest) Unmarshal(dAtA []byte) error + func (m *QueryEthProphecyRequest) XXX_DiscardUnknown() + func (m *QueryEthProphecyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryEthProphecyRequest) XXX_Merge(src proto.Message) + func (m *QueryEthProphecyRequest) XXX_Size() int + func (m *QueryEthProphecyRequest) XXX_Unmarshal(b []byte) error + type QueryEthProphecyResponse struct + Claims []*EthBridgeClaim + Id string + Status *types.Status + func CreateTestQueryEthProphecyResponse(t *testing.T, validatorAddress sdk.ValAddress, claimType ClaimType) QueryEthProphecyResponse + func NewQueryEthProphecyResponse(id string, status oracletypes.Status, claims []*EthBridgeClaim) QueryEthProphecyResponse + func (*QueryEthProphecyResponse) Descriptor() ([]byte, []int) + func (*QueryEthProphecyResponse) ProtoMessage() + func (m *QueryEthProphecyResponse) GetClaims() []*EthBridgeClaim + func (m *QueryEthProphecyResponse) GetId() string + func (m *QueryEthProphecyResponse) GetStatus() *types.Status + func (m *QueryEthProphecyResponse) Marshal() (dAtA []byte, err error) + func (m *QueryEthProphecyResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryEthProphecyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryEthProphecyResponse) Reset() + func (m *QueryEthProphecyResponse) Size() (n int) + func (m *QueryEthProphecyResponse) String() string + func (m *QueryEthProphecyResponse) Unmarshal(dAtA []byte) error + func (m *QueryEthProphecyResponse) XXX_DiscardUnknown() + func (m *QueryEthProphecyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryEthProphecyResponse) XXX_Merge(src proto.Message) + func (m *QueryEthProphecyResponse) XXX_Size() int + func (m *QueryEthProphecyResponse) XXX_Unmarshal(b []byte) error + type QueryPauseRequest struct + func (*QueryPauseRequest) Descriptor() ([]byte, []int) + func (*QueryPauseRequest) ProtoMessage() + func (m *QueryPauseRequest) Marshal() (dAtA []byte, err error) + func (m *QueryPauseRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryPauseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryPauseRequest) Reset() + func (m *QueryPauseRequest) Size() (n int) + func (m *QueryPauseRequest) String() string + func (m *QueryPauseRequest) Unmarshal(dAtA []byte) error + func (m *QueryPauseRequest) XXX_DiscardUnknown() + func (m *QueryPauseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryPauseRequest) XXX_Merge(src proto.Message) + func (m *QueryPauseRequest) XXX_Size() int + func (m *QueryPauseRequest) XXX_Unmarshal(b []byte) error + type QueryPauseResponse struct + IsPaused bool + func (*QueryPauseResponse) Descriptor() ([]byte, []int) + func (*QueryPauseResponse) ProtoMessage() + func (m *QueryPauseResponse) GetIsPaused() bool + func (m *QueryPauseResponse) Marshal() (dAtA []byte, err error) + func (m *QueryPauseResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryPauseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryPauseResponse) Reset() + func (m *QueryPauseResponse) Size() (n int) + func (m *QueryPauseResponse) String() string + func (m *QueryPauseResponse) Unmarshal(dAtA []byte) error + func (m *QueryPauseResponse) XXX_DiscardUnknown() + func (m *QueryPauseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryPauseResponse) XXX_Merge(src proto.Message) + func (m *QueryPauseResponse) XXX_Size() int + func (m *QueryPauseResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + EthProphecy func(context.Context, *QueryEthProphecyRequest) (*QueryEthProphecyResponse, error) + GetBlacklist func(context.Context, *QueryBlacklistRequest) (*QueryBlacklistResponse, error) + GetPauseStatus func(context.Context, *QueryPauseRequest) (*QueryPauseResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error) + func (*UnimplementedMsgServer) CreateEthBridgeClaim(ctx context.Context, req *MsgCreateEthBridgeClaim) (*MsgCreateEthBridgeClaimResponse, error) + func (*UnimplementedMsgServer) Lock(ctx context.Context, req *MsgLock) (*MsgLockResponse, error) + func (*UnimplementedMsgServer) RescueCeth(ctx context.Context, req *MsgRescueCeth) (*MsgRescueCethResponse, error) + func (*UnimplementedMsgServer) SetBlacklist(ctx context.Context, req *MsgSetBlacklist) (*MsgSetBlacklistResponse, error) + func (*UnimplementedMsgServer) SetPause(ctx context.Context, req *MsgPause) (*MsgPauseResponse, error) + func (*UnimplementedMsgServer) UpdateCethReceiverAccount(ctx context.Context, req *MsgUpdateCethReceiverAccount) (*MsgUpdateCethReceiverAccountResponse, error) + func (*UnimplementedMsgServer) UpdateWhiteListValidator(ctx context.Context, req *MsgUpdateWhiteListValidator) (*MsgUpdateWhiteListValidatorResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) EthProphecy(ctx context.Context, req *QueryEthProphecyRequest) (*QueryEthProphecyResponse, error) + func (*UnimplementedQueryServer) GetBlacklist(ctx context.Context, req *QueryBlacklistRequest) (*QueryBlacklistResponse, error) + func (*UnimplementedQueryServer) GetPauseStatus(ctx context.Context, req *QueryPauseRequest) (*QueryPauseResponse, error)