Sign in

State and time - Test

01.

Orca Whirlpools keeps ticks in separate tick array accounts instead of one pool account. What does a swap gain from this?

02.

In Bubblegum's compressed NFTs, what does the on-chain account store for a million NFTs?

03.

Inserting into a sorted linked list is O(n) in general. Why is it O(1) on-chain in Monaco's order book?

04.

An instruction loops over every position in a market, and anyone can open a position. What is the danger?

05.

Which on-chain costs are safe when anyone can add data? (Select all that apply.)

06.

A coin flip program reads the slot hash and pays the win in the same transaction as the bet. How does a user beat it?

07.

In a commit-execution split, who must not decide whether the execute transaction is sent?

08.

Why does "sign an order once, let a server submit it when the price is right" fail on Solana?

09.

A stored action executes after its condition is met. Who signs for the user?

10.

In Monaco, a taker's order matches a maker's order. What does the match transaction do with the maker's payout?

11.

A protocol records that a maker is owed 40 tokens but has not settled it yet. How should the program treat that amount?

12.

An oracle pays device rewards. Why should it sign the total earned so far rather than today's reward?

13.

In Squads, the signers change and the stale transaction index moves. What can still happen to an older proposal?

14.

What test shows that a program's state is one-way?

15.

A Jupiter swap shows an expected output of 150 USDC. What does the user actually sign?