• 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
..
bindings Loading commit data...
gen Loading commit data...
hardhat Loading commit data...
predeploys Loading commit data...
solc Loading commit data...
Makefile Loading commit data...
doc.go Loading commit data...
gen_bindings.sh Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...