proto_015_PtLimaPt

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 11 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 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 BalanceUpdateScRollupRefutationRewards

type BalanceUpdateScRollupRefutationRewards struct{}

func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateCategory

func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateCategory() string

func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateKind

func (*BalanceUpdateScRollupRefutationRewards) MarshalJSON

func (self *BalanceUpdateScRollupRefutationRewards) 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 = proto_013_PtJakart.BlockHeader

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"`
	DALSlotAvailability       tz.Option[tz.BigInt]               `json:"dal_slot_availability"`
}

type CircuitsInfoElem

type CircuitsInfoElem struct {
	Value string          `tz:"dyn" json:"value"`
	Tag   CircuitsInfoTag `json:"tag"`
}

type CircuitsInfoTag

type CircuitsInfoTag uint8
const (
	CircuitsInfoPublic CircuitsInfoTag = iota
	CircuitsInfoPrivate
	CircuitsInfoFee
)

func (CircuitsInfoTag) MarshalText

func (c CircuitsInfoTag) MarshalText() (text []byte, err error)

func (CircuitsInfoTag) String

func (c CircuitsInfoTag) String() string

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"`
	ScMaxWrappedProofBinarySize                      int32                       `json:"sc_max_wrapped_proof_binary_size"`
	ScRollupMessageSizeLimit                         int32                       `json:"sc_rollup_message_size_limit"`
	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"`
	ScRollupEnable                                   bool                        `json:"sc_rollup_enable"`
	ScRollupOriginationSize                          int32                       `json:"sc_rollup_origination_size"`
	ScRollupChallengeWindowInBlocks                  int32                       `json:"sc_rollup_challenge_window_in_blocks"`
	ScRollupMaxNumberOfMessagesPerCommitmentPeriod   int32                       `json:"sc_rollup_max_number_of_messages_per_commitment_period"`
	ScRollupStakeAmount                              tz.BigUint                  `json:"sc_rollup_stake_amount"`
	ScRollupCommitmentPeriodInBlocks                 int32                       `json:"sc_rollup_commitment_period_in_blocks"`
	ScRollupMaxLookaheadInBlocks                     int32                       `json:"sc_rollup_max_lookahead_in_blocks"`
	ScRollupMaxActiveOutboxLevels                    int32                       `json:"sc_rollup_max_active_outbox_levels"`
	ScRollupMaxOutboxMessagesPerLevel                int32                       `json:"sc_rollup_max_outbox_messages_per_level"`
	ScRollupNumberOfSectionsInDissection             uint8                       `json:"sc_rollup_number_of_sections_in_dissection"`
	ScRollupTimeoutPeriodInBlocks                    int32                       `json:"sc_rollup_timeout_period_in_blocks"`
	ScRollupMaxNumberOfCementedCommitments           int32                       `json:"sc_rollup_max_number_of_cemented_commitments"`
	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 DALParametric

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

type DALPublishSlotHeader

type DALPublishSlotHeader struct {
	ManagerOperation
	Slot DALSlot `json:"slot"`
}

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 DALSlot

type DALSlot struct {
	Level  int32     `json:"level"`
	Index  uint8     `json:"index"`
	Header *[48]byte `json:"header"`
}

type DelegateInfo

type DelegateInfo struct {
	FullBalance           tz.BigUint                 `json:"full_balance"`
	CurrentFrozenDeposits tz.BigUint                 `json:"current_frozen_deposits"`
	FrozenDeposits        tz.BigUint                 `json:"frozen_deposits"`
	StakingBalance        tz.BigUint                 `json:"staking_balance"`
	FrozenDepositsLimit   tz.Option[tz.BigUint]      `json:"frozen_deposits_limit"`
	DelegatedContracts    []core.ContractID          `tz:"dyn" json:"delegated_contracts,omitempty"`
	DelegatedBalance      tz.BigUint                 `json:"delegated_balance"`
	Deactivated           bool                       `json:"deactivated"`
	GracePeriod           int32                      `json:"grace_period"`
	VotingPower           tz.Option[int64]           `json:"voting_power"`
	CurrentBallot         tz.Option[core.BallotKind] `json:"current_ballot"`
	CurrentProposals      []*tz.ProtocolHash         `tz:"dyn" json:"current_proposals,omitempty"`
	RemainingProposals    int32                      `json:"remaining_proposals"`
	ActiveConsensusKey    tz.PublicKeyHash           `json:"active_consensus_key"`
	PendingConsensusKeys  []*PendingConsensusKey     `tz:"dyn" json:"pending_consensus_keys,omitempty"`
}

