Documentation ¶
Index ¶
Constants ¶
View Source
const VERIFICATION_KEY_HASH_SIZE = 28
Variables ¶
This section is empty.
Functions ¶
func Blake2bHash ¶
Types ¶
type ConstrainedBytes ¶
type ConstrainedBytes struct {
Payload []byte
}
func (*ConstrainedBytes) MarshalCBOR ¶
func (cb *ConstrainedBytes) MarshalCBOR() ([]byte, error)
func (*ConstrainedBytes) UnmarshalCBOR ¶
func (cb *ConstrainedBytes) UnmarshalCBOR(data []byte) error
type CustomBytes ¶
type CustomBytes struct { Value string // contains filtered or unexported fields }
func (*CustomBytes) MarshalCBOR ¶
func (cb *CustomBytes) MarshalCBOR() ([]byte, error)
func (CustomBytes) String ¶
func (cb CustomBytes) String() string
func (*CustomBytes) UnmarshalCBOR ¶
func (cb *CustomBytes) UnmarshalCBOR(value []byte) error
type DatumHash ¶
type DatumHash ConstrainedBytes
type PubKeyHash ¶
type PubKeyHash [28]byte
type ScriptDataHash ¶
type ScriptDataHash ConstrainedBytes
type ScriptHash ¶
type ScriptHash [28]byte
func (*ScriptHash) Bytes ¶
func (sh *ScriptHash) Bytes() []byte
type TransactionId ¶
type TransactionId ConstrainedBytes
Click to show internal directories.
Click to hide internal directories.