0g-chain/x/evmutil/keeper
Robert Pirtle 278f7854dc
feat(evmutil): add ERC20KavaWrappedNativeCoinContract (#1591)
* feat(evmutil): add ERC20KavaWrappedNativeCoinContract

* adds the contract ABI & bytecode for an Ownable erc20 with the following:
  * customizable decimals on deploy -> requires overriding decimals() view
  * mint() exposed for the contract owner which will be the evmutil module
  * burn() exposed for the contract owner which will be the evmutil module
* sets up keeper to deploy above token based on details from an
  AllowedNativeCoinERC20Token
* tests basic queries and permissions of deployed contract

* update changelog

* improve error messages & comments for erc20 deploy
2023-05-23 10:16:00 -07:00
..
bank_keeper_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
bank_keeper.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
conversion_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
conversion.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
erc20_test.go feat(evmutil): add ERC20KavaWrappedNativeCoinContract (#1591) 2023-05-23 10:16:00 -07:00
erc20.go feat(evmutil): add ERC20KavaWrappedNativeCoinContract (#1591) 2023-05-23 10:16:00 -07:00
evm_test.go feat: upgrade to Cosmos v0.46 (#1477) 2023-04-03 20:08:45 -04:00
evm.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
grpc_query_test.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
grpc_query.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
invariants_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
invariants.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
keeper_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
keeper.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
migrations.go feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) 2023-05-19 16:01:46 -07:00
msg_server_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
msg_server.go Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
params_test.go feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) 2023-05-19 16:01:46 -07:00
params.go feat(evmutil): add allow list for evm-convertible sdk denoms (#1590) 2023-05-19 16:01:46 -07:00