Commit Graph

132 Commits

Author SHA1 Message Date
Jaco
0390ec53f7
Only support contracts with storageDepositLimit (#7907)
* Only support contracts with storageDepositLimit

* Update route error message
2022-07-29 11:55:22 +03:00
Jaco
802f191b1f
Bump API to latest beta (#7932)
* Bump API to latest beta

* Adjust contract query

* Bump

* Adjust
2022-07-29 11:43:16 +03:00
Jaco
7f0a05ca67
Bump dev (#7212)
* Bump dev

* linting

* s/function//
2022-03-23 08:03:11 +02:00
Jaco
9e5fa6a353
Add blockInterval hook (#7165) 2022-03-15 11:30:41 +02:00
Andreea Eftene
d42da8da93
fix contract trapped (#6973) 2022-02-11 14:43:06 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Andreea Eftene
c2be422be0
Add storage deposit support in apps (#6657)
* add basic storage deposit input

* prefill input with free balance

* make value zeroable

* changes to deploy modal

* support older nodes

* storage deposit support in call

* remove input and pass null

* remove unused

* properly check if value input shoudl be zeroable

* remove unused

* hide input when constructor is not payable

* update api

* little cleanup

* remove unnecessary check
2021-12-22 11:03:22 +02:00
Jaco
0f58b96f76
Bump dev with package-specific tsconfig.json (#6691)
* Bump dev with package-specific tsconfig.json

* Bump tsc

* Bumps

* Adjust

* Bumps

* Bump dev
2021-12-16 12:08:06 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
Jaco
0466cd3ee5
API Bump w/ contracts v1 (#6264)
* API Bump w/ contracts v1

* Bump API

* Re-run
2021-10-12 07:03:37 +03:00
Jaco
7320d08c10
Remove rent projection (#6185) 2021-09-24 06:40:51 +02:00
Jaco
73e3a32aba
Support for v14 metadata (#5927)
* Support for v14 metadata

* sessionIds as map or array

* Cleanups

* Some storage page adjustments

* Arg mapping, no filterOrigin

* Use base64Encode in metadata

* Cleanups

* Storage cleanups

* Additional

* Use API types

* typo

* Storage historic compat

* Const input type

* Bumps

* Bumps

* Bumps

* Force salt to string
2021-09-18 08:18:51 +02:00
MiZiet
25c275cd13
Style sort dropdown (#6099)
* Style sort dropdown

* Use default icons

* Use rems

* Extract border-input variable
2021-09-14 09:03:44 +02:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one (#5914)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
Jaco
5430223613
Bump API (#5886) 2021-07-28 16:30:38 +02:00
Jaco
39b5a04548
Use gasRequired for contract estimation (#5772)
* Use gasRequired for contract estimation

* Bump API

* yarn.lock

* Revert unneeded bumps

* Fix lint

* Bump API
2021-07-06 11:29:15 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
0ece312038
Bump API (contracts deprecated methods) (#5212)
* Bump API (contracts deprecated methods)

* Bump API (w/ parachain types)
2021-05-05 19:01:31 +02:00
Jaco
badbd20508
Bump API (& adjust contracts upload) (#5204) 2021-05-04 12:11:03 +02:00
Jaco
8825a693f9
Remove deprecated contracts calls (#5183)
* Remove deprectaed contracts calls

* Drop support for contracts V2
2021-05-01 10:27:10 +02:00
Jaco Greeff
2d97581b17
Flatten tabs (#4883) 2021-03-21 09:31:43 +01:00
Jaco Greeff
e037ab2400
Bump API (derive extend) (#4867) 2021-03-18 18:46:07 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +01:00
Jaco Greeff
d34bd33568
useBestNumber hook (#4846)
* useBestNumber hook

* Cleanups
2021-03-14 15:12:53 +01:00
Jaco Greeff
2bf88c5860
Use theme via css vars (#4789)
* Extract global CSS vars (non-theme specific)

* Use theme via css vars

* All text colors

* Additional

* All vars (excluding name...)

* Additional

* linting

* css linting

* Update Card css
2021-03-10 11:04:14 +01:00
Jaco Greeff
ddbf46e7a0
Bump deps (common, local types) (#4726) 2021-02-25 07:55:48 +01:00
Jaco Greeff
ba2dc7e44b
Margin between contract block links (#4709) 2021-02-22 11:24:17 +01:00
Jaco Greeff
0beca8efe4
Contracts deploy fallback error (#4683) 2021-02-17 12:03:29 +01:00
Jaco Greeff
8f35da1f40
Display contract error tx (#4649) 2021-02-11 10:01:18 +01:00
Jaco Greeff
013e10f487
placeholder shortcuts (#4637) 2021-02-09 14:19:35 +01:00
Jaco Greeff
1ec6dfd302
Support new contracts putCode (#4622)
* Support new contracts putCode

* New works

* Swap to default constructor as available

* Split into steps
2021-02-06 15:51:09 +01:00
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
10ce7a40e8
font-weight: 400 -> theme.fontWeightNormal (#4339)
* font-weight: 400 -> theme.fontWeightNormal

* Less lazy, font-weight: 400 converted
2021-01-09 09:41:13 +01:00
Jaco Greeff
599b62e6c6
Bump to latest API (#4321) 2021-01-05 13:12:39 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
MiZiet
18be5c3451
Restore contracts banners size. Closes #4275 (#4276)
* Restore contracts banners size

* Remove hasOwnMaxWidth class from Banner

* Rename Contracts component into ContractsTable

* Extract Contracts component from ContractsApp

* Move Banner, Deploy, Summary components to Contracts directory

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-29 12:54:02 +01:00
Jaco Greeff
947d3305e3
Use maxBlock value for weight limits (#4287) 2020-12-29 12:17:08 +01:00
Jaco Greeff
ec56e100a6
0.73 (#4274)
* 0.73

* Typing
2020-12-28 14:37:31 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components (#4250)
* Remove unused TxModal components

* Cleanups
2020-12-20 17:50:06 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
Jaco Greeff
338a77fbdf
Detect system.blockWeights vs system.maximumBlockWeight (#4176)
* Detect system.blockWeights vs system.maximumBlockWeight

* small formatting update

* division
2020-12-08 19:41:58 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +01:00