proto_017_PtNairob

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceUpdates

type BalanceUpdates = proto_016_PtMumbai.BalanceUpdates

type Ballot

type Ballot = proto_012_Psithaca.Ballot

type BlockHeader

type BlockHeader = proto_016_PtMumbai.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 = proto_016_PtMumbai.BlockMetadata

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 = proto_016_PtMumbai.DALAttestation

type DALParametric

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

type DelegateInfo

type DelegateInfo = proto_015_PtLimaPt.DelegateInfo

type Delegation

type Delegation = proto_012_Psithaca.Delegation

type DrainDelegate

type DrainDelegate = proto_015_PtLimaPt.DrainDelegate

type Endorsement

type Endorsement = proto_012_Psithaca.Endorsement

type FailingNoop

type FailingNoop = proto_012_Psithaca.FailingNoop

type GroupContents

type GroupContents interface {
	core.GroupContents
}

type OperationContents

type OperationContents = proto_016_PtMumbai.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 Parameters

type Parameters = proto_015_PtLimaPt.Parameters

type Preendorsement

type Preendorsement = proto_012_Psithaca.Preendorsement

type Proposals

type Proposals = proto_012_Psithaca.Proposals

type Reveal

type Reveal = proto_012_Psithaca.Reveal

type SmartRollupCementContentsAndResult

type SmartRollupCementContentsAndResult struct {
	SmartRollupCement
	Metadata proto_016_PtMumbai.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"`
	CommitmentHash   *tz.SmartRollupCommitmentHash `json:"commitment_hash"`
}

func (*SmartRollupCementResultContents) GetConsumedMilligas

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

type Transaction

type Transaction = proto_015_PtLimaPt.Transaction

type TransferTicket

type TransferTicket = proto_013_PtJakart.TransferTicket

type VDFRevelation

type VDFRevelation = proto_014_PtKathma.VDFRevelation

type ZkRollupUpdate

type ZkRollupUpdate = proto_016_PtMumbai.ZkRollupUpdate

Jump to

Keyboard shortcuts

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