proto_016_PtMumbai

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateAccountContentsAndResult

type ActivateAccountContentsAndResult struct {
	ActivateAccount
	Metadata BalanceUpdates `json:"metadata"`
}

func (*ActivateAccountContentsAndResult) GetMetadata

func (op *ActivateAccountContentsAndResult) GetMetadata() any

func (*ActivateAccountContentsAndResult) MarshalJSON

func (self *ActivateAccountContentsAndResult) MarshalJSON() ([]byte, error)

func (*ActivateAccountContentsAndResult) OperationContentsAndResult

func (*ActivateAccountContentsAndResult) OperationContentsAndResult()

type BLSSignaturePrefix

type BLSSignaturePrefix [32]byte

func (*BLSSignaturePrefix) SignaturePrefixPayload

func (*BLSSignaturePrefix) SignaturePrefixPayload()

type BalanceUpdate

type BalanceUpdate struct {
	Contents BalanceUpdateContents    `json:"contents"`
	Change   int64                    `json:"change"`
	Origin   core.BalanceUpdateOrigin `json:"origin"`
}

func (*BalanceUpdate) GetChange

func (b *BalanceUpdate) GetChange() int64

func (*BalanceUpdate) GetContents

func (b *BalanceUpdate) GetContents() core.BalanceUpdateContents

func (*BalanceUpdate) GetOrigin

func (b *BalanceUpdate) GetOrigin() core.BalanceUpdateOrigin

type BalanceUpdateContents

type BalanceUpdateContents interface {
	core.BalanceUpdateContents
}

type BalanceUpdateFrozenBonds

type BalanceUpdateFrozenBonds struct {
	Contract core.ContractID `json:"contract"`
	BondID   BondID          `json:"bond_id"`
}

func (*BalanceUpdateFrozenBonds) BalanceUpdateCategory

func (*BalanceUpdateFrozenBonds) BalanceUpdateCategory() string

func (*BalanceUpdateFrozenBonds) BalanceUpdateKind

func (*BalanceUpdateFrozenBonds) BalanceUpdateKind() core.BalanceUpdateKind

func (*BalanceUpdateFrozenBonds) MarshalJSON

func (self *BalanceUpdateFrozenBonds) MarshalJSON() ([]byte, error)

type BalanceUpdateSmartRollupRefutationPunishments

type BalanceUpdateSmartRollupRefutationPunishments struct{}

func (BalanceUpdateSmartRollupRefutationPunishments) BalanceUpdateCategory

func (BalanceUpdateSmartRollupRefutationPunishments) BalanceUpdateCategory() string

func (BalanceUpdateSmartRollupRefutationPunishments) BalanceUpdateKind

func (*BalanceUpdateSmartRollupRefutationPunishments) MarshalJSON

func (self *BalanceUpdateSmartRollupRefutationPunishments) MarshalJSON() ([]byte, error)

type BalanceUpdateSmartRollupRefutationRewards

type BalanceUpdateSmartRollupRefutationRewards struct{}

func (BalanceUpdateSmartRollupRefutationRewards) BalanceUpdateCategory

func (BalanceUpdateSmartRollupRefutationRewards) BalanceUpdateCategory() string

func (BalanceUpdateSmartRollupRefutationRewards) BalanceUpdateKind

func (*BalanceUpdateSmartRollupRefutationRewards) MarshalJSON

func (self *BalanceUpdateSmartRollupRefutationRewards) MarshalJSON() ([]byte, error)

type BalanceUpdates

type BalanceUpdates struct {
	BalanceUpdates []*BalanceUpdate `tz:"dyn" json:"balance_updates"`
}

func (*BalanceUpdates) GetBalanceUpdates

func (b *BalanceUpdates) GetBalanceUpdates() []core.BalanceUpdate

type Ballot

type Ballot = proto_012_Psithaca.Ballot

type BlockHeader

type BlockHeader struct {
	UnsignedBlockHeader
	Signature tz.AnySignature `json:"signature"`
}

func (*BlockHeader) GetShellHeader

func (header *BlockHeader) GetShellHeader() *core.ShellHeader

func (*BlockHeader) GetSignature

func (header *BlockHeader) GetSignature() (tz.Signature, error)

type BlockHeaderInfo

type BlockHeaderInfo struct {
	ChainID *tz.ChainID   `json:"chain_id"`
	Hash    *tz.BlockHash `json:"hash"`
	BlockHeader
}

func (*BlockHeaderInfo) GetChainID

func (block *BlockHeaderInfo) GetChainID() *tz.ChainID

func (*BlockHeaderInfo) GetHash

func (block *BlockHeaderInfo) GetHash() *tz.BlockHash

type BlockInfo

type BlockInfo struct {
	ChainID    *tz.ChainID                          `json:"chain_id"`
	Hash       *tz.BlockHash                        `json:"hash"`
	Header     BlockHeader                          `tz:"dyn" json:"header"`
	Metadata   tz.Option[BlockMetadata]             `json:"metadata"`
	Operations []core.OperationsList[GroupContents] `tz:"dyn" json:"operations"`
}

func (*BlockInfo) GetChainID

func (block *BlockInfo) GetChainID() *tz.ChainID

func (*BlockInfo) GetHash

func (block *BlockInfo) GetHash() *tz.BlockHash

func (*BlockInfo) GetHeader

func (block *BlockInfo) GetHeader() core.BlockHeader

func (*BlockInfo) GetMetadata

func (block *BlockInfo) GetMetadata() tz.Option[core.BlockMetadata]

func (*BlockInfo) GetOperations

func (block *BlockInfo) GetOperations() [][]core.OperationsGroup

type BlockMetadata

type BlockMetadata struct {
	BlockMetadataContents `tz:"dyn"`
}

func (*BlockMetadata) GetBaker

func (m *BlockMetadata) GetBaker() tz.PublicKeyHash

func (*BlockMetadata) GetBakerConsensusKey

func (m *BlockMetadata) GetBakerConsensusKey() tz.Option[tz.PublicKeyHash]

func (*BlockMetadata) GetBalanceUpdates

func (m *BlockMetadata) GetBalanceUpdates() (updates []core.BalanceUpdate)

func (*BlockMetadata) GetConsumedGas

func (m *BlockMetadata) GetConsumedGas() tz.Option[tz.BigUint]

func (*BlockMetadata) GetConsumedMilligas

func (m *BlockMetadata) GetConsumedMilligas() tz.Option[tz.BigUint]

func (*BlockMetadata) GetDeactivated

func (m *BlockMetadata) GetDeactivated() []tz.PublicKeyHash

func (*BlockMetadata) GetImplicitOperationsResults

func (m *BlockMetadata) GetImplicitOperationsResults() []core.SuccessfulManagerOperationResult

func (*BlockMetadata) GetLevelInfo

func (m *BlockMetadata) GetLevelInfo() *core.LevelInfo

func (*BlockMetadata) GetMetadataHeader

func (m *BlockMetadata) GetMetadataHeader() *core.BlockMetadataHeader

func (*BlockMetadata) GetNonceHash

func (m *BlockMetadata) GetNonceHash() tz.Option[*tz.CycleNonceHash]

func (*BlockMetadata) GetProposer

func (m *BlockMetadata) GetProposer() tz.PublicKeyHash

func (*BlockMetadata) GetProposerConsensusKey

func (m *BlockMetadata) GetProposerConsensusKey() tz.Option[tz.PublicKeyHash]

func (*BlockMetadata) GetVotingPeriodInfo

func (m *BlockMetadata) GetVotingPeriodInfo() *core.VotingPeriodInfo

type BlockMetadataContents

type BlockMetadataContents struct {
	core.BlockMetadataHeader
	Proposer                  tz.PublicKeyHash                   `json:"proposer"`
	Baker                     tz.PublicKeyHash                   `json:"baker"`
	LevelInfo                 core.LevelInfo                     `json:"level_info"`
	VotingPeriodInfo          core.VotingPeriodInfo              `json:"voting_period_info"`
	NonceHash                 tz.Option1[*tz.CycleNonceHash]     `json:"nonce_hash"`
	Deactivated               []tz.PublicKeyHash                 `tz:"dyn" json:"deactivated"`
	BalanceUpdates            []*BalanceUpdate                   `tz:"dyn" json:"balance_updates"`
	LiquidityBakingToggleEMA  int32                              `json:"liquidity_baking_toggle_ema"`
	ImplicitOperationsResults []SuccessfulManagerOperationResult `tz:"dyn" json:"implicit_operations_results"`
	ProposerConsensusKey      tz.PublicKeyHash                   `json:"proposer_consensus_key"`
	BakerConsensusKey         tz.PublicKeyHash                   `json:"baker_consensus_key"`
	ConsumedMilligas          tz.BigUint                         `json:"consumed_milligas"`
	DALAttestation            tz.Option[tz.BigInt]               `json:"dal_attestation"`
}

type BondID

type BondID interface {
	BondID()
}

type Constants

