Versions in this module Expand all Collapse all v2 v2.0.3 Dec 26, 2022 Changes in this version + const HeaderSizeUint + type Auth struct + func AuthDefault() Auth + func AuthFromSlice(slice []byte, _compatible bool) (*Auth, error) + func AuthFromSliceUnchecked(slice []byte) *Auth + func (s *Auth) AsBuilder() AuthBuilder + func (s *Auth) AsSlice() []byte + func (s *Auth) Nth0() *Byte + func (s *Auth) Nth1() *Byte + func (s *Auth) Nth10() *Byte + func (s *Auth) Nth11() *Byte + func (s *Auth) Nth12() *Byte + func (s *Auth) Nth13() *Byte + func (s *Auth) Nth14() *Byte + func (s *Auth) Nth15() *Byte + func (s *Auth) Nth16() *Byte + func (s *Auth) Nth17() *Byte + func (s *Auth) Nth18() *Byte + func (s *Auth) Nth19() *Byte + func (s *Auth) Nth2() *Byte + func (s *Auth) Nth20() *Byte + func (s *Auth) Nth3() *Byte + func (s *Auth) Nth4() *Byte + func (s *Auth) Nth5() *Byte + func (s *Auth) Nth6() *Byte + func (s *Auth) Nth7() *Byte + func (s *Auth) Nth8() *Byte + func (s *Auth) Nth9() *Byte + func (s *Auth) RawData() []byte + type AuthBuilder struct + func NewAuthBuilder() *AuthBuilder + func (s *AuthBuilder) Build() Auth + func (s *AuthBuilder) Nth0(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth1(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth10(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth11(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth12(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth13(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth14(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth15(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth16(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth17(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth18(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth19(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth2(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth20(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth3(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth4(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth5(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth6(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth7(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth8(v Byte) *AuthBuilder + func (s *AuthBuilder) Nth9(v Byte) *AuthBuilder + func (s *AuthBuilder) Set(v [21]Byte) *AuthBuilder + type Byte [1]byte + func ByteDefault() Byte + func ByteFromSlice(slice []byte, _compatible bool) (*Byte, error) + func ByteFromSliceUnchecked(slice []byte) *Byte + func NewByte(b byte) Byte + func (b *Byte) AsSlice() []byte + type Bytes struct + func BytesDefault() Bytes + func BytesFromSlice(slice []byte, _compatible bool) (*Bytes, error) + func BytesFromSliceUnchecked(slice []byte) *Bytes + func (s *Bytes) AsBuilder() BytesBuilder + func (s *Bytes) AsSlice() []byte + func (s *Bytes) Get(index uint) *Byte + func (s *Bytes) IsEmpty() bool + func (s *Bytes) ItemCount() uint + func (s *Bytes) Len() uint + func (s *Bytes) RawData() []byte + func (s *Bytes) TotalSize() uint + type BytesBuilder struct + func NewBytesBuilder() *BytesBuilder + func (s *BytesBuilder) Build() Bytes + func (s *BytesBuilder) Extend(iter []Byte) *BytesBuilder + func (s *BytesBuilder) Push(v Byte) *BytesBuilder + func (s *BytesBuilder) Replace(index uint, v Byte) *Byte + func (s *BytesBuilder) Set(v []Byte) *BytesBuilder + type BytesOpt struct + func BytesOptDefault() BytesOpt + func BytesOptFromSlice(slice []byte, compatible bool) (*BytesOpt, error) + func BytesOptFromSliceUnchecked(slice []byte) *BytesOpt + func (s *BytesOpt) AsBuilder() BytesOptBuilder + func (s *BytesOpt) AsSlice() []byte + func (s *BytesOpt) IntoBytes() (*Bytes, error) + func (s *BytesOpt) IsNone() bool + func (s *BytesOpt) IsSome() bool + type BytesOptBuilder struct + func NewBytesOptBuilder() *BytesOptBuilder + func (s *BytesOptBuilder) Build() BytesOpt + func (s *BytesOptBuilder) Set(v Bytes) *BytesOptBuilder + type Identity struct + func IdentityDefault() Identity + func IdentityFromSlice(slice []byte, compatible bool) (*Identity, error) + func IdentityFromSliceUnchecked(slice []byte) *Identity + func (s *Identity) AsBuilder() IdentityBuilder + func (s *Identity) AsSlice() []byte + func (s *Identity) CountExtraFields() uint + func (s *Identity) FieldCount() uint + func (s *Identity) HasExtraFields() bool + func (s *Identity) Identity() *Auth + func (s *Identity) IsEmpty() bool + func (s *Identity) Len() uint + func (s *Identity) Proofs() *SmtProofEntryVec + func (s *Identity) TotalSize() uint + type IdentityBuilder struct + func NewIdentityBuilder() *IdentityBuilder + func (s *IdentityBuilder) Build() Identity + func (s *IdentityBuilder) Identity(v Auth) *IdentityBuilder + func (s *IdentityBuilder) Proofs(v SmtProofEntryVec) *IdentityBuilder + type IdentityOpt struct + func IdentityOptDefault() IdentityOpt + func IdentityOptFromSlice(slice []byte, compatible bool) (*IdentityOpt, error) + func IdentityOptFromSliceUnchecked(slice []byte) *IdentityOpt + func (s *IdentityOpt) AsBuilder() IdentityOptBuilder + func (s *IdentityOpt) AsSlice() []byte + func (s *IdentityOpt) IntoIdentity() (*Identity, error) + func (s *IdentityOpt) IsNone() bool + func (s *IdentityOpt) IsSome() bool + type IdentityOptBuilder struct + func NewIdentityOptBuilder() *IdentityOptBuilder + func (s *IdentityOptBuilder) Build() IdentityOpt + func (s *IdentityOptBuilder) Set(v Identity) *IdentityOptBuilder + type Number uint32 + type OmniLockWitnessLock struct + func OmniLockWitnessLockDefault() OmniLockWitnessLock + func OmniLockWitnessLockFromSlice(slice []byte, compatible bool) (*OmniLockWitnessLock, error) + func OmniLockWitnessLockFromSliceUnchecked(slice []byte) *OmniLockWitnessLock + func (s *OmniLockWitnessLock) AsBuilder() OmniLockWitnessLockBuilder + func (s *OmniLockWitnessLock) AsSlice() []byte + func (s *OmniLockWitnessLock) CountExtraFields() uint + func (s *OmniLockWitnessLock) FieldCount() uint + func (s *OmniLockWitnessLock) HasExtraFields() bool + func (s *OmniLockWitnessLock) IsEmpty() bool + func (s *OmniLockWitnessLock) Len() uint + func (s *OmniLockWitnessLock) OmniIdentity() *IdentityOpt + func (s *OmniLockWitnessLock) Preimage() *BytesOpt + func (s *OmniLockWitnessLock) Signature() *BytesOpt + func (s *OmniLockWitnessLock) TotalSize() uint + type OmniLockWitnessLockBuilder struct + func NewOmniLockWitnessLockBuilder() *OmniLockWitnessLockBuilder + func (s *OmniLockWitnessLockBuilder) Build() OmniLockWitnessLock + func (s *OmniLockWitnessLockBuilder) OmniIdentity(v IdentityOpt) *OmniLockWitnessLockBuilder + func (s *OmniLockWitnessLockBuilder) Preimage(v BytesOpt) *OmniLockWitnessLockBuilder + func (s *OmniLockWitnessLockBuilder) Signature(v BytesOpt) *OmniLockWitnessLockBuilder + type SmtProof struct + func SmtProofDefault() SmtProof + func SmtProofFromSlice(slice []byte, _compatible bool) (*SmtProof, error) + func SmtProofFromSliceUnchecked(slice []byte) *SmtProof + func (s *SmtProof) AsBuilder() SmtProofBuilder + func (s *SmtProof) AsSlice() []byte + func (s *SmtProof) Get(index uint) *Byte + func (s *SmtProof) IsEmpty() bool + func (s *SmtProof) ItemCount() uint + func (s *SmtProof) Len() uint + func (s *SmtProof) RawData() []byte + func (s *SmtProof) TotalSize() uint + type SmtProofBuilder struct + func NewSmtProofBuilder() *SmtProofBuilder + func (s *SmtProofBuilder) Build() SmtProof + func (s *SmtProofBuilder) Extend(iter []Byte) *SmtProofBuilder + func (s *SmtProofBuilder) Push(v Byte) *SmtProofBuilder + func (s *SmtProofBuilder) Replace(index uint, v Byte) *Byte + func (s *SmtProofBuilder) Set(v []Byte) *SmtProofBuilder + type SmtProofEntry struct + func SmtProofEntryDefault() SmtProofEntry + func SmtProofEntryFromSlice(slice []byte, compatible bool) (*SmtProofEntry, error) + func SmtProofEntryFromSliceUnchecked(slice []byte) *SmtProofEntry + func (s *SmtProofEntry) AsBuilder() SmtProofEntryBuilder + func (s *SmtProofEntry) AsSlice() []byte + func (s *SmtProofEntry) CountExtraFields() uint + func (s *SmtProofEntry) FieldCount() uint + func (s *SmtProofEntry) HasExtraFields() bool + func (s *SmtProofEntry) IsEmpty() bool + func (s *SmtProofEntry) Len() uint + func (s *SmtProofEntry) Mask() *Byte + func (s *SmtProofEntry) Proof() *SmtProof + func (s *SmtProofEntry) TotalSize() uint + type SmtProofEntryBuilder struct + func NewSmtProofEntryBuilder() *SmtProofEntryBuilder + func (s *SmtProofEntryBuilder) Build() SmtProofEntry + func (s *SmtProofEntryBuilder) Mask(v Byte) *SmtProofEntryBuilder + func (s *SmtProofEntryBuilder) Proof(v SmtProof) *SmtProofEntryBuilder + type SmtProofEntryVec struct + func SmtProofEntryVecDefault() SmtProofEntryVec + func SmtProofEntryVecFromSlice(slice []byte, compatible bool) (*SmtProofEntryVec, error) + func SmtProofEntryVecFromSliceUnchecked(slice []byte) *SmtProofEntryVec + func (s *SmtProofEntryVec) AsBuilder() SmtProofEntryVecBuilder + func (s *SmtProofEntryVec) AsSlice() []byte + func (s *SmtProofEntryVec) Get(index uint) *SmtProofEntry + func (s *SmtProofEntryVec) IsEmpty() bool + func (s *SmtProofEntryVec) ItemCount() uint + func (s *SmtProofEntryVec) Len() uint + func (s *SmtProofEntryVec) TotalSize() uint + type SmtProofEntryVecBuilder struct + func NewSmtProofEntryVecBuilder() *SmtProofEntryVecBuilder + func (s *SmtProofEntryVecBuilder) Build() SmtProofEntryVec + func (s *SmtProofEntryVecBuilder) Extend(iter []SmtProofEntry) *SmtProofEntryVecBuilder + func (s *SmtProofEntryVecBuilder) Push(v SmtProofEntry) *SmtProofEntryVecBuilder + func (s *SmtProofEntryVecBuilder) Replace(index uint, v SmtProofEntry) *SmtProofEntry + func (s *SmtProofEntryVecBuilder) Set(v []SmtProofEntry) *SmtProofEntryVecBuilder