Sebastian.Bor
277d2cfbee
feat: constrain active proposals per wallet
2021-08-12 21:49:50 +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
a92214a6b5
Common: fix less build #168
2021-08-03 12:42:35 +01:00
Sebastian Bor
209c6a8a56
Governance: Add NotEnoughTokensToCreateGovernance error ( #169 )
2021-08-03 12:40:24 +01:00
Sebastian Bor
543398a97b
Governance: Remove mint account from input accounts ( #167 )
2021-08-03 08:56:31 +01:00
Sebastian Bor
876bad040b
Governance: Min tokens to create governance ( #166 )
...
* chore: update accounts and instruction layout
* feat: pass token owner and mint to create governances
* feat: capture min tokens to create proposal on realm screen
* chore: update comments
2021-08-03 08:13:53 +01:00
Sebastian Bor
d2d172fa16
Governance: Add signatory list ( #165 )
2021-08-02 20:02:56 +01:00
Sebastian Bor
7dade0ed93
Governance: Simplify realm actions ( #164 )
...
* chore: move bpfUpgradeableLoader instructions to tools
* feat: move register governance and set authority to advanced options
2021-08-02 17:58:32 +01:00
Sebastian Bor
8bc6ad8467
Governance: Realm configs and max vote weight fraction ( #162 )
...
* chore: update CreateRealm instruction
* chore: update RealmConfigArgs
* feat: add SetRealmConfigArgs instruction
* feat: capture max vote weight supply fraction when realm created
* chore: rename registerRealm
* chore: move AccountDescription to components
* feat: add SetRealmAuthorityButton
* feat: show badge for realm authority governance
* feat: add realm config instruction creator
* feat: generate SetRealmConfig instruction
* feat: add realm config instruction creator
* feat: show fractional max vote weight
* chore: update test mints
2021-08-01 20:23:36 +01:00
Sebastian Bor
714bd98350
Governance: Set config when creating realm ( #160 )
2021-07-30 18:41:43 +01:00
Sebastian Bor
0936c54d85
Governance: Realm config ( #157 )
...
* chore: update accounts
* chore: update mintMaxVoteWeightSource
2021-07-29 17:06:14 +01:00
Juan Diego García
652736b15f
Fixed issue with high integers supplies ( #156 )
...
* fixed button with no provider
* fixed supply number too high
2021-07-29 10:55:32 -05:00
Sebastian Bor
d9b22a5858
Governance: Add countdown timer ( #152 )
...
* wip: vote countdown
* feat: vote time countdown
* chore: review clenaup
* fix: show voting ended when in voting state but past the voting time
* fix: catch account loading errors
2021-07-29 00:31:49 +01:00
Juan Diego García
daee80a909
fixes balances not showing up for eth tokens with more than 9 decimals ( #151 )
...
* fixed button with no provider
* fixes balances not showing up for eth tokens with more than 9 decimals
* added warning popover
2021-07-28 17:53:47 -05:00
Sebastian Bor
ec73ffdaac
feat: use vote threshold from proposal for voted on proposals ( #149 )
2021-07-27 23:15:27 +01:00
Sebastian Bor
7b34bb5d70
fix: use URL to compose explorer url ( #148 )
2021-07-27 12:58:26 +01:00
Sebastian Bor
cd933a195b
chore: upgrade @solana/web3 to 1.22.0 ( #147 )
2021-07-27 12:24:42 +01:00
Sebastian Bor
3bab38bfa5
Governance: Show vote results as progress ( #146 )
...
* fix: add realm authority error codes
* feat: add community token link to realm
* feat: add realm popover details
* fix: total supply for finalised votes
* fix: formatting for voters table scores
* chore: fix governance files
* chore: fix governance view file name
* fix: proposals sort order
* chore: fix lint
* chore: update comments
* fix: explorer urls in voters graph
* feat: show voting results using progress with tooltips
* fix: make red more subtle
2021-07-26 23:12:11 +01:00
Jordan Sexton
8e86d41974
fix: remove defunct connection endpoints ( #130 )
2021-07-26 08:25:34 -05:00
Sebastian Bor
1b981f6d0b
Governance: Format mints amounts for governances ( #141 )
...
* fix: format mints amounts for governances
* chore: remove log statement
2021-07-23 16:55:09 +01:00
Sebastian Bor
8e56e17f0f
Governance: SetRealmAuthority ( #140 )
...
* fix: allow partial failures when loading accounts
* chore: revert capturing mint supply when signing off
* chore: cleanup realm view components
* chore: fix realmView file name
* feat: add SetRealmAuthority
* chore: fix SetRealmAuthorityArgs class name
2021-07-23 16:14:00 +01:00
Sebastian Bor
94fa1ce224
Governance: Capture realm authority and proposal mint supply ( #139 )
...
* fix: update accounts layouts
* feat: pass realmAuthority to CreateRealm instruction
* feat: add governing token mint to SignOff instruction
2021-07-22 16:41:21 +01:00
Sebastian Bor
4c1cd0c794
Governance: Implement different council and community tokens thresholds ( #138 )
2021-07-21 19:27:37 +01:00
Sebastian.Bor
b15429dd21
feat: validate token account for mintTo instruction
2021-07-20 18:48:41 +01:00
Sebastian.Bor
2149df6d92
chore: move buffer validator to validators
2021-07-20 18:43:46 +01:00
Sebastian.Bor
43fd7ddf05
feat: validate instruction token account
2021-07-20 18:38:50 +01:00
Sebastian Bor
5d1906cfcf
Governance: Upgrade buffer validation ( #137 )
...
* chore: make the box animation more subtle
* feat: validate upgradable program buffer
2021-07-20 16:33:07 +01:00
Sebastian Bor
0919c146dd
Governance: Instruction dry run ( #136 )
...
* feat: add instruction simulation and inspector link
* chore: update instruction buttons
* chore: use instructionData for dry run
* feat: add instruction dry run to new instruction form
* fix: show error when can't run simulation
* fix: change tracking
2021-07-19 23:45:50 +01:00
Sebastian Bor
ca7882342d
Governance: cleanup proposal components ( #135 )
...
* chore: cleanup proposal components
* chore: update proposalView name
2021-07-17 14:45:03 +01:00
Sebastian Bor
65516c533f
feat: add an option to flag instruction as broken ( #134 )
2021-07-16 22:52:18 +01:00
Sebastian Bor
b64d15ea33
feat: add app error banner ( #133 )
2021-07-15 14:57:51 +01:00
Sebastian Bor
5166cb89f9
Governance: use mint decimals for min tokens to crate proposals in the UI ( #132 )
...
* fix: use mint decimals for min tokens to crate proposals in the UI
* chore: fix names
2021-07-15 12:36:38 +01:00
Sebastian Bor
7315293718
fix: remove dead rpc endpoints from settings options ( #131 )
2021-07-14 13:22:39 +01:00
Sebastian Bor
65bf7a2318
Governance: Implement set governance config ( #129 )
...
* feat: show governance config details
* feat: add set-governance-config creator
* feat: add instruction creator to account governance
* feat: add spl-token instructions form
* feat: add spl-mint instructions form
2021-07-10 21:03:06 +01:00
Sebastian Bor
fc5ceab079
chore: remove realm and account from config ( #128 )
2021-07-10 14:34:01 +01:00
Sebastian Bor
517756e4ec
Governance: anchor IDL set-buffer instruction ( #127 )
...
* feat: handle transaction timeout errors
* feat: add anchor idl instruction helper
* chore: split instruction creators components
* feat: add anchor instruction creator to program form
* fix: show anchor instructions only when idl account exists
* feat: move program id to instruction inputs
2021-07-09 20:13:41 +01:00
Sebastian Bor
b07fb33569
Governance: Update program structures ( #126 )
...
* feat: add SetGovernanceConfig instruction
* chore: change reserved to ['u8']
* chore: Add None enum values
* chore: update enums serialisation
2021-07-07 19:29:52 +01:00
Sebastian.Bor
a1b95ee307
feat: add docs link
2021-07-03 14:04:04 +01:00
Sebastian.Bor
cb89af5eb4
fix: map governance errors using 500 offset and add token errors
2021-07-03 14:03:49 +01:00
Sebastian Bor
b13bd0e521
Governance: support program clones ( #125 )
...
* feat: use programId to get realms
* feat: use programId to register Realm
* feat: use programId for depositGoverningTokens
* feat: use program id for withdrawGoverningTokens
* feat: use program id for registerGovernance
* feat: use program id for createProposal
* feat: use program id for cancelProposal
* feat: use program id for signOffProposal
* feat: use program id for castVote
* feat: use program id for relinquishVote
* feat: use program id for finalizeVote
* feat: use program id for insertInstruction
* feat: use program id for removeInstruction
* feat: use program id for executeInstruction
* feat: use program id for pdas
* feat: update routes to use programId
* fix: use program id for home url
* chore: revert error
* chore: update HomeLink name
2021-07-02 18:08:20 +01:00
Sebastian Bor
778265c0d6
Governance: future proofing for v2 ( #124 )
...
* chore: update Governance account
* chore: update Proposal account
* chore: Update ProposalInstruction account
* chore: Update Realm account
* chore: update TokenOwnerRecord account
* fix: add spill address to upgrade instruction
* fix: display units for hold up time
* chore: update program id
2021-07-01 12:21:55 +01:00
Sebastian Bor
7f60b40d7a
Governance: Change slots to timestamps ( #123 )
...
* feat: use timestamps instead of slots
* feat: show amount of deposited tokens
2021-06-30 12:36:24 +01:00
Sebastian Bor
e60ce1b307
Governance: Create token governance ( #122 )
...
* feat: implement TokenGovernance
* feat: use governance badge on GovernanceView
* feat: add accounts descriptions to governance items
2021-06-26 18:58:29 +01:00
Sebastian Bor
ac8d8e21c0
Governance: Create mint instruction ( #121 )
...
* feat: setup CreateMintInstruction
* fix: change instruction and enum layout to avoid braking changes
2021-06-25 22:09:00 +01:00
Maximilian Schneider
3db71073f7
fix import case ( #119 )
2021-06-25 20:49:48 +01:00
Sebastian Bor
dd22e823f0
Governance: support mints with large supply ( #120 )
...
* fix: add GenericAccountParser to account validator lookup
* fix: do not use cache for accounts validation
* fix: correct deposit/withdraw actions notifications
* fix: update all actions notifications to show transaction link
* fix: display vote scores for large mint supplies
* fix: accept u64 for approve amount
* fix: check for number type to do coercion
* fix: make deposit and withdraw working with large token amounts
* fix: make new proposal working with large token amounts
* fix: make proposal view working with large token amounts
* fix: fix voter table links and vote weight
2021-06-25 18:39:14 +01:00