Commit Graph

12 Commits

Author SHA1 Message Date
Jaco Greeff
b9308c6939
Support 1.x contract & 2.x contracts (#1321)
* Support 1.x contract & 2.x contracts

* Allow TxButton with contract & contracts

* Bump api for derive.contracts
2019-06-21 13:14:38 +02:00
kwingram25
357936eafc
Add checks for contract fees (#1299)
* new checks

* contracts checks

* contract checks

* rv yarn.lock

* fixes
2019-06-17 12:51:09 +02:00
Jaco Greeff
28c5a83809
Bump API (new api-contreacts, new typings) (#1297) 2019-06-15 11:55:38 +02:00
Jaco Greeff
6440e3baaa
Bump deps (change use as required) (#1293)
* Bump deps (change use as required)

* Bump api with send fix
2019-06-13 20:19:15 +02:00
kwingram25
4b7987ae1c
New contracts app (#1283)
* new contracts app

* new contracts app

* test ci fix

* fixes

* fixes

* remove abi inline

* css code card

* icon buttons

* fixes

* fixes cont.

* travis ci fixed

* api version
2019-06-12 13:52:53 +02:00
kwingram25
dc943d7cd6
Button/TxButton submit on enter (#1170)
* Button/TxButton submit on enter

* promise linting

* testing ref approach

* Add TxComponent to handle submit on enter

* remove accountNonce

* remove input ref

* remove TxButton constructor

* remove comment

* empty constructor

* linting

* bug with null ref

* linting
2019-05-22 18:08:58 +02:00
Jaco Greeff
f461c84642
Small contracts fixes & adjustments (#1092)
* Adjust code deploy redirection (w & wo contracts)

* Allow contract call with 0 value

* TxButton to calculate all on click

* Stray logging
2019-05-07 10:00:53 +02:00
Jaco Greeff
707ae0b696
Validate codehash (with wasm), address (with code) & wasm header (#991)
* Validate codehash (with wasm), address (with code) & wasm header

* Typo
2019-04-12 12:50:58 +02:00
Jaco Greeff
26ff33678e
Store the genesisHash along with code & contracts (load check) (#982)
* Store the genesisHash along with code & contracts (load check)

* Cleanup hanging promises

* contract:contract: -> contract:address: (storage)

* Update store.ts
2019-04-11 21:19:14 +02:00
Jaco Greeff
cb0cb73e0f
Swap from params to 0, keeps old (#957) 2019-04-10 21:28:05 +02:00
Jaco Greeff
937073f1c6
Pass actual address when calling contract (#955) 2019-04-10 20:25:52 +02:00
Jaco Greeff
1a103e9812
Substrate contracts, basics (#928)
* Substrate contracts, basics

* Expand Create & Deploy with placeholder inputs

* Add ABI parsing & validation (re-usable)

* Expand ABI parsing

* WIP, putCode works, deploy in-progress

* Updates for Params & Instantiate (untested)

* Up to call...

* Linting

* Updated

* InputFile & ABI adjustments

* Add ability to attch existing (code & deployed)

* Small cleanups

* Very basic intro

* Hide contracts sidebar entry

* Update README.md
2019-04-10 11:52:34 +02:00