Interface SmartRollupRefuteOperationExperimental

It is used to start or pursue a dispute. A dispute is resolved on the Tezos blockchain through a so-called refutation game, where two players seek to prove the correctness of their respective commitment. The game consists in a dissection phase, where the two players narrow down their disagreement to a single execution step, and a resolution, where the players provide a proof sustaining their claims. The looser of a dispute looses their frozen bond: half of it is burned, and the winner receives the other half in compensation.

Hierarchy

Properties

balanceUpdates: readonly BalanceUpdate[]
counter: BigNumber

It is an integer greater than or equal to 0.

fee: BigNumber

It is mutez - greater than or equal to 0.

gasLimit: BigNumber

It is an integer greater than or equal to 0.

internalOperations: readonly InternalOperation[]
isInternal: false

Usable for narrowing the type of this object from the union with internal operations.

opponentAddress: string

User tz address.

result: AppliedSmartRollupRefuteResult | BacktrackedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 8 more ...; readonly bond_id?: { ...; } | ... 1 more ... | undefined; })[];
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    game_status?: ONGOING | ({ readonly result: { readonly kind: SmartRollupRefuteGameEndedPlayerOutcomes.LOSER; readonly reason: SmartRollupRefuteGameEndedReason; readonly player: string; } | { ...; }; });
    status: OperationResultStatusEnum;
}> | FailedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 8 more ...; readonly bond_id?: { ...; } | ... 1 more ... | undefined; })[];
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    game_status?: ONGOING | ({ readonly result: { readonly kind: SmartRollupRefuteGameEndedPlayerOutcomes.LOSER; readonly reason: SmartRollupRefuteGameEndedReason; readonly player: string; } | { ...; }; });
    status: OperationResultStatusEnum;
}> | SkippedOperationResult<{
    balance_updates?: readonly ({ readonly kind: MetadataBalanceUpdatesKindEnum; readonly category?: METADATA_BALANCE_UPDATES_CATEGORY | undefined; ... 8 more ...; readonly bond_id?: { ...; } | ... 1 more ... | undefined; })[];
    consumed_milligas?: string;
    errors?: readonly ({ readonly kind: string; readonly id: string; readonly delegate?: string | undefined; })[];
    game_status?: ONGOING | ({ readonly result: { readonly kind: SmartRollupRefuteGameEndedPlayerOutcomes.LOSER; readonly reason: SmartRollupRefuteGameEndedReason; readonly player: string; } | { ...; }; });
    status: OperationResultStatusEnum;
}>
rollup: SmartRollup
rpcData: {
    counter: string;
    fee: string;
    gas_limit: string;
    kind: SMART_ROLLUP_REFUTE;
    metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delegator?: string | undefined; }[] | undefined; readonly operation_result: ...;
    opponent: string;
    refutation: ({ readonly refutation_kind: SmartRollupRefutationOptions.START; readonly player_commitment_hash: string; readonly opponent_commitment_hash: string; }) | ({ readonly refutation_kind: SmartRollupRefutationOptions.MOVE; readonly choice: string; readonly step: readonly { readonly state?: string | undefined; readonly tick: number; }[] | { ...; }; });
    rollup: string;
    source: string;
    storage_limit: string;
}

Raw data as received from Tezos Node RPC. Taquito interface may not be exact.

Type declaration

  • Readonly counter: string
  • Readonly fee: string
  • Readonly gas_limit: string
  • Readonly kind: SMART_ROLLUP_REFUTE
  • Readonly metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delegator?: string | undefined; }[] | undefined; readonly operation_result: ...
  • Readonly opponent: string
  • Readonly refutation: ({ readonly refutation_kind: SmartRollupRefutationOptions.START; readonly player_commitment_hash: string; readonly opponent_commitment_hash: string; }) | ({ readonly refutation_kind: SmartRollupRefutationOptions.MOVE; readonly choice: string; readonly step: readonly { readonly state?: string | undefined; readonly tick: number; }[] | { ...; }; })
  • Readonly rollup: string
  • Readonly source: string
  • Readonly storage_limit: string
sourceAddress: string
storageLimit: BigNumber

It is an integer greater than or equal to 0.

uid: string

Universal ID of the entity on the blockchain. It is still human-readable.

Example

Block hash / operation group hash / operation index [ operation kind ]

BLvgirK7K43H5tv8f73cxBaLwcU7euFNwmfr2td2sWKpKXQXxaM/opLpKECfrpuF79YLfSYABvxb8Df8Fh71n3Q8Azy1m8vWU8Czfcn/4[transaction]

Generated using TypeDoc