* Update all dependencies to 1.7.3, fix issues * Remove esm from mocha * Fix missed token test * Also update rust version * token-swap: update tolerance on sim test * Run `cargo clippy --fix` for needless_borrow errors * Rerun cargo fmt |
||
---|---|---|
.. | ||
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.