@cardano-ogmios/schema
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -8,3 +8,3 @@ export type PointOrOrigin = Point | Origin; | ||
export type Block = BlockEBB | BlockBFT | BlockPraos; | ||
export type Int64 = number; | ||
export type UInt64 = number; | ||
export type TransactionId = string; | ||
@@ -18,7 +18,5 @@ export type UInt32 = number; | ||
export type DigestBlake2B224 = string; | ||
export type Certificate = StakeDelegation | StakeCredentialRegistration | StakeCredentialDeregistration | StakePoolRegistration | StakePoolRetirement | GenesisDelegation; | ||
export type Certificate = StakeDelegation | StakeCredentialRegistration | StakeCredentialDeregistration | StakePoolRegistration | StakePoolRetirement | GenesisDelegation | ConstitutionalCommitteeHotKeyRegistration | ConstitutionalCommitteeRetirement | DelegateRepresentativeRegistration | DelegateRepresentativeUpdate | DelegateRepresentativeRetirement; | ||
export type StakePoolId = string; | ||
export type DelegateRepresentative = DelegateRepresentativeRegistered | DelegateRepresentativeNoConfidence | DelegateRepresentativeAbstain; | ||
export type DelegateRepresentativeNoConfidence = "noConfidence"; | ||
export type DelegateRepresentativeAbstain = "abstain"; | ||
export type Ratio = string; | ||
@@ -29,11 +27,14 @@ export type RewardAccount = string; | ||
export type Epoch = number; | ||
export type None = null; | ||
export type Network = "mainnet" | "testnet"; | ||
export type UInt64 = number; | ||
export type Nonce = Neutral | DigestBlake2B256; | ||
export type Neutral = "neutral"; | ||
export type Int64 = number; | ||
export type CostModel = Int64[]; | ||
export type Metadatum = Integer | String | ArrayMetadatum | ObjectMetadatum; | ||
export type Metadatum = MetadatumNoSchema | MetadatumDetailedSchema; | ||
export type MetadatumNoSchema = Integer | String | ArrayMetadatum | ObjectMetadatum; | ||
export type Integer = bigint; | ||
export type String = string; | ||
export type ArrayMetadatum = Metadatum[]; | ||
export type ArrayMetadatum = MetadatumNoSchema[]; | ||
export type MetadatumDetailedSchema = Int | String1 | Bytes | List | Map; | ||
export type VerificationKey = string; | ||
@@ -50,9 +51,7 @@ export type Signature = string; | ||
export type KesVerificationKey = string; | ||
export type SubmitTransactionFailure = SubmitTransactionFailureEraMismatch | SubmitTransactionFailureInvalidSignatories | SubmitTransactionFailureMissingSignatories | SubmitTransactionFailureMissingScripts | SubmitTransactionFailureFailingNativeScript | SubmitTransactionFailureExtraneousScripts | SubmitTransactionFailureMissingMetadataHash | SubmitTransactionFailureMissingMetadata | SubmitTransactionFailureMetadataHashMismatch | SubmitTransactionFailureInvalidMetadata | SubmitTransactionFailureMissingRedeemers | SubmitTransactionFailureExtraneousRedeemers | SubmitTransactionFailureMissingDatums | SubmitTransactionFailureExtraneousDatums | SubmitTransactionFailureScriptIntegrityHashMismatch | SubmitTransactionFailureOrphanScriptInputs | SubmitTransactionFailureMissingCostModels | SubmitTransactionFailureMalformedScripts | SubmitTransactionFailureUnknownOutputReferences | SubmitTransactionFailureOutsideOfValidityInterval | SubmitTransactionFailureTransactionTooLarge | SubmitTransactionFailureValueTooLarge | SubmitTransactionFailureEmptyInputSet | SubmitTransactionFailureTransactionFeeTooSmall | SubmitTransactionFailureValueNotConserved | SubmitTransactionFailureNetworkMismatch | SubmitTransactionFailureInsufficientlyFundedOutputs | SubmitTransactionFailureBootstrapAttributesTooLarge | SubmitTransactionFailureMintingOrBurningAda | SubmitTransactionFailureInsufficientCollateral | SubmitTransactionFailureCollateralLockedByScript | SubmitTransactionFailureUnforeseeableSlot | SubmitTransactionFailureTooManyCollateralInputs | SubmitTransactionFailureMissingCollateralInputs | SubmitTransactionFailureNonAdaCollateral | SubmitTransactionFailureExecutionUnitsTooLarge | SubmitTransactionFailureTotalCollateralMismatch | SubmitTransactionFailureSpendsMismatch | SubmitTransactionFailureUnauthorizedVote | SubmitTransactionFailureUnknownGovernanceProposal | SubmitTransactionFailureInvalidProtocolParametersUpdate | SubmitTransactionFailureUnknownStakePool | SubmitTransactionFailureIncompleteWithdrawals | SubmitTransactionFailureRetirementTooLate | SubmitTransactionFailureStakePoolCostTooLow | SubmitTransactionFailureMetadataHashTooLarge | SubmitTransactionFailureCredentialAlreadyRegistered | SubmitTransactionFailureUnknownCredential | SubmitTransactionFailureNonEmptyRewardAccount | SubmitTransactionFailureInvalidGenesisDelegation | SubmitTransactionFailureInvalidMIRTransfer | SubmitTransactionFailureUnrecognizedCertificateType | SubmitTransactionFailureInternalLedgerTypeConversionError; | ||
export type SubmitTransactionFailure = SubmitTransactionFailureEraMismatch | SubmitTransactionFailureInvalidSignatories | SubmitTransactionFailureMissingSignatories | SubmitTransactionFailureMissingScripts | SubmitTransactionFailureFailingNativeScript | SubmitTransactionFailureExtraneousScripts | SubmitTransactionFailureMissingMetadataHash | SubmitTransactionFailureMissingMetadata | SubmitTransactionFailureMetadataHashMismatch | SubmitTransactionFailureInvalidMetadata | SubmitTransactionFailureMissingRedeemers | SubmitTransactionFailureExtraneousRedeemers | SubmitTransactionFailureMissingDatums | SubmitTransactionFailureExtraneousDatums | SubmitTransactionFailureScriptIntegrityHashMismatch | SubmitTransactionFailureOrphanScriptInputs | SubmitTransactionFailureMissingCostModels | SubmitTransactionFailureMalformedScripts | SubmitTransactionFailureUnknownOutputReferences | SubmitTransactionFailureOutsideOfValidityInterval | SubmitTransactionFailureTransactionTooLarge | SubmitTransactionFailureValueTooLarge | SubmitTransactionFailureEmptyInputSet | SubmitTransactionFailureTransactionFeeTooSmall | SubmitTransactionFailureValueNotConserved | SubmitTransactionFailureNetworkMismatch | SubmitTransactionFailureInsufficientlyFundedOutputs | SubmitTransactionFailureBootstrapAttributesTooLarge | SubmitTransactionFailureMintingOrBurningAda | SubmitTransactionFailureInsufficientCollateral | SubmitTransactionFailureCollateralLockedByScript | SubmitTransactionFailureUnforeseeableSlot | SubmitTransactionFailureTooManyCollateralInputs | SubmitTransactionFailureMissingCollateralInputs | SubmitTransactionFailureNonAdaCollateral | SubmitTransactionFailureExecutionUnitsTooLarge | SubmitTransactionFailureTotalCollateralMismatch | SubmitTransactionFailureSpendsMismatch | SubmitTransactionFailureUnauthorizedVotes | SubmitTransactionFailureUnknownGovernanceProposals | SubmitTransactionFailureInvalidProtocolParametersUpdate | SubmitTransactionFailureUnknownStakePool | SubmitTransactionFailureIncompleteWithdrawals | SubmitTransactionFailureRetirementTooLate | SubmitTransactionFailureStakePoolCostTooLow | SubmitTransactionFailureMetadataHashTooLarge | SubmitTransactionFailureCredentialAlreadyRegistered | SubmitTransactionFailureUnknownCredential | SubmitTransactionFailureNonEmptyRewardAccount | SubmitTransactionFailureInvalidGenesisDelegation | SubmitTransactionFailureInvalidMIRTransfer | SubmitTransactionFailureForbiddenWithdrawal | SubmitTransactionFailureCredentialDepositMismatch | SubmitTransactionFailureDRepAlreadyRegistered | SubmitTransactionFailureDRepNotRegistered | SubmitTransactionFailureUnknownConstitutionalCommitteeMember | SubmitTransactionFailureGovernanceProposalDepositMismatch | SubmitTransactionFailureConflictingCommitteeUpdate | SubmitTransactionFailureInvalidCommitteeUpdate | SubmitTransactionFailureTreasuryWithdrawalMismatch | SubmitTransactionFailureInvalidOrMissingPreviousProposals | SubmitTransactionFailureVotingOnExpiredActions | SubmitTransactionFailureUnrecognizedCertificateType | SubmitTransactionFailureInternalLedgerTypeConversionError; | ||
export type Era = "byron" | "shelley" | "allegra" | "mary" | "alonzo" | "babbage" | "conway"; | ||
export type ScriptPurpose = ScriptPurposeSpend | ScriptPurposeMint | ScriptPurposePublish | ScriptPurposeWithdraw; | ||
export type PolicyId = string; | ||
export type RedeemerPointer = string; | ||
export type Language = "plutus:v1" | "plutus:v2" | "plutus:v3"; | ||
export type VoterRole = "constitutionalCommittee" | "delegateRepresentative" | "stakePoolOperator"; | ||
export type Utxo = { | ||
@@ -70,4 +69,3 @@ transaction: { | ||
export type EvaluateTransactionFailure = EvaluateTransactionFailureIncompatibleEra | EvaluateTransactionFailureUnsupportedEra | EvaluateTransactionFailureOverlappingAdditionalUtxo | EvaluateTransactionFailureNodeTipTooOld | EvaluateTransactionFailureCannotCreateEvaluationContext | EvaluateTransactionFailureScriptExecutionFailure; | ||
export type ScriptExecutionFailure = ScriptExecutionFailureMissingScript | ScriptExecutionFailureValidationFailure | ScriptExecutionFailureUnsuitableOutputReference | SubmitTransactionFailureExtraneousRedeemers | SubmitTransactionFailureMissingDatums | SubmitTransactionFailureUnknownOutputReferences | SubmitTransactionFailureMissingCostModels | SubmitTransactionFailureInternalLedgerTypeConversionError; | ||
export type RelativeTime = number; | ||
export type ScriptExecutionFailure = ScriptExecutionFailureInvalidRedeemerPointers | ScriptExecutionFailureValidationFailure | ScriptExecutionFailureUnsuitableOutputReference | SubmitTransactionFailureExtraneousRedeemers | SubmitTransactionFailureMissingDatums | SubmitTransactionFailureUnknownOutputReferences | SubmitTransactionFailureMissingCostModels | SubmitTransactionFailureInternalLedgerTypeConversionError; | ||
export type SafeZone = number; | ||
@@ -227,3 +225,3 @@ export type AnyStakeCredential = Base16 | Bech32 | StakeAddress; | ||
size: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -251,3 +249,3 @@ transactions?: Transaction[]; | ||
collaterals?: TransactionOutputReference[]; | ||
totalCollateral?: Lovelace; | ||
totalCollateral?: ValueAdaOnly; | ||
collateralReturn?: TransactionOutput; | ||
@@ -257,3 +255,3 @@ outputs: TransactionOutput[]; | ||
withdrawals?: Withdrawals; | ||
fee?: Lovelace; | ||
fee?: ValueAdaOnly; | ||
validityInterval?: ValidityInterval; | ||
@@ -275,5 +273,3 @@ mint?: Assets; | ||
}; | ||
redeemers?: { | ||
[k: string]: Redeemer; | ||
}; | ||
redeemers?: Redeemer[]; | ||
cbor?: string; | ||
@@ -287,4 +283,6 @@ } | ||
} | ||
export interface Lovelace { | ||
lovelace: bigint; | ||
export interface ValueAdaOnly { | ||
ada: { | ||
lovelace: bigint; | ||
}; | ||
} | ||
@@ -350,7 +348,14 @@ export interface TransactionOutput { | ||
id: DigestBlake2B224; | ||
type: "registered"; | ||
} | ||
export interface DelegateRepresentativeNoConfidence { | ||
type: "noConfidence"; | ||
} | ||
export interface DelegateRepresentativeAbstain { | ||
type: "abstain"; | ||
} | ||
export interface StakeCredentialRegistration { | ||
type: "stakeCredentialRegistration"; | ||
credential: DigestBlake2B224; | ||
deposit?: Lovelace; | ||
deposit?: ValueAdaOnly; | ||
} | ||
@@ -360,3 +365,3 @@ export interface StakeCredentialDeregistration { | ||
credential: DigestBlake2B224; | ||
deposit?: Lovelace; | ||
deposit?: ValueAdaOnly; | ||
} | ||
@@ -371,5 +376,5 @@ export interface StakePoolRegistration { | ||
owners: DigestBlake2B224[]; | ||
cost: Lovelace; | ||
cost: ValueAdaOnly; | ||
margin: Ratio; | ||
pledge: Lovelace; | ||
pledge: ValueAdaOnly; | ||
rewardAccount: RewardAccount; | ||
@@ -403,12 +408,43 @@ metadata?: Anchor; | ||
type: "genesisDelegation"; | ||
delegate: { | ||
delegate: GenesisDelegate; | ||
issuer: { | ||
id: DigestBlake2B224; | ||
}; | ||
issuer: { | ||
} | ||
export interface GenesisDelegate { | ||
id: DigestBlake2B224; | ||
vrfVerificationKeyHash: DigestBlake2B256; | ||
} | ||
export interface ConstitutionalCommitteeHotKeyRegistration { | ||
type: "constitutionalCommitteeHotKeyRegistration"; | ||
member: { | ||
id: DigestBlake2B224; | ||
vrfVerificationKeyHash: DigestBlake2B256; | ||
}; | ||
hotKey: DigestBlake2B224; | ||
} | ||
export interface ConstitutionalCommitteeRetirement { | ||
type: "constitutionalCommitteeRetirement"; | ||
member: { | ||
id: DigestBlake2B224; | ||
}; | ||
anchor?: Anchor; | ||
} | ||
export interface DelegateRepresentativeRegistration { | ||
type: "delegateRepresentativeRegistration"; | ||
delegateRepresentative: DelegateRepresentative; | ||
deposit: ValueAdaOnly; | ||
anchor?: Anchor; | ||
} | ||
export interface DelegateRepresentativeUpdate { | ||
type: "delegateRepresentativeUpdate"; | ||
delegateRepresentative: DelegateRepresentative; | ||
anchor: None | Anchor; | ||
} | ||
export interface DelegateRepresentativeRetirement { | ||
type: "delegateRepresentativeRetirement"; | ||
delegateRepresentative: DelegateRepresentative; | ||
deposit: ValueAdaOnly; | ||
} | ||
export interface Withdrawals { | ||
[k: string]: Lovelace; | ||
[k: string]: ValueAdaOnly; | ||
} | ||
@@ -425,6 +461,6 @@ export interface ValidityInterval { | ||
export interface GovernanceProposal { | ||
deposit?: Lovelace; | ||
returnAccount?: DigestBlake2B224; | ||
deposit?: ValueAdaOnly; | ||
returnAccount?: RewardAccount; | ||
anchor?: Anchor; | ||
action: GovernanceActionProtocolParametersUpdate | GovernanceActionHardForkInitiation | GovernanceActionTreasuryTransfer | GovernanceActionTreasuryWithdrawals | GovernanceActionConstitutionalCommittee | GovernanceActionConstitution | GovernanceActionNoConfidence; | ||
action: GovernanceActionProtocolParametersUpdate | GovernanceActionHardForkInitiation | GovernanceActionTreasuryTransfer | GovernanceActionTreasuryWithdrawals | GovernanceActionConstitutionalCommittee | GovernanceActionConstitution | GovernanceActionNoConfidence | GovernanceActionInformation; | ||
} | ||
@@ -437,23 +473,23 @@ export interface GovernanceActionProtocolParametersUpdate { | ||
minFeeCoefficient?: UInt64; | ||
minFeeConstant?: Lovelace; | ||
minFeeConstant?: ValueAdaOnly; | ||
minUtxoDepositCoefficient?: UInt64; | ||
minUtxoDepositConstant?: Lovelace; | ||
minUtxoDepositConstant?: ValueAdaOnly; | ||
maxBlockBodySize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxBlockHeaderSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxTransactionSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxValueSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
extraEntropy?: Nonce; | ||
stakeCredentialDeposit?: Lovelace; | ||
stakePoolDeposit?: Lovelace; | ||
stakeCredentialDeposit?: ValueAdaOnly; | ||
stakePoolDeposit?: ValueAdaOnly; | ||
stakePoolRetirementEpochBound?: UInt64; | ||
stakePoolPledgeInfluence?: Ratio; | ||
minStakePoolCost?: Lovelace; | ||
minStakePoolCost?: ValueAdaOnly; | ||
desiredNumberOfStakePools?: UInt64; | ||
@@ -469,2 +505,10 @@ federatedBlockProductionRatio?: Ratio; | ||
maxExecutionUnitsPerBlock?: ExecutionUnits; | ||
stakePoolVotingThresholds?: StakePoolVotingThresholds; | ||
constitutionalCommitteeMinSize?: UInt64; | ||
constitutionalCommitteeMaxTermLength?: UInt64; | ||
governanceActionLifetime?: Epoch; | ||
governanceActionDeposit?: ValueAdaOnly; | ||
delegateRepresentativeVotingThresholds?: DelegateRepresentativeVotingThresholds; | ||
delegateRepresentativeDeposit?: ValueAdaOnly; | ||
delegateRepresentativeMaxIdleTime?: Epoch; | ||
version?: ProtocolVersion; | ||
@@ -483,2 +527,26 @@ } | ||
} | ||
export interface StakePoolVotingThresholds { | ||
noConfidence: Ratio; | ||
constitutionalCommittee: { | ||
default: Ratio; | ||
stateOfNoConfidence: Ratio; | ||
}; | ||
hardForkInitiation: Ratio; | ||
} | ||
export interface DelegateRepresentativeVotingThresholds { | ||
noConfidence: Ratio; | ||
constitution: Ratio; | ||
constitutionalCommittee: { | ||
default: Ratio; | ||
stateOfNoConfidence: Ratio; | ||
}; | ||
hardForkInitiation: Ratio; | ||
protocolParametersUpdate: { | ||
network: Ratio; | ||
economic: Ratio; | ||
technical: Ratio; | ||
governance: Ratio; | ||
}; | ||
treasuryWithdrawals: Ratio; | ||
} | ||
export interface ProtocolVersion { | ||
@@ -497,3 +565,3 @@ major: UInt32; | ||
target: "reserves" | "treasury"; | ||
value: Lovelace; | ||
value: ValueAdaOnly; | ||
} | ||
@@ -505,15 +573,29 @@ export interface GovernanceActionTreasuryWithdrawals { | ||
export interface RewardTransfer { | ||
[k: string]: LovelaceDelta; | ||
[k: string]: ValueDelta; | ||
} | ||
export interface LovelaceDelta { | ||
lovelace: number; | ||
export interface ValueDelta { | ||
ada: { | ||
lovelace: number; | ||
}; | ||
} | ||
export interface GovernanceActionConstitutionalCommittee { | ||
type: "constitutionalCommittee"; | ||
members: RewardTransfer; | ||
members: { | ||
added: ConstitutionalCommitteeMember[]; | ||
removed: { | ||
id: DigestBlake2B224; | ||
}[]; | ||
}; | ||
quorum: Ratio; | ||
} | ||
export interface ConstitutionalCommitteeMember { | ||
id: DigestBlake2B224; | ||
mandate: { | ||
epoch: Epoch; | ||
}; | ||
} | ||
export interface GovernanceActionConstitution { | ||
type: "constitution"; | ||
hash: DigestBlake2B256; | ||
hash?: DigestBlake2B224; | ||
anchor: Anchor; | ||
} | ||
@@ -523,2 +605,5 @@ export interface GovernanceActionNoConfidence { | ||
} | ||
export interface GovernanceActionInformation { | ||
type: "information"; | ||
} | ||
export interface GovernanceVote { | ||
@@ -544,3 +629,3 @@ issuer: VoterGenesisDelegate | VoterConstitutionalCommittee | VoterDelegateRepresentative | VoterStakePoolOperator; | ||
role: "stakePoolOperator"; | ||
id?: StakePoolId; | ||
id: StakePoolId; | ||
} | ||
@@ -564,4 +649,23 @@ export interface GovernanceProposalReference { | ||
export interface ObjectMetadatum { | ||
[k: string]: Metadatum; | ||
[k: string]: MetadatumNoSchema; | ||
} | ||
export interface Int { | ||
int: bigint; | ||
} | ||
export interface String1 { | ||
string: string; | ||
} | ||
export interface Bytes { | ||
bytes: string; | ||
} | ||
export interface List { | ||
list: MetadatumDetailedSchema[]; | ||
} | ||
export interface Map { | ||
map: MetadatumMap[]; | ||
} | ||
export interface MetadatumMap { | ||
k: MetadatumDetailedSchema; | ||
v: MetadatumDetailedSchema; | ||
} | ||
export interface Signatory { | ||
@@ -576,3 +680,8 @@ key: VerificationKey; | ||
executionUnits: ExecutionUnits; | ||
validator: RedeemerPointer; | ||
} | ||
export interface RedeemerPointer { | ||
purpose: "spend" | "mint" | "publish" | "withdraw"; | ||
index: UInt64; | ||
} | ||
export interface BootstrapOperationalCertificate { | ||
@@ -604,12 +713,12 @@ issuer: { | ||
maxBlockBodySize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxBlockHeaderSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxUpdateProposalSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxTransactionSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -627,3 +736,3 @@ multiPartyComputationThreshold?: Ratio; | ||
minFeeCoefficient?: UInt64; | ||
minFeeConstant?: Lovelace; | ||
minFeeConstant?: ValueAdaOnly; | ||
} | ||
@@ -646,3 +755,3 @@ export interface BootstrapVote { | ||
size: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -667,2 +776,3 @@ slot: Slot; | ||
count: UInt64; | ||
sigma?: Signature; | ||
kes: { | ||
@@ -838,3 +948,3 @@ period: UInt64; | ||
data: { | ||
orphanInputs?: TransactionOutputReference[]; | ||
orphanScriptInputs: TransactionOutputReference[]; | ||
}; | ||
@@ -876,6 +986,6 @@ } | ||
measuredTransactionSize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maximumTransactionSize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -899,4 +1009,4 @@ }; | ||
data: { | ||
minimumRequiredFee: Lovelace; | ||
providedFee: Lovelace; | ||
minimumRequiredFee: ValueAdaOnly; | ||
providedFee: ValueAdaOnly; | ||
}; | ||
@@ -938,3 +1048,3 @@ } | ||
output: TransactionOutput; | ||
minimumRequiredValue?: Lovelace; | ||
minimumRequiredValue?: ValueAdaOnly; | ||
}[]; | ||
@@ -958,4 +1068,4 @@ }; | ||
data: { | ||
providedCollateral: Lovelace; | ||
minimumRequiredCollateral: Lovelace; | ||
providedCollateral: ValueAdaOnly; | ||
minimumRequiredCollateral: ValueAdaOnly; | ||
}; | ||
@@ -993,3 +1103,3 @@ } | ||
data: { | ||
"unsuitableCollateralValue'"?: Value; | ||
unsuitableCollateralValue: Value; | ||
}; | ||
@@ -1009,4 +1119,4 @@ } | ||
data: { | ||
declaredTotalCollateral: Lovelace; | ||
computedTotalCollateral: Lovelace; | ||
declaredTotalCollateral: ValueAdaOnly; | ||
computedTotalCollateral: ValueAdaOnly; | ||
}; | ||
@@ -1022,15 +1132,17 @@ } | ||
} | ||
export interface SubmitTransactionFailureUnauthorizedVote { | ||
export interface SubmitTransactionFailureUnauthorizedVotes { | ||
code: 3137; | ||
message: string; | ||
data: { | ||
unauthorizedVoter: DigestBlake2B224; | ||
requiredRole: VoterRole; | ||
unauthorizedVotes: { | ||
proposal: GovernanceProposalReference; | ||
voter: VoterGenesisDelegate | VoterConstitutionalCommittee | VoterDelegateRepresentative | VoterStakePoolOperator; | ||
}[]; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureUnknownGovernanceProposal { | ||
export interface SubmitTransactionFailureUnknownGovernanceProposals { | ||
code: 3138; | ||
message: string; | ||
data: { | ||
unknownProposal: GovernanceProposalReference; | ||
unknownProposals: GovernanceProposalReference[]; | ||
}; | ||
@@ -1069,4 +1181,4 @@ } | ||
data: { | ||
minimumStakePoolCost: Lovelace; | ||
declaredStakePoolCost: Lovelace; | ||
minimumStakePoolCost: ValueAdaOnly; | ||
declaredStakePoolCost: ValueAdaOnly; | ||
}; | ||
@@ -1082,3 +1194,3 @@ } | ||
computedMetadataHashSize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -1105,3 +1217,3 @@ }; | ||
data: { | ||
nonEmptyRewardAccountBalance: Lovelace; | ||
nonEmptyRewardAccountBalance: ValueAdaOnly; | ||
}; | ||
@@ -1117,2 +1229,95 @@ } | ||
} | ||
export interface SubmitTransactionFailureForbiddenWithdrawal { | ||
code: 3150; | ||
message: string; | ||
data: { | ||
marginalizedCredentials: DigestBlake2B224[]; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureCredentialDepositMismatch { | ||
code: 3151; | ||
message: string; | ||
data: { | ||
providedDeposit: ValueAdaOnly; | ||
expectedDeposit?: ValueAdaOnly; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureDRepAlreadyRegistered { | ||
code: 3152; | ||
message: string; | ||
data: { | ||
knownDelegateRepresentative: DelegateRepresentative; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureDRepNotRegistered { | ||
code: 3153; | ||
message: string; | ||
data: { | ||
unknownDelegateRepresentative: DelegateRepresentative; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureUnknownConstitutionalCommitteeMember { | ||
code: 3154; | ||
message: string; | ||
data: { | ||
unknownConstitutionalCommitteeMember: { | ||
id: DigestBlake2B224; | ||
}; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureGovernanceProposalDepositMismatch { | ||
code: 3155; | ||
message: string; | ||
data: { | ||
providedDeposit: ValueAdaOnly; | ||
expectedDeposit: ValueAdaOnly; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureConflictingCommitteeUpdate { | ||
code: 3156; | ||
message: string; | ||
data: { | ||
conflictingMembers: { | ||
id: DigestBlake2B224; | ||
}[]; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureInvalidCommitteeUpdate { | ||
code: 3157; | ||
message: string; | ||
data: { | ||
alreadyRetiredMembers: { | ||
id: DigestBlake2B224; | ||
}; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureTreasuryWithdrawalMismatch { | ||
code: 3158; | ||
message: string; | ||
data: { | ||
providedWithdrawal: ValueAdaOnly; | ||
expectedWithdrawal?: ValueAdaOnly; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureInvalidOrMissingPreviousProposals { | ||
code: 3159; | ||
message: string; | ||
data: { | ||
invalidOrMissingPreviousProposals: { | ||
anchor: Anchor; | ||
type: "hardForkInitiation" | "protocolParametersUpdate" | "constitutionalCommittee" | "constitution"; | ||
invalidPreviousProposal?: GovernanceProposalReference; | ||
}[]; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureVotingOnExpiredActions { | ||
code: 3160; | ||
message: string; | ||
data: { | ||
invalidVotes: { | ||
proposal: GovernanceProposalReference; | ||
voter: VoterGenesisDelegate | VoterConstitutionalCommittee | VoterDelegateRepresentative | VoterStakePoolOperator; | ||
}[]; | ||
}; | ||
} | ||
export interface SubmitTransactionFailureUnrecognizedCertificateType { | ||
@@ -1214,5 +1419,8 @@ code: 3998; | ||
} | ||
export interface ScriptExecutionFailureMissingScript { | ||
export interface ScriptExecutionFailureInvalidRedeemerPointers { | ||
code: 3011; | ||
message: string; | ||
data: { | ||
missingScripts: RedeemerPointer[]; | ||
}; | ||
} | ||
@@ -1336,2 +1544,5 @@ export interface ScriptExecutionFailureValidationFailure { | ||
} | ||
export interface RelativeTime { | ||
seconds: bigint; | ||
} | ||
export interface QueryLedgerStateEraSummaries { | ||
@@ -1359,3 +1570,3 @@ jsonrpc: "2.0"; | ||
export interface SlotLength { | ||
seconds: number; | ||
milliseconds: bigint; | ||
} | ||
@@ -1383,3 +1594,3 @@ export interface QueryLedgerStateLiveStakeDistribution { | ||
params: { | ||
stake?: Lovelace[]; | ||
stake?: ValueAdaOnly[]; | ||
scripts?: AnyStakeCredential[]; | ||
@@ -1398,3 +1609,3 @@ keys?: AnyStakeCredential[]; | ||
[k: string]: { | ||
[k: string]: Lovelace; | ||
[k: string]: ValueAdaOnly; | ||
}; | ||
@@ -1426,23 +1637,23 @@ } | ||
minFeeCoefficient: UInt64; | ||
minFeeConstant: Lovelace; | ||
minFeeConstant: ValueAdaOnly; | ||
minUtxoDepositCoefficient: UInt64; | ||
minUtxoDepositConstant: Lovelace; | ||
minUtxoDepositConstant: ValueAdaOnly; | ||
maxBlockBodySize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxBlockHeaderSize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxTransactionSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
maxValueSize?: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
extraEntropy?: Nonce; | ||
stakeCredentialDeposit: Lovelace; | ||
stakePoolDeposit: Lovelace; | ||
stakeCredentialDeposit: ValueAdaOnly; | ||
stakePoolDeposit: ValueAdaOnly; | ||
stakePoolRetirementEpochBound: UInt64; | ||
stakePoolPledgeInfluence: Ratio; | ||
minStakePoolCost: Lovelace; | ||
minStakePoolCost: ValueAdaOnly; | ||
desiredNumberOfStakePools: UInt64; | ||
@@ -1458,2 +1669,10 @@ federatedBlockProductionRatio?: Ratio; | ||
maxExecutionUnitsPerBlock?: ExecutionUnits; | ||
stakePoolVotingThresholds?: StakePoolVotingThresholds; | ||
constitutionalCommitteeMinSize?: UInt64; | ||
constitutionalCommitteeMaxTermLength?: UInt64; | ||
governanceActionLifetime?: Epoch; | ||
governanceActionDeposit?: ValueAdaOnly; | ||
delegateRepresentativeVotingThresholds?: DelegateRepresentativeVotingThresholds; | ||
delegateRepresentativeDeposit?: ValueAdaOnly; | ||
delegateRepresentativeMaxIdleTime?: Epoch; | ||
version: ProtocolVersion; | ||
@@ -1483,3 +1702,3 @@ } | ||
}; | ||
rewards?: Lovelace; | ||
rewards?: ValueAdaOnly; | ||
} | ||
@@ -1500,8 +1719,4 @@ export interface QueryLedgerStateRewardsProvenance { | ||
stakePoolPledgeInfluence: string; | ||
totalRewardsInEpoch: { | ||
lovelace: bigint; | ||
}; | ||
activeStakeInEpoch: { | ||
lovelace: bigint; | ||
}; | ||
totalRewardsInEpoch: ValueAdaOnly; | ||
activeStakeInEpoch: ValueAdaOnly; | ||
stakePools: { | ||
@@ -1513,9 +1728,9 @@ [k: string]: StakePoolSummary; | ||
id: StakePoolId; | ||
stake: Lovelace; | ||
ownerStake: Lovelace; | ||
stake: ValueAdaOnly; | ||
ownerStake: ValueAdaOnly; | ||
approximatePerformance: number; | ||
parameters: { | ||
cost: Lovelace; | ||
cost: ValueAdaOnly; | ||
margin: Ratio; | ||
pledge: Lovelace; | ||
pledge: ValueAdaOnly; | ||
}; | ||
@@ -1605,10 +1820,10 @@ } | ||
initialFunds: { | ||
[k: string]: Lovelace; | ||
[k: string]: ValueAdaOnly; | ||
}; | ||
initialVouchers: { | ||
[k: string]: Lovelace; | ||
[k: string]: ValueAdaOnly; | ||
}; | ||
securityParameter: UInt64; | ||
networkMagic: NetworkMagic; | ||
protocolParameters: ProtocolParameters; | ||
updatableParameters?: ProtocolParameters; | ||
} | ||
@@ -1633,8 +1848,4 @@ export interface GenesisShelley { | ||
} | ||
export interface GenesisDelegate { | ||
id: DigestBlake2B224; | ||
vrfVerificationKeyHash: DigestBlake2B256; | ||
} | ||
export interface InitialFunds { | ||
[k: string]: Lovelace; | ||
[k: string]: ValueAdaOnly; | ||
} | ||
@@ -1651,3 +1862,3 @@ export interface GenesisStakePools { | ||
era: "alonzo"; | ||
initialParameters: { | ||
updatableParameters: { | ||
minUtxoDepositCoefficient: UInt64; | ||
@@ -1660,3 +1871,3 @@ collateralPercentage: UInt64; | ||
maxValueSize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -1668,3 +1879,20 @@ scriptExecutionPrices: ScriptExecutionPrices; | ||
era: "conway"; | ||
initialDelegates: InitialDelegates; | ||
constitution: { | ||
hash?: DigestBlake2B224; | ||
anchor: Anchor; | ||
}; | ||
constitutionalCommittee: { | ||
members: ConstitutionalCommitteeMember[]; | ||
quorum: Ratio; | ||
}; | ||
updatableParameters: { | ||
stakePoolVotingThresholds: StakePoolVotingThresholds; | ||
constitutionalCommitteeMinSize: UInt64; | ||
constitutionalCommitteeMaxTermLength: UInt64; | ||
governanceActionLifetime: Epoch; | ||
governanceActionDeposit: ValueAdaOnly; | ||
delegateRepresentativeVotingThresholds: DelegateRepresentativeVotingThresholds; | ||
delegateRepresentativeDeposit: ValueAdaOnly; | ||
delegateRepresentativeMaxIdleTime: Epoch; | ||
}; | ||
} | ||
@@ -1761,6 +1989,6 @@ export interface QueryNetworkStartTime { | ||
maxCapacity: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
currentSize: { | ||
bytes: Int64; | ||
bytes: UInt64; | ||
}; | ||
@@ -1767,0 +1995,0 @@ transactions: { |
{ | ||
"name": "@cardano-ogmios/schema", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Generated TypeScript from the Cardano Ogmios schema", | ||
@@ -5,0 +5,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
129397
1984
0
0