type Constants struct {
	ProofOfWorkNonceSize                             uint8                       `json:"proof_of_work_nonce_size"`
	NonceLength                                      uint8                       `json:"nonce_length"`
	MaxAnonOpsPerBlock                               uint8                       `json:"max_anon_ops_per_block"`
	MaxOperationDataLength                           int32                       `json:"max_operation_data_length"`
	MaxProposalsPerDelegate                          uint8                       `json:"max_proposals_per_delegate"`
	MaxMichelineNodeCount                            int32                       `json:"max_micheline_node_count"`
	MaxMichelineBytesLimit                           int32                       `json:"max_micheline_bytes_limit"`
	MaxAllowedGlobalConstantsDepth                   int32                       `json:"max_allowed_global_constants_depth"`
	CacheLayoutSize                                  uint8                       `json:"cache_layout_size"`
	MichelsonMaximumTypeSize                         uint16                      `json:"michelson_maximum_type_size"`
	SmartRollupMaxWrappedProofBinarySize             int32                       `json:"smart_rollup_max_wrapped_proof_binary_size"`
	SmartRollupMessageSizeLimit                      int32                       `json:"smart_rollup_message_size_limit"`
	SmartRollupMaxNumberOfMessagesPerLevel           tz.BigUint                  `json:"smart_rollup_max_number_of_messages_per_level"`
	PreservedCycles                                  uint8                       `json:"preserved_cycles"`
	BlocksPerCycle                                   int32                       `json:"blocks_per_cycle"`
	BlocksPerCommitment                              int32                       `json:"blocks_per_commitment"`
	NonceRevelationThreshold                         int32                       `json:"nonce_revelation_threshold"`
	BlocksPerStakeSnapshot                           int32                       `json:"blocks_per_stake_snapshot"`
	CyclesPerVotingPeriod                            int32                       `json:"cycles_per_voting_period"`
	HardGasLimitPerOperation                         tz.BigInt                   `json:"hard_gas_limit_per_operation"`
	HardGasLimitPerBlock                             tz.BigInt                   `json:"hard_gas_limit_per_block"`
	ProofOfWorkThreshold                             int64                       `json:"proof_of_work_threshold"`
	MinimalStake                                     tz.BigUint                  `json:"minimal_stake"`
	VDFDifficulty                                    int64                       `json:"vdf_difficulty"`
	SeedNonceRevelationTip                           tz.BigUint                  `json:"seed_nonce_revelation_tip"`
	OriginationSize                                  int32                       `json:"origination_size"`
	BakingRewardFixedPortion                         tz.BigUint                  `json:"baking_reward_fixed_portion"`
	BakingRewardBonusPerSlot                         tz.BigUint                  `json:"baking_reward_bonus_per_slot"`
	EndorsingRewardPerSlot                           tz.BigUint                  `json:"endorsing_reward_per_slot"`
	CostPerByte                                      tz.BigUint                  `json:"cost_per_byte"`
	HardStorageLimitPerOperation                     tz.BigInt                   `json:"hard_storage_limit_per_operation"`
	QuorumMin                                        int32                       `json:"quorum_min"`
	QuorumMax                                        int32                       `json:"quorum_max"`
	MinProposalQuorum                                int32                       `json:"min_proposal_quorum"`
	LiquidityBakingSubsidy                           tz.BigUint                  `json:"liquidity_baking_subsidy"`
	LiquidityBakingToggleEmaThreshold                int32                       `json:"liquidity_baking_toggle_ema_threshold"`
	MaxOperationsTimeToLive                          int16                       `json:"max_operations_time_to_live"`
	MinimalBlockDelay                                int64                       `json:"minimal_block_delay"`
	DelayIncrementPerRound                           int64                       `json:"delay_increment_per_round"`
	ConsensusCommitteeSize                           int32                       `json:"consensus_committee_size"`
	ConsensusThreshold                               int32                       `json:"consensus_threshold"`
	MinimalParticipationRatio                        core.Rat                    `json:"minimal_participation_ratio"`
	MaxSlashingPeriod                                int32                       `json:"max_slashing_period"`
	FrozenDepositsPercentage                         int32                       `json:"frozen_deposits_percentage"`
	DoubleBakingPunishment                           tz.BigUint                  `json:"double_baking_punishment"`
	RatioOfFrozenDepositsSlashedPerDoubleEndorsement core.Rat                    `json:"ratio_of_frozen_deposits_slashed_per_double_endorsement"`
	TestnetDictator                                  tz.Option[tz.PublicKeyHash] `json:"testnet_dictator"`
	InitialSeed                                      tz.Option[*tz.Bytes32]      `json:"initial_seed"`
	CacheScriptSize                                  int32                       `json:"cache_script_size"`
	CacheStakeDistributionCycles                     int8                        `json:"cache_stake_distribution_cycles"`
	CacheSamplerStateCycles                          int8                        `json:"cache_sampler_state_cycles"`
	TxRollupEnable                                   bool                        `json:"tx_rollup_enable"`
	TxRollupOriginationSize                          int32                       `json:"tx_rollup_origination_size"`
	TxRollupHardSizeLimitPerInbox                    int32                       `json:"tx_rollup_hard_size_limit_per_inbox"`
	TxRollupHardSizeLimitPerMessage                  int32                       `json:"tx_rollup_hard_size_limit_per_message"`
	TxRollupMaxWithdrawalsPerBatch                   int32                       `json:"tx_rollup_max_withdrawals_per_batch"`
	TxRollupCommitmentBond                           tz.BigUint                  `json:"tx_rollup_commitment_bond"`
	TxRollupFinalityPeriod                           int32                       `json:"tx_rollup_finality_period"`
	TxRollupWithdrawPeriod                           int32                       `json:"tx_rollup_withdraw_period"`
	TxRollupMaxInboxesCount                          int32                       `json:"tx_rollup_max_inboxes_count"`
	TxRollupMaxMessagesPerInbox                      int32                       `json:"tx_rollup_max_messages_per_inbox"`
	TxRollupMaxCommitmentsCount                      int32                       `json:"tx_rollup_max_commitments_count"`
	TxRollupCostPerByteEmaFactor                     int32                       `json:"tx_rollup_cost_per_byte_ema_factor"`
	TxRollupMaxTicketPayloadSize                     int32                       `json:"tx_rollup_max_ticket_payload_size"`
	TxRollupRejectionMaxProofSize                    int32                       `json:"tx_rollup_rejection_max_proof_size"`
	TxRollupSunsetLevel                              int32                       `json:"tx_rollup_sunset_level"`
	DALParametric                                    DALParametric               `json:"dal_parametric"`
	SmartRollupEnable                                bool                        `json:"smart_rollup_enable"`
	SmartRollupArithPvmEnable                        bool                        `json:"smart_rollup_arith_pvm_enable"`
	SmartRollupOriginationSize                       int32                       `json:"smart_rollup_origination_size"`
	SmartRollupChallengeWindowInBlocks               int32                       `json:"smart_rollup_challenge_window_in_blocks"`
	SmartRollupStakeAmount                           tz.BigUint                  `json:"smart_rollup_stake_amount"`
	SmartRollupCommitmentPeriodInBlocks              int32                       `json:"smart_rollup_commitment_period_in_blocks"`
	SmartRollupMaxLookaheadInBlocks                  int32                       `json:"smart_rollup_max_lookahead_in_blocks"`
	SmartRollupMaxActiveOutboxLevels                 int32                       `json:"smart_rollup_max_active_outbox_levels"`
	SmartRollupMaxOutboxMessagesPerLevel             int32                       `json:"smart_rollup_max_outbox_messages_per_level"`
	SmartRollupNumberOfSectionsInDissection          uint8                       `json:"smart_rollup_number_of_sections_in_dissection"`
	SmartRollupTimeoutPeriodInBlocks                 int32                       `json:"smart_rollup_timeout_period_in_blocks"`
	SmartRollupMaxNumberOfCementedCommitments        int32                       `json:"smart_rollup_max_number_of_cemented_commitments"`
	SmartRollupMaxNumberOfParallelGames              int32                       `json:"smart_rollup_max_number_of_parallel_games"`
	ZkRollupEnable                                   bool                        `json:"zk_rollup_enable"`
	ZkRollupOriginationSize                          int32                       `json:"zk_rollup_origination_size"`
	ZkRollupMinPendingToProcess                      int32                       `json:"zk_rollup_min_pending_to_process"`
}

func (*Constants) GetBakingRewardBonusPerSlot

func (c *Constants) GetBakingRewardBonusPerSlot() tz.BigUint

func (*Constants) GetBakingRewardFixedPortion

func (c *Constants) GetBakingRewardFixedPortion() tz.BigUint

func (*Constants) GetBlocksPerCommitment

func (c *Constants) GetBlocksPerCommitment() int32

func (*Constants) GetBlocksPerCycle

func (c *Constants) GetBlocksPerCycle() int32

func (*Constants) GetBlocksPerStakeSnapshot

func (c *Constants) GetBlocksPerStakeSnapshot() int32

func (*Constants) GetConsensusCommitteeSize

func (c *Constants) GetConsensusCommitteeSize() int32

func (*Constants) GetConsensusThreshold

func (c *Constants) GetConsensusThreshold() int32

func (*Constants) GetCostPerByte

func (c *Constants) GetCostPerByte() tz.BigUint

func (*Constants) GetDelayIncrementPerRound

func (c *Constants) GetDelayIncrementPerRound() int64

func (*Constants) GetDoubleBakingPunishment

func (c *Constants) GetDoubleBakingPunishment() tz.BigUint

func (*Constants) GetEndorsingRewardPerSlot

func (c *Constants) GetEndorsingRewardPerSlot() tz.BigUint

func (*Constants) GetFrozenDepositsPercentage

func (c *Constants) GetFrozenDepositsPercentage() int32

func (*Constants) GetHardGasLimitPerBlock

func (c *Constants) GetHardGasLimitPerBlock() tz.BigInt

func (*Constants) GetHardGasLimitPerOperation

func (c *Constants) GetHardGasLimitPerOperation() tz.BigInt

func (*Constants) GetHardStorageLimitPerOperation

func (c *Constants) GetHardStorageLimitPerOperation() tz.BigInt

func (*Constants) GetLiquidityBakingSubsidy

func (c *Constants) GetLiquidityBakingSubsidy() tz.BigUint

func (*Constants) GetMaxAllowedGlobalConstantsDepth

func (c *Constants) GetMaxAllowedGlobalConstantsDepth() int32

func (*Constants) GetMaxAnonOpsPerBlock

func (c *Constants) GetMaxAnonOpsPerBlock() uint8

func (*Constants) GetMaxMichelineBytesLimit

func (c *Constants) GetMaxMichelineBytesLimit() int32

func (*Constants) GetMaxMichelineNodeCount

func (c *Constants) GetMaxMichelineNodeCount() int32

func (*Constants) GetMaxOperationDataLength

func (c *Constants) GetMaxOperationDataLength() int32

func (*Constants) GetMaxOperationsTimeToLive

func (c *Constants) GetMaxOperationsTimeToLive() int16

func (*Constants) GetMaxProposalsPerDelegate

func (c *Constants) GetMaxProposalsPerDelegate() uint8

func (*Constants) GetMaxSlashingPeriod

func (c *Constants) GetMaxSlashingPeriod() int32

func (*Constants) GetMichelsonMaximumTypeSize

func (c *Constants) GetMichelsonMaximumTypeSize() uint16

func (*Constants) GetMinProposalQuorum

func (c *Constants) GetMinProposalQuorum() int32

func (*Constants) GetMinimalBlockDelay

func (c *Constants) GetMinimalBlockDelay() int64

func (*Constants) GetMinimalParticipationRatio

func (c *Constants) GetMinimalParticipationRatio() *core.Rat

func (*Constants) GetNonceLength

func (c *Constants) GetNonceLength() uint8

func (*Constants) GetOriginationSize

func (c *Constants) GetOriginationSize() int32

func (*Constants) GetPreservedCycles

func (c *Constants) GetPreservedCycles() uint8

func (*Constants) GetProofOfWorkNonceSize

func (c *Constants) GetProofOfWorkNonceSize() uint8

func (*Constants) GetProofOfWorkThreshold

func (c *Constants) GetProofOfWorkThreshold() int64

func (*Constants) GetQuorumMax

func (c *Constants) GetQuorumMax() int32

func (*Constants) GetQuorumMin

func (c *Constants) GetQuorumMin() int32

func (*Constants) GetRatioOfFrozenDepositsSlashedPerDoubleEndorsement

func (c *Constants) GetRatioOfFrozenDepositsSlashedPerDoubleEndorsement() *core.Rat

func (*Constants) GetSeedNonceRevelationTip

func (c *Constants) GetSeedNonceRevelationTip() tz.BigUint

type DALAttestation

type DALAttestation struct {
	Attestor    tz.PublicKeyHash `json:"attestor"`
	Attestation tz.BigInt        `json:"attestation"`
	Level       int32            `json:"level"`
}

func (*DALAttestation) MarshalJSON

func (self *DALAttestation) MarshalJSON() ([]byte, error)

func (*DALAttestation) OperationKind

func (*DALAttestation) OperationKind() string

type DALAttestationContentsAndResult

type DALAttestationContentsAndResult struct {
	DALAttestation
	Metadata DALAttestationMetadata `json:"metadata"`
}

func (*DALAttestationContentsAndResult) GetMetadata

func (op *DALAttestationContentsAndResult) GetMetadata() any

func (*DALAttestationContentsAndResult) MarshalJSON

func (self *DALAttestationContentsAndResult) MarshalJSON() ([]byte, error)

func (*DALAttestationContentsAndResult) OperationContentsAndResult

func (*DALAttestationContentsAndResult) OperationContentsAndResult()

type DALAttestationMetadata

type DALAttestationMetadata struct {
	Delegate tz.PublicKeyHash `json:"delegate"`
}

type DALPageID

type DALPageID struct {
	PublishedLevel int32 `json:"published_level"`
	SlotIndex      uint8 `json:"slot_index"`
	PageIndex      int16 `json:"page_index"`
}

type DALParametric

type DALParametric struct {
	FeatureEnable         bool   `json:"feature_enable"`
	NumberOfSlots         int16  `json:"number_of_slots"`
	AttestationLag        int16  `json:"attestation_lag"`
	AvailabilityThreshold int16  `json:"availability_threshold"`
	RedundancyFactor      uint8  `json:"redundancy_factor"`
	PageSize              uint16 `json:"page_size"`
	SlotSize              int32  `json:"slot_size"`
	NumberOfShards        uint16 `json:"number_of_shards"`
}

type DALPublishSlotHeader

type DALPublishSlotHeader struct {
	ManagerOperation
	SlotHeader SlotHeader `json:"slot_header"`
}

func (*DALPublishSlotHeader) MarshalJSON

func (self *DALPublishSlotHeader) MarshalJSON() ([]byte, error)

func (*DALPublishSlotHeader) OperationKind

func (*DALPublishSlotHeader) OperationKind() string

type DALPublishSlotHeaderContentsAndResult

type DALPublishSlotHeaderContentsAndResult struct {
	DALPublishSlotHeader
	Metadata ManagerMetadata[ConsumedGasResult] `json:"metadata"`
}

func (*DALPublishSlotHeaderContentsAndResult) GetMetadata

func (op *DALPublishSlotHeaderContentsAndResult) GetMetadata() any

func (*DALPublishSlotHeaderContentsAndResult) MarshalJSON

func (self *DALPublishSlotHeaderContentsAndResult) MarshalJSON() ([]byte, error)

func (*DALPublishSlotHeaderContentsAndResult) OperationContentsAndResult

func (*DALPublishSlotHeaderContentsAndResult) OperationContentsAndResult()

type DelegateInfo

type DelegateInfo = proto_015_PtLimaPt.DelegateInfo

type Delegation

type Delegation = proto_012_Psithaca.Delegation

type DelegationContentsAndResult

type DelegationContentsAndResult struct {
	Delegation
	Metadata ManagerMetadata[ConsumedGasResult] `json:"metadata"`
}

func (*DelegationContentsAndResult) GetMetadata

func (op *DelegationContentsAndResult) GetMetadata() any

func (*DelegationContentsAndResult) MarshalJSON

func (self *DelegationContentsAndResult) MarshalJSON() ([]byte, error)

func (*DelegationContentsAndResult) OperationContentsAndResult

func (*DelegationContentsAndResult) OperationContentsAndResult()

type DoubleBakingEvidence

type DoubleBakingEvidence struct {
	Block1 BlockHeader `tz:"dyn" json:"block1"`
	Block2 BlockHeader `tz:"dyn" json:"block2"`
}

func (*DoubleBakingEvidence) MarshalJSON

func (self *DoubleBakingEvidence) MarshalJSON() ([]byte, error)

func (*DoubleBakingEvidence) OperationKind

func (*DoubleBakingEvidence) OperationKind() string

type DoubleBakingEvidenceContentsAndResult

type DoubleBakingEvidenceContentsAndResult struct {
	DoubleBakingEvidence
	Metadata BalanceUpdates `json:"metadata"`
}

func (*DoubleBakingEvidenceContentsAndResult) GetMetadata

func (op *DoubleBakingEvidenceContentsAndResult) GetMetadata() any

func (*DoubleBakingEvidenceContentsAndResult) MarshalJSON

func (self *DoubleBakingEvidenceContentsAndResult) MarshalJSON() ([]byte, error)

func (*DoubleBakingEvidenceContentsAndResult) OperationContentsAndResult

func (*DoubleBakingEvidenceContentsAndResult) OperationContentsAndResult()

type DoubleEndorsementEvidenceContentsAndResult

type DoubleEndorsementEvidenceContentsAndResult struct {
	DoubleEndorsementEvidence
	Metadata BalanceUpdates `json:"metadata"`
}

func (*DoubleEndorsementEvidenceContentsAndResult) GetMetadata

func (*DoubleEndorsementEvidenceContentsAndResult) MarshalJSON

func (self *DoubleEndorsementEvidenceContentsAndResult) MarshalJSON() ([]byte, error)

func (*DoubleEndorsementEvidenceContentsAndResult) OperationContentsAndResult

func (*DoubleEndorsementEvidenceContentsAndResult) OperationContentsAndResult()

type DoublePreendorsementEvidenceContentsAndResult

type DoublePreendorsementEvidenceContentsAndResult struct {
	DoublePreendorsementEvidence
	Metadata BalanceUpdates `json:"metadata"`
}

func (*DoublePreendorsementEvidenceContentsAndResult) GetMetadata

func (*DoublePreendorsementEvidenceContentsAndResult) MarshalJSON

func (self *DoublePreendorsementEvidenceContentsAndResult) MarshalJSON() ([]byte, error)

func (*DoublePreendorsementEvidenceContentsAndResult) OperationContentsAndResult

func (*DoublePreendorsementEvidenceContentsAndResult) OperationContentsAndResult()

type DrainDelegate

type DrainDelegate = proto_015_PtLimaPt.DrainDelegate

type DrainDelegateContentsAndResult

type DrainDelegateContentsAndResult struct {
	DrainDelegate
	Metadata DrainDelegateMetadata `json:"metadata"`
}

func (*DrainDelegateContentsAndResult) GetMetadata

func (op *DrainDelegateContentsAndResult) GetMetadata() any

func (*DrainDelegateContentsAndResult) MarshalJSON

func (self *DrainDelegateContentsAndResult) MarshalJSON() ([]byte, error)

func (*DrainDelegateContentsAndResult) OperationContentsAndResult

func (*DrainDelegateContentsAndResult) OperationContentsAndResult()

type DrainDelegateMetadata

type DrainDelegateMetadata struct {
	BalanceUpdates
	AllocatedDestinationContract bool `json:"allocated_destination_contract"`
}

type Endorsement

type Endorsement = proto_012_Psithaca.Endorsement

type EndorsementContentsAndResult

type EndorsementContentsAndResult struct {
	Endorsement
	Metadata EndorsementMetadata `json:"metadata"`
}

func (*EndorsementContentsAndResult) GetMetadata

func (op *EndorsementContentsAndResult) GetMetadata() any

func (*EndorsementContentsAndResult) MarshalJSON

func (self *EndorsementContentsAndResult) MarshalJSON() ([]byte, error)

func (*EndorsementContentsAndResult) OperationContentsAndResult

func (*EndorsementContentsAndResult) OperationContentsAndResult()

type EndorsementMetadata

type EndorsementMetadata struct {
	BalanceUpdates
	Delegate         tz.PublicKeyHash `json:"delegate"`
	EndorsementPower int32            `json:"endorsement_power"`
	ConsensusKey     tz.PublicKeyHash `json:"consensus_key"`
}

type Entrypoint

type Entrypoint = proto_015_PtLimaPt.Entrypoint

type EpDefault

type EpDefault = proto_012_Psithaca.EpDefault

type EpDeposit

type EpDeposit = proto_015_PtLimaPt.EpDeposit

type EpDo

type EpDo = proto_012_Psithaca.EpDo

type EpNamed

type EpNamed = proto_012_Psithaca.EpNamed

type EpRoot

type EpRoot = proto_012_Psithaca.EpRoot

type EpSetDelegate

type EpSetDelegate = proto_012_Psithaca.EpSetDelegate

type FailingNoop

type FailingNoop = proto_012_Psithaca.FailingNoop

type FeePi

type FeePi struct {
	NewState tz.Bytes `tz:"dyn" json:"new_state"`
}

type GameStatus

type GameStatus interface {
	GameStatusKind() string
}

type GameStatusEnded

type GameStatusEnded struct {
	Result GameStatusResult `json:"result"`
}

func (GameStatusEnded) GameStatusKind

func (GameStatusEnded) GameStatusKind() string

type GameStatusOngoing

type GameStatusOngoing struct{}

func (GameStatusOngoing) GameStatusKind

func (GameStatusOngoing) GameStatusKind() string

type GameStatusResult

type GameStatusResult interface {
	GameStatusResultKind() string
}

type GameStatusResultDraw

type GameStatusResultDraw struct{}

func (GameStatusResultDraw) GameStatusResultKind

func (GameStatusResultDraw) GameStatusResultKind() string

type GameStatusResultLoser

type GameStatusResultLoser struct {
	Reason LooseReason      `json:"reason"`
	Player tz.PublicKeyHash `json:"player"`
}

func (*GameStatusResultLoser) GameStatusResultKind

func (*GameStatusResultLoser) GameStatusResultKind() string

type GroupContents

type GroupContents interface {
	core.GroupContents
}

type IncreasePaidStorageContentsAndResult

type IncreasePaidStorageContentsAndResult struct {
	IncreasePaidStorage
	Metadata ManagerMetadata[IncreasePaidStorageResult] `json:"metadata"`
}

func (*IncreasePaidStorageContentsAndResult) GetMetadata

func (op *IncreasePaidStorageContentsAndResult) GetMetadata() any

func (*IncreasePaidStorageContentsAndResult) MarshalJSON

func (self *IncreasePaidStorageContentsAndResult) MarshalJSON() ([]byte, error)

func (*IncreasePaidStorageContentsAndResult) OperationContentsAndResult

func (*IncreasePaidStorageContentsAndResult) OperationContentsAndResult()

type IncreasePaidStorageResult

type IncreasePaidStorageResult interface {
	core.ManagerOperationResult
}

type IncreasePaidStorageResultContents

type IncreasePaidStorageResultContents struct {
	BalanceUpdates
	ConsumedMilligas tz.BigUint `json:"consumed_milligas"`
}

func (*IncreasePaidStorageResultContents) GetConsumedMilligas

func (r *IncreasePaidStorageResultContents) GetConsumedMilligas() tz.BigUint

type IncreasePaidStorageSuccessfulManagerResult

type IncreasePaidStorageSuccessfulManagerResult struct {
	core.OperationResultApplied[*IncreasePaidStorageResultContents]
}

func (*IncreasePaidStorageSuccessfulManagerResult) MarshalJSON

func (self *IncreasePaidStorageSuccessfulManagerResult) MarshalJSON() ([]byte, error)

func (*IncreasePaidStorageSuccessfulManagerResult) OperationKind

type InternalOperationResult

type InternalOperationResult interface {
	core.InternalOperationResult
}

type LooseReason

type LooseReason uint8
const (
	LooseReasonConflictResolved LooseReason = iota
	LooseReasonTimeout
)

type ManagerMetadata

type ManagerMetadata[T core.ManagerOperationResult] struct {
	BalanceUpdates
	OperationResult          T                         `json:"operation_result"`
	InternalOperationResults []InternalOperationResult `tz:"dyn" json:"internal_operation_results"`
}

func (*ManagerMetadata[T]) GetInternalOperationResults

func (m *ManagerMetadata[T]) GetInternalOperationResults() []core.InternalOperationResult

func (*ManagerMetadata[T]) GetResult

func (m *ManagerMetadata[T]) GetResult() core.ManagerOperationResult

type OperationContents

type OperationContents interface {
	core.OperationContents
}

func ListOperations

func ListOperations() []OperationContents

type OperationContentsAndResult

type OperationContentsAndResult interface {
	core.OperationContentsAndResult
}

type OperationWithOptionalMetadataContents

type OperationWithOptionalMetadataContents interface {
	core.OperationWithOptionalMetadataContents
}

type OperationWithOptionalMetadataWithMetadata

type OperationWithOptionalMetadataWithMetadata[T core.OperationContentsAndResult] struct {
	Contents  []T             `tz:"dyn" json:"contents"`
	Signature tz.AnySignature `json:"signature"`
}

func (*OperationWithOptionalMetadataWithMetadata[T]) GetSignature

func (*OperationWithOptionalMetadataWithMetadata[T]) OperationWithOptionalMetadataContents

func (*OperationWithOptionalMetadataWithMetadata[T]) OperationWithOptionalMetadataContents()

func (*OperationWithOptionalMetadataWithMetadata[T]) Operations

type OperationWithOptionalMetadataWithoutMetadata

type OperationWithOptionalMetadataWithoutMetadata[T core.OperationContents] struct {
	Contents  []T             `tz:"dyn" json:"contents"`
	Signature tz.AnySignature `json:"signature"`
}

func (*OperationWithOptionalMetadataWithoutMetadata[T]) GetSignature

func (*OperationWithOptionalMetadataWithoutMetadata[T]) OperationWithOptionalMetadataContents

func (*OperationWithOptionalMetadataWithoutMetadata[T]) OperationWithOptionalMetadataContents()

func (*OperationWithOptionalMetadataWithoutMetadata[T]) Operations

type OperationWithTooLargeMetadata

type OperationWithTooLargeMetadata[T core.OperationContents] struct {
	OperationWithoutMetadata[T]
}

type OperationWithoutMetadata

type OperationWithoutMetadata[T core.OperationContents] struct {
	core.OperationWithoutMetadata[T]
}

func (*OperationWithoutMetadata[T]) GetSignature

func (op *OperationWithoutMetadata[T]) GetSignature() (tz.Option[tz.Signature], error)

type Origination

type Origination = proto_012_Psithaca.Origination

type OriginationContentsAndResult

type OriginationContentsAndResult struct {
	Origination
	Metadata ManagerMetadata[OriginationResult] `json:"metadata"`
}

func (*OriginationContentsAndResult) GetMetadata

func (op *OriginationContentsAndResult) GetMetadata() any

func (*OriginationContentsAndResult) MarshalJSON

func (self *OriginationContentsAndResult) MarshalJSON() ([]byte, error)

func (*OriginationContentsAndResult) OperationContentsAndResult

func (*OriginationContentsAndResult) OperationContentsAndResult()

type OriginationInternalOperationResult

type OriginationInternalOperationResult struct {
	Source   core.TransactionDestination `json:"source"`
	Nonce    uint16                      `json:"nonce"`
	Balance  tz.BigUint                  `json:"balance"`
	Delegate tz.Option[tz.PublicKeyHash] `json:"delegate"`
	Script   Script                      `json:"script"`
	Result   OriginationResult           `json:"result"`
}

func (*OriginationInternalOperationResult) GetResult

func (*OriginationInternalOperationResult) GetSource

func (*OriginationInternalOperationResult) MarshalJSON

func (self *OriginationInternalOperationResult) MarshalJSON() ([]byte, error)

func (*OriginationInternalOperationResult) OperationKind

func (*OriginationInternalOperationResult) OperationKind() string

type OriginationResult

type OriginationResult interface {
	core.ManagerOperationResult
}

type OriginationResultContents

type OriginationResultContents struct {
	BalanceUpdates
	OriginatedContracts []core.OriginatedContractID `tz:"dyn" json:"originated_contracts"`
	ConsumedMilligas    tz.BigUint                  `json:"consumed_milligas"`
	StorageSize         tz.BigInt                   `json:"storage_size"`
	PaidStorageSizeDiff tz.BigInt                   `json:"paid_storage_size_diff"`
	LazyStorageDiff     tz.Option[lazy.StorageDiff] `json:"lazy_storage_diff"`
}

func (*OriginationResultContents) EstimateStorageSize

func (r *OriginationResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*OriginationResultContents) GetConsumedMilligas

func (r *OriginationResultContents) GetConsumedMilligas() tz.BigUint

