mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
21 lines
687 B
Protocol Buffer
21 lines
687 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package kava.evmutil.v1beta1;
|
||
|
|
||
|
import "gogoproto/gogo.proto";
|
||
|
|
||
|
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
||
|
option (gogoproto.equal_all) = true;
|
||
|
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
|
||
|
bytes kava_erc20_address = 1 [(gogoproto.customname) = "KavaERC20Address", (gogoproto.casttype) = "HexBytes"];
|
||
|
|
||
|
// Denom of the corresponding sdk.Coin
|
||
|
string denom = 2;
|
||
|
}
|