Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ The following is a list of contracts that are deployed by this script.
│ marketplace-v2 │ BatchPayableHelperV2 │ 0x6166c1952c54dEd6b070B4616797E61b6c48A117 │
│ marketplace-v2 │ MarketFactoryV2 │ 0xBDC76d15eA28beB6AF2Cc69b4EFBb4Aa4FB77689 │
│ marketplace-v2 │ MarketV2 │ 0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712 │
│ multicall3 │ Multicall3 │ 0xae96419a81516f063744206d4b5E36f3168280f8 │
│ niftyswap │ Exchange20Wrapper │ 0x2c944F28965F9A2cd5E69bA7e7520CbbD928258a │
│ niftyswap │ Factory20 │ 0x9196b852437D9Ed92d95715dCbdA4533ffC479E0 │
│ p256-verifier │ SoladyP256Verifier │ 0x000000000000D01eA45F9eFD5c54f037Fa57Ea1a │
Expand Down Expand Up @@ -240,6 +241,9 @@ The following is a list of contracts that are deployed by this script.
│ trails-rc-2 │ TrailsIntentEntrypoint │ 0x9470D883bac170116d397Db3dA71B2e57d567583 │
│ trails-rc-2 │ TrailsRouter │ 0xc4415c5CabD726bA06042af752a528B3dbc263F7 │
│ trails-rc-2 │ TrailsRouterShim │ 0x859E606022aE8894342c00D297A4c4332aE53AbB │
│ trails-rc-3 │ TrailsIntentEntrypoint │ 0x8f64eEB1f4680B9ed1F9d6A6Eee7CCf36258C93D │
│ trails-rc-3 │ TrailsRouter │ 0xF8A739B9F24E297a98b7aba7A9cdFDBD457F6fF8 │
│ trails-rc-3 │ TrailsRouterShim │ 0x1306aF05bA556839885B9B8c758f1d2F33d3571E │
│ trails-token-sweeper │ TrailsMulticall3Router │ 0xFF8f46538c39dCA637fCE9a804b2B59B517A9698 │
│ trails-token-sweeper │ TrailsTokenSweeper │ 0xEbDd59B8cE1993d38e4E081E0d80662BB169d3db │
│ value-forwarder │ ValueForwarder │ 0xABAAd93EeE2a569cF0632f39B10A9f5D734777ca │
Expand Down
1 change: 1 addition & 0 deletions jobs/predeploy/build-info/multicall3.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions jobs/predeploy/multicall3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "multicall3"
version: "1"
description: "Deploy Multicall3 via Singleton Factory (ERC-2470)"
depends_on: ["era-evm-predeploy-erc2470"]

actions:
- name: "multicall3"
template: "erc-2470"
arguments:
salt: "0x416775737831323131206d616465204352454154453326342678030003000000"
creationCode: "{{Contract(./build-info/multicall3.json:Multicall3).creationCode}}"
output: true

- name: "verify-multicall3"
type: "verify-contract"
depends_on: ["multicall3"]
arguments:
address: "{{multicall3.address}}"
contract: "{{Contract(./build-info/multicall3.json:Multicall3)}}"
output: false
1 change: 1 addition & 0 deletions jobs/trails/build-info/rc-3/all-contracts.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions jobs/trails/rc-1.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "trails-rc-1"
version: "rc-1"
description: "Deploy Trails contracts (rc 1)"
depends_on: ["multicall3"]
skip_networks: [19011, 40875]

actions:
Expand Down
1 change: 1 addition & 0 deletions jobs/trails/rc-2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "trails-rc-2"
version: "rc-2"
description: "Deploy Trails contracts (rc 2)"
depends_on: ["multicall3"]
skip_networks: [19011, 40875]

actions:
Expand Down
71 changes: 71 additions & 0 deletions jobs/trails/rc-3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: "trails-rc-3"
version: "rc-3"
description: "Deploy Trails contracts (rc 3)"
depends_on: ["multicall3"]
skip_networks: [19011, 40875]

actions:
- name: "trails-router"
template: "erc-2470"
arguments:
salt: "{{salt-zero}}"
creationCode:
type: "constructor-encode"
arguments:
creationCode: "{{Contract(./build-info/rc-3/all-contracts.json:TrailsRouter).creationCode}}"
types: ["address"]
values: ["{{multicall3.multicall3.address}}"]
output: true

- name: "verify-trails-router"
type: "verify-contract"
depends_on: ["trails-router"]
arguments:
address: "{{trails-router.address}}"
contract: "{{Contract(./build-info/rc-3/all-contracts.json:TrailsRouter)}}"
constructorArguments:
type: "constructor-encode"
arguments:
types: ["address"]
values: ["{{multicall3.multicall3.address}}"]
output: false

- name: "trails-router-shim"
template: "erc-2470"
arguments:
salt: "{{salt-zero}}"
creationCode:
type: "constructor-encode"
arguments:
creationCode: "{{Contract(./build-info/rc-3/all-contracts.json:TrailsRouterShim).creationCode}}"
types: ["address"]
values: ["{{trails-router.address}}"]
output: true

- name: "verify-trails-router-shim"
type: "verify-contract"
depends_on: ["trails-router-shim"]
arguments:
address: "{{trails-router-shim.address}}"
contract: "{{Contract(./build-info/rc-3/all-contracts.json:TrailsRouterShim)}}"
constructorArguments:
type: "constructor-encode"
arguments:
types: ["address"]
values: ["{{trails-router.address}}"]
output: false

- name: "trails-intent-entrypoint"
template: "erc-2470"
arguments:
salt: "{{salt-zero}}"
creationCode: "{{Contract(./build-info/rc-3/all-contracts.json:TrailsIntentEntrypoint).creationCode}}"
output: true

- name: "verify-trails-intent-entrypoint"
type: "verify-contract"
depends_on: ["trails-intent-entrypoint"]
arguments:
address: "{{trails-intent-entrypoint.address}}"
contract: "{{Contract(./build-info/rc-3/all-contracts.json:TrailsIntentEntrypoint)}}"
output: false
Loading