mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 16:25:21 +00:00
23 lines
599 B
Protocol Buffer
23 lines
599 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package cosmos.nft.v1beta1;
|
||
|
|
||
|
import "cosmos/nft/v1beta1/nft.proto";
|
||
|
|
||
|
option go_package = "github.com/cosmos/cosmos-sdk/x/nft";
|
||
|
|
||
|
// GenesisState defines the nft module's genesis state.
|
||
|
message GenesisState {
|
||
|
// class defines the class of the nft type.
|
||
|
repeated cosmos.nft.v1beta1.Class classes = 1;
|
||
|
repeated Entry entries = 2;
|
||
|
}
|
||
|
|
||
|
// Entry Defines all nft owned by a person
|
||
|
message Entry {
|
||
|
// owner is the owner address of the following nft
|
||
|
string owner = 1;
|
||
|
|
||
|
// nfts is a group of nfts of the same owner
|
||
|
repeated cosmos.nft.v1beta1.NFT nfts = 2;
|
||
|
}
|