Documentation ¶
Index ¶
- type ActivateAccount
- type ActivateAccountContentsAndResult
- type BalanceUpdate
- type BalanceUpdateBakingBonuses
- type BalanceUpdateBakingRewards
- type BalanceUpdateBlockFees
- type BalanceUpdateBootstrap
- type BalanceUpdateBurned
- type BalanceUpdateCommitments
- type BalanceUpdateContents
- type BalanceUpdateContract
- type BalanceUpdateDeposits
- type BalanceUpdateDoubleSigningEvidenceRewards
- type BalanceUpdateDoubleSigningPunishments
- type BalanceUpdateEndorsingRewards
- type BalanceUpdateFrozenBonds
- type BalanceUpdateInitialCommitments
- type BalanceUpdateInvoice
- type BalanceUpdateLiquidityBakingSubsidies
- type BalanceUpdateLostEndorsingRewards
- type BalanceUpdateMinted
- type BalanceUpdateNonceRevelationRewards
- type BalanceUpdateScRollupRefutationPunishments
- type BalanceUpdateScRollupRefutationRewards
- type BalanceUpdateStorageFees
- type BalanceUpdateTxRollupRejectionPunishments
- type BalanceUpdateTxRollupRejectionRewards
- type BalanceUpdates
- type Ballot
- type BlockHeader
- type BlockHeaderInfo
- type BlockInfo
- type BlockMetadata
- func (m *BlockMetadata) GetBaker() tz.PublicKeyHash
- func (m *BlockMetadata) GetBakerConsensusKey() tz.Option[tz.PublicKeyHash]
- func (m *BlockMetadata) GetBalanceUpdates() (updates []core.BalanceUpdate)
- func (m *BlockMetadata) GetConsumedGas() tz.Option[tz.BigUint]
- func (m *BlockMetadata) GetConsumedMilligas() tz.Option[tz.BigUint]
- func (m *BlockMetadata) GetDeactivated() []tz.PublicKeyHash
- func (m *BlockMetadata) GetImplicitOperationsResults() []core.SuccessfulManagerOperationResult
- func (m *BlockMetadata) GetLevelInfo() *core.LevelInfo
- func (m *BlockMetadata) GetMetadataHeader() *core.BlockMetadataHeader
- func (m *BlockMetadata) GetNonceHash() tz.Option[*tz.CycleNonceHash]
- func (m *BlockMetadata) GetProposer() tz.PublicKeyHash
- func (m *BlockMetadata) GetProposerConsensusKey() tz.Option[tz.PublicKeyHash]
- func (m *BlockMetadata) GetVotingPeriodInfo() *core.VotingPeriodInfo
- type BlockMetadataContents
- type CircuitsInfoElem
- type CircuitsInfoTag
- type Constants
- func (c *Constants) GetBakingRewardBonusPerSlot() tz.BigUint
- func (c *Constants) GetBakingRewardFixedPortion() tz.BigUint
- func (c *Constants) GetBlocksPerCommitment() int32
- func (c *Constants) GetBlocksPerCycle() int32
- func (c *Constants) GetBlocksPerStakeSnapshot() int32
- func (c *Constants) GetConsensusCommitteeSize() int32
- func (c *Constants) GetConsensusThreshold() int32
- func (c *Constants) GetCostPerByte() tz.BigUint
- func (c *Constants) GetDelayIncrementPerRound() int64
- func (c *Constants) GetDoubleBakingPunishment() tz.BigUint
- func (c *Constants) GetEndorsingRewardPerSlot() tz.BigUint
- func (c *Constants) GetFrozenDepositsPercentage() int32
- func (c *Constants) GetHardGasLimitPerBlock() tz.BigInt
- func (c *Constants) GetHardGasLimitPerOperation() tz.BigInt
- func (c *Constants) GetHardStorageLimitPerOperation() tz.BigInt
- func (c *Constants) GetLiquidityBakingSubsidy() tz.BigUint
- func (c *Constants) GetMaxAllowedGlobalConstantsDepth() int32
- func (c *Constants) GetMaxAnonOpsPerBlock() uint8
- func (c *Constants) GetMaxMichelineBytesLimit() int32
- func (c *Constants) GetMaxMichelineNodeCount() int32
- func (c *Constants) GetMaxOperationDataLength() int32
- func (c *Constants) GetMaxOperationsTimeToLive() int16
- func (c *Constants) GetMaxProposalsPerDelegate() uint8
- func (c *Constants) GetMaxSlashingPeriod() int32
- func (c *Constants) GetMichelsonMaximumTypeSize() uint16
- func (c *Constants) GetMinProposalQuorum() int32
- func (c *Constants) GetMinimalBlockDelay() int64
- func (c *Constants) GetMinimalParticipationRatio() *core.Rat
- func (c *Constants) GetNonceLength() uint8
- func (c *Constants) GetOriginationSize() int32
- func (c *Constants) GetPreservedCycles() uint8
- func (c *Constants) GetProofOfWorkNonceSize() uint8
- func (c *Constants) GetProofOfWorkThreshold() int64
- func (c *Constants) GetQuorumMax() int32
- func (c *Constants) GetQuorumMin() int32
- func (c *Constants) GetRatioOfFrozenDepositsSlashedPerDoubleEndorsement() *core.Rat
- func (c *Constants) GetSeedNonceRevelationTip() tz.BigUint
- type ConsumedGasResult
- type ConsumedGasResultContents
- type DALParametric
- type DALPublishSlotHeader
- type DALPublishSlotHeaderContentsAndResult
- type DALSlot
- type DALSlotAvailability
- type DALSlotAvailabilityContentsAndResult
- type DelegateInfo
- func (d *DelegateInfo) GetActiveConsensusKey() tz.Option[tz.PublicKeyHash]
- func (d *DelegateInfo) GetCurrentBallot() tz.Option[core.BallotKind]
- func (d *DelegateInfo) GetCurrentFrozenDeposits() tz.BigUint
- func (d *DelegateInfo) GetCurrentProposals() tz.Option[[]*tz.ProtocolHash]
- func (d *DelegateInfo) GetDeactivated() bool
- func (d *DelegateInfo) GetDelegatedBalance() tz.BigUint
- func (d *DelegateInfo) GetDelegatedContracts() []core.ContractID
- func (d *DelegateInfo) GetFrozenDeposits() tz.BigUint
- func (d *DelegateInfo) GetFrozenDepositsLimit() tz.Option[tz.BigUint]
- func (d *DelegateInfo) GetFullBalance() tz.BigUint
- func (d *DelegateInfo) GetGracePeriod() int32
- func (d *DelegateInfo) GetPendingConsensusKeys() tz.Option[[]core.PendingConsensusKey]
- func (d *DelegateInfo) GetRemainingProposals() tz.Option[int32]
- func (d *DelegateInfo) GetStakingBalance() tz.BigUint
- func (d *DelegateInfo) GetVotingPower() tz.Option[int64]
- type Delegation
- type DelegationContentsAndResult
- type DelegationInternalOperationResult
- type DelegationSuccessfulManagerResult
- type DoubleBakingEvidence
- type DoubleBakingEvidenceContentsAndResult
- type DoubleEndorsementEvidence
- type DoubleEndorsementEvidenceContentsAndResult
- type DoublePreendorsementEvidence
- type DoublePreendorsementEvidenceContentsAndResult
- type DrainDelegate
- type DrainDelegateContentsAndResult
- type DrainDelegateMetadata
- type Endorsement
- type EndorsementContentsAndResult
- type EndorsementMetadata
- type Entrypoint
- type EpDefault
- type EpDeposit
- type EpDo
- type EpNamed
- type EpRemoveDelegate
- type EpRoot
- type EpSetDelegate
- type EventInternalOperationResult
- type FailingNoop
- type GroupContents
- type IncreasePaidStorage
- type IncreasePaidStorageContentsAndResult
- type IncreasePaidStorageResult
- type IncreasePaidStorageResultContents
- type IncreasePaidStorageSuccessfulManagerResult
- type InlinedEndorsement
- type InlinedPreendorsement
- type InternalOperationResult
- type ManagerMetadata
- type ManagerOperation
- type OperationContents
- type OperationContentsAndResult
- type OperationWithOptionalMetadataContents
- type Origination
- type OriginationContentsAndResult
- type OriginationInternalOperationResult
- func (r *OriginationInternalOperationResult) GetResult() core.ManagerOperationResult
- func (r *OriginationInternalOperationResult) GetSource() core.TransactionDestination
- func (self *OriginationInternalOperationResult) MarshalJSON() ([]byte, error)
- func (*OriginationInternalOperationResult) OperationKind() string
- type OriginationResult
- type OriginationResultContents
- type OriginationSuccessfulManagerResult
- type Parameters
- type PendingConsensusKey
- type Preendorsement
- type PreendorsementContentsAndResult
- type PreendorsementMetadata
- type Proposals
- type RegisterGlobalConstant
- type RegisterGlobalConstantContentsAndResult
- type RegisterGlobalConstantResult
- type RegisterGlobalConstantResultContents
- type Reveal
- type RevealContentsAndResult
- type RevealSuccessfulManagerResult
- type RunOperationRequest
- type Script
- type SeedNonceRevelation
- type SeedNonceRevelationContentsAndResult
- type SetDepositsLimit
- type SetDepositsLimitContentsAndResult
- type SetDepositsLimitSuccessfulManagerResult
- type SignedOperation
- type SuccessfulManagerOperationResult
- type TicketReceipt
- type TicketReceiptUpdate
- type TicketToken
- type ToContract
- type ToScRollup
- type ToTxRollup
- type Transaction
- type TransactionContentsAndResult
- type TransactionInternalOperationResult
- func (t *TransactionInternalOperationResult) GetAmount() tz.BigUint
- func (t *TransactionInternalOperationResult) GetDestination() core.TransactionDestination
- func (r *TransactionInternalOperationResult) GetNonce() uint16
- func (t *TransactionInternalOperationResult) GetParameters() tz.Option[core.Parameters]
- func (r *TransactionInternalOperationResult) GetResult() core.ManagerOperationResult
- func (r *TransactionInternalOperationResult) GetSource() core.TransactionDestination
- func (r *TransactionInternalOperationResult) GetSourceAddress() core.ContractID
- func (self *TransactionInternalOperationResult) MarshalJSON() ([]byte, error)
- func (*TransactionInternalOperationResult) OperationKind() string
- type TransactionResult
- type TransactionResultContents
- type TransactionResultDestination
- type TransactionSuccessfulManagerResult
- type TransferTicket
- type TransferTicketContentsAndResult
- type TransferTicketResult
- type TransferTicketResultContents
- type UnsignedBlockHeader
- type UnsignedOperation
- type UnsignedProtocolBlockHeader
- type UpdateConsensusKey
- type UpdateConsensusKeyContentsAndResult
- type UpdateConsensusKeySuccessfulManagerResult
- type VDFRevelation
- type VDFRevelationContentsAndResult
- type ZkRollupOp
- type ZkRollupOpElem
- type ZkRollupOrigination
- type ZkRollupOriginationContentsAndResult
- type ZkRollupPrice
- type ZkRollupPublish
- type ZkRollupPublishContentsAndResult
- type ZkRollupPublishResult
- type ZkRollupPublishResultContents
- type ZkRollupTicket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateAccount ¶
type ActivateAccount = proto_012_Psithaca.ActivateAccount
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 BalanceUpdateBakingBonuses ¶
type BalanceUpdateBakingBonuses = proto_012_Psithaca.BalanceUpdateBakingBonuses
type BalanceUpdateBakingRewards ¶
type BalanceUpdateBakingRewards = proto_012_Psithaca.BalanceUpdateBakingRewards
type BalanceUpdateBlockFees ¶
type BalanceUpdateBlockFees = proto_012_Psithaca.BalanceUpdateBlockFees
type BalanceUpdateBootstrap ¶
type BalanceUpdateBootstrap = proto_012_Psithaca.BalanceUpdateBootstrap
type BalanceUpdateBurned ¶
type BalanceUpdateBurned = proto_012_Psithaca.BalanceUpdateBurned
type BalanceUpdateCommitments ¶
type BalanceUpdateCommitments = proto_012_Psithaca.BalanceUpdateCommitments
type BalanceUpdateContents ¶
type BalanceUpdateContents interface { core.BalanceUpdateContents }
type BalanceUpdateContract ¶
type BalanceUpdateContract = proto_012_Psithaca.BalanceUpdateContract
type BalanceUpdateDeposits ¶
type BalanceUpdateDeposits = proto_012_Psithaca.BalanceUpdateDeposits
type BalanceUpdateDoubleSigningEvidenceRewards ¶
type BalanceUpdateDoubleSigningEvidenceRewards = proto_012_Psithaca.BalanceUpdateDoubleSigningEvidenceRewards
type BalanceUpdateDoubleSigningPunishments ¶
type BalanceUpdateDoubleSigningPunishments = proto_012_Psithaca.BalanceUpdateDoubleSigningPunishments
type BalanceUpdateEndorsingRewards ¶
type BalanceUpdateEndorsingRewards = proto_012_Psithaca.BalanceUpdateEndorsingRewards
type BalanceUpdateFrozenBonds ¶
type BalanceUpdateFrozenBonds = proto_014_PtKathma.BalanceUpdateFrozenBonds
type BalanceUpdateInitialCommitments ¶
type BalanceUpdateInitialCommitments = proto_012_Psithaca.BalanceUpdateInitialCommitments
type BalanceUpdateInvoice ¶
type BalanceUpdateInvoice = proto_012_Psithaca.BalanceUpdateInvoice
type BalanceUpdateLiquidityBakingSubsidies ¶
type BalanceUpdateLiquidityBakingSubsidies = proto_012_Psithaca.BalanceUpdateLiquidityBakingSubsidies
type BalanceUpdateLostEndorsingRewards ¶
type BalanceUpdateLostEndorsingRewards = proto_012_Psithaca.BalanceUpdateLostEndorsingRewards
type BalanceUpdateMinted ¶
type BalanceUpdateMinted = proto_012_Psithaca.BalanceUpdateMinted
type BalanceUpdateNonceRevelationRewards ¶
type BalanceUpdateNonceRevelationRewards = proto_012_Psithaca.BalanceUpdateNonceRevelationRewards
type BalanceUpdateScRollupRefutationPunishments ¶
type BalanceUpdateScRollupRefutationPunishments = proto_014_PtKathma.BalanceUpdateScRollupRefutationPunishments
type BalanceUpdateScRollupRefutationRewards ¶
type BalanceUpdateScRollupRefutationRewards struct{}
func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateCategory ¶
func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateCategory() string
func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateKind ¶
func (BalanceUpdateScRollupRefutationRewards) BalanceUpdateKind() core.BalanceUpdateKind
func (*BalanceUpdateScRollupRefutationRewards) MarshalJSON ¶
func (self *BalanceUpdateScRollupRefutationRewards) MarshalJSON() ([]byte, error)
type BalanceUpdateStorageFees ¶
type BalanceUpdateStorageFees = proto_012_Psithaca.BalanceUpdateStorageFees
type BalanceUpdateTxRollupRejectionPunishments ¶
type BalanceUpdateTxRollupRejectionPunishments = proto_013_PtJakart.BalanceUpdateTxRollupRejectionPunishments
type BalanceUpdateTxRollupRejectionRewards ¶
type BalanceUpdateTxRollupRejectionRewards = proto_013_PtJakart.BalanceUpdateTxRollupRejectionRewards
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 BlockHeaderInfo ¶
type BlockHeaderInfo = proto_013_PtJakart.BlockHeaderInfo
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 (*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 (*Constants) GetBakingRewardFixedPortion ¶
func (*Constants) GetBlocksPerCommitment ¶
func (*Constants) GetBlocksPerCycle ¶
func (*Constants) GetBlocksPerStakeSnapshot ¶
func (*Constants) GetConsensusCommitteeSize ¶
func (*Constants) GetConsensusThreshold ¶
func (*Constants) GetCostPerByte ¶
func (*Constants) GetDelayIncrementPerRound ¶
func (*Constants) GetDoubleBakingPunishment ¶
func (*Constants) GetEndorsingRewardPerSlot ¶
func (*Constants) GetFrozenDepositsPercentage ¶
func (*Constants) GetHardGasLimitPerBlock ¶
func (*Constants) GetHardGasLimitPerOperation ¶
func (*Constants) GetHardStorageLimitPerOperation ¶
func (*Constants) GetLiquidityBakingSubsidy ¶
func (*Constants) GetMaxAllowedGlobalConstantsDepth ¶
func (*Constants) GetMaxAnonOpsPerBlock ¶
func (*Constants) GetMaxMichelineBytesLimit ¶
func (*Constants) GetMaxMichelineNodeCount ¶
func (*Constants) GetMaxOperationDataLength ¶
func (*Constants) GetMaxOperationsTimeToLive ¶
func (*Constants) GetMaxProposalsPerDelegate ¶
func (*Constants) GetMaxSlashingPeriod ¶
func (*Constants) GetMichelsonMaximumTypeSize ¶
func (*Constants) GetMinProposalQuorum ¶
func (*Constants) GetMinimalBlockDelay ¶
func (*Constants) GetMinimalParticipationRatio ¶
func (*Constants) GetNonceLength ¶
func (*Constants) GetOriginationSize ¶
func (*Constants) GetPreservedCycles ¶
func (*Constants) GetProofOfWorkNonceSize ¶
func (*Constants) GetProofOfWorkThreshold ¶
func (*Constants) GetQuorumMax ¶
func (*Constants) GetQuorumMin ¶
func (*Constants) GetRatioOfFrozenDepositsSlashedPerDoubleEndorsement ¶
func (*Constants) GetSeedNonceRevelationTip ¶
type ConsumedGasResult ¶
type ConsumedGasResult = proto_014_PtKathma.ConsumedGasResult
type ConsumedGasResultContents ¶
type ConsumedGasResultContents = proto_014_PtKathma.ConsumedGasResultContents
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 DALSlotAvailability ¶
type DALSlotAvailability = proto_014_PtKathma.DALSlotAvailability
type DALSlotAvailabilityContentsAndResult ¶
type DALSlotAvailabilityContentsAndResult = proto_014_PtKathma.DALSlotAvailabilityContentsAndResult
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 DelegationInternalOperationResult ¶
type DelegationInternalOperationResult = proto_014_PtKathma.DelegationInternalOperationResult
type DelegationSuccessfulManagerResult ¶
type DelegationSuccessfulManagerResult = proto_014_PtKathma.DelegationSuccessfulManagerResult
type DoubleBakingEvidence ¶
type DoubleBakingEvidence = proto_013_PtJakart.DoubleBakingEvidence
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 DoubleEndorsementEvidence ¶
type DoubleEndorsementEvidence = proto_012_Psithaca.DoubleEndorsementEvidence
type DoubleEndorsementEvidenceContentsAndResult ¶
type DoubleEndorsementEvidenceContentsAndResult struct { DoubleEndorsementEvidence Metadata BalanceUpdates `json:"metadata"` }
func (*DoubleEndorsementEvidenceContentsAndResult) GetMetadata ¶
func (op *DoubleEndorsementEvidenceContentsAndResult) GetMetadata() any
func (*DoubleEndorsementEvidenceContentsAndResult) MarshalJSON ¶
func (self *DoubleEndorsementEvidenceContentsAndResult) MarshalJSON() ([]byte, error)
func (*DoubleEndorsementEvidenceContentsAndResult) OperationContentsAndResult ¶
func (*DoubleEndorsementEvidenceContentsAndResult) OperationContentsAndResult()
type DoublePreendorsementEvidence ¶
type DoublePreendorsementEvidence = proto_012_Psithaca.DoublePreendorsementEvidence
type DoublePreendorsementEvidenceContentsAndResult ¶
type DoublePreendorsementEvidenceContentsAndResult struct { DoublePreendorsementEvidence Metadata BalanceUpdates `json:"metadata"` }
func (*DoublePreendorsementEvidenceContentsAndResult) GetMetadata ¶
func (op *DoublePreendorsementEvidenceContentsAndResult) GetMetadata() any
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) MarshalText ¶
type EpDo ¶
type EpDo = proto_012_Psithaca.EpDo
type EpNamed ¶
type EpNamed = proto_012_Psithaca.EpNamed
type EpRemoveDelegate ¶
type EpRemoveDelegate = proto_012_Psithaca.EpRemoveDelegate
type EpRoot ¶
type EpRoot = proto_012_Psithaca.EpRoot
type EpSetDelegate ¶
type EpSetDelegate = proto_012_Psithaca.EpSetDelegate
type EventInternalOperationResult ¶
type EventInternalOperationResult = proto_014_PtKathma.EventInternalOperationResult
type FailingNoop ¶
type FailingNoop = proto_012_Psithaca.FailingNoop
type GroupContents ¶
type GroupContents interface { core.GroupContents }
type IncreasePaidStorage ¶
type IncreasePaidStorage = proto_014_PtKathma.IncreasePaidStorage
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 ¶
func (*IncreasePaidStorageSuccessfulManagerResult) OperationKind() string
type InlinedEndorsement ¶
type InlinedEndorsement = proto_012_Psithaca.InlinedEndorsement
type InlinedPreendorsement ¶
type InlinedPreendorsement = proto_012_Psithaca.InlinedPreendorsement
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 ManagerOperation ¶
type ManagerOperation = proto_012_Psithaca.ManagerOperation
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 (r *OriginationInternalOperationResult) GetResult() core.ManagerOperationResult
func (*OriginationInternalOperationResult) GetSource ¶
func (r *OriginationInternalOperationResult) GetSource() core.TransactionDestination
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) GetEntrypointValue ¶ added in v2.1.1
func (p *Parameters) GetEntrypointValue() core.Entrypoint
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 RegisterGlobalConstant ¶
type RegisterGlobalConstant = proto_012_Psithaca.RegisterGlobalConstant
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 RevealSuccessfulManagerResult ¶
type RevealSuccessfulManagerResult = proto_014_PtKathma.RevealSuccessfulManagerResult
type RunOperationRequest ¶
type RunOperationRequest struct { Operation SignedOperation `json:"operation"` ChainID *tz.ChainID `json:"chain_id"` }
type Script ¶
type Script = proto_012_Psithaca.Script
type SeedNonceRevelation ¶
type SeedNonceRevelation = proto_012_Psithaca.SeedNonceRevelation
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 SetDepositsLimit ¶
type SetDepositsLimit = proto_012_Psithaca.SetDepositsLimit
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 SetDepositsLimitSuccessfulManagerResult ¶
type SetDepositsLimitSuccessfulManagerResult = proto_014_PtKathma.SetDepositsLimitSuccessfulManagerResult
type SignedOperation ¶
type SignedOperation struct { UnsignedOperation Signature *tz.GenericSignature `json:"signature"` }
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 (t *TransactionInternalOperationResult) GetAmount() tz.BigUint
func (*TransactionInternalOperationResult) GetDestination ¶
func (t *TransactionInternalOperationResult) GetDestination() core.TransactionDestination
func (*TransactionInternalOperationResult) GetNonce ¶
func (r *TransactionInternalOperationResult) GetNonce() uint16
func (*TransactionInternalOperationResult) GetParameters ¶
func (t *TransactionInternalOperationResult) GetParameters() tz.Option[core.Parameters]
func (*TransactionInternalOperationResult) GetResult ¶
func (r *TransactionInternalOperationResult) GetResult() core.ManagerOperationResult
func (*TransactionInternalOperationResult) GetSource ¶
func (r *TransactionInternalOperationResult) GetSource() core.TransactionDestination
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 ¶
func (TransactionSuccessfulManagerResult) OperationKind() string
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 UnsignedBlockHeader ¶
type UnsignedBlockHeader = proto_013_PtJakart.UnsignedBlockHeader
type UnsignedOperation ¶
type UnsignedOperation struct { Branch *tz.BlockHash `json:"branch"` Contents []OperationContents `json:"contents"` }
type UnsignedProtocolBlockHeader ¶
type UnsignedProtocolBlockHeader = proto_013_PtJakart.UnsignedProtocolBlockHeader
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 ¶
func (*UpdateConsensusKeySuccessfulManagerResult) OperationKind() string
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"` }
Click to show internal directories.
Click to hide internal directories.