proto_013_PtJakart

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 8 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 BalanceUpdateFrozenBonds

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

func (*BalanceUpdateFrozenBonds) BalanceUpdateCategory

func (*BalanceUpdateFrozenBonds) BalanceUpdateCategory() string

func (*BalanceUpdateFrozenBonds) BalanceUpdateKind

func (*BalanceUpdateFrozenBonds) BalanceUpdateKind() core.BalanceUpdateKind

func (*BalanceUpdateFrozenBonds) MarshalJSON

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

type BalanceUpdateTxRollupRejectionPunishments

type BalanceUpdateTxRollupRejectionPunishments struct{}

func (BalanceUpdateTxRollupRejectionPunishments) BalanceUpdateCategory

func (BalanceUpdateTxRollupRejectionPunishments) BalanceUpdateCategory() string

func (BalanceUpdateTxRollupRejectionPunishments) BalanceUpdateKind

func (*BalanceUpdateTxRollupRejectionPunishments) MarshalJSON

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

type BalanceUpdateTxRollupRejectionRewards

type BalanceUpdateTxRollupRejectionRewards struct{}

func (BalanceUpdateTxRollupRejectionRewards) BalanceUpdateCategory

func (BalanceUpdateTxRollupRejectionRewards) BalanceUpdateCategory() string

func (BalanceUpdateTxRollupRejectionRewards) BalanceUpdateKind

func (*BalanceUpdateTxRollupRejectionRewards) MarshalJSON

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

type BalanceUpdates

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

func (*BalanceUpdates) GetBalanceUpdates

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

type Ballot

type Ballot = proto_012_Psithaca.Ballot

type BlockHeader

type BlockHeader struct {
	UnsignedBlockHeader
	Signature *mv.GenericSignature `json:"signature"`
}

func (*BlockHeader) GetSignature

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

type BlockHeaderInfo

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

func (*BlockHeaderInfo) GetChainID

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

func (*BlockHeaderInfo) GetHash

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

type BlockInfo

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

func (*BlockInfo) GetChainID

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

func (*BlockInfo) GetHash

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

func (*BlockInfo) GetHeader

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

func (*BlockInfo) GetMetadata

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

func (*BlockInfo) GetOperations

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

type BlockMetadata

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

func (*BlockMetadata) GetBaker

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

func (*BlockMetadata) GetBakerConsensusKey

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

func (*BlockMetadata) GetBalanceUpdates

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

func (*BlockMetadata) GetConsumedGas

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

func (*BlockMetadata) GetConsumedMilligas

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

func (*BlockMetadata) GetDeactivated

func (m *BlockMetadata) GetDeactivated() []mv.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() mv.Option[*mv.CycleNonceHash]

func (*BlockMetadata) GetProposer

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

func (*BlockMetadata) GetProposerConsensusKey

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

func (*BlockMetadata) GetVotingPeriodInfo

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

type BlockMetadataContents

type BlockMetadataContents struct {
	core.BlockMetadataHeader
	Proposer                  mv.PublicKeyHash                   `json:"proposer"`
	Baker                     mv.PublicKeyHash                   `json:"baker"`
	LevelInfo                 core.LevelInfo                     `json:"level_info"`
	VotingPeriodInfo          core.VotingPeriodInfo              `json:"voting_period_info"`
	NonceHash                 mv.Option1[*mv.CycleNonceHash]     `json:"nonce_hash"`
	ConsumedGas               mv.BigUint                         `json:"consumed_gas"`
	Deactivated               []mv.PublicKeyHash                 `mv:"dyn" json:"deactivated"`
	BalanceUpdates            []*BalanceUpdate                   `mv:"dyn" json:"balance_updates"`
	LiquidityBakingToggleEMA  int32                              `json:"liquidity_baking_toggle_ema"`
	ImplicitOperationsResults []SuccessfulManagerOperationResult `mv:"dyn" json:"implicit_operations_results"`
	ConsumedMilligas          mv.BigUint                         `json:"consumed_milligas"`
}

type BondID

type BondID interface {
	BondID()
}

type Constants

