metadata

package
v0.0.0-...-4192c15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Network_name = map[int32]string{
		0: "NETWORK_UNDEFINED",
		1: "ETH_MAINNET",
		2: "ETH_RINKEBY",
		3: "SOL_MAINNET",
		4: "SOL_DEVNET",
		5: "BTC_MAINNET",
	}
	Network_value = map[string]int32{
		"NETWORK_UNDEFINED": 0,
		"ETH_MAINNET":       1,
		"ETH_RINKEBY":       2,
		"SOL_MAINNET":       3,
		"SOL_DEVNET":        4,
		"BTC_MAINNET":       5,
	}
)

Enum value maps for Network.

View Source
var (
	Protocol_name = map[int32]string{
		0: "PROTOCOL_UNDEFINED",
		1: "ETHEREUM",
		2: "SOLANA",
		3: "BITCOIN",
	}
	Protocol_value = map[string]int32{
		"PROTOCOL_UNDEFINED": 0,
		"ETHEREUM":           1,
		"SOLANA":             2,
		"BITCOIN":            3,
	}
)

Enum value maps for Protocol.

View Source
var (
	Algorithm_name = map[int32]string{
		0: "ALGORITHM_UNDEFINED",
		1: "ED25519",
	}
	Algorithm_value = map[string]int32{
		"ALGORITHM_UNDEFINED": 0,
		"ED25519":             1,
	}
)

Enum value maps for Algorithm.

View Source
var (
	Encoding_name = map[int32]string{
		0: "ENCODING_UNDEFINED",
		1: "BASE64_URL",
	}
	Encoding_value = map[string]int32{
		"ENCODING_UNDEFINED": 0,
		"BASE64_URL":         1,
	}
)

Enum value maps for Encoding.

