|
| 1 | +package consts |
| 2 | + |
| 3 | +import ( |
| 4 | + "strings" |
| 5 | + |
| 6 | + "github.com/ethereum/go-ethereum/accounts/abi" |
| 7 | +) |
| 8 | + |
| 9 | +var RhinestoneABI, _ = abi.JSON(strings.NewReader(` |
| 10 | +[ |
| 11 | + { |
| 12 | + "type":"function", |
| 13 | + "name":"fill", |
| 14 | + "inputs":[ |
| 15 | + { |
| 16 | + "name":"payload", |
| 17 | + "type":"tuple", |
| 18 | + "internalType":"struct IRhinestoneSpokePool.IntentFillPayload", |
| 19 | + "components":[ |
| 20 | + { |
| 21 | + "name":"segments", |
| 22 | + "type":"tuple[]", |
| 23 | + "internalType":"struct IRhinestoneSpokePool.SegmentData[]", |
| 24 | + "components":[ |
| 25 | + { |
| 26 | + "name":"tokenIn", |
| 27 | + "type":"uint256[2][]", |
| 28 | + "internalType":"uint256[2][]" |
| 29 | + }, |
| 30 | + { |
| 31 | + "name":"tokenOut", |
| 32 | + "type":"uint256[2][]", |
| 33 | + "internalType":"uint256[2][]" |
| 34 | + }, |
| 35 | + { |
| 36 | + "name":"originModule", |
| 37 | + "type":"address", |
| 38 | + "internalType":"address" |
| 39 | + }, |
| 40 | + { |
| 41 | + "name":"originWETHAddress", |
| 42 | + "type":"address", |
| 43 | + "internalType":"address" |
| 44 | + }, |
| 45 | + { |
| 46 | + "name":"originChainId", |
| 47 | + "type":"uint256", |
| 48 | + "internalType":"uint256" |
| 49 | + }, |
| 50 | + { |
| 51 | + "name":"compactNonce", |
| 52 | + "type":"uint256", |
| 53 | + "internalType":"uint256" |
| 54 | + } |
| 55 | + ] |
| 56 | + }, |
| 57 | + { |
| 58 | + "name":"message", |
| 59 | + "type":"bytes", |
| 60 | + "internalType":"bytes" |
| 61 | + }, |
| 62 | + { |
| 63 | + "name":"orchestratorSig", |
| 64 | + "type":"bytes", |
| 65 | + "internalType":"bytes" |
| 66 | + } |
| 67 | + ] |
| 68 | + }, |
| 69 | + { |
| 70 | + "name":"exclusiveRelayer", |
| 71 | + "type":"address", |
| 72 | + "internalType":"address" |
| 73 | + }, |
| 74 | + { |
| 75 | + "name":"repaymentAddresses", |
| 76 | + "type":"address[]", |
| 77 | + "internalType":"address[]" |
| 78 | + }, |
| 79 | + { |
| 80 | + "name":"repaymentChainIds", |
| 81 | + "type":"uint256[]", |
| 82 | + "internalType":"uint256[]" |
| 83 | + }, |
| 84 | + { |
| 85 | + "name":"accountCreation", |
| 86 | + "type":"tuple", |
| 87 | + "internalType":"AccountCreation ", |
| 88 | + "components":[ |
| 89 | + { |
| 90 | + "name":"account", |
| 91 | + "type":"address", |
| 92 | + "internalType":"address" |
| 93 | + }, |
| 94 | + { |
| 95 | + "name":"initCode", |
| 96 | + "type":"bytes", |
| 97 | + "internalType":"bytes" |
| 98 | + } |
| 99 | + ] |
| 100 | + } |
| 101 | + ], |
| 102 | + "outputs":[ |
| 103 | + |
| 104 | + ], |
| 105 | + "stateMutability":"nonpayable" |
| 106 | + }, |
| 107 | + { |
| 108 | + "type":"function", |
| 109 | + "name":"fill", |
| 110 | + "inputs":[ |
| 111 | + { |
| 112 | + "name":"payload", |
| 113 | + "type":"tuple", |
| 114 | + "internalType":"struct IRhinestoneSpokePool.IntentFillPayload", |
| 115 | + "components":[ |
| 116 | + { |
| 117 | + "name":"segments", |
| 118 | + "type":"tuple[]", |
| 119 | + "internalType":"struct IRhinestoneSpokePool.SegmentData[]", |
| 120 | + "components":[ |
| 121 | + { |
| 122 | + "name":"tokenIn", |
| 123 | + "type":"uint256[2][]", |
| 124 | + "internalType":"uint256[2][]" |
| 125 | + }, |
| 126 | + { |
| 127 | + "name":"tokenOut", |
| 128 | + "type":"uint256[2][]", |
| 129 | + "internalType":"uint256[2][]" |
| 130 | + }, |
| 131 | + { |
| 132 | + "name":"originModule", |
| 133 | + "type":"address", |
| 134 | + "internalType":"address" |
| 135 | + }, |
| 136 | + { |
| 137 | + "name":"originWETHAddress", |
| 138 | + "type":"address", |
| 139 | + "internalType":"address" |
| 140 | + }, |
| 141 | + { |
| 142 | + "name":"originChainId", |
| 143 | + "type":"uint256", |
| 144 | + "internalType":"uint256" |
| 145 | + }, |
| 146 | + { |
| 147 | + "name":"compactNonce", |
| 148 | + "type":"uint256", |
| 149 | + "internalType":"uint256" |
| 150 | + } |
| 151 | + ] |
| 152 | + }, |
| 153 | + { |
| 154 | + "name":"message", |
| 155 | + "type":"bytes", |
| 156 | + "internalType":"bytes" |
| 157 | + }, |
| 158 | + { |
| 159 | + "name":"orchestratorSig", |
| 160 | + "type":"bytes", |
| 161 | + "internalType":"bytes" |
| 162 | + } |
| 163 | + ] |
| 164 | + }, |
| 165 | + { |
| 166 | + "name":"exclusiveRelayer", |
| 167 | + "type":"address", |
| 168 | + "internalType":"address" |
| 169 | + }, |
| 170 | + { |
| 171 | + "name":"repaymentAddresses", |
| 172 | + "type":"address[]", |
| 173 | + "internalType":"address[]" |
| 174 | + }, |
| 175 | + { |
| 176 | + "name":"repaymentChainIds", |
| 177 | + "type":"uint256[]", |
| 178 | + "internalType":"uint256[]" |
| 179 | + } |
| 180 | + ], |
| 181 | + "outputs":[ |
| 182 | + |
| 183 | + ], |
| 184 | + "stateMutability":"nonpayable" |
| 185 | + } |
| 186 | +] |
| 187 | +`)) |
0 commit comments