func (*OriginationResultContents) GetPaidStorageSizeDiff

func (r *OriginationResultContents) GetPaidStorageSizeDiff() tz.BigInt

func (*OriginationResultContents) GetStorageSize

func (r *OriginationResultContents) GetStorageSize() tz.BigInt

type OriginationSuccessfulManagerResult

type OriginationSuccessfulManagerResult struct {
	core.OperationResultApplied[*OriginationResultContents]
}

func (*OriginationSuccessfulManagerResult) MarshalJSON

func (self *OriginationSuccessfulManagerResult) MarshalJSON() ([]byte, error)

func (*OriginationSuccessfulManagerResult) OperationKind

func (*OriginationSuccessfulManagerResult) OperationKind() string

type PVMKind

type PVMKind uint8
const (
	PVMArith PVMKind = iota
	PVM_WASM_2_0_0
)

func (PVMKind) MarshalText

func (k PVMKind) MarshalText() (text []byte, err error)

func (PVMKind) String

func (k PVMKind) String() string

type Parameters

type Parameters = proto_015_PtLimaPt.Parameters

type PendingPi

type PendingPi struct {
	NewState     tz.Bytes       `tz:"dyn" json:"new_state"`
	Fee          ZkRollupScalar `json:"fee"`
	ExitValidity bool           `json:"exit_validity"`
}

type PendingPiElem

type PendingPiElem struct {
	Key string    `tz:"dyn" json:"key"`
	Pi  PendingPi `json:"pi"`
}

type Preendorsement

type Preendorsement = proto_012_Psithaca.Preendorsement

type PreendorsementContentsAndResult

type PreendorsementContentsAndResult struct {
	Preendorsement
	Metadata PreendorsementMetadata `json:"metadata"`
}

func (*PreendorsementContentsAndResult) GetMetadata

func (op *PreendorsementContentsAndResult) GetMetadata() any

func (*PreendorsementContentsAndResult) MarshalJSON

func (self *PreendorsementContentsAndResult) MarshalJSON() ([]byte, error)

func (*PreendorsementContentsAndResult) OperationContentsAndResult

func (*PreendorsementContentsAndResult) OperationContentsAndResult()

type PreendorsementMetadata

type PreendorsementMetadata = EndorsementMetadata

type PrivatePi

type PrivatePi struct {
	NewState tz.Bytes       `tz:"dyn" json:"new_state"`
	Fee      ZkRollupScalar `json:"fee"`
}

type PrivatePiElem

type PrivatePiElem struct {
	Key string    `tz:"dyn" json:"key"`
	Pi  PrivatePi `json:"pi"`
}

type Proposals

type Proposals = proto_012_Psithaca.Proposals

type RefutationMove

type RefutationMove struct {
	Choice tz.BigUint     `json:"choice"`
	Step   RefutationStep `json:"step"`
}

func (*RefutationMove) RefutationKind

func (*RefutationMove) RefutationKind() string

type RefutationProof

type RefutationProof interface {
	RefutationProof()
}

type RefutationProofFirstInput

type RefutationProofFirstInput struct{}

func (RefutationProofFirstInput) RefutationProof

func (RefutationProofFirstInput) RefutationProof()

type RefutationProofInbox

type RefutationProofInbox struct {
	Level           int32      `json:"level"`
	MessageCounter  tz.BigUint `json:"message_counter"`
	SerializedProof tz.Bytes   `tz:"dyn" json:"serialized_proof"`
}

func (*RefutationProofInbox) RefutationProof

func (*RefutationProofInbox) RefutationProof()

type RefutationProofReveal

type RefutationProofReveal struct {
	RevealProof RevealProof `json:"reveal_proof"`
}

func (*RefutationProofReveal) RefutationProof

func (*RefutationProofReveal) RefutationProof()

type RefutationStart

type RefutationStart struct {
	PlayerCommitmentHash   *tz.SmartRollupCommitmentHash `json:"player_commitment_hash"`
	OpponentCommitmentHash *tz.SmartRollupCommitmentHash `json:"opponent_commitment_hash"`
}

func (*RefutationStart) RefutationKind

func (*RefutationStart) RefutationKind() string

type RefutationStep

type RefutationStep interface {
	RefutationStepKind() string
}

type RefutationStepDissection

type RefutationStepDissection struct {
	Contents []RefutationStepDissectionElem `tz:"dyn" json:"contents"`
}

func (*RefutationStepDissection) RefutationStepKind

func (*RefutationStepDissection) RefutationStepKind() string

type RefutationStepDissectionElem

type RefutationStepDissectionElem struct {
	State tz.Option[*tz.SmartRollupStateHash] `json:"state"`
	Tick  tz.BigUint                          `json:"tick"`
}

type RefutationStepProof

type RefutationStepProof struct {
	PVMStep    tz.Bytes                   `tz:"dyn" json:"pvm_step"`
	InputProof tz.Option[RefutationProof] `json:"input_proof"`
}

func (*RefutationStepProof) RefutationStepKind

func (*RefutationStepProof) RefutationStepKind() string

type RegisterGlobalConstantContentsAndResult

type RegisterGlobalConstantContentsAndResult struct {
	RegisterGlobalConstant
	Metadata ManagerMetadata[RegisterGlobalConstantResult] `json:"metadata"`
}

func (*RegisterGlobalConstantContentsAndResult) GetMetadata

func (op *RegisterGlobalConstantContentsAndResult) GetMetadata() any

func (*RegisterGlobalConstantContentsAndResult) MarshalJSON

func (self *RegisterGlobalConstantContentsAndResult) MarshalJSON() ([]byte, error)

func (*RegisterGlobalConstantContentsAndResult) OperationContentsAndResult

func (*RegisterGlobalConstantContentsAndResult) OperationContentsAndResult()

type RegisterGlobalConstantResult

type RegisterGlobalConstantResult interface {
	core.ManagerOperationResult
}

type RegisterGlobalConstantResultContents

type RegisterGlobalConstantResultContents struct {
	BalanceUpdates
	ConsumedMilligas tz.BigUint         `json:"consumed_milligas"`
	StorageSize      tz.BigInt          `json:"storage_size"`
	GlobalAddress    *tz.ScriptExprHash `json:"global_address"`
}

func (*RegisterGlobalConstantResultContents) EstimateStorageSize

func (r *RegisterGlobalConstantResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*RegisterGlobalConstantResultContents) GetConsumedMilligas

func (r *RegisterGlobalConstantResultContents) GetConsumedMilligas() tz.BigUint

func (*RegisterGlobalConstantResultContents) GetStorageSize

func (r *RegisterGlobalConstantResultContents) GetStorageSize() tz.BigInt

type Reveal

type Reveal = proto_012_Psithaca.Reveal

type RevealContentsAndResult

type RevealContentsAndResult struct {
	Reveal
	Metadata ManagerMetadata[ConsumedGasResult] `json:"metadata"`
}

func (*RevealContentsAndResult) GetMetadata

func (op *RevealContentsAndResult) GetMetadata() any

func (*RevealContentsAndResult) MarshalJSON

func (self *RevealContentsAndResult) MarshalJSON() ([]byte, error)

func (*RevealContentsAndResult) OperationContentsAndResult

func (*RevealContentsAndResult) OperationContentsAndResult()

type RevealProof

type RevealProof interface {
	RevealProof()
}

type RevealProofDALPage

type RevealProofDALPage struct {
	DALPageID DALPageID `json:"dal_page_id"`
	DALProof  tz.Bytes  `tz:"dyn" json:"dal_proof"`
}

func (*RevealProofDALPage) RevealProof

func (*RevealProofDALPage) RevealProof()

type RevealProofMetadata

type RevealProofMetadata struct{}

func (RevealProofMetadata) RevealProof

func (RevealProofMetadata) RevealProof()

type RevealProofRawData

type RevealProofRawData struct {
	RawData tz.Bytes `tz:"dyn" json:"raw_data"`
}

func (RevealProofRawData) RevealProof

func (RevealProofRawData) RevealProof()

type RunOperationRequest

type RunOperationRequest struct {
	Operation SignedOperation `json:"operation"`
	ChainID   *tz.ChainID     `json:"chain_id"`
}

type Script

type Script = proto_012_Psithaca.Script

type SeedNonceRevelationContentsAndResult

type SeedNonceRevelationContentsAndResult struct {
	SeedNonceRevelation
	Metadata BalanceUpdates `json:"metadata"`
}

func (*SeedNonceRevelationContentsAndResult) GetMetadata

func (op *SeedNonceRevelationContentsAndResult) GetMetadata() any

func (*SeedNonceRevelationContentsAndResult) MarshalJSON

func (self *SeedNonceRevelationContentsAndResult) MarshalJSON() ([]byte, error)

func (*SeedNonceRevelationContentsAndResult) OperationContentsAndResult

func (*SeedNonceRevelationContentsAndResult) OperationContentsAndResult()

type SetDepositsLimitContentsAndResult

type SetDepositsLimitContentsAndResult struct {
	SetDepositsLimit
	Metadata ManagerMetadata[ConsumedGasResult] `json:"metadata"`
}

func (*SetDepositsLimitContentsAndResult) GetMetadata

func (op *SetDepositsLimitContentsAndResult) GetMetadata() any

func (*SetDepositsLimitContentsAndResult) MarshalJSON

func (self *SetDepositsLimitContentsAndResult) MarshalJSON() ([]byte, error)

func (*SetDepositsLimitContentsAndResult) OperationContentsAndResult

func (*SetDepositsLimitContentsAndResult) OperationContentsAndResult()

type SignaturePrefix