View Source
var File_monetizations_erc721_reserve_auction_proto protoreflect.FileDescriptor
View Source
var File_monetizations_fungible_token_gate_proto protoreflect.FileDescriptor
View Source
var File_monetizations_linked_editions_proto protoreflect.FileDescriptor
View Source
var File_monetizations_media_market_proto protoreflect.FileDescriptor
View Source
var File_monetizations_monocollection_editions_proto protoreflect.FileDescriptor
View Source
var File_monetizations_tips_proto protoreflect.FileDescriptor
View Source
var File_monetizations_zora_auction_proto protoreflect.FileDescriptor
View Source
var File_primitives_address_proto protoreflect.FileDescriptor
View Source
var File_primitives_link_proto protoreflect.FileDescriptor
View Source
var File_primitives_metadata_proto protoreflect.FileDescriptor
View Source
var File_primitives_network_proto protoreflect.FileDescriptor
View Source
var File_primitives_protocol_proto protoreflect.FileDescriptor
View Source
var File_primitives_signature_proto protoreflect.FileDescriptor
View Source
var File_primitives_thumbnail_proto protoreflect.FileDescriptor
View Source
var File_profiles_profile_metadata_proto protoreflect.FileDescriptor
View Source
var File_video_livestream_proto protoreflect.FileDescriptor
View Source
var File_video_static_video_proto protoreflect.FileDescriptor
View Source
var File_video_video_metadata_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {
	Address  string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Protocol Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=metadata.Protocol" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (x *Address) GetAddress() string

func (*Address) GetProtocol

func (x *Address) GetProtocol() Protocol

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type Algorithm

type Algorithm int32
const (
	Algorithm_ALGORITHM_UNDEFINED Algorithm = 0
	Algorithm_ED25519             Algorithm = 1
)

func (Algorithm) Descriptor

func (Algorithm) Descriptor() protoreflect.EnumDescriptor

func (Algorithm) Enum

func (x Algorithm) Enum() *Algorithm

func (Algorithm) EnumDescriptor deprecated

func (Algorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use Algorithm.Descriptor instead.

func (Algorithm) Number

func (x Algorithm) Number() protoreflect.EnumNumber

func (Algorithm) String

func (x Algorithm) String() string

func (Algorithm) Type

type Claims

type Claims struct {
	Issuer             string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`                                                     // GLASS.XYZ
	MetadataSigningKey string `protobuf:"bytes,2,opt,name=metadata_signing_key,json=metadataSigningKey,proto3" json:"metadata_signing_key,omitempty"` // the
	ExpiresAt          int64  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`                             // expires at
	IssuedAt           int64  `protobuf:"varint,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`                                // issued at
	// contains filtered or unexported fields
}

func (*Claims) Descriptor deprecated

func (*Claims) Descriptor() ([]byte, []int)

Deprecated: Use Claims.ProtoReflect.Descriptor instead.

func (*Claims) GetExpiresAt

func (x *Claims) GetExpiresAt() int64

func (*Claims) GetIssuedAt

func (x *Claims) GetIssuedAt() int64

func (*Claims) GetIssuer

func (x *Claims) GetIssuer() string

func (*Claims) GetMetadataSigningKey

func (x *Claims) GetMetadataSigningKey() string

func (*Claims) ProtoMessage

func (*Claims) ProtoMessage()

func (*Claims) ProtoReflect

func (x *Claims) ProtoReflect() protoreflect.Message

func (*Claims) Reset

func (x *Claims) Reset()

func (*Claims) String

func (x *Claims) String() string

type Data

type Data struct {

	// Types that are assignable to Data:
	//	*Data_Video
	Data isData_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

func (*Data) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetData

func (m *Data) GetData() isData_Data

func (*Data) GetVideo

func (x *Data) GetVideo() *VideoMetadata

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Data_Video

type Data_Video struct {
	Video *VideoMetadata `protobuf:"bytes,4,opt,name=video,proto3,oneof"`
}

type Encoding

type Encoding int32
const (
	Encoding_ENCODING_UNDEFINED Encoding = 0
	Encoding_BASE64_URL         Encoding = 1
)

func (Encoding) Descriptor

func (Encoding) Descriptor() protoreflect.EnumDescriptor

func (Encoding) Enum

func (x Encoding) Enum() *Encoding

func (Encoding) EnumDescriptor deprecated

func (Encoding) EnumDescriptor() ([]byte, []int)

Deprecated: Use Encoding.Descriptor instead.

func (Encoding) Number

func (x Encoding) Number() protoreflect.EnumNumber

func (Encoding) String

func (x Encoding) String() string

func (Encoding) Type

type Erc721ReserveAuction

type Erc721ReserveAuction struct {
	Network                Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	AuctionContractAddress *Address `` /* 129-byte string literal not displayed */
	Erc721ContractAddress  *Address `` /* 126-byte string literal not displayed */
	Erc721TokenId          string   `protobuf:"bytes,4,opt,name=erc721_token_id,json=erc721TokenId,proto3" json:"erc721_token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Erc721ReserveAuction) Descriptor deprecated

func (*Erc721ReserveAuction) Descriptor() ([]byte, []int)

Deprecated: Use Erc721ReserveAuction.ProtoReflect.Descriptor instead.

func (*Erc721ReserveAuction) GetAuctionContractAddress

func (x *Erc721ReserveAuction) GetAuctionContractAddress() *Address

func (*Erc721ReserveAuction) GetErc721ContractAddress

func (x *Erc721ReserveAuction) GetErc721ContractAddress() *Address

func (*Erc721ReserveAuction) GetErc721TokenId

func (x *Erc721ReserveAuction) GetErc721TokenId() string

func (*Erc721ReserveAuction) GetNetwork

func (x *Erc721ReserveAuction) GetNetwork() Network

func (*Erc721ReserveAuction) ProtoMessage

func (*Erc721ReserveAuction) ProtoMessage()

func (*Erc721ReserveAuction) ProtoReflect

func (x *Erc721ReserveAuction) ProtoReflect() protoreflect.Message

func (*Erc721ReserveAuction) Reset

func (x *Erc721ReserveAuction) Reset()

func (*Erc721ReserveAuction) String

func (x *Erc721ReserveAuction) String() string

type FungibleTokenGate

type FungibleTokenGate struct {
	Network         Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	Address         *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	RequiredBalance string   `protobuf:"bytes,3,opt,name=required_balance,json=requiredBalance,proto3" json:"required_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*FungibleTokenGate) Descriptor deprecated

func (*FungibleTokenGate) Descriptor() ([]byte, []int)

Deprecated: Use FungibleTokenGate.ProtoReflect.Descriptor instead.

func (*FungibleTokenGate) GetAddress

func (x *FungibleTokenGate) GetAddress() *Address

func (*FungibleTokenGate) GetNetwork

func (x *FungibleTokenGate) GetNetwork() Network

func (*FungibleTokenGate) GetRequiredBalance

func (x *FungibleTokenGate) GetRequiredBalance() string

func (*FungibleTokenGate) ProtoMessage

func (*FungibleTokenGate) ProtoMessage()

func (*FungibleTokenGate) ProtoReflect

func (x *FungibleTokenGate) ProtoReflect() protoreflect.Message

func (*FungibleTokenGate) Reset

func (x *FungibleTokenGate) Reset()

func (*FungibleTokenGate) String

func (x *FungibleTokenGate) String() string
type Header struct {
	Algorithm Algorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=metadata.Algorithm" json:"algorithm,omitempty"` // ed25519
	Encoding  Encoding  `protobuf:"varint,2,opt,name=encoding,proto3,enum=metadata.Encoding" json:"encoding,omitempty"`    // base64URL
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetAlgorithm

func (x *Header) GetAlgorithm() Algorithm

func (*Header) GetEncoding

func (x *Header) GetEncoding() Encoding

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string
type Link struct {
	Uri         string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// contains filtered or unexported fields
}

func (*Link) Descriptor deprecated

func (*Link) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetContentType

func (x *Link) GetContentType() string

func (*Link) GetUri

func (x *Link) GetUri() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

func (x *Link) ProtoReflect() protoreflect.Message

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type LinkedEditions

type LinkedEditions struct {
	Network         Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	ContractAddress *Address `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	LinkedContract  *Address `protobuf:"bytes,3,opt,name=linked_contract,json=linkedContract,proto3" json:"linked_contract,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkedEditions) Descriptor deprecated

func (*LinkedEditions) Descriptor() ([]byte, []int)

Deprecated: Use LinkedEditions.ProtoReflect.Descriptor instead.

func (*LinkedEditions) GetContractAddress

func (x *LinkedEditions) GetContractAddress() *Address

func (*LinkedEditions) GetLinkedContract

func (x *LinkedEditions) GetLinkedContract() *Address

func (*LinkedEditions) GetNetwork

func (x *LinkedEditions) GetNetwork() Network

func (*LinkedEditions) ProtoMessage

func (*LinkedEditions) ProtoMessage()

func (*LinkedEditions) ProtoReflect

func (x *LinkedEditions) ProtoReflect() protoreflect.Message

func (*LinkedEditions) Reset

func (x *LinkedEditions) Reset()

func (*LinkedEditions) String

func (x *LinkedEditions) String() string

type Livestream

type Livestream struct {
	StreamId      string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	SessionId     string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	ScheduledTime int64  `protobuf:"varint,5,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"`
	// Types that are assignable to Monetization:
	//	*Livestream_Tips
	//	*Livestream_FungibleTokenGate
	Monetization isLivestream_Monetization `protobuf_oneof:"monetization"`
	// contains filtered or unexported fields
}

func (*Livestream) Descriptor deprecated

func (*Livestream) Descriptor() ([]byte, []int)

Deprecated: Use Livestream.ProtoReflect.Descriptor instead.

func (*Livestream) GetFungibleTokenGate

func (x *Livestream) GetFungibleTokenGate() *FungibleTokenGate

func (*Livestream) GetMonetization

func (m *Livestream) GetMonetization() isLivestream_Monetization

func (*Livestream) GetScheduledTime

func (x *Livestream) GetScheduledTime() int64

func (*Livestream) GetSessionId

func (x *Livestream) GetSessionId() string

func (*Livestream) GetStreamId

func (x *Livestream) GetStreamId() string

func (*Livestream) GetTips

func (x *Livestream) GetTips() *Tips

func (*Livestream) ProtoMessage

func (*Livestream) ProtoMessage()

func (*Livestream) ProtoReflect

func (x *Livestream) ProtoReflect() protoreflect.Message

func (*Livestream) Reset

func (x *Livestream) Reset()

func (*Livestream) String

func (x *Livestream) String() string

type Livestream_FungibleTokenGate

type Livestream_FungibleTokenGate struct {
	FungibleTokenGate *FungibleTokenGate `protobuf:"bytes,102,opt,name=fungible_token_gate,json=fungibleTokenGate,proto3,oneof"`
}

type Livestream_Tips

type Livestream_Tips struct {
	Tips *Tips `protobuf:"bytes,101,opt,name=tips,proto3,oneof"`
}

type MediaMarket

type MediaMarket struct {
	Network       Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	MediaAddress  *Address `protobuf:"bytes,2,opt,name=media_address,json=mediaAddress,proto3" json:"media_address,omitempty"`
	MarketAddress *Address `protobuf:"bytes,3,opt,name=market_address,json=marketAddress,proto3" json:"market_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MediaMarket) Descriptor deprecated

func (*MediaMarket) Descriptor() ([]byte, []int)

Deprecated: Use MediaMarket.ProtoReflect.Descriptor instead.

func (*MediaMarket) GetMarketAddress

func (x *MediaMarket) GetMarketAddress() *Address

func (*MediaMarket) GetMediaAddress

func (x *MediaMarket) GetMediaAddress() *Address

func (*MediaMarket) GetNetwork

func (x *MediaMarket) GetNetwork() Network

func (*MediaMarket) ProtoMessage

func (*MediaMarket) ProtoMessage()

func (*MediaMarket) ProtoReflect

func (x *MediaMarket) ProtoReflect() protoreflect.Message

func (*MediaMarket) Reset

func (x *MediaMarket) Reset()

func (*MediaMarket) String

func (x *MediaMarket) String() string

type Metadata

type Metadata struct {
	Version   string     `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // version number
	Did       string     `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Data      *Data      `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetData

func (x *Metadata) GetData() *Data

func (*Metadata) GetDid

func (x *Metadata) GetDid() string

func (*Metadata) GetSignature

func (x *Metadata) GetSignature() *Signature

func (*Metadata) GetVersion

func (x *Metadata) GetVersion() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type MonocollectionEditions

type MonocollectionEditions struct {
	Network                Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	EditionContractAddress *Address `` /* 129-byte string literal not displayed */
	EditionId              string   `protobuf:"bytes,3,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MonocollectionEditions) Descriptor deprecated

func (*MonocollectionEditions) Descriptor() ([]byte, []int)

Deprecated: Use MonocollectionEditions.ProtoReflect.Descriptor instead.

func (*MonocollectionEditions) GetEditionContractAddress

func (x *MonocollectionEditions) GetEditionContractAddress() *Address

func (*MonocollectionEditions) GetEditionId

func (x *MonocollectionEditions) GetEditionId() string

func (*MonocollectionEditions) GetNetwork

func (x *MonocollectionEditions) GetNetwork() Network

func (*MonocollectionEditions) ProtoMessage

func (*MonocollectionEditions) ProtoMessage()

func (*MonocollectionEditions) ProtoReflect

func (x *MonocollectionEditions) ProtoReflect() protoreflect.Message

func (*MonocollectionEditions) Reset

func (x *MonocollectionEditions) Reset()

func (*MonocollectionEditions) String

func (x *MonocollectionEditions) String() string

type Network

type Network int32
const (
	Network_NETWORK_UNDEFINED Network = 0
	Network_ETH_MAINNET       Network = 1
	Network_ETH_RINKEBY       Network = 2
	Network_SOL_MAINNET       Network = 3
	Network_SOL_DEVNET        Network = 4
	Network_BTC_MAINNET       Network = 5
)

func (Network) Descriptor

func (Network) Descriptor() protoreflect.EnumDescriptor

func (Network) Enum

func (x Network) Enum() *Network

func (Network) EnumDescriptor deprecated

func (Network) EnumDescriptor() ([]byte, []int)

Deprecated: Use Network.Descriptor instead.

func (Network) Number

func (x Network) Number() protoreflect.EnumNumber

func (Network) String

func (x Network) String() string

func (Network) Type

func (Network) Type() protoreflect.EnumType

type Profile

type Profile struct {
	Name          string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Bio           string       `protobuf:"bytes,2,opt,name=bio,proto3" json:"bio,omitempty"`
	ProfileImages []*Thumbnail `protobuf:"bytes,3,rep,name=profile_images,json=profileImages,proto3" json:"profile_images,omitempty"`
	BannerImages  []*Thumbnail `protobuf:"bytes,4,rep,name=banner_images,json=bannerImages,proto3" json:"banner_images,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetBannerImages

func (x *Profile) GetBannerImages() []*Thumbnail

func (*Profile) GetBio

func (x *Profile) GetBio() string

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetProfileImages

func (x *Profile) GetProfileImages() []*Thumbnail

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type Protocol

type Protocol int32
const (
	Protocol_PROTOCOL_UNDEFINED Protocol = 0
	Protocol_ETHEREUM           Protocol = 1
	Protocol_SOLANA             Protocol = 2
	Protocol_BITCOIN            Protocol = 3
)

func (Protocol) Descriptor

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated

func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String

func (x Protocol) String() string

func (Protocol) Type

type Signature

type Signature struct {
	ClaimsSigningAddress *Address `protobuf:"bytes,1,opt,name=claims_signing_address,json=claimsSigningAddress,proto3" json:"claims_signing_address,omitempty"` // crypto address used to attest to a given address
	Claims               *Claims  `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"`                                                           // this gets signed
	Header               *Header  `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`                                                           // type of algorithm used
	ClaimsSignature      string   `protobuf:"bytes,4,opt,name=claims_signature,json=claimsSignature,proto3" json:"claims_signature,omitempty"`                  // signature of header by the attesting_public_key
	MetadataSignature    string   `protobuf:"bytes,5,opt,name=metadata_signature,json=metadataSignature,proto3" json:"metadata_signature,omitempty"`            // signed by the temporary key
	// contains filtered or unexported fields
}

func (*Signature) Descriptor deprecated

func (*Signature) Descriptor() ([]byte, []int)

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetClaims

func (x *Signature) GetClaims() *Claims

func (*Signature) GetClaimsSignature

func (x *Signature) GetClaimsSignature() string

func (*Signature) GetClaimsSigningAddress

func (x *Signature) GetClaimsSigningAddress() *Address

func (*Signature) GetHeader

func (x *Signature) GetHeader() *Header

func (*Signature) GetMetadataSignature

func (x *Signature) GetMetadataSignature() string

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

func (x *Signature) ProtoReflect() protoreflect.Message

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type StaticVideo

type StaticVideo struct {
	Loop          bool   `protobuf:"varint,1,opt,name=loop,proto3" json:"loop,omitempty"`
	Audio         bool   `protobuf:"varint,2,opt,name=audio,proto3" json:"audio,omitempty"`
	Height        uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Width         uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
	ScheduledTime int64  `protobuf:"varint,5,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"`
	// Types that are assignable to Monetization:
	//	*StaticVideo_Tips
	//	*StaticVideo_LinkedEditions
	//	*StaticVideo_MonocollectionEditions
	//	*StaticVideo_Erc721ReserveAuction
	//	*StaticVideo_ZoraAuction
	//	*StaticVideo_MediaMarket
	Monetization isStaticVideo_Monetization `protobuf_oneof:"monetization"`
	// contains filtered or unexported fields
}

func (*StaticVideo) Descriptor deprecated

func (*StaticVideo) Descriptor() ([]byte, []int)

Deprecated: Use StaticVideo.ProtoReflect.Descriptor instead.

func (*StaticVideo) GetAudio

func (x *StaticVideo) GetAudio() bool

func (*StaticVideo) GetErc721ReserveAuction

func (x *StaticVideo) GetErc721ReserveAuction() *Erc721ReserveAuction

func (*StaticVideo) GetHeight

func (x *StaticVideo) GetHeight() uint32

func (*StaticVideo) GetLinkedEditions

func (x *StaticVideo) GetLinkedEditions() *LinkedEditions

func (*StaticVideo) GetLoop

func (x *StaticVideo) GetLoop() bool

func (*StaticVideo) GetMediaMarket

func (x *StaticVideo) GetMediaMarket() *MediaMarket

func (*StaticVideo) GetMonetization

func (m *StaticVideo) GetMonetization() isStaticVideo_Monetization

func (*StaticVideo) GetMonocollectionEditions

func (x *StaticVideo) GetMonocollectionEditions() *MonocollectionEditions

func (*StaticVideo) GetScheduledTime

func (x *StaticVideo) GetScheduledTime() int64

func (*StaticVideo) GetTips

func (x *StaticVideo) GetTips() *Tips

func (*StaticVideo) GetWidth

func (x *StaticVideo) GetWidth() uint32

func (*StaticVideo) GetZoraAuction

func (x *StaticVideo) GetZoraAuction() *ZoraAuction

func (*StaticVideo) ProtoMessage

func (*StaticVideo) ProtoMessage()

func (*StaticVideo) ProtoReflect

func (x *StaticVideo) ProtoReflect() protoreflect.Message

func (*StaticVideo) Reset

func (x *StaticVideo) Reset()

func (*StaticVideo) String

func (x *StaticVideo) String() string

type StaticVideo_Erc721ReserveAuction

type StaticVideo_Erc721ReserveAuction struct {
	Erc721ReserveAuction *Erc721ReserveAuction `protobuf:"bytes,104,opt,name=erc721_reserve_auction,json=erc721ReserveAuction,proto3,oneof"`
}

type StaticVideo_LinkedEditions

type StaticVideo_LinkedEditions struct {
	LinkedEditions *LinkedEditions `protobuf:"bytes,102,opt,name=linked_editions,json=linkedEditions,proto3,oneof"`
}

type StaticVideo_MediaMarket

type StaticVideo_MediaMarket struct {
	MediaMarket *MediaMarket `protobuf:"bytes,106,opt,name=media_market,json=mediaMarket,proto3,oneof"`
}

type StaticVideo_MonocollectionEditions

type StaticVideo_MonocollectionEditions struct {
	MonocollectionEditions *MonocollectionEditions `protobuf:"bytes,103,opt,name=monocollection_editions,json=monocollectionEditions,proto3,oneof"`
}

type StaticVideo_Tips

type StaticVideo_Tips struct {
	Tips *Tips `protobuf:"bytes,101,opt,name=tips,proto3,oneof"`
}

type StaticVideo_ZoraAuction

type StaticVideo_ZoraAuction struct {
	ZoraAuction *ZoraAuction `protobuf:"bytes,105,opt,name=zora_auction,json=zoraAuction,proto3,oneof"`
}

type Thumbnail

type Thumbnail struct {
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Width  uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	Source *Link  `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*Thumbnail) Descriptor deprecated

func (*Thumbnail) Descriptor() ([]byte, []int)

Deprecated: Use Thumbnail.ProtoReflect.Descriptor instead.

func (*Thumbnail) GetHeight

func (x *Thumbnail) GetHeight() uint32

func (*Thumbnail) GetSource

func (x *Thumbnail) GetSource() *Link

func (*Thumbnail) GetWidth

func (x *Thumbnail) GetWidth() uint32

func (*Thumbnail) ProtoMessage

func (*Thumbnail) ProtoMessage()

func (*Thumbnail) ProtoReflect

func (x *Thumbnail) ProtoReflect() protoreflect.Message

func (*Thumbnail) Reset

func (x *Thumbnail) Reset()

func (*Thumbnail) String

func (x *Thumbnail) String() string

type Tips

type Tips struct {
	Network Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	Address *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Tips) Descriptor deprecated

func (*Tips) Descriptor() ([]byte, []int)

Deprecated: Use Tips.ProtoReflect.Descriptor instead.

func (*Tips) GetAddress

func (x *Tips) GetAddress() *Address

func (*Tips) GetNetwork

func (x *Tips) GetNetwork() Network

func (*Tips) ProtoMessage

func (*Tips) ProtoMessage()

func (*Tips) ProtoReflect

func (x *Tips) ProtoReflect() protoreflect.Message

func (*Tips) Reset

func (x *Tips) Reset()

func (*Tips) String

func (x *Tips) String() string

type VideoMetadata

type VideoMetadata struct {
	CreatedTime int64        `protobuf:"varint,1,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	Title       string       `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string       `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Thumbnails  []*Thumbnail `protobuf:"bytes,4,rep,name=thumbnails,proto3" json:"thumbnails,omitempty"`
	VideoSource *Link        `protobuf:"bytes,5,opt,name=video_source,json=videoSource,proto3" json:"video_source,omitempty"`
	// Types that are assignable to VideoType:
	//	*VideoMetadata_StaticVideo
	//	*VideoMetadata_Livestream
	VideoType isVideoMetadata_VideoType `protobuf_oneof:"video_type"`
	// contains filtered or unexported fields
}

func (*VideoMetadata) Descriptor deprecated

func (*VideoMetadata) Descriptor() ([]byte, []int)

Deprecated: Use VideoMetadata.ProtoReflect.Descriptor instead.

func (*VideoMetadata) GetCreatedTime

func (x *VideoMetadata) GetCreatedTime() int64

func (*VideoMetadata) GetDescription

func (x *VideoMetadata) GetDescription() string

func (*VideoMetadata) GetLivestream

func (x *VideoMetadata) GetLivestream() *Livestream

func (*VideoMetadata) GetStaticVideo

func (x *VideoMetadata) GetStaticVideo() *StaticVideo

func (*VideoMetadata) GetThumbnails

func (x *VideoMetadata) GetThumbnails() []*Thumbnail

func (*VideoMetadata) GetTitle

func (x *VideoMetadata) GetTitle() string

func (*VideoMetadata) GetVideoSource

func (x *VideoMetadata) GetVideoSource() *Link

func (*VideoMetadata) GetVideoType

func (m *VideoMetadata) GetVideoType() isVideoMetadata_VideoType

func (*VideoMetadata) ProtoMessage

func (*VideoMetadata) ProtoMessage()

func (*VideoMetadata) ProtoReflect

func (x *VideoMetadata) ProtoReflect() protoreflect.Message

func (*VideoMetadata) Reset

func (x *VideoMetadata) Reset()

func (*VideoMetadata) String

func (x *VideoMetadata) String() string

type VideoMetadata_Livestream

type VideoMetadata_Livestream struct {
	Livestream *Livestream `protobuf:"bytes,7,opt,name=livestream,proto3,oneof"`
}

type VideoMetadata_StaticVideo

type VideoMetadata_StaticVideo struct {
	StaticVideo *StaticVideo `protobuf:"bytes,6,opt,name=static_video,json=staticVideo,proto3,oneof"`
}

type ZoraAuction

type ZoraAuction struct {
	Network                Network  `protobuf:"varint,1,opt,name=network,proto3,enum=metadata.Network" json:"network,omitempty"`
	AuctionContractAddress *Address `` /* 129-byte string literal not displayed */
	TokenContractAddress   *Address `protobuf:"bytes,3,opt,name=token_contract_address,json=tokenContractAddress,proto3" json:"token_contract_address,omitempty"`
	TokenId                string   `protobuf:"bytes,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ZoraAuction) Descriptor deprecated

func (*ZoraAuction) Descriptor() ([]byte, []int)

Deprecated: Use ZoraAuction.ProtoReflect.Descriptor instead.

func (*ZoraAuction) GetAuctionContractAddress

func (x *ZoraAuction) GetAuctionContractAddress() *Address

func (*ZoraAuction) GetNetwork

func (x *ZoraAuction) GetNetwork() Network

func (*ZoraAuction) GetTokenContractAddress

func (x *ZoraAuction) GetTokenContractAddress() *Address

func (*ZoraAuction) GetTokenId

func (x *ZoraAuction) GetTokenId() string

func (*ZoraAuction) ProtoMessage

func (*ZoraAuction) ProtoMessage()

func (*ZoraAuction) ProtoReflect

func (x *ZoraAuction) ProtoReflect() protoreflect.Message

func (*ZoraAuction) Reset

func (x *ZoraAuction) Reset()

func (*ZoraAuction) String

func (x *ZoraAuction) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL