Versions in this module Expand all Collapse all v1 v1.19.9 Sep 9, 2024 v1.19.8 Jun 24, 2024 Changes in this version + var ProtoV020 = MustParseProtocolHash("PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi") v1.19.7 Jun 21, 2024 Changes in this version + var ParisCnet = MustParseChainIdHash("NetXXWAHLEvre9b") + var ProtoV019_2 = MustParseProtocolHash("PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi") + var PsParisC = ProtoV019_2 v1.19.6 Jun 14, 2024 v1.19.5 Jun 13, 2024 v1.19.4 Jun 5, 2024 v1.19.3 May 31, 2024 v1.19.2 May 31, 2024 v1.19.1 May 29, 2024 v1.19.0 May 23, 2024 Changes in this version + const BLINDED_PUBLIC_KEY_HASH_PREFIX + const BLOCK_HASH_PREFIX + const BLOCK_METADATA_HASH_PREFIX + const BLOCK_PAYLOAD_HASH_PREFIX + const BLS12_381_ENCRYPTED_SECRET_KEY_PREFIX + const BLS12_381_PUBLIC_KEY_HASH_PREFIX + const BLS12_381_PUBLIC_KEY_PREFIX + const BLS12_381_SECRET_KEY_PREFIX + const BLS12_381_SIGNATURE_PREFIX + const CHAIN_ID_PREFIX + const CONTEXT_HASH_PREFIX + const ED25519_ENCRYPTED_SEED_PREFIX + const ED25519_PUBLIC_KEY_HASH_PREFIX + const ED25519_PUBLIC_KEY_PREFIX + const ED25519_SECRET_KEY_PREFIX + const ED25519_SEED_PREFIX + const ED25519_SIGNATURE_PREFIX + const GENERIC_AGGREGATE_SIGNATURE_PREFIX + const GENERIC_SIGNATURE_PREFIX + const ID_HASH_PREFIX + const MAX_ADDRESS_LEN + const NAY + const NOCURVE_PUBLIC_KEY_HASH_PREFIX + const NONCE_HASH_PREFIX + const Name + const OFF + const ON + const OPERATION_HASH_PREFIX + const OPERATION_LIST_HASH_PREFIX + const OPERATION_LIST_LIST_HASH_PREFIX + const OPERATION_METADATA_HASH_PREFIX + const OPERATION_METADATA_LIST_HASH_PREFIX + const OPERATION_METADATA_LIST_LIST_HASH_PREFIX + const P256_ENCRYPTED_SECRET_KEY_PREFIX + const P256_PUBLIC_KEY_HASH_PREFIX + const P256_PUBLIC_KEY_PREFIX + const P256_SECRET_KEY_PREFIX + const P256_SIGNATURE_PREFIX + const PASS + const PROTOCOL_HASH_PREFIX + const SAPLING_ADDRESS_PREFIX + const SAPLING_SPENDING_KEY_PREFIX + const SCRIPT_EXPR_HASH_PREFIX + const SECP256K1_ELEMENT_PREFIX + const SECP256K1_ENCRYPTED_SCALAR_PREFIX + const SECP256K1_ENCRYPTED_SECRET_KEY_PREFIX + const SECP256K1_PUBLIC_KEY_HASH_PREFIX + const SECP256K1_PUBLIC_KEY_PREFIX + const SECP256K1_SCALAR_PREFIX + const SECP256K1_SECRET_KEY_PREFIX + const SECP256K1_SIGNATURE_PREFIX + const SMART_ROLLUP_ADDRESS_PREFIX + const SMART_ROLLUP_COMMITMENT_HASH_PREFIX + const SMART_ROLLUP_REVEAL_HASH_PREFIX + const SMART_ROLLUP_STATE_HASH_PREFIX + const Symbol + const TX_ROLLUP_ADDRESS_PREFIX + const TX_ROLLUP_COMMITMENT_HASH_PREFIX + const TX_ROLLUP_INBOX_HASH_PREFIX + const TX_ROLLUP_MESSAGE_HASH_PREFIX + const TX_ROLLUP_MESSAGE_RESULT_HASH_PREFIX + const TX_ROLLUP_MESSAGE_RESULT_LIST_HASH_PREFIX + const TX_ROLLUP_WITHDRAW_LIST_HASH_PREFIX + const YAY + var BLINDED_PUBLIC_KEY_HASH_ID = []byte + var BLOCK_HASH_ID = []byte + var BLOCK_METADATA_HASH_ID = []byte + var BLOCK_PAYLOAD_HASH_ID = []byte + var BLS12_381_ENCRYPTED_SECRET_KEY_ID = []byte + var BLS12_381_PUBLIC_KEY_HASH_ID = []byte + var BLS12_381_PUBLIC_KEY_ID = []byte + var BLS12_381_SECRET_KEY_ID = []byte + var BLS12_381_SIGNATURE_ID = []byte + var BurnAddress = MustParseAddress("tz1burnburnburnburnburnburnburjAYjjX") + var CHAIN_ID = []byte + var CONTEXT_HASH_ID = []byte + var DefaultParams = ...(Deployments[Mainnet].AtProtocol(ProtoV019)) + var Deployments = map[ChainIdHash]ProtocolHistory + var Digest = blake2b.Sum256 + var ED25519_ENCRYPTED_SEED_ID = []byte + var ED25519_PUBLIC_KEY_HASH_ID = []byte + var ED25519_PUBLIC_KEY_ID = []byte + var ED25519_SECRET_KEY_ID = []byte + var ED25519_SEED_ID = []byte + var ED25519_SIGNATURE_ID = []byte + var ErrChecksumMismatch = errors.New("tezos: checksum mismatch") + var ErrPassphrase = errors.New("tezos: passphrase required") + var ErrSignature = errors.New("signature mismatch") + var ErrUnknownAddressType = errors.New("tezos: unknown address type") + var ErrUnknownHashType = errors.New("tezos: unknown hash type") + var ErrUnknownKeyType = errors.New("tezos: unknown key type") + var ErrUnknownSignatureType = errors.New("unknown signature type") + var GENERIC_AGGREGATE_SIGNATURE_ID = []byte + var GENERIC_SIGNATURE_ID = []byte + var Ghostnet = MustParseChainIdHash("NetXnHfVqm9iesp") + var GhostnetParams = ...(Deployments[Ghostnet].AtProtocol(ProtoV019)) + var HashTypeBlock = HashType + var HashTypeBlockMetadata = HashType + var HashTypeBlockPayload = HashType + var HashTypeChainId = HashType + var HashTypeContext = HashType + var HashTypeElementSecp256k1 = HashType + var HashTypeEncryptedSecp256k1Scalar = HashType + var HashTypeEncryptedSeedEd25519 = HashType + var HashTypeEncryptedSkBls12_381 = HashType + var HashTypeEncryptedSkP256 = HashType + var HashTypeEncryptedSkSecp256k1 = HashType + var HashTypeId = HashType + var HashTypeInvalid = HashType + var HashTypeNonce = HashType + var HashTypeOperation = HashType + var HashTypeOperationList = HashType + var HashTypeOperationListList = HashType + var HashTypeOperationMetadata = HashType + var HashTypeOperationMetadataList = HashType + var HashTypeOperationMetadataListList = HashType + var HashTypePkBls12_381 = HashType + var HashTypePkEd25519 = HashType + var HashTypePkP256 = HashType + var HashTypePkSecp256k1 = HashType + var HashTypePkhBlinded = HashType + var HashTypePkhBls12_381 = HashType + var HashTypePkhEd25519 = HashType + var HashTypePkhNocurve = HashType + var HashTypePkhP256 = HashType + var HashTypePkhSecp256k1 = HashType + var HashTypeProtocol = HashType + var HashTypeSaplingAddress = HashType + var HashTypeSaplingSpendingKey = HashType + var HashTypeScalarSecp256k1 = HashType + var HashTypeScriptExpr = HashType + var HashTypeSeedEd25519 = HashType + var HashTypeSigBls12_381 = HashType + var HashTypeSigEd25519 = HashType + var HashTypeSigGeneric = HashType + var HashTypeSigGenericAggregate = HashType + var HashTypeSigP256 = HashType + var HashTypeSigSecp256k1 = HashType + var HashTypeSkBls12_381 = HashType + var HashTypeSkEd25519 = HashType + var HashTypeSkP256 = HashType + var HashTypeSkSecp256k1 = HashType + var HashTypeSmartRollupAddress = HashType + var HashTypeSmartRollupCommitHash = HashType + var HashTypeSmartRollupRevealHash = HashType + var HashTypeSmartRollupStateHash = HashType + var HashTypeTxRollupAddress = HashType + var HashTypeTxRollupCommitment = HashType + var HashTypeTxRollupInbox = HashType + var HashTypeTxRollupMessage = HashType + var HashTypeTxRollupMessageResult = HashType + var HashTypeTxRollupMessageResultList = HashType + var HashTypeTxRollupWithdrawList = HashType + var ID_HASH_ID = []byte + var InvalidAddress = NewAddress(AddressTypeInvalid, nil) + var InvalidKey = Key + var InvalidSignature = Signature + var InvalidToken = Token + var Mainnet = MustParseChainIdHash("NetXdQprcVkpaWU") + var NOCURVE_PUBLIC_KEY_HASH_ID = []byte + var NONCE_HASH_ID = []byte + var Nairobinet = MustParseChainIdHash("NetXyuzvDo2Ugzb") + var NairobinetParams = ...(Deployments[Nairobinet].AtProtocol(ProtoV017)) + var OPERATION_HASH_ID = []byte + var OPERATION_LIST_HASH_ID = []byte + var OPERATION_LIST_LIST_HASH_ID = []byte + var OPERATION_METADATA_HASH_ID = []byte + var OPERATION_METADATA_LIST_HASH_ID = []byte + var OPERATION_METADATA_LIST_LIST_HASH_ID = []byte + var Oxfordnet = MustParseChainIdHash("NetXxWsskGahzQB") + var OxfordnetParams = ...(Deployments[Oxfordnet].AtProtocol(ProtoV018)) + var P256_ENCRYPTED_SECRET_KEY_ID = []byte + var P256_PUBLIC_KEY_HASH_ID = []byte + var P256_PUBLIC_KEY_ID = []byte + var P256_SECRET_KEY_ID = []byte + var P256_SIGNATURE_ID = []byte + var PROTOCOL_HASH_ID = []byte + var Parisnet = MustParseChainIdHash("NetXo8SqH1c38SS") + var ParisnetParams = ...(Deployments[Parisnet].AtProtocol(ProtoV019)) + var ProtoAlpha = MustParseProtocolHash("ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK") + var ProtoBootstrap = MustParseProtocolHash("Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P") + var ProtoGenesis = MustParseProtocolHash("PrihK96nBAFSxVL1GLJTVhu9YnzkMFiBeuJRPA8NwuZVZCE1L6i") + var ProtoV001 = MustParseProtocolHash("PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY") + var ProtoV002 = MustParseProtocolHash("PsYLVpVvgbLhAhoqAkMFUo6gudkJ9weNXhUYCiLDzcUpFpkk8Wt") + var ProtoV003 = MustParseProtocolHash("PsddFKi32cMJ2qPjf43Qv5GDWLDPZb3T3bF6fLKiF5HtvHNU7aP") + var ProtoV004 = MustParseProtocolHash("Pt24m4xiPbLDhVgVfABUjirbmda3yohdN82Sp9FeuAXJ4eV9otd") + var ProtoV005_2 = MustParseProtocolHash("PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS") + var ProtoV006_2 = MustParseProtocolHash("PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb") + var ProtoV007 = MustParseProtocolHash("PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo") + var ProtoV008_2 = MustParseProtocolHash("PtEdo2ZkT9oKpimTah6x2embF25oss54njMuPzkJTEi5RqfdZFA") + var ProtoV009 = MustParseProtocolHash("PsFLorenaUUuikDWvMDr6fGBRG8kt3e3D3fHoXK1j1BFRxeSH4i") + var ProtoV010 = MustParseProtocolHash("PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV") + var ProtoV011_2 = MustParseProtocolHash("PtHangz2aRngywmSRGGvrcTyMbbdpWdpFKuS4uMWxg2RaH9i1qx") + var ProtoV012_2 = MustParseProtocolHash("Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A") + var ProtoV013_2 = MustParseProtocolHash("PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY") + var ProtoV014 = MustParseProtocolHash("PtKathmankSpLLDALzWw7CGD2j2MtyveTwboEYokqUCP4a1LxMg") + var ProtoV015 = MustParseProtocolHash("PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW") + var ProtoV016_2 = MustParseProtocolHash("PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1") + var ProtoV017 = MustParseProtocolHash("PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf") + var ProtoV018 = MustParseProtocolHash("ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH") + var ProtoV019 = MustParseProtocolHash("PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz") + var Proxford = ProtoV018 + var PsBabyM1 = ProtoV005_2 + var PsCARTHA = ProtoV006_2 + var PsDELPH1 = ProtoV007 + var PsFLoren = ProtoV009 + var Psithaca = ProtoV012_2 + var PtAthens = ProtoV004 + var PtEdo2Zk = ProtoV008_2 + var PtGRANAD = ProtoV010 + var PtHangz2 = ProtoV011_2 + var PtJakart = ProtoV013_2 + var PtKathma = ProtoV014 + var PtLimaPt = ProtoV015 + var PtMumbai = ProtoV016_2 + var PtNairobi = ProtoV017 + var PtParisB = ProtoV019 + var SAPLING_ADDRESS_ID = []byte + var SAPLING_SPENDING_KEY_ID = []byte + var SCRIPT_EXPR_HASH_ID = []byte + var SECP256K1_ELEMENT_ID = []byte + var SECP256K1_ENCRYPTED_SCALAR_ID = []byte + var SECP256K1_ENCRYPTED_SECRET_KEY_ID = []byte + var SECP256K1_PUBLIC_KEY_HASH_ID = []byte + var SECP256K1_PUBLIC_KEY_ID = []byte + var SECP256K1_SCALAR_ID = []byte + var SECP256K1_SECRET_KEY_ID = []byte + var SECP256K1_SIGNATURE_ID = []byte + var SMART_ROLLUP_ADDRESS_ID = []byte + var SMART_ROLLUP_COMMITMENT_HASH_ID = []byte + var SMART_ROLLUP_REVEAL_HASH_ID = []byte + var SMART_ROLLUP_STATE_HASH_ID = []byte + var TX_ROLLUP_ADDRESS_ID = []byte + var TX_ROLLUP_COMMITMENT_HASH_ID = []byte + var TX_ROLLUP_INBOX_HASH_ID = []byte + var TX_ROLLUP_MESSAGE_HASH_ID = []byte + var TX_ROLLUP_MESSAGE_RESULT_HASH_ID = []byte + var TX_ROLLUP_MESSAGE_RESULT_LIST_HASH_ID = []byte + var TX_ROLLUP_WITHDRAW_LIST_HASH_ID = []byte + var Versions = map[ProtocolHash]int + var VotingPeriods = []VotingPeriodKind + var Zero = NewZ(0) + var ZeroAddress = NewAddress(AddressTypeEd25519, make([]byte, HashTypePkhEd25519.Len)) + var ZeroBlockHash = NewBlockHash(nil) + var ZeroChainIdHash = NewChainIdHash(nil) + var ZeroContextHash = NewContextHash(nil) + var ZeroContract = NewAddress(AddressTypeContract, make([]byte, HashTypePkhNocurve.Len)) + var ZeroExprHash = NewExprHash(nil) + var ZeroNonceHash = NewNonceHash(nil) + var ZeroOpHash = NewOpHash(nil) + var ZeroOpListListHash = NewOpListListHash(nil) + var ZeroPayloadHash = NewPayloadHash(nil) + var ZeroProtocolHash = NewProtocolHash(nil) + var ZeroSignature = MustParseSignature(...) + var ZeroSmartRollupCommitHash = NewSmartRollupCommitHash(nil) + var ZeroSmartRollupStateHash = NewSmartRollupStateHash(nil) + var ZeroToken = NewToken(ZeroContract, Zero) + func BlindHash(hash, secret []byte) ([]byte, error) + func EncodeAddress(typ AddressType, hash []byte) string + func EncodeBlindedAddress(hash, secret []byte) (string, error) + func HasAddressPrefix(s string) bool + func HasKeyPrefix(s string) bool + func HasSignaturePrefix(s string) bool + func IsAddressBytes(b []byte) bool + func IsEncryptedKey(s string) bool + func IsPrivateKey(s string) bool + func IsPublicKey(s string) bool + func IsSignature(s string) bool + func MatchBlindedAddress(a, b Address, secret []byte) bool + func Short(v any) string + type Address [21]byte + func BlindAddress(a Address, secret []byte) (Address, error) + func DecodeBlindedAddress(addr string) (a Address, err error) + func MustParseAddress(addr string) Address + func NewAddress(typ AddressType, hash []byte) (a Address) + func ParseAddress(addr string) (a Address, err error) + func (a *Address) Decode(b []byte) error + func (a *Address) Set(addr string) (err error) + func (a *Address) UnmarshalBinary(b []byte) error + func (a *Address) UnmarshalText(data []byte) error + func (a Address) Clone() (b Address) + func (a Address) ContractAddress() string + func (a Address) Encode() []byte + func (a Address) EncodePadded() []byte + func (a Address) Equal(b Address) bool + func (a Address) Hash() []byte + func (a Address) IsContract() bool + func (a Address) IsEOA() bool + func (a Address) IsRollup() bool + func (a Address) IsValid() bool + func (a Address) KeyType() KeyType + func (a Address) MarshalBinary() ([]byte, error) + func (a Address) MarshalText() ([]byte, error) + func (a Address) SmartRollupAddress() string + func (a Address) String() string + func (a Address) TxRollupAddress() string + func (a Address) Type() AddressType + type AddressFilter struct + func NewAddressFilter(addrs ...Address) *AddressFilter + func (s *AddressFilter) Add(addr Address) + func (s *AddressFilter) AddUnique(addr Address) bool + func (s *AddressFilter) Len() int + func (s *AddressFilter) Merge(b *AddressFilter) + func (s *AddressFilter) Remove(addr Address) + func (s AddressFilter) Contains(addr Address) bool + type AddressSet struct + func BuildAddressSet(s ...string) (*AddressSet, error) + func MustBuildAddressSet(s ...string) *AddressSet + func NewAddressSet(addrs ...Address) *AddressSet + func (s *AddressSet) Add(addr Address) + func (s *AddressSet) AddUnique(addr Address) bool + func (s *AddressSet) Clear() + func (s *AddressSet) Contains(addr Address) bool + func (s *AddressSet) Len() int + func (s *AddressSet) Merge(b *AddressSet) + func (s *AddressSet) Remove(addr Address) + func (s AddressSet) HasCollisions() bool + func (s AddressSet) HasIntersect(t *AddressSet) bool + func (s AddressSet) Intersect(t *AddressSet) *AddressSet + func (s AddressSet) Map() map[uint64]Address + func (s AddressSet) Slice() []Address + type AddressType byte + const AddressTypeBlinded + const AddressTypeBls12_381 + const AddressTypeContract + const AddressTypeEd25519 + const AddressTypeInvalid + const AddressTypeP256 + const AddressTypeSecp256k1 + const AddressTypeSmartRollup + const AddressTypeTxRollup + func DetectAddressType(s string) AddressType + func ParseAddressType(s string) AddressType + func (t *AddressType) UnmarshalText(data []byte) error + func (t AddressType) HashType() HashType + func (t AddressType) IsValid() bool + func (t AddressType) KeyType() KeyType + func (t AddressType) MarshalText() ([]byte, error) + func (t AddressType) Prefix() string + func (t AddressType) String() string + func (t AddressType) Tag() byte + type BallotVote byte + const BallotVoteInvalid + const BallotVoteNay + const BallotVotePass + const BallotVoteYay + func ParseBallotTag(t byte) BallotVote + func ParseBallotVote(s string) BallotVote + func (v *BallotVote) UnmarshalBinary(data []byte) error + func (v *BallotVote) UnmarshalText(data []byte) error + func (v BallotVote) IsValid() bool + func (v BallotVote) MarshalText() ([]byte, error) + func (v BallotVote) String() string + func (v BallotVote) Tag() byte + type BlockHash [32]byte + func MustParseBlockHash(s string) BlockHash + func NewBlockHash(buf []byte) (h BlockHash) + func ParseBlockHash(s string) (h BlockHash, err error) + func (h *BlockHash) Set(s string) (err error) + func (h *BlockHash) UnmarshalBinary(buf []byte) error + func (h *BlockHash) UnmarshalText(buf []byte) error + func (h BlockHash) Bytes() []byte + func (h BlockHash) Clone() BlockHash + func (h BlockHash) Equal(h2 BlockHash) bool + func (h BlockHash) Int64() int64 + func (h BlockHash) IsValid() bool + func (h BlockHash) MarshalBinary() ([]byte, error) + func (h BlockHash) MarshalText() ([]byte, error) + func (h BlockHash) String() string + type Bool byte + const False + const True + func (b *Bool) DecodeBuffer(buf *bytes.Buffer) error + func (b Bool) EncodeBuffer(buf *bytes.Buffer) error + type ChainIdHash [4]byte + func MustParseChainIdHash(s string) ChainIdHash + func NewChainIdHash(buf []byte) (h ChainIdHash) + func ParseChainIdHash(s string) (h ChainIdHash, err error) + func (h *ChainIdHash) Set(s string) (err error) + func (h *ChainIdHash) UnmarshalBinary(buf []byte) error + func (h *ChainIdHash) UnmarshalText(buf []byte) error + func (h ChainIdHash) Bytes() []byte + func (h ChainIdHash) Clone() ChainIdHash + func (h ChainIdHash) Equal(h2 ChainIdHash) bool + func (h ChainIdHash) IsValid() bool + func (h ChainIdHash) MarshalBinary() ([]byte, error) + func (h ChainIdHash) MarshalText() ([]byte, error) + func (h ChainIdHash) String() string + func (h ChainIdHash) Uint32() uint32 + type ContextHash [32]byte + func MustParseContextHash(s string) ContextHash + func NewContextHash(buf []byte) (h ContextHash) + func ParseContextHash(s string) (h ContextHash, err error) + func (h *ContextHash) Set(hash string) (err error) + func (h *ContextHash) UnmarshalBinary(buf []byte) error + func (h *ContextHash) UnmarshalText(buf []byte) error + func (h ContextHash) Bytes() []byte + func (h ContextHash) Clone() ContextHash + func (h ContextHash) Equal(h2 ContextHash) bool + func (h ContextHash) IsValid() bool + func (h ContextHash) MarshalBinary() ([]byte, error) + func (h ContextHash) MarshalText() ([]byte, error) + func (h ContextHash) String() string + type Costs struct + AllocationBurn int64 + Burn int64 + Fee int64 + GasUsed int64 + StorageBurn int64 + StorageUsed int64 + func (x Costs) Add(y Costs) Costs + type Deployment struct + BlocksPerCycle int64 + BlocksPerSnapshot int64 + ConsensusRightsDelay int64 + EndHeight int64 + Protocol ProtocolHash + StartCycle int64 + StartHeight int64 + StartOffset int64 + type ExprHash [32]byte + func MustParseExprHash(s string) ExprHash + func NewExprHash(buf []byte) (h ExprHash) + func ParseExprHash(s string) (h ExprHash, err error) + func (h *ExprHash) Set(hash string) (err error) + func (h *ExprHash) UnmarshalBinary(buf []byte) error + func (h *ExprHash) UnmarshalText(buf []byte) error + func (h ExprHash) Bytes() []byte + func (h ExprHash) Clone() ExprHash + func (h ExprHash) Equal(h2 ExprHash) bool + func (h ExprHash) IsValid() bool + func (h ExprHash) MarshalBinary() ([]byte, error) + func (h ExprHash) MarshalText() ([]byte, error) + func (h ExprHash) String() string + type FeatureVote byte + const FeatureVoteInvalid + const FeatureVoteOff + const FeatureVoteOn + const FeatureVotePass + func ParseFeatureVoteTag(t byte) FeatureVote + func (v *FeatureVote) UnmarshalBinary(data []byte) error + func (v *FeatureVote) UnmarshalJSON(data []byte) error + func (v FeatureVote) IsValid() bool + func (v FeatureVote) MarshalText() ([]byte, error) + func (v FeatureVote) String() string + func (v FeatureVote) Tag() byte + type HashType struct + B58Len int + B58Prefix string + Id []byte + Len int + func (t HashType) Equal(x HashType) bool + func (t HashType) IsValid() bool + func (t HashType) String() string + type HexBytes []byte + func (h *HexBytes) ReadBytes(r io.Reader, size int) error + func (h *HexBytes) UnmarshalBinary(data []byte) error + func (h *HexBytes) UnmarshalText(data []byte) error + func (h HexBytes) Bytes() []byte + func (h HexBytes) MarshalBinary() ([]byte, error) + func (h HexBytes) MarshalText() ([]byte, error) + func (h HexBytes) String() string + type Key struct + Data []byte + Type KeyType + func DecodeKey(buf []byte) (Key, error) + func MustParseKey(key string) Key + func NewKey(typ KeyType, data []byte) Key + func ParseKey(s string) (Key, error) + func (k *Key) DecodeBuffer(buf *bytes.Buffer) error + func (k *Key) EncodeBuffer(buf *bytes.Buffer) error + func (k *Key) Set(key string) (err error) + func (k *Key) UnmarshalBinary(b []byte) error + func (k *Key) UnmarshalText(data []byte) error + func (k Key) Address() Address + func (k Key) Bytes() []byte + func (k Key) Clone() Key + func (k Key) Hash() []byte + func (k Key) IsEqual(k2 Key) bool + func (k Key) IsValid() bool + func (k Key) MarshalBinary() ([]byte, error) + func (k Key) MarshalText() ([]byte, error) + func (k Key) String() string + func (k Key) Verify(hash []byte, sig Signature) error + type KeyType byte + const KeyTypeBls12_381 + const KeyTypeEd25519 + const KeyTypeInvalid + const KeyTypeP256 + const KeyTypeSecp256k1 + func ParseKeyTag(b byte) KeyType + func ParseKeyType(s string) (KeyType, bool) + func (t KeyType) AddressType() AddressType + func (t KeyType) Curve() elliptic.Curve + func (t KeyType) IsValid() bool + func (t KeyType) PkHashType() HashType + func (t KeyType) PkPrefix() string + func (t KeyType) PkPrefixBytes() []byte + func (t KeyType) SkHashType() HashType + func (t KeyType) SkPrefix() string + func (t KeyType) SkPrefixBytes() []byte + func (t KeyType) SkePrefix() string + func (t KeyType) SkePrefixBytes() []byte + func (t KeyType) String() string + func (t KeyType) Tag() byte + type Limits struct + Fee int64 + GasLimit int64 + StorageLimit int64 + func (x Limits) Add(y Limits) Limits + type N int64 + func NewN(i int64) N + func ParseN(s string) (N, error) + func (n *N) DecodeBuffer(buf *bytes.Buffer) error + func (n *N) Set(val string) (err error) + func (n *N) SetInt64(i int64) *N + func (n *N) UnmarshalBinary(data []byte) error + func (n *N) UnmarshalText(d []byte) error + func (n N) Clone() N + func (n N) Decimals(d int) string + func (n N) EncodeBuffer(buf *bytes.Buffer) error + func (n N) Equal(x N) bool + func (n N) Int64() int64 + func (n N) IsZero() bool + func (n N) MarshalBinary() ([]byte, error) + func (n N) MarshalText() ([]byte, error) + func (n N) String() string + type NonceHash [32]byte + func MustParseNonceHash(s string) NonceHash + func NewNonceHash(buf []byte) (h NonceHash) + func ParseNonceHash(s string) (h NonceHash, err error) + func ParseNonceHashSafe(s string) (h NonceHash) + func (h *NonceHash) Set(hash string) (err error) + func (h *NonceHash) UnmarshalBinary(buf []byte) error + func (h *NonceHash) UnmarshalText(buf []byte) error + func (h NonceHash) Bytes() []byte + func (h NonceHash) Clone() NonceHash + func (h NonceHash) Equal(h2 NonceHash) bool + func (h NonceHash) IsValid() bool + func (h NonceHash) MarshalBinary() ([]byte, error) + func (h NonceHash) MarshalText() ([]byte, error) + func (h NonceHash) String() string + type OpHash [32]byte + func MustParseOpHash(s string) OpHash + func NewOpHash(buf []byte) (h OpHash) + func ParseOpHash(s string) (h OpHash, err error) + func (h *OpHash) Set(s string) (err error) + func (h *OpHash) UnmarshalBinary(buf []byte) error + func (h *OpHash) UnmarshalText(buf []byte) error + func (h OpHash) Bytes() []byte + func (h OpHash) Clone() OpHash + func (h OpHash) Equal(h2 OpHash) bool + func (h OpHash) IsValid() bool + func (h OpHash) MarshalBinary() ([]byte, error) + func (h OpHash) MarshalText() ([]byte, error) + func (h OpHash) String() string + type OpListListHash [32]byte + func MustParseOpListListHash(s string) OpListListHash + func NewOpListListHash(buf []byte) (h OpListListHash) + func ParseOpListListHash(s string) (h OpListListHash, err error) + func (h *OpListListHash) Set(s string) (err error) + func (h *OpListListHash) UnmarshalBinary(buf []byte) error + func (h *OpListListHash) UnmarshalText(buf []byte) error + func (h OpListListHash) Bytes() []byte + func (h OpListListHash) Clone() OpListListHash + func (h OpListListHash) Equal(h2 OpListListHash) bool + func (h OpListListHash) IsValid() bool + func (h OpListListHash) MarshalBinary() ([]byte, error) + func (h OpListListHash) MarshalText() ([]byte, error) + func (h OpListListHash) String() string + type OpStatus byte + const OpStatusApplied + const OpStatusBacktracked + const OpStatusFailed + const OpStatusInvalid + const OpStatusSkipped + func ParseOpStatus(s string) OpStatus + func (t *OpStatus) UnmarshalText(data []byte) error + func (t OpStatus) IsSuccess() bool + func (t OpStatus) IsValid() bool + func (t OpStatus) MarshalText() ([]byte, error) + func (t OpStatus) String() string + type OpType byte + const OpTypeActivateAccount + const OpTypeAttestation + const OpTypeAttestationWithDal + const OpTypeBallot + const OpTypeDalPublishCommitment + const OpTypeDelegation + const OpTypeDoubleAttestationEvidence + const OpTypeDoubleBakingEvidence + const OpTypeDoubleEndorsementEvidence + const OpTypeDoublePreattestationEvidence + const OpTypeDoublePreendorsementEvidence + const OpTypeDrainDelegate + const OpTypeEndorsement + const OpTypeEndorsementWithSlot + const OpTypeEvent + const OpTypeFailingNoop + const OpTypeIncreasePaidStorage + const OpTypeInvalid + const OpTypeOrigination + const OpTypePreattestation + const OpTypePreendorsement + const OpTypeProposals + const OpTypeRegisterConstant + const OpTypeReveal + const OpTypeSeedNonceRevelation + const OpTypeSetDepositsLimit + const OpTypeSmartRollupAddMessages + const OpTypeSmartRollupCement + const OpTypeSmartRollupExecuteOutboxMessage + const OpTypeSmartRollupOriginate + const OpTypeSmartRollupPublish + const OpTypeSmartRollupRecoverBond + const OpTypeSmartRollupRefute + const OpTypeSmartRollupTimeout + const OpTypeTransaction + const OpTypeTransferTicket + const OpTypeTxRollupCommit + const OpTypeTxRollupDispatchTickets + const OpTypeTxRollupFinalizeCommitment + const OpTypeTxRollupOrigination + const OpTypeTxRollupRejection + const OpTypeTxRollupRemoveCommitment + const OpTypeTxRollupReturnBond + const OpTypeTxRollupSubmitBatch + const OpTypeUpdateConsensusKey + const OpTypeVdfRevelation + func ParseOpTag(t byte) OpType + func ParseOpTagVersion(t byte, ver int) OpType + func ParseOpType(s string) OpType + func (t *OpType) UnmarshalText(data []byte) error + func (t OpType) IsValid() bool + func (t OpType) ListId() int + func (t OpType) MarshalText() ([]byte, error) + func (t OpType) MinSize() int + func (t OpType) MinSizeVersion(ver int) int + func (t OpType) String() string + func (t OpType) Tag() byte + func (t OpType) TagVersion(ver int) byte + type Params struct + BlocksPerCycle int64 + BlocksPerSnapshot int64 + ChainId ChainIdHash + ConsensusRightsDelay int64 + CostPerByte int64 + EndHeight int64 + HardGasLimitPerBlock int64 + HardGasLimitPerOperation int64 + HardStorageLimitPerOperation int64 + MaxOperationDataLength int + MaxOperationsTTL int64 + MinimalBlockDelay time.Duration + Network string + OperationTagsVersion int + OriginationSize int64 + Protocol ProtocolHash + StartCycle int64 + StartHeight int64 + StartOffset int64 + Version int + func NewParams() *Params + func (p *Params) AtBlock(height int64) *Params + func (p *Params) AtCycle(cycle int64) *Params + func (p *Params) CycleEndHeight(c int64) int64 + func (p *Params) CycleFromHeight(height int64) int64 + func (p *Params) CyclePosition(height int64) int64 + func (p *Params) CycleStartHeight(c int64) int64 + func (p *Params) IsCycleEnd(height int64) bool + func (p *Params) IsCycleStart(height int64) bool + func (p *Params) IsSnapshotBlock(height int64) bool + func (p *Params) SnapshotBlock(cycle int64, index int) int64 + func (p *Params) SnapshotIndex(height int64) int + func (p *Params) WithBlock(height int64) *Params + func (p *Params) WithChainId(id ChainIdHash) *Params + func (p *Params) WithDeployment(d Deployment) *Params + func (p *Params) WithNetwork(n string) *Params + func (p *Params) WithProtocol(h ProtocolHash) *Params + func (p Params) Clone() *Params + func (p Params) ContainsCycle(c int64) bool + func (p Params) ContainsHeight(height int64) bool + func (p Params) IsMainnet() bool + func (p Params) SnapshotBaseCycle(cycle int64) int64 + type PassphraseFunc func() ([]byte, error) + type PayloadHash [32]byte + func MustParsePayloadHash(s string) PayloadHash + func NewPayloadHash(buf []byte) (h PayloadHash) + func ParsePayloadHash(s string) (h PayloadHash, err error) + func (h *PayloadHash) Set(hash string) (err error) + func (h *PayloadHash) UnmarshalBinary(buf []byte) error + func (h *PayloadHash) UnmarshalText(buf []byte) error + func (h PayloadHash) Bytes() []byte + func (h PayloadHash) Clone() PayloadHash + func (h PayloadHash) Equal(h2 PayloadHash) bool + func (h PayloadHash) IsValid() bool + func (h PayloadHash) MarshalBinary() ([]byte, error) + func (h PayloadHash) MarshalText() ([]byte, error) + func (h PayloadHash) String() string + type PrivateKey struct + Data []byte + Type KeyType + func GenerateKey(typ KeyType) (PrivateKey, error) + func MustParsePrivateKey(key string) PrivateKey + func ParseEncryptedPrivateKey(s string, fn PassphraseFunc) (k PrivateKey, err error) + func ParsePrivateKey(s string) (PrivateKey, error) + func (k *PrivateKey) Set(key string) (err error) + func (k *PrivateKey) UnmarshalText(data []byte) error + func (k PrivateKey) Address() Address + func (k PrivateKey) Encrypt(fn PassphraseFunc) (string, error) + func (k PrivateKey) IsValid() bool + func (k PrivateKey) MarshalText() ([]byte, error) + func (k PrivateKey) Public() Key + func (k PrivateKey) Sign(hash []byte) (Signature, error) + func (k PrivateKey) String() string + type ProtocolHash [32]byte + func MustParseProtocolHash(s string) ProtocolHash + func NewProtocolHash(buf []byte) (h ProtocolHash) + func ParseProtocolHash(s string) (h ProtocolHash, err error) + func (h *ProtocolHash) Set(s string) (err error) + func (h *ProtocolHash) UnmarshalBinary(buf []byte) error + func (h *ProtocolHash) UnmarshalText(buf []byte) error + func (h ProtocolHash) Bytes() []byte + func (h ProtocolHash) Clone() ProtocolHash + func (h ProtocolHash) Equal(h2 ProtocolHash) bool + func (h ProtocolHash) IsValid() bool + func (h ProtocolHash) MarshalBinary() ([]byte, error) + func (h ProtocolHash) MarshalText() ([]byte, error) + func (h ProtocolHash) String() string + type ProtocolHistory []Deployment + func (h *ProtocolHistory) Add(d Deployment) + func (h ProtocolHistory) AtBlock(height int64) (d Deployment) + func (h ProtocolHistory) AtCycle(cycle int64) (d Deployment) + func (h ProtocolHistory) AtProtocol(proto ProtocolHash) (d Deployment) + func (h ProtocolHistory) Clone() ProtocolHistory + func (h ProtocolHistory) Last() (d Deployment) + type PvmKind byte + const PvmKindArith + const PvmKindInvalid + const PvmKindWasm200 + const PvmKindWasm200r1 + const PvmKindWasm200r2 + const PvmKindWasm200r3 + const PvmKindWasm200r4 + func ParsePvmKind(s string) PvmKind + func (t *PvmKind) UnmarshalText(data []byte) error + func (t PvmKind) IsValid() bool + func (t PvmKind) MarshalText() ([]byte, error) + func (t PvmKind) String() string + type Ratio struct + Den int + Num int + func (r Ratio) Float64() float64 + type RightType byte + const RightTypeBaking + const RightTypeEndorsing + const RightTypeInvalid + func ParseRightType(s string) RightType + func (r *RightType) UnmarshalText(data []byte) error + func (r RightType) IsValid() bool + func (r RightType) MarshalText() ([]byte, error) + func (r RightType) String() string + type Signature struct + Data []byte + Type SignatureType + func MustParseSignature(s string) Signature + func NewSignature(typ SignatureType, data []byte) Signature + func ParseSignature(s string) (sig Signature, err error) + func (s *Signature) DecodeBuffer(buf *bytes.Buffer) error + func (s *Signature) Set(sig string) (err error) + func (s *Signature) UnmarshalBinary(b []byte) error + func (s *Signature) UnmarshalText(data []byte) error + func (s Signature) Bytes() []byte + func (s Signature) Clone() Signature + func (s Signature) Equal(s2 Signature) bool + func (s Signature) Generic() string + func (s Signature) IsValid() bool + func (s Signature) MarshalBinary() ([]byte, error) + func (s Signature) MarshalText() ([]byte, error) + func (s Signature) String() string + type SignatureType byte + const SignatureTypeBls12_381 + const SignatureTypeEd25519 + const SignatureTypeGeneric + const SignatureTypeGenericAggregate + const SignatureTypeInvalid + const SignatureTypeP256 + const SignatureTypeSecp256k1 + func ParseSignatureTag(b byte) SignatureType + func (t SignatureType) HashType() HashType + func (t SignatureType) IsValid() bool + func (t SignatureType) Len() int + func (t SignatureType) Prefix() string + func (t SignatureType) PrefixBytes() []byte + func (t SignatureType) String() string + func (t SignatureType) Tag() byte + type SmartRollupCommitHash [32]byte + func MustParseSmartRollupCommitHash(s string) SmartRollupCommitHash + func NewSmartRollupCommitHash(buf []byte) (h SmartRollupCommitHash) + func ParseSmartRollupCommitHash(s string) (h SmartRollupCommitHash, err error) + func (h *SmartRollupCommitHash) Set(hash string) (err error) + func (h *SmartRollupCommitHash) UnmarshalBinary(buf []byte) error + func (h *SmartRollupCommitHash) UnmarshalText(buf []byte) error + func (h SmartRollupCommitHash) Bytes() []byte + func (h SmartRollupCommitHash) Clone() SmartRollupCommitHash + func (h SmartRollupCommitHash) Equal(h2 SmartRollupCommitHash) bool + func (h SmartRollupCommitHash) IsValid() bool + func (h SmartRollupCommitHash) MarshalBinary() ([]byte, error) + func (h SmartRollupCommitHash) MarshalText() ([]byte, error) + func (h SmartRollupCommitHash) String() string + type SmartRollupStateHash [32]byte + func MustParseSmartRollupStateHash(s string) SmartRollupStateHash + func NewSmartRollupStateHash(buf []byte) (h SmartRollupStateHash) + func ParseSmartRollupStateHash(s string) (h SmartRollupStateHash, err error) + func (h *SmartRollupStateHash) Set(hash string) (err error) + func (h *SmartRollupStateHash) UnmarshalBinary(buf []byte) error + func (h *SmartRollupStateHash) UnmarshalText(buf []byte) error + func (h SmartRollupStateHash) Bytes() []byte + func (h SmartRollupStateHash) Clone() SmartRollupStateHash + func (h SmartRollupStateHash) Equal(h2 SmartRollupStateHash) bool + func (h SmartRollupStateHash) IsValid() bool + func (h SmartRollupStateHash) MarshalBinary() ([]byte, error) + func (h SmartRollupStateHash) MarshalText() ([]byte, error) + func (h SmartRollupStateHash) String() string + type Token struct + Hash [20]byte + Id Z + func MustParseToken(addr string) Token + func NewToken(contract Address, id Z) (t Token) + func ParseToken(addr string) (Token, error) + func (t *Token) Set(key string) (err error) + func (t *Token) UnmarshalBinary(data []byte) error + func (t *Token) UnmarshalText(data []byte) error + func (t Token) Bytes() []byte + func (t Token) Clone() Token + func (t Token) Contract() Address + func (t Token) Equal(b Token) bool + func (t Token) MarshalBinary() ([]byte, error) + func (t Token) MarshalText() ([]byte, error) + func (t Token) String() string + func (t Token) TokenId() Z + type VotingPeriodKind byte + const VotingPeriodAdoption + const VotingPeriodCooldown + const VotingPeriodExploration + const VotingPeriodInvalid + const VotingPeriodPromotion + const VotingPeriodProposal + func ParseVotingPeriod(s string) VotingPeriodKind + func ToVotingPeriod(i int) VotingPeriodKind + func (v *VotingPeriodKind) UnmarshalText(data []byte) error + func (v VotingPeriodKind) IsValid() bool + func (v VotingPeriodKind) MarshalText() ([]byte, error) + func (v VotingPeriodKind) Num() int + func (v VotingPeriodKind) String() string + type Z big.Int + func MaxZ(args ...Z) Z + func MinZ(args ...Z) Z + func MustParseZ(s string) Z + func NewBigZ(b *big.Int) Z + func NewZ(i int64) Z + func ParseZ(s string) (Z, error) + func (z *Z) DecodeBuffer(buf *bytes.Buffer) error + func (z *Z) EncodeBuffer(buf *bytes.Buffer) error + func (z *Z) Set(val string) (err error) + func (z *Z) SetBig(b *big.Int) *Z + func (z *Z) SetInt64(i int64) *Z + func (z *Z) UnmarshalBinary(data []byte) error + func (z *Z) UnmarshalText(d []byte) error + func (z Z) Add(y Z) Z + func (z Z) Add64(y int64) Z + func (z Z) Big() *big.Int + func (z Z) Bytes() []byte + func (z Z) CeilDiv(y Z) Z + func (z Z) CeilScale(n int) Z + func (z Z) Clone() Z + func (z Z) Cmp(b Z) int + func (z Z) Decimals(d int) string + func (z Z) Div(y Z) Z + func (z Z) Div64(y int64) Z + func (z Z) Equal(x Z) bool + func (z Z) Float64(dec int) float64 + func (z Z) Int64() int64 + func (z Z) IsLess(b Z) bool + func (z Z) IsLessEqual(b Z) bool + func (z Z) IsNeg() bool + func (z Z) IsZero() bool + func (z Z) Lsh(n uint) Z + func (z Z) MarshalBinary() ([]byte, error) + func (z Z) MarshalText() ([]byte, error) + func (z Z) Mul(y Z) Z + func (z Z) Mul64(y int64) Z + func (z Z) Neg() Z + func (z Z) Rsh(n uint) Z + func (z Z) Scale(n int) Z + func (z Z) String() string + func (z Z) Sub(y Z) Z + func (z Z) Sub64(y int64) Z