|
3 | 3 | * You should not edit it manually or your changes might be overwritten. |
4 | 4 | */ |
5 | 5 |
|
6 | | -const deployedContracts = {} as const; |
| 6 | +const deployedContracts = { |
| 7 | + devnet: { |
| 8 | + YourContract: { |
| 9 | + address: |
| 10 | + "0x6d94fef7ab42b1acb2683cdddbfc3fd17953d2d5d48576296c66dbe012d80c9", |
| 11 | + abi: [ |
| 12 | + { |
| 13 | + type: "impl", |
| 14 | + name: "YourContractImpl", |
| 15 | + interface_name: "contracts::YourContract::IYourContract", |
| 16 | + }, |
| 17 | + { |
| 18 | + type: "struct", |
| 19 | + name: "core::byte_array::ByteArray", |
| 20 | + members: [ |
| 21 | + { |
| 22 | + name: "data", |
| 23 | + type: "core::array::Array::<core::bytes_31::bytes31>", |
| 24 | + }, |
| 25 | + { |
| 26 | + name: "pending_word", |
| 27 | + type: "core::felt252", |
| 28 | + }, |
| 29 | + { |
| 30 | + name: "pending_word_len", |
| 31 | + type: "core::integer::u32", |
| 32 | + }, |
| 33 | + ], |
| 34 | + }, |
| 35 | + { |
| 36 | + type: "struct", |
| 37 | + name: "core::integer::u256", |
| 38 | + members: [ |
| 39 | + { |
| 40 | + name: "low", |
| 41 | + type: "core::integer::u128", |
| 42 | + }, |
| 43 | + { |
| 44 | + name: "high", |
| 45 | + type: "core::integer::u128", |
| 46 | + }, |
| 47 | + ], |
| 48 | + }, |
| 49 | + { |
| 50 | + type: "enum", |
| 51 | + name: "core::bool", |
| 52 | + variants: [ |
| 53 | + { |
| 54 | + name: "False", |
| 55 | + type: "()", |
| 56 | + }, |
| 57 | + { |
| 58 | + name: "True", |
| 59 | + type: "()", |
| 60 | + }, |
| 61 | + ], |
| 62 | + }, |
| 63 | + { |
| 64 | + type: "interface", |
| 65 | + name: "contracts::YourContract::IYourContract", |
| 66 | + items: [ |
| 67 | + { |
| 68 | + type: "function", |
| 69 | + name: "greeting", |
| 70 | + inputs: [], |
| 71 | + outputs: [ |
| 72 | + { |
| 73 | + type: "core::byte_array::ByteArray", |
| 74 | + }, |
| 75 | + ], |
| 76 | + state_mutability: "view", |
| 77 | + }, |
| 78 | + { |
| 79 | + type: "function", |
| 80 | + name: "set_greeting", |
| 81 | + inputs: [ |
| 82 | + { |
| 83 | + name: "new_greeting", |
| 84 | + type: "core::byte_array::ByteArray", |
| 85 | + }, |
| 86 | + { |
| 87 | + name: "amount_eth", |
| 88 | + type: "core::integer::u256", |
| 89 | + }, |
| 90 | + ], |
| 91 | + outputs: [], |
| 92 | + state_mutability: "external", |
| 93 | + }, |
| 94 | + { |
| 95 | + type: "function", |
| 96 | + name: "withdraw", |
| 97 | + inputs: [], |
| 98 | + outputs: [], |
| 99 | + state_mutability: "external", |
| 100 | + }, |
| 101 | + { |
| 102 | + type: "function", |
| 103 | + name: "premium", |
| 104 | + inputs: [], |
| 105 | + outputs: [ |
| 106 | + { |
| 107 | + type: "core::bool", |
| 108 | + }, |
| 109 | + ], |
| 110 | + state_mutability: "view", |
| 111 | + }, |
| 112 | + ], |
| 113 | + }, |
| 114 | + { |
| 115 | + type: "impl", |
| 116 | + name: "OwnableImpl", |
| 117 | + interface_name: "openzeppelin_access::ownable::interface::IOwnable", |
| 118 | + }, |
| 119 | + { |
| 120 | + type: "interface", |
| 121 | + name: "openzeppelin_access::ownable::interface::IOwnable", |
| 122 | + items: [ |
| 123 | + { |
| 124 | + type: "function", |
| 125 | + name: "owner", |
| 126 | + inputs: [], |
| 127 | + outputs: [ |
| 128 | + { |
| 129 | + type: "core::starknet::contract_address::ContractAddress", |
| 130 | + }, |
| 131 | + ], |
| 132 | + state_mutability: "view", |
| 133 | + }, |
| 134 | + { |
| 135 | + type: "function", |
| 136 | + name: "transfer_ownership", |
| 137 | + inputs: [ |
| 138 | + { |
| 139 | + name: "new_owner", |
| 140 | + type: "core::starknet::contract_address::ContractAddress", |
| 141 | + }, |
| 142 | + ], |
| 143 | + outputs: [], |
| 144 | + state_mutability: "external", |
| 145 | + }, |
| 146 | + { |
| 147 | + type: "function", |
| 148 | + name: "renounce_ownership", |
| 149 | + inputs: [], |
| 150 | + outputs: [], |
| 151 | + state_mutability: "external", |
| 152 | + }, |
| 153 | + ], |
| 154 | + }, |
| 155 | + { |
| 156 | + type: "constructor", |
| 157 | + name: "constructor", |
| 158 | + inputs: [ |
| 159 | + { |
| 160 | + name: "owner", |
| 161 | + type: "core::starknet::contract_address::ContractAddress", |
| 162 | + }, |
| 163 | + ], |
| 164 | + }, |
| 165 | + { |
| 166 | + type: "event", |
| 167 | + name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred", |
| 168 | + kind: "struct", |
| 169 | + members: [ |
| 170 | + { |
| 171 | + name: "previous_owner", |
| 172 | + type: "core::starknet::contract_address::ContractAddress", |
| 173 | + kind: "key", |
| 174 | + }, |
| 175 | + { |
| 176 | + name: "new_owner", |
| 177 | + type: "core::starknet::contract_address::ContractAddress", |
| 178 | + kind: "key", |
| 179 | + }, |
| 180 | + ], |
| 181 | + }, |
| 182 | + { |
| 183 | + type: "event", |
| 184 | + name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted", |
| 185 | + kind: "struct", |
| 186 | + members: [ |
| 187 | + { |
| 188 | + name: "previous_owner", |
| 189 | + type: "core::starknet::contract_address::ContractAddress", |
| 190 | + kind: "key", |
| 191 | + }, |
| 192 | + { |
| 193 | + name: "new_owner", |
| 194 | + type: "core::starknet::contract_address::ContractAddress", |
| 195 | + kind: "key", |
| 196 | + }, |
| 197 | + ], |
| 198 | + }, |
| 199 | + { |
| 200 | + type: "event", |
| 201 | + name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event", |
| 202 | + kind: "enum", |
| 203 | + variants: [ |
| 204 | + { |
| 205 | + name: "OwnershipTransferred", |
| 206 | + type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred", |
| 207 | + kind: "nested", |
| 208 | + }, |
| 209 | + { |
| 210 | + name: "OwnershipTransferStarted", |
| 211 | + type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted", |
| 212 | + kind: "nested", |
| 213 | + }, |
| 214 | + ], |
| 215 | + }, |
| 216 | + { |
| 217 | + type: "event", |
| 218 | + name: "contracts::YourContract::YourContract::GreetingChanged", |
| 219 | + kind: "struct", |
| 220 | + members: [ |
| 221 | + { |
| 222 | + name: "greeting_setter", |
| 223 | + type: "core::starknet::contract_address::ContractAddress", |
| 224 | + kind: "key", |
| 225 | + }, |
| 226 | + { |
| 227 | + name: "new_greeting", |
| 228 | + type: "core::byte_array::ByteArray", |
| 229 | + kind: "key", |
| 230 | + }, |
| 231 | + { |
| 232 | + name: "premium", |
| 233 | + type: "core::bool", |
| 234 | + kind: "data", |
| 235 | + }, |
| 236 | + { |
| 237 | + name: "value", |
| 238 | + type: "core::integer::u256", |
| 239 | + kind: "data", |
| 240 | + }, |
| 241 | + ], |
| 242 | + }, |
| 243 | + { |
| 244 | + type: "event", |
| 245 | + name: "contracts::YourContract::YourContract::Event", |
| 246 | + kind: "enum", |
| 247 | + variants: [ |
| 248 | + { |
| 249 | + name: "OwnableEvent", |
| 250 | + type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event", |
| 251 | + kind: "flat", |
| 252 | + }, |
| 253 | + { |
| 254 | + name: "GreetingChanged", |
| 255 | + type: "contracts::YourContract::YourContract::GreetingChanged", |
| 256 | + kind: "nested", |
| 257 | + }, |
| 258 | + ], |
| 259 | + }, |
| 260 | + ], |
| 261 | + classHash: |
| 262 | + "0x4e881db1286914119f2c900d19ab8fea1811614fdfa86d5f7539f7bc1c83e9c", |
| 263 | + }, |
| 264 | + }, |
| 265 | +} as const; |
7 | 266 |
|
8 | 267 | export default deployedContracts; |
0 commit comments