Commit Graph

70 Commits

Author SHA1 Message Date
55b463dc6d
add forfeit reserves functionality
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-22 17:00:47 +03:00
2ab8bc312d
redemtion functionality finalized; mainnet tests added
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-09 12:48:53 +03:00
6da828cea8
convert native amount to ftso balance during valuation
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-09 12:47:09 +03:00
7c9c9f90de
add big formula and prepare treasury redemption; not tested yet
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-08 13:58:40 +03:00
02c0d51335
expose coefficient from treasury
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-07 18:22:58 +03:00
fe9cf0a00c
additional dependency on uniswap-v2-periphery and small fixes in treasury
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-07 14:20:56 +03:00
9dfd10aff7
draft fixes for native-only support; tests broken
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-10-06 15:34:25 +03:00
8746bc747a
add conversion rate in a fallback and receive, no need for unfair conversion
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-07-25 14:48:56 +03:00
162b3e357a
new tests for gatekeeper on staking
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-07-22 16:12:52 +03:00
62c70893a9
draft version of dummy gatekeeper added
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-29 23:32:02 +03:00
a41cef0dfe
make definition of tokens name and symbol during the deployment
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-29 14:37:27 +03:00
9e40d4ed4f
tests of the burning functionality
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 21:39:38 +03:00
15dfd49163
rename function to make it more self-describing
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 20:51:05 +03:00
3bb6904f54
try to remove re-entrancy from withdraw function
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 20:37:10 +03:00
3f0d1fb02e
remove unnecessary functions
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 20:32:41 +03:00
34fdb21d82
try to avoid re-entrancy on burn function
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 20:31:07 +03:00
941aba02fa
make owner to mint amount directly
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 20:18:06 +03:00
5541eda138
additional logic for burning reserve in exchange of native; initial draft
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-06-27 20:16:10 +03:00
46b33b4c75
initial push for smart-contracts
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-04-28 14:17:04 +03:00
unknown
150f9ab9a6 chore: forge init 2024-09-12 15:21:57 +03:00