Maximilian Schneider
3a0f104ed1
create new change spot market form
2022-01-30 16:00:08 +01:00
Maximilian Schneider
64d034ce60
create spot market with custom baseDecimals
2021-11-29 15:27:54 +01:00
Tyler Shipe
4d5d05a738
update latest mango client
2021-10-31 18:08:50 -04:00
Tyler Shipe
866ef36f6a
remove unused var
2021-10-29 11:54:54 -04:00
Tyler Shipe
462c41afc2
Merge branch 'mango_v3.2' into mango
2021-10-29 11:34:43 -04:00
Tyler Shipe
b42a4f9334
create perp market with creating bids, asks, and eq first
2021-10-29 11:33:36 -04:00
Tyler Shipe
e63fa29f88
fix: create perp market instruction
2021-10-26 18:13:08 -04:00
dd
73714b6d36
ChangePerpMarketParams2 and CreatePerpMarket
2021-10-26 16:21:38 -04:00
Tyler Shipe
816171ae99
pass undefined into instruction if empty string in change mkt params form
2021-10-22 19:52:49 -04:00
Tyler Shipe
6f2e78afd0
support optional fields in change perp mkt params form
2021-10-22 19:35:20 -04:00
Tyler Shipe
0dedb1da9b
remove default values in change perp market params form
2021-10-22 19:25:43 -04:00
Tyler Shipe
d3a4ff04ca
remove unused import
2021-10-22 19:19:21 -04:00
Tyler Shipe
316bdadd47
add fees to ChangePerpMarketParams
2021-10-22 18:53:39 -04:00
Tyler Shipe
a6aa588a0e
update AddPerpMarket to CreatePerpMarket
2021-10-22 18:38:24 -04:00
Maximilian Schneider
3058bfcb66
add new exp parameter
2021-10-10 22:05:28 +02:00
dd
8e955aa256
Made mngoPerPeriod input for change-perp-market-params be in UI units to be consistent
2021-09-17 14:20:00 -04:00
Maximilian Schneider
d2f11808e7
fix linter
2021-09-16 01:26:36 +02:00
Maximilian Schneider
c293c140bd
add change perp market instruction
2021-09-16 01:17:25 +02:00
Maximilian Schneider
fbece5db1c
mango 3.0.18
2021-09-15 21:18:06 +02:00
Maximilian Schneider
ea447115dc
Merge remote-tracking branch 'origin/main' into mango
2021-09-15 19:05:40 +02:00
Maximilian Schneider
1bdff1d7b8
correctly set liquidity incentive rates
2021-09-14 02:07:12 +02:00
Sebastian Bor
a698d76017
Governance: Do not cap max tokens when mint supply is 0 ( #321 )
2021-09-14 00:27:25 +01:00
Sebastian Bor
f2d2eb0467
Governance: Fix tx false positive timeouts ( #320 )
...
* feat: add sendTransaction from MNGO
* fix: use MNGO battle tested sendTransaction2
* fix: use recent commitment to fetch accounts
2021-09-13 22:40:30 +01:00
Juan Diego García
327cadb269
Exit only Mode ( #229 )
...
* fixed button with no provider
* fixed mint key on native sol tokens and wwt eth, eth -> sol
* fixed cached getting program accounts instead of wallet ASA
* Only display wrapped tokens from wormhole to exit mode with corresponding from chain
2021-09-11 18:49:16 -05:00
Maximilian Schneider
057287a78b
update to mango 3.0.17 and add simulate proposal button
2021-09-10 18:09:59 +02:00
Maximilian Schneider
5bb9d9bd1f
updated packages
2021-09-08 21:10:02 +02:00
Maximilian Schneider
caec045711
upgrade mango dep
2021-09-08 20:44:29 +02:00
Maximilian Schneider
0f1f827d19
add more program ids to whitelist for mango ops
2021-09-08 20:15:41 +02:00
Maximilian Schneider
0cb85cbc39
default to 0 MNGO per period
2021-08-31 16:47:15 +02:00
microwavedcola1
b4ff6a4fb8
add perp market form ( #2 )
...
* wip: start working on integrating add perp market form
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* code review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Finish first draft
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* code review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* improve defaults
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2021-08-31 09:47:52 +02:00
bartosz-lipinski
ac30e28bd1
feat: update warning message
2021-08-28 18:16:25 -05:00
Maximilian Schneider
e2ab1fa7fa
throw error
2021-08-23 20:47:03 +02:00
Maximilian Schneider
a93181ddf4
mango add oracle & spot market
2021-08-23 13:05:46 +02:00
Maximilian Schneider
394f530a7b
force package version compatibility with mango v3
2021-08-22 18:41:24 +02:00
Maximilian Schneider
95881cf65d
read governance program id from env
2021-08-22 15:24:20 +02:00
Juan Diego García
4f5f0db2e6
Fixed cache getting program accounts instead of wallet ASA ( #192 )
...
* fixed button with no provider
* fixed mint key on native sol tokens and wwt eth, eth -> sol
* fixed cached getting program accounts instead of wallet ASA
2021-08-19 15:35:42 -05:00
Maximilian Schneider
e868b53f14
use mango rpc endpoint
2021-08-18 00:36:51 +02:00
Maximilian Schneider
1f37a5bf32
Merge remote-tracking branch 'origin/main' into token-sale
2021-08-18 00:28:08 +02:00
Sebastian Bor
e0c9ca80a7
Governance: Increase tx timeout to 30s and show timeout msg ( #187 )
2021-08-17 22:20:09 +02:00
Sebastian Bor
137321e7a3
Governance: Support mints with 0 supply ( #184 )
2021-08-13 21:41:01 +02:00
Sebastian Bor
dfd9f88b20
Governance: Fix mint and transfer instruction decimals ( #183 )
...
* fix: use mint decimals for mintTo amount input
* fix: use mint decimals for transfer amount input
2021-08-13 20:22:19 +02:00
Juan Diego García
ed065c2902
Fixed mint key on native sol tokens and wwt eth, eth -> sol ( #181 )
...
* fixed button with no provider
* fixed mint key on native sol tokens and wwt eth, eth -> sol
2021-08-13 11:38:15 -05:00
Sebastian Bor
ad55dfa829
Governance: Constrain active proposals per wallet ( #178 )
2021-08-12 21:50:39 +02:00
Maximilian Schneider
897bd588d9
change title & default program id
2021-08-09 14:17:47 +02:00
Sebastian Bor
b11588d442
fix: use vote time expiration to show/hide relinquish vote button ( #175 )
2021-08-06 15:11:22 +01:00
Sebastian Bor
59a776e880
Governance: Optimise proposal accounts loading ( #174 )
...
* chore: move proposal buttons to ActionBar
* fix: minimise number of requests to get Proposal buttons state
2021-08-06 09:06:15 +01:00
Sebastian Bor
d5dbc29b0b
Governance: Do not show Yes/No buttons when voter record can't be loaded ( #173 )
2021-08-05 23:14:35 +01:00
Juan Diego García
e05ecbc9a2
Added renbtc debug page ( #172 )
...
* fixed button with no provider
* Added renbtc debug page
2021-08-04 10:03:56 -05:00
Juan Diego García
c4b7d17457
Fixed wwt wrapped tokens not showing up balances on eth side ( #171 )
...
* fixed button with no provider
* fixed supply number too high
* fixed wwt wrapped tokens not showing up balances on eth side
* use mint in wwt tokens
* fixed non wwt tokens
2021-08-03 18:01:04 -05:00
Maximilian Schneider
7467e90044
cleanup compile errors and distribute funds directly to destination account without intermediate
2021-08-03 14:45:19 +02:00