Documentation ¶
Index ¶
- func Erc20AccountBalanceSlotIdx(client *client.Client, balanceOfSlotIdx *big.Int, addr common.Address) common.Hash
- func FindErc20BalanceOfSlotIdx(client *client.Client, contractAddress common.Address) (*big.Int, error)
- func SetStorageAt(client *client.Client, contractAddress common.Address, idx, data common.Hash) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Erc20AccountBalanceSlotIdx ¶
func Erc20AccountBalanceSlotIdx(client *client.Client, balanceOfSlotIdx *big.Int, addr common.Address) common.Hash
Get slot for account balance when know slot index of the `balanceOf` map (map address => uint256)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.