func (*DelegateInfo) GetActiveConsensusKey

func (d *DelegateInfo) GetActiveConsensusKey() tz.Option[tz.PublicKeyHash]

func (*DelegateInfo) GetCurrentBallot

func (d *DelegateInfo) GetCurrentBallot() tz.Option[core.BallotKind]

func (*DelegateInfo) GetCurrentFrozenDeposits

func (d *DelegateInfo) GetCurrentFrozenDeposits() tz.BigUint

func (*DelegateInfo) GetCurrentProposals

func (d *DelegateInfo) GetCurrentProposals() tz.Option[[]*tz.ProtocolHash]

func (*DelegateInfo) GetDeactivated

func (d *DelegateInfo) GetDeactivated() bool

func (*DelegateInfo) GetDelegatedBalance

func (d *DelegateInfo) GetDelegatedBalance() tz.BigUint

func (*DelegateInfo) GetDelegatedContracts

func (d *DelegateInfo) GetDelegatedContracts() []core.ContractID

func (*DelegateInfo) GetFrozenDeposits

func (d *DelegateInfo) GetFrozenDeposits() tz.BigUint

func (*DelegateInfo) GetFrozenDepositsLimit

func (d *DelegateInfo) GetFrozenDepositsLimit() tz.Option[tz.BigUint]

func (*DelegateInfo) GetFullBalance

func (d *DelegateInfo) GetFullBalance() tz.BigUint

func (*DelegateInfo) GetGracePeriod

func (d *DelegateInfo) GetGracePeriod() int32

func (*DelegateInfo) GetPendingConsensusKeys

func (d *DelegateInfo) GetPendingConsensusKeys() tz.Option[[]core.PendingConsensusKey]

func (*DelegateInfo) GetRemainingProposals

func (d *DelegateInfo) GetRemainingProposals() tz.Option[int32]

func (*DelegateInfo) GetStakingBalance

func (d *DelegateInfo) GetStakingBalance() tz.BigUint

func (*DelegateInfo) GetVotingPower

func (d *DelegateInfo) GetVotingPower() tz.Option[int64]

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 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 struct {
	ConsensusKey tz.PublicKeyHash `json:"consensus_key"`
	Delegate     tz.PublicKeyHash `json:"delegate"`
	Destination  tz.PublicKeyHash `json:"destination"`
}

func (*DrainDelegate) MarshalJSON

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

func (*DrainDelegate) OperationKind

func (*DrainDelegate) OperationKind() string

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 interface {
	core.Entrypoint
}

type EpDefault

type EpDefault = proto_012_Psithaca.EpDefault

type EpDeposit

type EpDeposit struct{}

func (EpDeposit) Entrypoint

func (EpDeposit) Entrypoint() string

func (EpDeposit) MarshalText

func (ep EpDeposit) MarshalText() (text []byte, err error)

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 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 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 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 Parameters

type Parameters struct {
	Entrypoint Entrypoint            `json:"entrypoint"`
	Value      expression.Expression `tz:"dyn" json:"value"`
}

func (*Parameters) GetEntrypoint

func (p *Parameters) GetEntrypoint() string

func (*Parameters) GetValue

func (p *Parameters) GetValue() expression.Expression

type PendingConsensusKey

type PendingConsensusKey struct {
	Cycle int32            `json:"cycle"`
	PKH   tz.PublicKeyHash `json:"pkh"`
}

func (*PendingConsensusKey) GetCycle

func (k *PendingConsensusKey) GetCycle() int32

func (*PendingConsensusKey) GetPKH

func (k *PendingConsensusKey) GetPKH() tz.PublicKeyHash

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 Proposals

type Proposals = proto_012_Psithaca.Proposals

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 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 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 SuccessfulManagerOperationResult

type SuccessfulManagerOperationResult interface {
	core.SuccessfulManagerOperationResult
}

type TicketReceipt

