{ "programType": "contract", "specVersion": "1", "encodingVersion": "1", "concreteTypes": [ { "type": "()", "concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d" }, { "type": "enum standards::src5::AccessError", "concreteTypeId": "3f702ea3351c9c1ece2b84048006c8034a24cbc2bad2e740d0412b4172951d3d", "metadataTypeId": 1 }, { "type": "enum standards::src5::State", "concreteTypeId": "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c", "metadataTypeId": 2 }, { "type": "enum std::option::Option", "concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8", "metadataTypeId": 4, "typeArguments": [ "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54" ] }, { "type": "enum sway_libs::upgradability::errors::SetProxyOwnerError", "concreteTypeId": "3c6e90ae504df6aad8b34a93ba77dc62623e00b777eecacfa034a8ac6e890c74", "metadataTypeId": 5 }, { "type": "struct std::contract_id::ContractId", "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54", "metadataTypeId": 8 }, { "type": "struct sway_libs::upgradability::events::ProxyOwnerSet", "concreteTypeId": "96dd838b44f99d8ccae2a7948137ab6256c48ca4abc6168abc880de07fba7247", "metadataTypeId": 9 }, { "type": "struct sway_libs::upgradability::events::ProxyTargetSet", "concreteTypeId": "1ddc0adda1270a016c08ffd614f29f599b4725407c8954c8b960bdf651a9a6c8", "metadataTypeId": 10 } ], "metadataTypes": [ { "type": "b256", "metadataTypeId": 0 }, { "type": "enum standards::src5::AccessError", "metadataTypeId": 1, "components": [ { "name": "NotOwner", "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d" } ] }, { "type": "enum standards::src5::State", "metadataTypeId": 2, "components": [ { "name": "Uninitialized", "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d" }, { "name": "Initialized", "typeId": 3 }, { "name": "Revoked", "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d" } ] }, { "type": "enum std::identity::Identity", "metadataTypeId": 3, "components": [ { "name": "Address", "typeId": 7 }, { "name": "ContractId", "typeId": 8 } ] }, { "type": "enum std::option::Option", "metadataTypeId": 4, "components": [ { "name": "None", "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d" }, { "name": "Some", "typeId": 6 } ], "typeParameters": [ 6 ] }, { "type": "enum sway_libs::upgradability::errors::SetProxyOwnerError", "metadataTypeId": 5, "components": [ { "name": "CannotUninitialize", "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d" } ] }, { "type": "generic T", "metadataTypeId": 6 }, { "type": "struct std::address::Address", "metadataTypeId": 7, "components": [ { "name": "bits", "typeId": 0 } ] }, { "type": "struct std::contract_id::ContractId", "metadataTypeId": 8, "components": [ { "name": "bits", "typeId": 0 } ] }, { "type": "struct sway_libs::upgradability::events::ProxyOwnerSet", "metadataTypeId": 9, "components": [ { "name": "new_proxy_owner", "typeId": 2 } ] }, { "type": "struct sway_libs::upgradability::events::ProxyTargetSet", "metadataTypeId": 10, "components": [ { "name": "new_target", "typeId": 8 } ] } ], "functions": [ { "inputs": [], "name": "proxy_target", "output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8", "attributes": [ { "name": "storage", "arguments": [ "read" ] } ] }, { "inputs": [ { "name": "new_target", "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54" } ], "name": "set_proxy_target", "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d", "attributes": [ { "name": "storage", "arguments": [ "read", "write" ] } ] }, { "inputs": [ { "name": "new_proxy_owner", "concreteTypeId": "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c" } ], "name": "set_proxy_owner", "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d", "attributes": [ { "name": "storage", "arguments": [ "read", "write" ] } ] }, { "inputs": [], "name": "proxy_owner", "output": "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c", "attributes": [ { "name": "storage", "arguments": [ "read" ] } ] } ], "loggedTypes": [ { "logId": "4571204900286667806", "concreteTypeId": "3f702ea3351c9c1ece2b84048006c8034a24cbc2bad2e740d0412b4172951d3d" }, { "logId": "2151606668983994881", "concreteTypeId": "1ddc0adda1270a016c08ffd614f29f599b4725407c8954c8b960bdf651a9a6c8" }, { "logId": "4354576968059844266", "concreteTypeId": "3c6e90ae504df6aad8b34a93ba77dc62623e00b777eecacfa034a8ac6e890c74" }, { "logId": "10870989709723147660", "concreteTypeId": "96dd838b44f99d8ccae2a7948137ab6256c48ca4abc6168abc880de07fba7247" } ], "messagesTypes": [], "configurables": [] }