type SignaturePrefix struct {
	SignaturePrefix SignaturePrefixPayload `json:"signature_prefix"`
}

func (*SignaturePrefix) GetMetadata

func (op *SignaturePrefix) GetMetadata() any

func (*SignaturePrefix) OperationContentsAndResult

func (*SignaturePrefix) OperationContentsAndResult()

func (*SignaturePrefix) OperationKind

func (*SignaturePrefix) OperationKind() string

type SignaturePrefixPayload

type SignaturePrefixPayload interface {
	SignaturePrefixPayload()
}

type SignedOperation

type SignedOperation struct {
	UnsignedOperation
	Signature *tz.GenericSignature `json:"signature"`
}

func (*SignedOperation) DecodeTZ

func (op *SignedOperation) DecodeTZ(data []byte, ctx *encoding.Context) (rest []byte, err error)

type SlotHeader

type SlotHeader struct {
	Level           int32             `json:"level"`
	Index           uint8             `json:"index"`
	Сommitment      *tz.DALCommitment `json:"commitment"`
	CommitmentProof *tz.Bytes48       `json:"commitment_proof"`
}

type SmartRollupAddMessages

type SmartRollupAddMessages struct {
	ManagerOperation
	Message []core.Bytes `tz:"dyn" json:"message"`
}

func (*SmartRollupAddMessages) MarshalJSON

func (self *SmartRollupAddMessages) MarshalJSON() ([]byte, error)

func (*SmartRollupAddMessages) OperationKind

func (*SmartRollupAddMessages) OperationKind() string

type SmartRollupAddMessagesContentsAndResult

type SmartRollupAddMessagesContentsAndResult struct {
	SmartRollupAddMessages
	Metadata ManagerMetadata[ConsumedGasResult] `json:"metadata"`
}

func (*SmartRollupAddMessagesContentsAndResult) GetMetadata

func (op *SmartRollupAddMessagesContentsAndResult) GetMetadata() any

func (*SmartRollupAddMessagesContentsAndResult) MarshalJSON

func (self *SmartRollupAddMessagesContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupAddMessagesContentsAndResult) OperationContentsAndResult

func (*SmartRollupAddMessagesContentsAndResult) OperationContentsAndResult()

type SmartRollupBondID

type SmartRollupBondID struct {
	Address *tz.SmartRollupAddress `json:"address"`
}

func (SmartRollupBondID) BondID

func (SmartRollupBondID) BondID()

type SmartRollupCement

type SmartRollupCement struct {
	ManagerOperation
	Rollup     *tz.SmartRollupAddress        `json:"rollup"`
	Commitment *tz.SmartRollupCommitmentHash `json:"commitment"`
}

func (*SmartRollupCement) MarshalJSON

func (self *SmartRollupCement) MarshalJSON() ([]byte, error)

func (*SmartRollupCement) OperationKind

func (*SmartRollupCement) OperationKind() string

type SmartRollupCementContentsAndResult

type SmartRollupCementContentsAndResult struct {
	SmartRollupCement
	Metadata ManagerMetadata[SmartRollupCementResult] `json:"metadata"`
}

func (*SmartRollupCementContentsAndResult) GetMetadata

func (op *SmartRollupCementContentsAndResult) GetMetadata() any

func (*SmartRollupCementContentsAndResult) MarshalJSON

func (self *SmartRollupCementContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupCementContentsAndResult) OperationContentsAndResult

func (*SmartRollupCementContentsAndResult) OperationContentsAndResult()

type SmartRollupCementResult

type SmartRollupCementResult interface {
	core.ManagerOperationResult
}

type SmartRollupCementResultContents

type SmartRollupCementResultContents struct {
	ConsumedMilligas tz.BigUint `json:"consumed_milligas"`
	InboxLevel       int32      `json:"inbox_level"`
}

func (*SmartRollupCementResultContents) GetConsumedMilligas

func (r *SmartRollupCementResultContents) GetConsumedMilligas() tz.BigUint

type SmartRollupCommitment

type SmartRollupCommitment struct {
	CompressedState *tz.SmartRollupStateHash      `json:"compressed_state"`
	InboxLevel      int32                         `json:"inbox_level"`
	Predecessor     *tz.SmartRollupCommitmentHash `json:"predecessor"`
	NumberOfTicks   int64                         `json:"number_of_ticks"`
}

type SmartRollupExecuteOutboxMessage

type SmartRollupExecuteOutboxMessage struct {
	ManagerOperation
	Rollup             *tz.SmartRollupAddress        `json:"rollup"`
	CementedCommitment *tz.SmartRollupCommitmentHash `json:"cemented_commitment"`
	OutputProof        tz.Bytes                      `tz:"dyn" json:"output_proof"`
}

func (*SmartRollupExecuteOutboxMessage) MarshalJSON

func (self *SmartRollupExecuteOutboxMessage) MarshalJSON() ([]byte, error)

func (*SmartRollupExecuteOutboxMessage) OperationKind

func (*SmartRollupExecuteOutboxMessage) OperationKind() string

type SmartRollupExecuteOutboxMessageContentsAndResult

type SmartRollupExecuteOutboxMessageContentsAndResult struct {
	SmartRollupExecuteOutboxMessage
	Metadata ManagerMetadata[SmartRollupExecuteOutboxMessageResult] `json:"metadata"`
}

func (*SmartRollupExecuteOutboxMessageContentsAndResult) GetMetadata

func (*SmartRollupExecuteOutboxMessageContentsAndResult) MarshalJSON

func (*SmartRollupExecuteOutboxMessageContentsAndResult) OperationContentsAndResult

func (*SmartRollupExecuteOutboxMessageContentsAndResult) OperationContentsAndResult()

type SmartRollupExecuteOutboxMessageResult

type SmartRollupExecuteOutboxMessageResult interface {
	core.ManagerOperationResult
}

type SmartRollupExecuteOutboxMessageResultContents

type SmartRollupExecuteOutboxMessageResultContents struct {
	BalanceUpdates
	TicketUpdates       []*TicketReceipt `tz:"dyn" json:"ticket_updates"`
	ConsumedMilligas    tz.BigUint       `json:"consumed_milligas"`
	PaidStorageSizeDiff tz.BigInt        `json:"paid_storage_size_diff"`
}

func (*SmartRollupExecuteOutboxMessageResultContents) EstimateStorageSize

func (r *SmartRollupExecuteOutboxMessageResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*SmartRollupExecuteOutboxMessageResultContents) GetConsumedMilligas

func (r *SmartRollupExecuteOutboxMessageResultContents) GetConsumedMilligas() tz.BigUint

func (*SmartRollupExecuteOutboxMessageResultContents) GetPaidStorageSizeDiff

func (r *SmartRollupExecuteOutboxMessageResultContents) GetPaidStorageSizeDiff() tz.BigInt

type SmartRollupOriginate

type SmartRollupOriginate struct {
	ManagerOperation
	PVMKind          PVMKind               `json:"pvm_kind"`
	Kernel           tz.Bytes              `tz:"dyn" json:"kernel"`
	OriginationProof tz.Bytes              `tz:"dyn" json:"origination_proof"`
	ParametersTy     expression.Expression `tz:"dyn" json:"parameters_ty"`
}

func (*SmartRollupOriginate) MarshalJSON

func (self *SmartRollupOriginate) MarshalJSON() ([]byte, error)

func (*SmartRollupOriginate) OperationKind

func (*SmartRollupOriginate) OperationKind() string

type SmartRollupOriginateContentsAndResult

type SmartRollupOriginateContentsAndResult struct {
	SmartRollupOriginate
	Metadata ManagerMetadata[SmartRollupOriginateResult] `json:"metadata"`
}

func (*SmartRollupOriginateContentsAndResult) GetMetadata

func (op *SmartRollupOriginateContentsAndResult) GetMetadata() any

func (*SmartRollupOriginateContentsAndResult) MarshalJSON

func (self *SmartRollupOriginateContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupOriginateContentsAndResult) OperationContentsAndResult

func (*SmartRollupOriginateContentsAndResult) OperationContentsAndResult()

type SmartRollupOriginateResult

type SmartRollupOriginateResult interface {
	core.ManagerOperationResult
}

type SmartRollupOriginateResultContents

type SmartRollupOriginateResultContents struct {
	BalanceUpdates
	Address               *tz.SmartRollupAddress        `json:"address"`
	GenesisCommitmentHash *tz.SmartRollupCommitmentHash `json:"genesis_commitment_hash"`
	ConsumedMilligas      tz.BigUint                    `json:"consumed_milligas"`
	Size                  tz.BigInt                     `json:"size"`
}

func (*SmartRollupOriginateResultContents) EstimateStorageSize

func (r *SmartRollupOriginateResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*SmartRollupOriginateResultContents) GetConsumedMilligas

func (r *SmartRollupOriginateResultContents) GetConsumedMilligas() tz.BigUint

type SmartRollupOriginateSuccessfulManagerResult

type SmartRollupOriginateSuccessfulManagerResult struct {
	core.OperationResultApplied[*SmartRollupOriginateResultContents]
}

func (*SmartRollupOriginateSuccessfulManagerResult) MarshalJSON

func (self *SmartRollupOriginateSuccessfulManagerResult) MarshalJSON() ([]byte, error)

func (*SmartRollupOriginateSuccessfulManagerResult) OperationKind

type SmartRollupPublish

type SmartRollupPublish struct {
	ManagerOperation
	Rollup     *tz.SmartRollupAddress `json:"rollup"`
	Commitment SmartRollupCommitment  `json:"commitment"`
}

func (*SmartRollupPublish) MarshalJSON

