|
| 1 | +name: "trails-rc-4" |
| 2 | +version: "rc-4" |
| 3 | +description: "Deploy Trails contracts (rc 4)" |
| 4 | +depends_on: ["era-evm-predeploy-erc2470", "multicall3"] |
| 5 | +skip_networks: [19011, 40875] |
| 6 | + |
| 7 | +actions: |
| 8 | + - name: "trails-router" |
| 9 | + template: "erc-2470" |
| 10 | + arguments: |
| 11 | + salt: "{{salt-zero}}" |
| 12 | + creationCode: |
| 13 | + type: "constructor-encode" |
| 14 | + arguments: |
| 15 | + creationCode: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsRouter).creationCode}}" |
| 16 | + types: ["address"] |
| 17 | + values: ["{{multicall3.multicall3.address}}"] |
| 18 | + output: true |
| 19 | + |
| 20 | + - name: "verify-trails-router" |
| 21 | + type: "verify-contract" |
| 22 | + depends_on: ["trails-router"] |
| 23 | + arguments: |
| 24 | + address: "{{trails-router.address}}" |
| 25 | + contract: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsRouter)}}" |
| 26 | + constructorArguments: |
| 27 | + type: "constructor-encode" |
| 28 | + arguments: |
| 29 | + types: ["address"] |
| 30 | + values: ["{{multicall3.multicall3.address}}"] |
| 31 | + output: false |
| 32 | + |
| 33 | + - name: "trails-router-shim" |
| 34 | + template: "erc-2470" |
| 35 | + arguments: |
| 36 | + salt: "{{salt-zero}}" |
| 37 | + creationCode: |
| 38 | + type: "constructor-encode" |
| 39 | + arguments: |
| 40 | + creationCode: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsRouterShim).creationCode}}" |
| 41 | + types: ["address"] |
| 42 | + values: ["{{trails-router.address}}"] |
| 43 | + output: true |
| 44 | + |
| 45 | + - name: "verify-trails-router-shim" |
| 46 | + type: "verify-contract" |
| 47 | + depends_on: ["trails-router-shim"] |
| 48 | + arguments: |
| 49 | + address: "{{trails-router-shim.address}}" |
| 50 | + contract: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsRouterShim)}}" |
| 51 | + constructorArguments: |
| 52 | + type: "constructor-encode" |
| 53 | + arguments: |
| 54 | + types: ["address"] |
| 55 | + values: ["{{trails-router.address}}"] |
| 56 | + output: false |
| 57 | + |
| 58 | + - name: "trails-intent-entrypoint" |
| 59 | + template: "erc-2470" |
| 60 | + arguments: |
| 61 | + salt: "{{salt-zero}}" |
| 62 | + creationCode: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsIntentEntrypoint).creationCode}}" |
| 63 | + output: true |
| 64 | + |
| 65 | + - name: "verify-trails-intent-entrypoint" |
| 66 | + type: "verify-contract" |
| 67 | + depends_on: ["trails-intent-entrypoint"] |
| 68 | + arguments: |
| 69 | + address: "{{trails-intent-entrypoint.address}}" |
| 70 | + contract: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsIntentEntrypoint)}}" |
| 71 | + output: false |
0 commit comments