-
Notifications
You must be signed in to change notification settings - Fork 25
Conversation
…33-add-v2-registration-contract
…952-add-v2-complete-withdrawal-flow
…952-add-v2-complete-withdrawal-flow
…33-add-v2-registration-contract
…33-add-v2-registration-contract
…33-add-v2-registration-contract
OnEvent, | ||
} from "../common"; | ||
|
||
export interface RegistrationV2Interface extends utils.Interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please rename it to RegistrationV4 as the contract name deployed on-chain is now called RegistrationV4?
contracts/v4/Core.sol
Outdated
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.19; | ||
|
||
interface Core { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is outdated, can you please have a look at https://github.com/immutable/contracts/tree/main/contracts/bridge/x/v4
contracts/v4/Registration.sol
Outdated
|
||
import {Core} from "./Core.sol"; | ||
|
||
contract Registration { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is outdated, can you please have a look at https://github.com/immutable/contracts/tree/main/contracts/bridge/x/v4
event ImplementationActivationRescheduled(address indexed implementation, uint256 updatedActivationTime); | ||
|
||
function updateImplementationActivationTime(address implementation, bytes memory data, bool finalize) external; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
function isRegistered(uint256 starkKey) public view returns (bool) { | ||
return imx.getEthKey(starkKey) != address(0); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
overrides?: Overrides & { from?: string } | ||
): Promise<PopulatedTransaction>; | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
): RegistrationV4 { | ||
return new Contract(address, _abi, signerOrProvider) as RegistrationV4; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
Summary
Why the changes
Things worth calling out
Before merging
N/A
):