func (self *SmartRollupPublish) MarshalJSON() ([]byte, error)

func (*SmartRollupPublish) OperationKind

func (*SmartRollupPublish) OperationKind() string

type SmartRollupPublishContentsAndResult

type SmartRollupPublishContentsAndResult struct {
	SmartRollupPublish
	Metadata ManagerMetadata[SmartRollupPublishResult] `json:"metadata"`
}

func (*SmartRollupPublishContentsAndResult) GetMetadata

func (op *SmartRollupPublishContentsAndResult) GetMetadata() any

func (*SmartRollupPublishContentsAndResult) MarshalJSON

func (self *SmartRollupPublishContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupPublishContentsAndResult) OperationContentsAndResult

func (*SmartRollupPublishContentsAndResult) OperationContentsAndResult()

type SmartRollupPublishResult

type SmartRollupPublishResult interface {
	core.ManagerOperationResult
}

type SmartRollupPublishResultContents

type SmartRollupPublishResultContents struct {
	ConsumedMilligas tz.BigUint                    `json:"consumed_milligas"`
	StakedHash       *tz.SmartRollupCommitmentHash `json:"staked_hash"`
	PublishedAtLevel int32                         `json:"published_at_level"`
	BalanceUpdates
}

func (*SmartRollupPublishResultContents) GetConsumedMilligas

func (r *SmartRollupPublishResultContents) GetConsumedMilligas() tz.BigUint

type SmartRollupRecoverBond

type SmartRollupRecoverBond struct {
	ManagerOperation
	Rollup *tz.SmartRollupAddress `json:"rollup"`
	Staker tz.PublicKeyHash       `json:"staker"`
}

func (*SmartRollupRecoverBond) MarshalJSON

func (self *SmartRollupRecoverBond) MarshalJSON() ([]byte, error)

func (*SmartRollupRecoverBond) OperationKind

func (*SmartRollupRecoverBond) OperationKind() string

type SmartRollupRecoverBondContentsAndResult

type SmartRollupRecoverBondContentsAndResult struct {
	SmartRollupRecoverBond
	Metadata ManagerMetadata[SmartRollupRecoverBondResult] `json:"metadata"`
}

func (*SmartRollupRecoverBondContentsAndResult) GetMetadata

func (op *SmartRollupRecoverBondContentsAndResult) GetMetadata() any

func (*SmartRollupRecoverBondContentsAndResult) MarshalJSON

func (self *SmartRollupRecoverBondContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupRecoverBondContentsAndResult) OperationContentsAndResult

func (*SmartRollupRecoverBondContentsAndResult) OperationContentsAndResult()

type SmartRollupRecoverBondResult

type SmartRollupRecoverBondResult interface {
	core.ManagerOperationResult
}

type SmartRollupRecoverBondResultContents

type SmartRollupRecoverBondResultContents struct {
	BalanceUpdates
	ConsumedMilligas tz.BigUint `json:"consumed_milligas"`
}

func (*SmartRollupRecoverBondResultContents) GetConsumedMilligas

func (r *SmartRollupRecoverBondResultContents) GetConsumedMilligas() tz.BigUint

type SmartRollupRefutation

type SmartRollupRefutation interface {
	RefutationKind() string
}

type SmartRollupRefute

type SmartRollupRefute struct {
	ManagerOperation
	Rollup     *tz.SmartRollupAddress `json:"rollup"`
	Opponent   tz.PublicKeyHash       `json:"opponent"`
	Refutation SmartRollupRefutation  `json:"refutation"`
}

func (*SmartRollupRefute) MarshalJSON

func (self *SmartRollupRefute) MarshalJSON() ([]byte, error)

func (*SmartRollupRefute) OperationKind

func (*SmartRollupRefute) OperationKind() string

type SmartRollupRefuteContentsAndResult

type SmartRollupRefuteContentsAndResult struct {
	SmartRollupRefute
	Metadata ManagerMetadata[SmartRollupTimeoutResult] `json:"metadata"`
}

func (*SmartRollupRefuteContentsAndResult) GetMetadata

func (op *SmartRollupRefuteContentsAndResult) GetMetadata() any

func (*SmartRollupRefuteContentsAndResult) MarshalJSON

func (self *SmartRollupRefuteContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupRefuteContentsAndResult) OperationContentsAndResult

func (*SmartRollupRefuteContentsAndResult) OperationContentsAndResult()

type SmartRollupStakers

type SmartRollupStakers struct {
	Alice tz.PublicKeyHash `json:"alice"`
	Bob   tz.PublicKeyHash `json:"bob"`
}

type SmartRollupTimeout

type SmartRollupTimeout struct {
	ManagerOperation
	Rollup  *tz.SmartRollupAddress `json:"rollup"`
	Stakers SmartRollupStakers     `json:"stakers"`
}

func (*SmartRollupTimeout) MarshalJSON

func (self *SmartRollupTimeout) MarshalJSON() ([]byte, error)

func (*SmartRollupTimeout) OperationKind

func (*SmartRollupTimeout) OperationKind() string

type SmartRollupTimeoutContentsAndResult

type SmartRollupTimeoutContentsAndResult struct {
	SmartRollupTimeout
	Metadata ManagerMetadata[SmartRollupTimeoutResult] `json:"metadata"`
}

func (*SmartRollupTimeoutContentsAndResult) GetMetadata

func (op *SmartRollupTimeoutContentsAndResult) GetMetadata() any

func (*SmartRollupTimeoutContentsAndResult) MarshalJSON

func (self *SmartRollupTimeoutContentsAndResult) MarshalJSON() ([]byte, error)

func (*SmartRollupTimeoutContentsAndResult) OperationContentsAndResult

func (*SmartRollupTimeoutContentsAndResult) OperationContentsAndResult()

type SmartRollupTimeoutResult

type SmartRollupTimeoutResult interface {
	core.ManagerOperationResult
}

type SmartRollupTimeoutResultContents

type SmartRollupTimeoutResultContents struct {
	ConsumedMilligas tz.BigUint `json:"consumed_milligas"`
	GameStatus       GameStatus `json:"game_status"`
	BalanceUpdates
}

func (*SmartRollupTimeoutResultContents) GetConsumedMilligas

func (r *SmartRollupTimeoutResultContents) GetConsumedMilligas() tz.BigUint

type SuccessfulManagerOperationResult

type SuccessfulManagerOperationResult interface {
	core.SuccessfulManagerOperationResult
}

type TicketReceipt

type TicketReceipt = proto_015_PtLimaPt.TicketReceipt

type ToContract

type ToContract struct {
	Storage tz.Option[expression.Expression] `json:"storage"`
	BalanceUpdates
	TicketUpdates                []*TicketReceipt            `tz:"dyn" json:"ticket_updates"`
	OriginatedContracts          []core.OriginatedContractID `tz:"dyn" json:"originated_contracts"`
	ConsumedMilligas             tz.BigUint                  `json:"consumed_milligas"`
	StorageSize                  tz.BigInt                   `json:"storage_size"`
	PaidStorageSizeDiff          tz.BigInt                   `json:"paid_storage_size_diff"`
	AllocatedDestinationContract bool                        `json:"allocated_destination_contract"`
	LazyStorageDiff              tz.Option[lazy.StorageDiff] `json:"lazy_storage_diff"`
}

func (*ToContract) EstimateStorageSize

func (r *ToContract) EstimateStorageSize(constants core.Constants) *big.Int

func (*ToContract) GetConsumedMilligas

func (r *ToContract) GetConsumedMilligas() tz.BigUint

func (*ToContract) GetPaidStorageSizeDiff

func (r *ToContract) GetPaidStorageSizeDiff() tz.BigInt

func (*ToContract) GetStorageSize

func (r *ToContract) GetStorageSize() tz.BigInt

func (*ToContract) TransactionResultDestination

func (*ToContract) TransactionResultDestination()

type ToSmartRollup

type ToSmartRollup struct {
	ConsumedMilligas tz.BigUint       `json:"consumed_milligas"`
	TicketUpdates    []*TicketReceipt `tz:"dyn" json:"ticket_updates"`
}

func (*ToSmartRollup) GetConsumedMilligas

func (r *ToSmartRollup) GetConsumedMilligas() tz.BigUint

func (*ToSmartRollup) TransactionResultDestination

func (*ToSmartRollup) TransactionResultDestination()

type ToTxRollup

type ToTxRollup struct {
	BalanceUpdates
	ConsumedMilligas    tz.BigUint         `json:"consumed_milligas"`
	TicketHash          *tz.ScriptExprHash `json:"ticket_hash"`
	PaidStorageSizeDiff tz.BigUint         `json:"paid_storage_size_diff"`
}

func (*ToTxRollup) EstimateStorageSize

func (r *ToTxRollup) EstimateStorageSize(constants core.Constants) *big.Int

func (*ToTxRollup) GetConsumedMilligas

func (r *ToTxRollup) GetConsumedMilligas() tz.BigUint

func (*ToTxRollup) TransactionResultDestination

func (*ToTxRollup) TransactionResultDestination()

type Transaction

type Transaction = proto_015_PtLimaPt.Transaction

type TransactionContentsAndResult

type TransactionContentsAndResult struct {
	Transaction
	Metadata ManagerMetadata[TransactionResult] `json:"metadata"`
}

func (*TransactionContentsAndResult) GetMetadata

func (op *TransactionContentsAndResult) GetMetadata() any

func (*TransactionContentsAndResult) MarshalJSON

func (self *TransactionContentsAndResult) MarshalJSON() ([]byte, error)

func (*TransactionContentsAndResult) OperationContentsAndResult

