2022-08-23 17:04:40 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.evmutil.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
2022-11-22 23:22:07 +00:00
|
|
|
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
|
|
|
option (gogoproto.equal_all) = true;
|
2022-08-23 17:04:40 +00:00
|
|
|
option (gogoproto.verbose_equal_all) = true;
|
|
|
|
|
|
|
|
// ConversionPair defines a Kava ERC20 address and corresponding denom that is
|
|
|
|
// allowed to be converted between ERC20 and sdk.Coin
|
|
|
|
message ConversionPair {
|
|
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
|
|
|
|
// ERC20 address of the token on the Kava EVM
|
2022-11-22 23:22:07 +00:00
|
|
|
bytes kava_erc20_address = 1 [
|
|
|
|
(gogoproto.customname) = "KavaERC20Address",
|
|
|
|
(gogoproto.casttype) = "HexBytes"
|
|
|
|
];
|
2022-08-23 17:04:40 +00:00
|
|
|
|
|
|
|
// Denom of the corresponding sdk.Coin
|
|
|
|
string denom = 2;
|
|
|
|
}
|