Skip to content

Conversation

@chrismaree
Copy link
Member

  • Update hub for protocol fees
  • nit
  • Update test/chain-adapters/Arbitrum_Adapter.ts
  • Update test/chain-adapters/Arbitrum_Adapter.ts
  • nit
  • nit
  • WIP
  • WIP
  • nit
  • WIP
  • nit
  • nit
  • nit
  • feat: add L1 SpokePool

chrismaree and others added 17 commits February 14, 2022 10:51
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Co-authored-by: nicholaspai <9457025+nicholaspai@users.noreply.github.com>
Co-authored-by: nicholaspai <9457025+nicholaspai@users.noreply.github.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
Signed-off-by: chrismaree <christopher.maree@gmail.com>
@chrismaree chrismaree changed the title chrismaree/l1 spoke pool Ethereum Spoke Pool Feb 16, 2022
/**
* @notice Changes the L1 contract that can trigger admin functions on this contract.
* @dev This should be set to the address of the L1 contract that ultimately relays a cross-domain message, which
* is expected to be the Optimism_Adapter.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to change or remove these comments

Copy link
Contributor

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

* @dev Used on Ethereum L1 to facilitate L2->L1 transfers.
*/

contract Ethereum_SpokePool is SpokePoolInterface, SpokePool, Ownable {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed IRL, we might want to add a TODO to refactor the SpokePool inheritance setup s.t. we can have most of these methods implemented in the base contract and just have an _calledByAdmin() function that's implemented in each derived class, and have the base class call require(_calledByAdmin(), "not authorized");

Signed-off-by: chrismaree <christopher.maree@gmail.com>
@chrismaree chrismaree merged commit fe3b616 into master Feb 16, 2022
@chrismaree chrismaree deleted the chrismaree/l1-spoke-pool branch February 16, 2022 23:45
pxrl pushed a commit that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants