Skip to content

Use SPL token program to create conditional tokens#2

Merged
metaproph3t merged 6 commits intometaDAOproject:mainfrom
metaproph3t:main
Sep 27, 2022
Merged

Use SPL token program to create conditional tokens#2
metaproph3t merged 6 commits intometaDAOproject:mainfrom
metaproph3t:main

Conversation

@metaproph3t
Copy link
Member

No description provided.

@metaproph3t metaproph3t merged commit a85634c into metaDAOproject:main Sep 27, 2022
pileks added a commit that referenced this pull request Feb 18, 2026
* close_bid_wall should return funds to authority always

* set bid wall fee recipient to metadao multisig vault everywhere

* add min_amount_out to bid wall sell instruction

* disallow zero output amount after fees

* prevent LP position hijack/freeze

* prevent supplying wrong multisig when initializing proposal

* prevent overcharging by 1 atom in provide_liquidity

* apply min_liquidity slippage parameter to both first and subsequent lp provisioning

* replace unreachable with proper errors

* change comment to point to correct implementation reference

* prevent launch front-running by merging instructions into single transaction

* remove MAX_PREMINE from launchpad v7

* Disallow oracle changes while in Unlocking state to prevent TWAP corruption.

* adjust liquidity provision logic when position is a new account

* When a Proposal is Rejected by the Market The Squads Proposal Should Be Closed

* prevent dao parameters being upadted during active futarchy markets

* split_tokens and merge_tokens should verify question is unresolved

* bid wall quote amount debits rounding

* minor rename

* slight rename for internal consistency

* ensure conditional liquidities are always greater than zero

* ensure max_base_amount is a positive nonzero integer when providing liquidity

* short-circuit arbitrage when it doesn't yield results

* refactor seeds and invariants into constants

* explicitly prevent silent truncation in pass thresholds

* ensure max twap change is nonzero

* rename variable & comments to reflect actual situation

* disallow empty spending limit members and duplicate spending limit members

* box dao account where applicable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant