|
| 1 | +name: "trails-rc-5" |
| 2 | +version: "rc-5" |
| 3 | +description: "Deploy Trails contracts (rc 5)" |
| 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-5/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-5/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 | + # Intentionally using rc-4 to prevent new deployment |
| 41 | + creationCode: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsRouterShim).creationCode}}" |
| 42 | + types: ["address"] |
| 43 | + values: ["{{trails-router.address}}"] |
| 44 | + output: true |
| 45 | + |
| 46 | + - name: "verify-trails-router-shim" |
| 47 | + type: "verify-contract" |
| 48 | + depends_on: ["trails-router-shim"] |
| 49 | + arguments: |
| 50 | + address: "{{trails-router-shim.address}}" |
| 51 | + contract: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsRouterShim)}}" |
| 52 | + constructorArguments: |
| 53 | + type: "constructor-encode" |
| 54 | + arguments: |
| 55 | + types: ["address"] |
| 56 | + values: ["{{trails-router.address}}"] |
| 57 | + output: false |
| 58 | + |
| 59 | + - name: "trails-intent-entrypoint" |
| 60 | + template: "erc-2470" |
| 61 | + arguments: |
| 62 | + salt: "{{salt-zero}}" |
| 63 | + # Intentionally using rc-4 to prevent new deployment |
| 64 | + creationCode: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsIntentEntrypoint).creationCode}}" |
| 65 | + output: true |
| 66 | + |
| 67 | + - name: "verify-trails-intent-entrypoint" |
| 68 | + type: "verify-contract" |
| 69 | + depends_on: ["trails-intent-entrypoint"] |
| 70 | + arguments: |
| 71 | + address: "{{trails-intent-entrypoint.address}}" |
| 72 | + contract: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsIntentEntrypoint)}}" |
| 73 | + output: false |
| 74 | + |
| 75 | + - name: "trails-validator" |
| 76 | + template: "erc-2470" |
| 77 | + arguments: |
| 78 | + salt: "{{salt-zero}}" |
| 79 | + # Intentionally using rc-4 to prevent new deployment |
| 80 | + creationCode: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsValidator).creationCode}}" |
| 81 | + output: true |
| 82 | + |
| 83 | + - name: "verify-trails-validator" |
| 84 | + type: "verify-contract" |
| 85 | + depends_on: ["trails-validator"] |
| 86 | + arguments: |
| 87 | + address: "{{trails-validator.address}}" |
| 88 | + contract: "{{Contract(./build-info/rc-4/all-contracts.json:TrailsValidator)}}" |
| 89 | + output: false |
0 commit comments