type Constants struct {
	ProofOfWorkNonceSize                             uint8                  `json:"proof_of_work_nonce_size"`
	NonceLength                                      uint8                  `json:"nonce_length"`
	MaxAnonOpsPerBlock                               uint8                  `json:"max_anon_ops_per_block"`
	MaxOperationDataLength                           int32                  `json:"max_operation_data_length"`
	MaxProposalsPerDelegate                          uint8                  `json:"max_proposals_per_delegate"`
	MaxMichelineNodeCount                            int32                  `json:"max_micheline_node_count"`
	MaxMichelineBytesLimit                           int32                  `json:"max_micheline_bytes_limit"`
	MaxAllowedGlobalConstantsDepth                   int32                  `json:"max_allowed_global_constants_depth"`
	CacheLayoutSize                                  uint8                  `json:"cache_layout_size"`
	MichelsonMaximumTypeSize                         uint16                 `json:"michelson_maximum_type_size"`
	PreservedCycles                                  uint8                  `json:"preserved_cycles"`
	BlocksPerCycle                                   int32                  `json:"blocks_per_cycle"`
	BlocksPerCommitment                              int32                  `json:"blocks_per_commitment"`
	BlocksPerStakeSnapshot                           int32                  `json:"blocks_per_stake_snapshot"`
	CyclesPerVotingPeriod                            int32                  `json:"cycles_per_voting_period"`
	HardGasLimitPerOperation                         mv.BigInt              `json:"hard_gas_limit_per_operation"`
	HardGasLimitPerBlock                             mv.BigInt              `json:"hard_gas_limit_per_block"`
	ProofOfWorkThreshold                             int64                  `json:"proof_of_work_threshold"`
	TokensPerRoll                                    mv.BigUint             `json:"tokens_per_roll"`
	SeedNonceRevelationTip                           mv.BigUint             `json:"seed_nonce_revelation_tip"`
	OriginationSize                                  int32                  `json:"origination_size"`
	BakingRewardFixedPortion                         mv.BigUint             `json:"baking_reward_fixed_portion"`
	BakingRewardBonusPerSlot                         mv.BigUint             `json:"baking_reward_bonus_per_slot"`
	EndorsingRewardPerSlot                           mv.BigUint             `json:"endorsing_reward_per_slot"`
	CostPerByte                                      mv.BigUint             `json:"cost_per_byte"`
	HardStorageLimitPerOperation                     mv.BigInt              `json:"hard_storage_limit_per_operation"`
	QuorumMin                                        int32                  `json:"quorum_min"`
	QuorumMax                                        int32                  `json:"quorum_max"`
	MinProposalQuorum                                int32                  `json:"min_proposal_quorum"`
	LiquidityBakingSubsidy                           mv.BigUint             `json:"liquidity_baking_subsidy"`
	LiquidityBakingSunsetLevel                       int32                  `json:"liquidity_baking_sunset_level"`
	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                           mv.BigUint             `json:"double_baking_punishment"`
	RatioOfFrozenDepositsSlashedPerDoubleEndorsement core.Rat               `json:"ratio_of_frozen_deposits_slashed_per_double_endorsement"`
	InitialSeed                                      mv.Option[*mv.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                           mv.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"`
	ScRollupEnable                                   bool                   `json:"sc_rollup_enable"`
	ScRollupOriginationSize                          int32                  `json:"sc_rollup_origination_size"`
	ScRollupChallengeWindowInBlocks                  int32                  `json:"sc_rollup_challenge_window_in_blocks"`
	ScRollupMaxAvailableMessages                     int32                  `json:"sc_rollup_max_available_messages"`
}

func (*Constants) GetBakingRewardBonusPerSlot

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

func (*Constants) GetBakingRewardFixedPortion

func (c *Constants) GetBakingRewardFixedPortion() mv.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() mv.BigUint

func (*Constants) GetDelayIncrementPerRound

func (c *Constants) GetDelayIncrementPerRound() int64

func (*Constants) GetDoubleBakingPunishment

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

func (*Constants) GetEndorsingRewardPerSlot

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

func (*Constants) GetFrozenDepositsPercentage

func (c *Constants) GetFrozenDepositsPercentage() int32

func (*Constants) GetHardGasLimitPerBlock

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

func (*Constants) GetHardGasLimitPerOperation

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

func (*Constants) GetHardStorageLimitPerOperation

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

func (*Constants) GetLiquidityBakingSubsidy

func (c *Constants) GetLiquidityBakingSubsidy() mv.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() mv.BigUint

type DelegateInfo

type DelegateInfo struct {
	FullBalance           mv.BigUint            `json:"full_balance"`
	CurrentFrozenDeposits mv.BigUint            `json:"current_frozen_deposits"`
	FrozenDeposits        mv.BigUint            `json:"frozen_deposits"`
	StakingBalance        mv.BigUint            `json:"staking_balance"`
	FrozenDepositsLimit   mv.Option[mv.BigUint] `json:"frozen_deposits_limit"`
	DelegatedContracts    []core.ContractID     `mv:"dyn" json:"delegated_contracts"`
	DelegatedBalance      mv.BigUint            `json:"delegated_balance"`
	Deactivated           bool                  `json:"deactivated"`
	GracePeriod           int32                 `json:"grace_period"`
	VotingPower           int64                 `json:"voting_power"`
}

func (*DelegateInfo) GetActiveConsensusKey

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

func (*DelegateInfo) GetCurrentBallot

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

func (*DelegateInfo) GetCurrentFrozenDeposits

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

func (*DelegateInfo) GetCurrentProposals

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

func (*DelegateInfo) GetDeactivated

func (d *DelegateInfo) GetDeactivated() bool

func (*DelegateInfo) GetDelegatedBalance

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

func (*DelegateInfo) GetDelegatedContracts

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

func (*DelegateInfo) GetFrozenDeposits

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

func (*DelegateInfo) GetFrozenDepositsLimit

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

func (*DelegateInfo) GetFullBalance

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

func (*DelegateInfo) GetGracePeriod

func (d *DelegateInfo) GetGracePeriod() int32

func (*DelegateInfo) GetPendingConsensusKeys

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

func (*DelegateInfo) GetRemainingProposals

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

func (*DelegateInfo) GetStakingBalance

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

func (*DelegateInfo) GetVotingPower

func (d *DelegateInfo) GetVotingPower() mv.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 struct {
	Source   core.TransactionDestination `json:"source"`
	Nonce    uint16                      `json:"nonce"`
	Delegate mv.Option[mv.PublicKeyHash] `json:"delegate"`
	Result   ConsumedGasResult           `json:"result"`
}

func (*DelegationInternalOperationResult) GetResult

func (*DelegationInternalOperationResult) GetSource

func (*DelegationInternalOperationResult) MarshalJSON

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

func (*DelegationInternalOperationResult) OperationKind

func (*DelegationInternalOperationResult) OperationKind() string

type DoubleBakingEvidence

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

func (*DoubleBakingEvidence) OperationKind

func (*DoubleBakingEvidence) OperationKind() string

type DoubleBakingEvidenceContentsAndResult

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

func (*DoubleBakingEvidenceContentsAndResult) GetMetadata

func (op *DoubleBakingEvidenceContentsAndResult) GetMetadata() any

func (*DoubleBakingEvidenceContentsAndResult) MarshalJSON

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

func (*DoubleBakingEvidenceContentsAndResult) OperationContentsAndResult

func (*DoubleBakingEvidenceContentsAndResult) OperationContentsAndResult()

type DoubleEndorsementEvidenceContentsAndResult

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

func (*DoubleEndorsementEvidenceContentsAndResult) GetMetadata

func (*DoubleEndorsementEvidenceContentsAndResult) MarshalJSON

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

func (*DoubleEndorsementEvidenceContentsAndResult) OperationContentsAndResult

func (*DoubleEndorsementEvidenceContentsAndResult) OperationContentsAndResult()

type DoublePreendorsementEvidenceContentsAndResult

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

func (*DoublePreendorsementEvidenceContentsAndResult) GetMetadata

func (*DoublePreendorsementEvidenceContentsAndResult) MarshalJSON

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

func (*DoublePreendorsementEvidenceContentsAndResult) OperationContentsAndResult

func (*DoublePreendorsementEvidenceContentsAndResult) OperationContentsAndResult()

type 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         mv.PublicKeyHash `json:"delegate"`
	EndorsementPower int32            ` json:"endorsement_power"`
}

