• Mark Tyneway's avatar
    contracts-bedrock: fix `OptimismMintableERC20Created` (#3104) · 76c8ee2d
    Mark Tyneway authored
    * contracts-bedrock: fix `OptimismMintableERC20Created`
    
    The names of the event args were backwards from what they
    were supposed to be. I noticed this while writing integration
    tests for the sdk.
    
    The event is used like this:
    
    ```solidity
    emit OptimismMintableERC20Created(_remoteToken, address(localToken), msg.sender);
    ```
    
    The event was updated to look like this:
    
    ```solidity
    event OptimismMintableERC20Created(
        address indexed remoteToken,
        address indexed localToken,
        address deployer
    );
    ```
    
    The `remoteToken` is first and the `localToken` is second.
    
    * ctb: Avoid extra casting from contract to address
    
    * chore: Regen bindings and snapshot
    
    * chore: Update bindings
    Co-authored-by: default avatarMaurelian <maurelian@protonmail.ch>
    Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
    76c8ee2d
Name
Last commit
Last update
..
src Loading commit data...
tasks Loading commit data...
test Loading commit data...
.depcheckrc Loading commit data...
.eslintrc.js Loading commit data...
.gitignore Loading commit data...
.lintstagedrc.yml Loading commit data...
.prettierrc.js Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
hardhat.config.ts Loading commit data...
package.json Loading commit data...
tsconfig.json Loading commit data...