type TicketReceipt struct {
	TicketToken TicketToken            `json:"ticket_token"`
	Updates     []*TicketReceiptUpdate `tz:"dyn" json:"updates"`
}

type TicketReceiptUpdate

type TicketReceiptUpdate struct {
	Account core.TransactionDestination `json:"account"`
	Amount  tz.BigInt                   `json:"amount"`
}

type TicketToken

type TicketToken struct {
	Ticketer    core.ContractID       `json:"ticketer"`
	ContentType expression.Expression `json:"content_type"`
	Content     expression.Expression `json:"content"`
}

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 ToScRollup

type ToScRollup = proto_014_PtKathma.ToScRollup

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 struct {
	ManagerOperation
	Amount      tz.BigUint            `json:"amount"`
	Destination core.ContractID       `json:"destination"`
	Parameters  tz.Option[Parameters] `json:"parameters"`
}

func (*Transaction) GetAmount

func (t *Transaction) GetAmount() tz.BigUint

func (*Transaction) GetDestination

func (t *Transaction) GetDestination() core.Address

func (*Transaction) GetParameters

func (t *Transaction) GetParameters() tz.Option[core.Parameters]

func (*Transaction) MarshalJSON

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

func (*Transaction) OperationKind

func (*Transaction) OperationKind() string

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.ContractID             `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) GetSourceAddress

func (r *TransactionInternalOperationResult) GetSourceAddress() core.ContractID

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 UnsignedOperation

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

type UpdateConsensusKey

type UpdateConsensusKey struct {
	ManagerOperation
	PublicKey tz.PublicKey `json:"public_key"`
}

func (*UpdateConsensusKey) MarshalJSON

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

func (*UpdateConsensusKey) OperationKind

func (*UpdateConsensusKey) OperationKind() string

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 UpdateConsensusKeySuccessfulManagerResult

type UpdateConsensusKeySuccessfulManagerResult struct {
	core.OperationResultApplied[*ConsumedGasResultContents]
}

func (*UpdateConsensusKeySuccessfulManagerResult) MarshalJSON

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

func (*UpdateConsensusKeySuccessfulManagerResult) OperationKind

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 ZkRollupOp

type ZkRollupOp struct {
	OpCode   int32               `json:"op_code"`
	Price    ZkRollupPrice       `json:"price"`
	L1Dst    tz.PublicKeyHash    `json:"l1_dst"`
	RollupID *tz.ZkRollupAddress `json:"rollup_id"`
	Payload  tz.Bytes            `tz:"dyn" json:"payload"`
}

type ZkRollupOpElem

type ZkRollupOpElem struct {
	Op     ZkRollupOp                 `json:"op"`
	Ticket tz.Option1[ZkRollupTicket] `json:"ticket"`
}

type ZkRollupOrigination

type ZkRollupOrigination struct {
	ManagerOperation
	PublicParameters tz.Bytes            `tz:"dyn" json:"public_parameters"`
	CircuitsInfo     []*CircuitsInfoElem `tz:"dyn" json:"circuits_info"`
	InitState        tz.Bytes            `tz:"dyn" json:"init_state"`
	NbOps            int32               `json:"nb_ops"`
}

func (*ZkRollupOrigination) MarshalJSON

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

func (*ZkRollupOrigination) OperationKind

func (*ZkRollupOrigination) OperationKind() string

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 ZkRollupPrice

type ZkRollupPrice struct {
	ID     *tz.ScriptExprHash `json:"id"`
	Amount tz.BigInt          `json:"amount"`
}

type ZkRollupPublish

type ZkRollupPublish struct {
	ManagerOperation
	ZkRollup *tz.ZkRollupAddress `json:"zk_rollup"`
	Op       []*ZkRollupOpElem   `tz:"dyn" json:"op"`
}

func (*ZkRollupPublish) MarshalJSON

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

func (*ZkRollupPublish) OperationKind

func (*ZkRollupPublish) OperationKind() string

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 ZkRollupTicket

type ZkRollupTicket struct {
	Contents expression.Expression `json:"contents"`
	Ty       expression.Expression `json:"ty"`
	Ticketer core.ContractID       `json:"ticketer"`
}

Jump to

Keyboard shortcuts

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