Documentation ¶
Index ¶
- type AlonzoMetadata
- type AuxiliaryData
- func (ad *AuxiliaryData) Hash() []byte
- func (ad *AuxiliaryData) MarshalCBOR() ([]byte, error)
- func (ad *AuxiliaryData) SetAlonzoMetadata(value AlonzoMetadata)
- func (ad *AuxiliaryData) SetBasicMetadata(value Metadata)
- func (ad *AuxiliaryData) SetShelleyMetadata(value ShelleyMaryMetadata)
- func (ad *AuxiliaryData) UnmarshalCBOR(value []byte) error
- type Metadata
- type MinimalMetadata
- type PoliciesMetadata
- type ShelleyMaryMetadata
- type TagMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlonzoMetadata ¶
type AlonzoMetadata struct { Metadata Metadata `cbor:"0,keyasint,omitempty"` NativeScripts []NativeScript.NativeScript `cbor:"1,keyasint,omitempty"` PlutusScripts []uint8 `cbor:"2,keyasint,omitempty"` }
type AuxiliaryData ¶
type AuxiliaryData struct {
// contains filtered or unexported fields
}
func (*AuxiliaryData) Hash ¶
func (ad *AuxiliaryData) Hash() []byte
func (*AuxiliaryData) MarshalCBOR ¶
func (ad *AuxiliaryData) MarshalCBOR() ([]byte, error)
func (*AuxiliaryData) SetAlonzoMetadata ¶
func (ad *AuxiliaryData) SetAlonzoMetadata(value AlonzoMetadata)
func (*AuxiliaryData) SetBasicMetadata ¶
func (ad *AuxiliaryData) SetBasicMetadata(value Metadata)
func (*AuxiliaryData) SetShelleyMetadata ¶
func (ad *AuxiliaryData) SetShelleyMetadata(value ShelleyMaryMetadata)
func (*AuxiliaryData) UnmarshalCBOR ¶
func (ad *AuxiliaryData) UnmarshalCBOR(value []byte) error
type Metadata ¶
type Metadata map[int]TagMetadata
type MinimalMetadata ¶
type PoliciesMetadata ¶
type PoliciesMetadata map[string]MinimalMetadata
type ShelleyMaryMetadata ¶
type ShelleyMaryMetadata struct { Metadata Metadata `cbor:",omitempty"` NativeScripts []NativeScript.NativeScript `cbor:",omitempty"` // contains filtered or unexported fields }
func (*ShelleyMaryMetadata) MarshalCBOR ¶
func (smm *ShelleyMaryMetadata) MarshalCBOR() ([]byte, error)
type TagMetadata ¶
Click to show internal directories.
Click to hide internal directories.