• 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
..
deposit-erc20.ts Loading commit data...
deposit-eth.ts Loading commit data...
index.ts Loading commit data...