2021-01-07 21:45:32 +00:00
|
|
|
syntax = "proto3";
|
2021-08-17 15:30:35 +00:00
|
|
|
package ethermint.types.v1;
|
2021-01-07 21:45:32 +00:00
|
|
|
|
|
|
|
import "cosmos/auth/v1beta1/auth.proto";
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
2021-06-22 10:49:18 +00:00
|
|
|
option go_package = "github.com/tharsis/ethermint/types";
|
2021-01-07 21:45:32 +00:00
|
|
|
|
|
|
|
// EthAccount implements the authtypes.AccountI interface and embeds an
|
|
|
|
// authtypes.BaseAccount type. It is compatible with the auth AccountKeeper.
|
|
|
|
message EthAccount {
|
2021-10-05 15:38:20 +00:00
|
|
|
option (gogoproto.goproto_getters) = false;
|
2021-01-07 21:45:32 +00:00
|
|
|
option (gogoproto.goproto_stringer) = false;
|
2021-10-05 15:38:20 +00:00
|
|
|
option (gogoproto.equal) = false;
|
2021-01-07 21:45:32 +00:00
|
|
|
|
2021-10-05 15:38:20 +00:00
|
|
|
option (cosmos_proto.implements_interface) =
|
|
|
|
"github.com/cosmos/cosmos-sdk/x/auth/types.AccountI";
|
2021-01-07 21:45:32 +00:00
|
|
|
|
2021-10-05 15:38:20 +00:00
|
|
|
cosmos.auth.v1beta1.BaseAccount base_account = 1 [
|
|
|
|
(gogoproto.embed) = true,
|
|
|
|
(gogoproto.moretags) = "yaml:\"base_account\""
|
|
|
|
];
|
|
|
|
string code_hash = 2 [ (gogoproto.moretags) = "yaml:\"code_hash\"" ];
|
2021-01-07 21:45:32 +00:00
|
|
|
}
|