func (*TransactionContentsAndResult) OperationContentsAndResult()

type TransactionInternalOperationResult

type TransactionInternalOperationResult struct {
	Source      core.TransactionDestination `json:"source"`
	Nonce       uint16                      `json:"nonce"`
	Amount      tz.BigUint                  `json:"amount"`
	Destination core.TransactionDestination `json:"destination"`
	Parameters  tz.Option[Parameters]       `json:"parameters"`
	Result      TransactionResult           `json:"result"`
}

func (*TransactionInternalOperationResult) GetAmount

func (*TransactionInternalOperationResult) GetDestination

func (*TransactionInternalOperationResult) GetNonce

func (*TransactionInternalOperationResult) GetParameters

func (*TransactionInternalOperationResult) GetResult

func (*TransactionInternalOperationResult) GetSource

func (*TransactionInternalOperationResult) MarshalJSON

func (self *TransactionInternalOperationResult) MarshalJSON() ([]byte, error)

func (*TransactionInternalOperationResult) OperationKind

func (*TransactionInternalOperationResult) OperationKind() string

type TransactionResult

type TransactionResult interface {
	core.ManagerOperationResult
}

type TransactionResultContents

type TransactionResultContents = TransactionResultDestination

type TransactionResultDestination

type TransactionResultDestination interface {
	proto_013_PtJakart.TransactionResultDestination
}

type TransactionSuccessfulManagerResult

type TransactionSuccessfulManagerResult struct {
	core.OperationResultApplied[TransactionResultContents]
}

func (*TransactionSuccessfulManagerResult) MarshalJSON

func (self *TransactionSuccessfulManagerResult) MarshalJSON() ([]byte, error)

func (TransactionSuccessfulManagerResult) OperationKind

type TransferTicket

type TransferTicket = proto_013_PtJakart.TransferTicket

type TransferTicketContentsAndResult

type TransferTicketContentsAndResult struct {
	TransferTicket
	Metadata ManagerMetadata[TransferTicketResult] `json:"metadata"`
}

func (*TransferTicketContentsAndResult) GetMetadata

func (op *TransferTicketContentsAndResult) GetMetadata() any

func (*TransferTicketContentsAndResult) MarshalJSON

func (self *TransferTicketContentsAndResult) MarshalJSON() ([]byte, error)

func (*TransferTicketContentsAndResult) OperationContentsAndResult

func (*TransferTicketContentsAndResult) OperationContentsAndResult()

type TransferTicketResult

type TransferTicketResult interface {
	core.ManagerOperationResult
}

type TransferTicketResultContents

type TransferTicketResultContents struct {
	BalanceUpdates
	TicketUpdates       []*TicketReceipt `tz:"dyn" json:"ticket_updates"`
	ConsumedMilligas    tz.BigUint       `json:"consumed_milligas"`
	PaidStorageSizeDiff tz.BigInt        `json:"paid_storage_size_diff"`
}

func (*TransferTicketResultContents) EstimateStorageSize

func (r *TransferTicketResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*TransferTicketResultContents) GetConsumedMilligas

func (r *TransferTicketResultContents) GetConsumedMilligas() tz.BigUint

func (*TransferTicketResultContents) GetPaidStorageSizeDiff

func (r *TransferTicketResultContents) GetPaidStorageSizeDiff() tz.BigInt

type TxRollupBondID

type TxRollupBondID struct {
	Address *tz.TXRollupAddress `json:"address"`
}

func (TxRollupBondID) BondID

func (TxRollupBondID) BondID()

type UnsignedOperation

type UnsignedOperation struct {
	Branch   *tz.BlockHash       `json:"branch"`
	Contents []OperationContents `json:"contents"`
}

type UpdateConsensusKeyContentsAndResult

type UpdateConsensusKeyContentsAndResult struct {
	UpdateConsensusKey
	Metadata ManagerMetadata[ConsumedGasResult] `json:"metadata"`
}

func (*UpdateConsensusKeyContentsAndResult) GetMetadata

func (op *UpdateConsensusKeyContentsAndResult) GetMetadata() any

func (*UpdateConsensusKeyContentsAndResult) MarshalJSON

func (self *UpdateConsensusKeyContentsAndResult) MarshalJSON() ([]byte, error)

func (*UpdateConsensusKeyContentsAndResult) OperationContentsAndResult

func (*UpdateConsensusKeyContentsAndResult) OperationContentsAndResult()

type VDFRevelation

type VDFRevelation = proto_014_PtKathma.VDFRevelation

type VDFRevelationContentsAndResult

type VDFRevelationContentsAndResult struct {
	VDFRevelation
	Metadata BalanceUpdates `json:"metadata"`
}

func (*VDFRevelationContentsAndResult) GetMetadata

func (op *VDFRevelationContentsAndResult) GetMetadata() any

func (*VDFRevelationContentsAndResult) MarshalJSON

func (self *VDFRevelationContentsAndResult) MarshalJSON() ([]byte, error)

func (*VDFRevelationContentsAndResult) OperationContentsAndResult

func (*VDFRevelationContentsAndResult) OperationContentsAndResult()

type ZkRollupOriginationContentsAndResult

type ZkRollupOriginationContentsAndResult struct {
	ZkRollupOrigination
	Metadata ManagerMetadata[ZkRollupPublishResult] `json:"metadata"`
}

func (*ZkRollupOriginationContentsAndResult) GetMetadata

func (op *ZkRollupOriginationContentsAndResult) GetMetadata() any

func (*ZkRollupOriginationContentsAndResult) MarshalJSON

func (self *ZkRollupOriginationContentsAndResult) MarshalJSON() ([]byte, error)

func (*ZkRollupOriginationContentsAndResult) OperationContentsAndResult

func (*ZkRollupOriginationContentsAndResult) OperationContentsAndResult()

type ZkRollupPublishContentsAndResult

type ZkRollupPublishContentsAndResult struct {
	ZkRollupPublish
	Metadata ManagerMetadata[ZkRollupPublishResult] `json:"metadata"`
}

func (*ZkRollupPublishContentsAndResult) GetMetadata

func (op *ZkRollupPublishContentsAndResult) GetMetadata() any

func (*ZkRollupPublishContentsAndResult) MarshalJSON

func (self *ZkRollupPublishContentsAndResult) MarshalJSON() ([]byte, error)

func (*ZkRollupPublishContentsAndResult) OperationContentsAndResult

func (*ZkRollupPublishContentsAndResult) OperationContentsAndResult()

type ZkRollupPublishResult

type ZkRollupPublishResult interface {
	core.ManagerOperationResult
}

type ZkRollupPublishResultContents

type ZkRollupPublishResultContents struct {
	BalanceUpdates
	ConsumedMilligas tz.BigUint `json:"consumed_milligas"`
	Size             tz.BigInt  `json:"size"`
}

func (*ZkRollupPublishResultContents) EstimateStorageSize

func (r *ZkRollupPublishResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*ZkRollupPublishResultContents) GetConsumedMilligas

func (r *ZkRollupPublishResultContents) GetConsumedMilligas() tz.BigUint

type ZkRollupScalar

type ZkRollupScalar = tz.Bytes32

type ZkRollupUpdate

type ZkRollupUpdate struct {
	ManagerOperation
	ZkRollup *tz.ZkRollupAddress    `json:"zk_rollup"`
	Update   ZkRollupUpdateContents `json:"update"`
}

func (*ZkRollupUpdate) MarshalJSON

func (self *ZkRollupUpdate) MarshalJSON() ([]byte, error)

func (*ZkRollupUpdate) OperationKind

func (*ZkRollupUpdate) OperationKind() string

type ZkRollupUpdateContents

type ZkRollupUpdateContents struct {
	PendingPis []*PendingPiElem `tz:"dyn" json:"pending_pis"`
	PrivatePis []*PrivatePiElem `tz:"dyn" json:"private_pis"`
	FeePi      FeePi            `json:"fee_pi"`
	Proof      tz.Bytes         `tz:"dyn" json:"proof"`
}

type ZkRollupUpdateContentsAndResult

type ZkRollupUpdateContentsAndResult struct {
	ZkRollupUpdate
	Metadata ManagerMetadata[ZkRollupUpdateResult] `json:"metadata"`
}

func (*ZkRollupUpdateContentsAndResult) GetMetadata

func (op *ZkRollupUpdateContentsAndResult) GetMetadata() any

func (*ZkRollupUpdateContentsAndResult) MarshalJSON

func (self *ZkRollupUpdateContentsAndResult) MarshalJSON() ([]byte, error)

func (*ZkRollupUpdateContentsAndResult) OperationContentsAndResult

func (*ZkRollupUpdateContentsAndResult) OperationContentsAndResult()

type ZkRollupUpdateResult

type ZkRollupUpdateResult interface {
	core.ManagerOperationResult
}

type ZkRollupUpdateResultContents

type ZkRollupUpdateResultContents struct {
	BalanceUpdates
	ConsumedMilligas    tz.BigUint `json:"consumed_milligas"`
	PaidStorageSizeDiff tz.BigInt  `json:"paid_storage_size_diff"`
}

func (*ZkRollupUpdateResultContents) EstimateStorageSize

func (r *ZkRollupUpdateResultContents) EstimateStorageSize(constants core.Constants) *big.Int

func (*ZkRollupUpdateResultContents) GetConsumedMilligas

func (r *ZkRollupUpdateResultContents) GetConsumedMilligas() tz.BigUint

func (*ZkRollupUpdateResultContents) GetPaidStorageSizeDiff

func (r *ZkRollupUpdateResultContents) GetPaidStorageSizeDiff() tz.BigInt

Jump to

Keyboard shortcuts

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