type Entrypoint

type Entrypoint = proto_012_Psithaca.Entrypoint

type FailingNoop

type FailingNoop = proto_012_Psithaca.FailingNoop

type GroupContents

type GroupContents interface {
	core.GroupContents
}

type InternalOperationResult

type InternalOperationResult interface {
	core.InternalOperationResult
}

type ManagerMetadata

type ManagerMetadata[T core.ManagerOperationResult] struct {
	BalanceUpdates
	OperationResult          T                         `json:"operation_result"`
	InternalOperationResults []InternalOperationResult `mv:"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 OldLevelsMessages

type OldLevelsMessages struct {
	Index        int32       `json:"index"`
	Content      *mv.Bytes32 `json:"content"`
	BackPointers mv.Bytes    `mv:"dyn" json:"back_pointers"`
}

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  mv.BigUint                  `json:"balance"`
	Delegate mv.Option[mv.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 `mv:"dyn" json:"originated_contracts"`
	ConsumedGas         mv.BigUint                  `json:"consumed_gas"`
	ConsumedMilligas    mv.BigUint                  `json:"consumed_milligas"`
	StorageSize         mv.BigInt                   `json:"storage_size"`
	PaidStorageSizeDiff mv.BigInt                   `json:"paid_storage_size_diff"`
	LazyStorageDiff     mv.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() mv.BigUint

func (*OriginationResultContents) GetPaidStorageSizeDiff

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

func (*OriginationResultContents) GetStorageSize

func (r *OriginationResultContents) GetStorageSize() mv.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 = proto_012_Psithaca.Parameters

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
	ConsumedGas      mv.BigUint         `json:"consumed_gas"`
	ConsumedMilligas mv.BigUint         `json:"consumed_milligas"`
	StorageSize      mv.BigInt          `json:"storage_size"`
	GlobalAddress    *mv.ScriptExprHash `json:"global_address"`
}

func (*RegisterGlobalConstantResultContents) EstimateStorageSize

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

func (*RegisterGlobalConstantResultContents) GetConsumedMilligas

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

func (*RegisterGlobalConstantResultContents) GetStorageSize

func (r *RegisterGlobalConstantResultContents) GetStorageSize() mv.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   *mv.ChainID     `json:"chain_id"`
}

type ScRollupInbox

type ScRollupInbox struct {
	Rollup                                 *mv.ScRollupAddress `mv:"dyn" json:"rollup"`
	MessageCounter                         mv.BigInt           `json:"message_counter"`
	NbMessagesInCommitmentPeriod           int64               `json:"nb_messages_in_commitment_period"`
	StartingLevelOfCurrentCommitmentPeriod int32               `json:"starting_level_of_current_commitment_period"`
	Level                                  int32               `json:"level"`
	CurrentLevelHash                       *mv.Bytes32         `json:"current_level_hash"`
	OldLevelsMessages                      OldLevelsMessages   `json:"old_levels_messages"`
}

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 *mv.GenericSignature `json:"signature"`
}

func (*SignedOperation) DecodeMV

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

type SuccessfulManagerOperationResult

type SuccessfulManagerOperationResult interface {
	core.SuccessfulManagerOperationResult
}

type Ticket

type Ticket struct {
	Contents expression.Expression `mv:"dyn" json:"contents"`
	Type     expression.Expression `mv:"dyn" json:"type"`
	Ticketer core.ContractID       `json:"ticketer"`
	Amount   mv.BigUint            `json:"amount"`
}

type ToContract

type ToContract struct {
	Storage mv.Option[expression.Expression] `json:"storage"`
	BalanceUpdates
	OriginatedContracts          []core.OriginatedContractID `mv:"dyn" json:"originated_contracts"`
	ConsumedGas                  mv.BigUint                  `json:"consumed_gas"`
	ConsumedMilligas             mv.BigUint                  `json:"consumed_milligas"`
	StorageSize                  mv.BigInt                   `json:"storage_size"`
	PaidStorageSizeDiff          mv.BigInt                   `json:"paid_storage_size_diff"`
	AllocatedDestinationContract bool                        `json:"allocated_destination_contract"`
	LazyStorageDiff              mv.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() mv.BigUint

func (*ToContract) GetPaidStorageSizeDiff

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

func (*ToContract) GetStorageSize

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

func (*ToContract) TransactionResultDestination

func (*ToContract) TransactionResultDestination()

type ToTxRollup

type ToTxRollup struct {
	BalanceUpdates
	ConsumedGas         mv.BigUint         `json:"consumed_gas"`
	ConsumedMilligas    mv.BigUint         `json:"consumed_milligas"`
	TicketHash          *mv.ScriptExprHash `json:"ticket_hash"`
	PaidStorageSizeDiff mv.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() mv.BigUint

func (*ToTxRollup) TransactionResultDestination

func (*ToTxRollup) TransactionResultDestination()

type Transaction

type Transaction = proto_012_Psithaca.Transaction

type TransactionContentsAndResult

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

func (*TransactionContentsAndResult) GetMetadata

func (op *TransactionContentsAndResult) GetMetadata() any

func (*TransactionContentsAndResult) MarshalJSON

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

func (*TransactionContentsAndResult) OperationContentsAndResult

func (*TransactionContentsAndResult) OperationContentsAndResult()

type TransactionInternalOperationResult

type TransactionInternalOperationResult struct {
	Source      core.ContractID             `json:"source"`
	Nonce       uint16                      `json:"nonce"`
	Amount      mv.BigUint                  `json:"amount"`
	Destination core.TransactionDestination `json:"destination"`
	Parameters  mv.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 {
	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 struct {
	ManagerOperation
	Ticket      Ticket          `json:"ticket"`
	Destination core.ContractID `json:"destination"`
	Entrypoint  string          `mv:"dyn" json:"entrypoint"`
}

func (*TransferTicket) MarshalJSON

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

func (*TransferTicket) OperationKind

func (*TransferTicket) OperationKind() string

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
	ConsumedGas         mv.BigUint `json:"consumed_gas"`
	ConsumedMilligas    mv.BigUint `json:"consumed_milligas"`
	PaidStorageSizeDiff mv.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() mv.BigUint

func (*TransferTicketResultContents) GetPaidStorageSizeDiff

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

type TxRollupBondID

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

func (TxRollupBondID) BondID

func (TxRollupBondID) BondID()

type UnsignedBlockHeader

type UnsignedBlockHeader struct {
	core.ShellHeader
	UnsignedProtocolBlockHeader
}

func (*UnsignedBlockHeader) GetShellHeader

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

type UnsignedOperation

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

type UnsignedProtocolBlockHeader

type UnsignedProtocolBlockHeader struct {
	PayloadHash               *mv.BlockPayloadHash           `json:"payload_hash"`
	PayloadRound              int32                          `json:"payload_round"`
	ProofOfWorkNonce          *mv.Bytes8                     `json:"proof_of_work_nonce"`
	SeedNonceHash             mv.Option[*mv.CycleNonceHash]  `json:"seed_nonce_hash"`
	LiquidityBakingToggleVote core.LiquidityBakingToggleVote `json:"liquidity_baking_toggle_vote"`
}

func (*UnsignedProtocolBlockHeader) GetLiquidityBakingToggleVote

func (h *UnsignedProtocolBlockHeader) GetLiquidityBakingToggleVote() core.LiquidityBakingToggleVote

func (*UnsignedProtocolBlockHeader) GetPayloadHash

func (h *UnsignedProtocolBlockHeader) GetPayloadHash() *mv.BlockPayloadHash

func (*UnsignedProtocolBlockHeader) GetPayloadRound

func (h *UnsignedProtocolBlockHeader) GetPayloadRound() int32

func (*UnsignedProtocolBlockHeader) GetProofOfWorkNonce

func (h *UnsignedProtocolBlockHeader) GetProofOfWorkNonce() *mv.Bytes8

func (*UnsignedProtocolBlockHeader) GetSeedNonceHash

func (h *UnsignedProtocolBlockHeader) GetSeedNonceHash() mv.Option[*mv.CycleNonceHash]

Jump to

Keyboard shortcuts

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