Skip to content

Instantly share code, notes, and snippets.

@os2357
Last active March 29, 2023 10:34
Show Gist options
  • Save os2357/2738987c9118925104e9bd541b4e9195 to your computer and use it in GitHub Desktop.
Save os2357/2738987c9118925104e9bd541b4e9195 to your computer and use it in GitHub Desktop.

Op model

Ticket

  • transfer_ticket // enable implicit accounts to transfer tickets to other implicit accounts

SR

  • smart_rollup_originate // originate, i.e. deploy smart rollups
  • smart_rollup_add_messages // add messages to the inbox shared by all originated SRs
  • smart_rollup_cement // cement a commitment if it has been published for long enough and there is no concurrent commitment for the same state update
  • smart_rollup_publish // regularly declare what's the new state of a given SR in a commitment
  • smart_rollup_refute // start or pursue a dispute, resolved through a refutation game, where two players seek to prove the correctness of their respective commitment (2 phases: dissection, resolution)
  • smart_rollup_timeout // put an end to a dispute if one of the two players takes too much time to send their next move
  • smart_rollup_execute_outbox_message // enact a transaction from a smart rollup to a smart contract, as authorized by a cemented commitment
  • smart_rollup_recover_bond // used by an implicit account to unfreeze their 10k tez

ZKR

  • zk_rollup_origination // tries to originate a zk rollup
  • zk_rollup_publish // tries to add an operation to the pending list of a zk rollup
  • zk_rollup_update // tries to apply an update to a zk rollup

DAL

  • dal_attestation // crafts a slot attestation operation to attest at [level] slot headers published at level. for each slot, the value of the booleans indicates whether the data is deemed available
  • dal_publish_slot_header // builds an operation for the data-availability layer that publishes a slot

RPC

  • ticket_balance // RPC to get contract's balance of ticket with specified ticketer, content type, content
  • all_ticket_balances // RPC to get the complete list of tickets owned by a given contract by scanning contract storage

Micheline

  • add bytes for AND, OR, XOR, NOT, LSL, LSR
  • add conversion for bytes-int and bytes-nat to NAT, INT, BYTES

Crypto

  • add support for BLS-MinPk signature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment