* ci: Split token, token-swap, and token-lending out * Remove token lending js in main runner * token-swap: Update proptest to trigger build * Remove unused Cargo.lock file * lending: Update proptest to trigger lending build * Fix lending test * Try re-using action * binary-oracle-pair: Bump token version to trigger build * Reference action differently * Add checkout step before local action * Move out cargo test bpf step * Add more programs * Update example file to trigger job * Update library file to trigger build * Update name-service file to trigger build * Update record file to trigger build * Update shared memory file to trigger build * Add pull request runners for each probram / library * Fix pull-request yml file referencing unknown step |
||
---|---|---|
.. | ||
program | ||
README.md |
README.md
Simple Oracle Pair Token
- pick a deposit token
- pick the decider's pubkey
- pick the mint term end slot
- pick the decide term end slot, must be after 3
Each deposit token can mint one Pass
and one Fail
token up to
the mint term end slot. After the decide term end slot the Pass
token converts 1:1 with the deposit token if and only if the decider
had set pass
before the end of the decide term, otherwise the Fail
token converts 1:1 with the deposit token.