2022-01-13 16:39:32 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package ibc.applications.transfer.v1;
|
|
|
|
|
2024-02-06 22:54:10 +00:00
|
|
|
option go_package = "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types";
|
2022-01-13 16:39:32 +00:00
|
|
|
|
|
|
|
import "ibc/applications/transfer/v1/transfer.proto";
|
2024-02-06 22:54:10 +00:00
|
|
|
import "cosmos/base/v1beta1/coin.proto";
|
2022-01-13 16:39:32 +00:00
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
// GenesisState defines the ibc-transfer genesis state
|
|
|
|
message GenesisState {
|
|
|
|
string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""];
|
|
|
|
repeated DenomTrace denom_traces = 2 [
|
|
|
|
(gogoproto.castrepeated) = "Traces",
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.moretags) = "yaml:\"denom_traces\""
|
|
|
|
];
|
|
|
|
Params params = 3 [(gogoproto.nullable) = false];
|
2024-02-06 22:54:10 +00:00
|
|
|
// total_escrowed contains the total amount of tokens escrowed
|
|
|
|
// by the transfer module
|
|
|
|
repeated cosmos.base.v1beta1.Coin total_escrowed = 4 [
|
|
|
|
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(gogoproto.moretags) = "yaml:\"total_escrowed\""
|
|
|
|
];
|
2022-01-13 16:39:32 +00:00
|
|
|
}
|