20 Commits
Author SHA1 Message Date
tom goriunovandGitHub 6557f19156 Combine Read/Write for Contract page (#2343)
* combine tabs and add method type filter

* add badge with contract method type

* add name filter

* add filters to mud system tab

* support array of tabs ids and route old tabs to the new one

* fix tests

* support adding the custom ABI from the contract page

* update margins and add test

* fix bugs and update screenshots

* some design updates

* update preset for garnet

* [skip ci] fix garnet preset

* improve links to contract methods
2024-11-04 14:12:58 +01:00
tom goriunovandGitHub 96324e7fa9 Better contract implementation selector and new quick action buttons for contract method argument inputs (#2303)
* MUD system tab placeholder

* implement MUD system selector and fix proxy contract read/write

* add buttons to contract method arg input

* rollback changes of target contract address

* copy calldata button

* rollback changes of target contract address

* refactor contract details components

* add tabs to contract details

* migrate code to RoutedTabs

* add selector for source contract

* tests

* fix tests

* update screenshot

* update screenshots
2024-10-28 19:38:03 +01:00
tom goriunovandGitHub b9985adbb6 Contract interaction improvements (#1875)
* add contract method id tag

* add form submit type

* refactor types for SmartConstract and make new component for Contract ABI methods

* move contract method form inside ABI folder

* handle form submit and display result

* clean-up

* change copied text

* handle case when blockchain interaction is not configured

* tests and screenshots update

* fix bug wit WEI checkbox
2024-05-06 19:12:34 +02:00
tom goriunovandGitHub 30efe0e58e Display arrays of structs on Read/Write contract tabs (#1556)
* prototype

* change host for preview

* improve labels for nested arrays

* add field path

* bind fields to react form

* transform form fields into method args

* add styles for non-array args

* styles for tuple array

* style nested array inputs

* clear and multiply buttons for inputs

* show errors in inputs

* pass disabled state to inputs

* change direction of accordioin icon

* remove old code

* add asterix to required fields

* improvements and comments

* change styles

* highlight sections with errors

* refactoring field method name

* fix lable color

* fix ts

* preliminary tests

* better complex field labels

* improve tests

* remove outputs for write methods

* rollback review value
2024-02-26 19:29:08 +04:00
tom goriunovandGitHub 3e451f7842 Contract interaction: nested tuple values are not parsed properly (#1526)
contract interaction: nested tuple values are not parsed properly

Fixes #1512
2024-01-30 08:14:27 +04:00
tom e0e43b0ae3 update address and bytes validation 2023-12-18 10:49:21 +04:00
tom d1ff543a4e transform fields into args 2023-12-13 15:16:46 +04:00
tom 72e6602c56 array fields, first iteration 2023-12-08 13:43:58 +04:00
tom 5f0f26779f bytes validation 2023-12-08 09:11:52 +04:00
tom 994847c37d bool validation 2023-12-08 08:37:32 +04:00
tom 06f1f6d5ac int validation 2023-12-07 16:11:04 +04:00
isstuev 8b8d404b4a bigint bug fix 2023-11-27 11:55:41 +01:00
tom goriunovandGitHub a1191cbe0b Overloaded method with different number of arguments can't be invoked (#1332)
Fixes #1327
2023-11-08 10:12:04 -03:00
tom f688dbac86 hotfix: filter out unmatched contract method signatures 2023-07-19 12:26:55 -04:00
tom 9270d18ae4 fix getNativeCoinValue util 2023-06-08 08:49:11 -04:00
tom 6d8c196635 fix write contract 2023-05-30 17:12:34 -03:00
tom 6810e12737 parse nested arrays from user input 2023-04-04 14:21:41 -03:00
tom 6e0926bddf more strict condition 2023-03-24 11:11:36 -03:00
tom 1a5c466f1f tx fixes 2023-01-12 17:46:11 -06:00
tom 20d54ef43d fallback and receive methods; array as arg 2023-01-11 12:09:15 -06:00