owlprotocol / web3-redux

Web3 Redux Library
6 stars 1 forks source link

`AbiContractForm` #126

Closed leovigna closed 2 years ago

leovigna commented 2 years ago

Description

The ABI Contract Form is used to interact with a smart contract.

Components

Features

Examples

Tasks

netanelben commented 2 years ago

/cib

github-actions[bot] commented 2 years ago

Branch issue-126 created! Clone with: git fetch && git checkout --track origin/issue-126 Rebase develop branch changes with: git checkout issue-126 && git rebase develop

leovigna commented 2 years ago

https://etherscan.io/token/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48#writeProxyContract

leovigna commented 2 years ago

https://docs.soliditylang.org/en/latest/abi-spec.html

leovigna commented 2 years ago

https://docs.soliditylang.org/en/latest/abi-spec.html#json

leovigna commented 2 years ago

https://web3js.readthedocs.io/en/v1.7.3/web3-utils.html#ishexstrict https://web3js.readthedocs.io/en/v1.7.3/web3-utils.html#isaddress https://web3js.readthedocs.io/en/v1.7.3/web3-utils.html#tochecksumaddress

leovigna commented 2 years ago

Validate bytes length for fixed byte types.

leovigna commented 2 years ago

Use the web3-eth ABI Typescript types.

leovigna commented 2 years ago
import { AbiItem } from 'web3-utils';
leovigna commented 2 years ago
import { AbiItem } from '../../utils/web3-utils/index.js';