From d434bc6a3395fe452d63e55d00bc63bc2e1ee19b Mon Sep 17 00:00:00 2001 From: Luisfc68 Date: Tue, 10 Dec 2024 16:03:12 -0300 Subject: [PATCH] chore: add testnet deploy info --- .openzeppelin/unknown-31.json | 368 ++++++++++++++++++ build/contracts/Address.json | 4 +- build/contracts/AddressUpgradeable.json | 4 +- build/contracts/Bridge.json | 4 +- build/contracts/BridgeMock.json | 4 +- build/contracts/BtcUtils.json | 13 +- build/contracts/Context.json | 4 +- build/contracts/ContextUpgradeable.json | 4 +- build/contracts/ERC1967Proxy.json | 4 +- build/contracts/ERC1967Upgrade.json | 4 +- build/contracts/IBeacon.json | 4 +- build/contracts/IERC1822Proxiable.json | 4 +- build/contracts/IERC1967.json | 4 +- .../ITransparentUpgradeableProxy.json | 4 +- build/contracts/Initializable.json | 4 +- build/contracts/LiquidityBridgeContract.json | 13 +- .../LiquidityBridgeContractAdmin.json | 4 +- .../LiquidityBridgeContractProxy.json | 4 +- .../contracts/LiquidityBridgeContractV2.json | 14 +- build/contracts/Migrations.json | 4 +- build/contracts/Mock.json | 4 +- build/contracts/OpCodes.json | 4 +- build/contracts/Ownable.json | 4 +- build/contracts/OwnableUpgradeable.json | 4 +- build/contracts/Proxy.json | 4 +- build/contracts/ProxyAdmin.json | 4 +- build/contracts/Quotes.json | 4 +- build/contracts/QuotesV2.json | 4 +- .../contracts/ReentrancyGuardUpgradeable.json | 4 +- build/contracts/SignatureValidator.json | 4 +- build/contracts/SignatureValidatorMock.json | 4 +- build/contracts/StorageSlot.json | 4 +- .../TransparentUpgradeableProxy.json | 4 +- build/contracts/WalletMock.json | 4 +- config.json | 2 +- 35 files changed, 456 insertions(+), 74 deletions(-) diff --git a/.openzeppelin/unknown-31.json b/.openzeppelin/unknown-31.json index 54cfdff..13991ca 100644 --- a/.openzeppelin/unknown-31.json +++ b/.openzeppelin/unknown-31.json @@ -10593,6 +10593,374 @@ }, "namespaces": {} } + }, + "bde7cb67f7cf601ebc572d873418a0dd46e6d3e96af3b948c97676d08757f490": { + "address": "0xB4Acf12cA5D44E6eedE70c726faBCA5353E5A98d", + "txHash": "0x2ef5f8979816bc7ee55469a9fdb49f5fa38a3db23e333c821eb55f366092343d", + "layout": { + "solcVersion": "0.8.18", + "storage": [ + { + "contract": "Initializable", + "label": "_initialized", + "type": "t_uint8", + "src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "contract": "Initializable", + "label": "_initializing", + "type": "t_bool", + "src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "contract": "ContextUpgradeable", + "label": "__gap", + "type": "t_array(t_uint256)50_storage", + "src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "contract": "OwnableUpgradeable", + "label": "_owner", + "type": "t_address", + "src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "contract": "OwnableUpgradeable", + "label": "__gap", + "type": "t_array(t_uint256)49_storage", + "src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "contract": "ReentrancyGuardUpgradeable", + "label": "_status", + "type": "t_uint256", + "src": "../@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:38" + }, + { + "contract": "ReentrancyGuardUpgradeable", + "label": "__gap", + "type": "t_array(t_uint256)49_storage", + "src": "../@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:88" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "bridge", + "type": "t_contract(Bridge)4173", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:93" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "balances", + "type": "t_mapping(t_address,t_uint256)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:94" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "collateral", + "type": "t_mapping(t_address,t_uint256)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:95" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "pegoutCollateral", + "type": "t_mapping(t_address,t_uint256)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:96" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "liquidityProviders", + "type": "t_mapping(t_uint256,t_struct(LiquidityProvider)8026_storage)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:97" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "callRegistry", + "type": "t_mapping(t_bytes32,t_struct(Registry)8008_storage)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:98" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "resignationBlockNum", + "type": "t_mapping(t_address,t_uint256)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:99" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "minCollateral", + "type": "t_uint256", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:101" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "minPegIn", + "type": "t_uint256", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:102" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "rewardP", + "type": "t_uint32", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:104" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "resignDelayInBlocks", + "type": "t_uint32", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:105" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "dust", + "type": "t_uint256", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:106" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "providerId", + "type": "t_uint256", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:107" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "btcBlockTime", + "type": "t_uint256", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:109" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "mainnet", + "type": "t_bool", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:110" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "processedQuotes", + "type": "t_mapping(t_bytes32,t_uint8)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:112" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "registeredPegoutQuotes", + "type": "t_mapping(t_bytes32,t_struct(PegOutQuote)11272_storage)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:113" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "pegoutRegistry", + "type": "t_mapping(t_bytes32,t_struct(PegoutRecord)8013_storage)", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:114" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "productFeePercentage", + "type": "t_uint256", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:116" + }, + { + "contract": "LiquidityBridgeContractV2", + "label": "daoFeeCollectorAddress", + "type": "t_address", + "src": "../project:/contracts/LiquidityBridgeContractV2.sol:117" + } + ], + "types": { + "t_contract(Bridge)4173": { + "label": "contract Bridge" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)" + }, + "t_address": { + "label": "address" + }, + "t_uint256": { + "label": "uint256" + }, + "t_mapping(t_uint256,t_struct(LiquidityProvider)8026_storage)": { + "label": "mapping(uint256 => struct LiquidityBridgeContractV2.LiquidityProvider)" + }, + "t_struct(LiquidityProvider)8026_storage": { + "label": "struct LiquidityBridgeContractV2.LiquidityProvider", + "members": [ + { + "label": "id", + "type": "t_uint256" + }, + { + "label": "provider", + "type": "t_address" + }, + { + "label": "name", + "type": "t_string_storage" + }, + { + "label": "apiBaseUrl", + "type": "t_string_storage" + }, + { + "label": "status", + "type": "t_bool" + }, + { + "label": "providerType", + "type": "t_string_storage" + } + ] + }, + "t_string_storage": { + "label": "string" + }, + "t_bool": { + "label": "bool" + }, + "t_mapping(t_bytes32,t_struct(Registry)8008_storage)": { + "label": "mapping(bytes32 => struct LiquidityBridgeContractV2.Registry)" + }, + "t_bytes32": { + "label": "bytes32" + }, + "t_struct(Registry)8008_storage": { + "label": "struct LiquidityBridgeContractV2.Registry", + "members": [ + { + "label": "timestamp", + "type": "t_uint32" + }, + { + "label": "success", + "type": "t_bool" + } + ] + }, + "t_uint32": { + "label": "uint32" + }, + "t_mapping(t_bytes32,t_uint8)": { + "label": "mapping(bytes32 => uint8)" + }, + "t_uint8": { + "label": "uint8" + }, + "t_mapping(t_bytes32,t_struct(PegOutQuote)11272_storage)": { + "label": "mapping(bytes32 => struct QuotesV2.PegOutQuote)" + }, + "t_struct(PegOutQuote)11272_storage": { + "label": "struct QuotesV2.PegOutQuote", + "members": [ + { + "label": "lbcAddress", + "type": "t_address" + }, + { + "label": "lpRskAddress", + "type": "t_address" + }, + { + "label": "btcRefundAddress", + "type": "t_bytes_storage" + }, + { + "label": "rskRefundAddress", + "type": "t_address" + }, + { + "label": "lpBtcAddress", + "type": "t_bytes_storage" + }, + { + "label": "callFee", + "type": "t_uint256" + }, + { + "label": "penaltyFee", + "type": "t_uint256" + }, + { + "label": "nonce", + "type": "t_int64" + }, + { + "label": "deposityAddress", + "type": "t_bytes_storage" + }, + { + "label": "value", + "type": "t_uint256" + }, + { + "label": "agreementTimestamp", + "type": "t_uint32" + }, + { + "label": "depositDateLimit", + "type": "t_uint32" + }, + { + "label": "depositConfirmations", + "type": "t_uint16" + }, + { + "label": "transferConfirmations", + "type": "t_uint16" + }, + { + "label": "transferTime", + "type": "t_uint32" + }, + { + "label": "expireDate", + "type": "t_uint32" + }, + { + "label": "expireBlock", + "type": "t_uint32" + }, + { + "label": "productFeeAmount", + "type": "t_uint256" + }, + { + "label": "gasFee", + "type": "t_uint256" + } + ] + }, + "t_bytes_storage": { + "label": "bytes" + }, + "t_int64": { + "label": "int64" + }, + "t_uint16": { + "label": "uint16" + }, + "t_mapping(t_bytes32,t_struct(PegoutRecord)8013_storage)": { + "label": "mapping(bytes32 => struct LiquidityBridgeContractV2.PegoutRecord)" + }, + "t_struct(PegoutRecord)8013_storage": { + "label": "struct LiquidityBridgeContractV2.PegoutRecord", + "members": [ + { + "label": "depositTimestamp", + "type": "t_uint256" + }, + { + "label": "completed", + "type": "t_bool" + } + ] + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]" + } + }, + "namespaces": {} + } } } } diff --git a/build/contracts/Address.json b/build/contracts/Address.json index 1f2963b..6851cba 100644 --- a/build/contracts/Address.json +++ b/build/contracts/Address.json @@ -4371,7 +4371,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.105Z", + "updatedAt": "2024-12-10T18:52:58.862Z", "devdoc": { "details": "Collection of functions related to the address type", "kind": "dev", @@ -4383,4 +4383,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/AddressUpgradeable.json b/build/contracts/AddressUpgradeable.json index 9946269..d906b54 100644 --- a/build/contracts/AddressUpgradeable.json +++ b/build/contracts/AddressUpgradeable.json @@ -4371,7 +4371,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.094Z", + "updatedAt": "2024-12-10T18:52:58.843Z", "devdoc": { "details": "Collection of functions related to the address type", "kind": "dev", @@ -4383,4 +4383,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Bridge.json b/build/contracts/Bridge.json index cddde70..a75a66b 100644 --- a/build/contracts/Bridge.json +++ b/build/contracts/Bridge.json @@ -5783,7 +5783,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.111Z", + "updatedAt": "2024-12-10T18:52:58.878Z", "devdoc": { "kind": "dev", "methods": {}, @@ -5794,4 +5794,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/BridgeMock.json b/build/contracts/BridgeMock.json index 790e8f2..43a7b91 100644 --- a/build/contracts/BridgeMock.json +++ b/build/contracts/BridgeMock.json @@ -23815,7 +23815,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:53.996Z", + "updatedAt": "2024-12-10T18:53:54.127Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -23827,4 +23827,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/BtcUtils.json b/build/contracts/BtcUtils.json index d210234..79908d2 100644 --- a/build/contracts/BtcUtils.json +++ b/build/contracts/BtcUtils.json @@ -31564,9 +31564,16 @@ "name": "solc", "version": "0.8.18+commit.87f61d96.Emscripten.clang" }, - "networks": {}, + "networks": { + "31": { + "events": {}, + "links": {}, + "address": "0x147F172c8a7434D10FDac6E2c8045116683f277B", + "transactionHash": "0x0f9c2577351e533bc1f055f92b06acf2e72964c5afa81f157f45cd94457fef44" + } + }, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:49:23.666Z", + "updatedAt": "2024-12-10T18:55:01.688Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -31773,4 +31780,4 @@ "notice": "This library contains functionality to make easier to work with Bitcoin transactions in Solidity.This library is based in this document: https://developer.bitcoin.org/reference/transactions.html#raw-transaction-format", "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Context.json b/build/contracts/Context.json index 74c17da..8eab2a5 100644 --- a/build/contracts/Context.json +++ b/build/contracts/Context.json @@ -340,7 +340,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.106Z", + "updatedAt": "2024-12-10T18:52:58.863Z", "devdoc": { "details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.", "kind": "dev", @@ -352,4 +352,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/ContextUpgradeable.json b/build/contracts/ContextUpgradeable.json index e04224c..0d939a1 100644 --- a/build/contracts/ContextUpgradeable.json +++ b/build/contracts/ContextUpgradeable.json @@ -555,7 +555,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.094Z", + "updatedAt": "2024-12-10T18:52:58.844Z", "devdoc": { "details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.", "events": { @@ -577,4 +577,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/ERC1967Proxy.json b/build/contracts/ERC1967Proxy.json index 9045d35..282bfaa 100644 --- a/build/contracts/ERC1967Proxy.json +++ b/build/contracts/ERC1967Proxy.json @@ -3719,7 +3719,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.097Z", + "updatedAt": "2024-12-10T18:52:58.845Z", "devdoc": { "details": "This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an implementation address that can be changed. This address is stored in storage in the location specified by https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the implementation behind the proxy.", "events": { @@ -3746,4 +3746,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/ERC1967Upgrade.json b/build/contracts/ERC1967Upgrade.json index b318c48..967ff27 100644 --- a/build/contracts/ERC1967Upgrade.json +++ b/build/contracts/ERC1967Upgrade.json @@ -3943,7 +3943,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.098Z", + "updatedAt": "2024-12-10T18:52:58.845Z", "devdoc": { "details": "This abstract contract provides getters and event emitting update functions for https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. _Available since v4.1._", "events": { @@ -3977,4 +3977,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/IBeacon.json b/build/contracts/IBeacon.json index 1b230fe..4d01c8f 100644 --- a/build/contracts/IBeacon.json +++ b/build/contracts/IBeacon.json @@ -144,7 +144,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.101Z", + "updatedAt": "2024-12-10T18:52:58.846Z", "devdoc": { "details": "This is the interface that {BeaconProxy} expects of its beacon.", "kind": "dev", @@ -160,4 +160,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/IERC1822Proxiable.json b/build/contracts/IERC1822Proxiable.json index 010cdc8..93fa097 100644 --- a/build/contracts/IERC1822Proxiable.json +++ b/build/contracts/IERC1822Proxiable.json @@ -143,7 +143,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.096Z", + "updatedAt": "2024-12-10T18:52:58.844Z", "devdoc": { "details": "ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified proxy whose upgrades are fully controlled by the current implementation.", "kind": "dev", @@ -159,4 +159,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/IERC1967.json b/build/contracts/IERC1967.json index 1cd42bc..45a5c33 100644 --- a/build/contracts/IERC1967.json +++ b/build/contracts/IERC1967.json @@ -296,7 +296,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.095Z", + "updatedAt": "2024-12-10T18:52:58.844Z", "devdoc": { "details": "ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. _Available since v4.8.3._", "events": { @@ -319,4 +319,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/ITransparentUpgradeableProxy.json b/build/contracts/ITransparentUpgradeableProxy.json index b698fad..2128d32 100644 --- a/build/contracts/ITransparentUpgradeableProxy.json +++ b/build/contracts/ITransparentUpgradeableProxy.json @@ -4124,7 +4124,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.102Z", + "updatedAt": "2024-12-10T18:52:58.848Z", "devdoc": { "details": "Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy} does not implement this interface directly, and some of its functions are implemented by an internal dispatch mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not include them in the ABI so this interface must be used to interact with it.", "events": { @@ -4147,4 +4147,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Initializable.json b/build/contracts/Initializable.json index 05579f9..ae445c2 100644 --- a/build/contracts/Initializable.json +++ b/build/contracts/Initializable.json @@ -2083,7 +2083,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.090Z", + "updatedAt": "2024-12-10T18:52:58.842Z", "devdoc": { "custom:oz-upgrades-unsafe-allow": "constructor constructor() { _disableInitializers(); } ``` ====", "details": "This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. The initialization functions use a version number. Once a version number is used, it is consumed and cannot be reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in case an upgrade adds a module that needs to be initialized. For example: [.hljs-theme-light.nopadding] ```solidity contract MyToken is ERC20Upgradeable { function initialize() initializer public { __ERC20_init(\"MyToken\", \"MTK\"); } } contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { function initializeV2() reinitializer(2) public { __ERC20Permit_init(\"MyToken\"); } } ``` TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. [CAUTION] ==== Avoid leaving a contract uninitialized. An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: [.hljs-theme-light.nopadding] ```", @@ -2110,4 +2110,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/LiquidityBridgeContract.json b/build/contracts/LiquidityBridgeContract.json index 9728a71..d6b6145 100644 --- a/build/contracts/LiquidityBridgeContract.json +++ b/build/contracts/LiquidityBridgeContract.json @@ -87808,9 +87808,16 @@ "name": "solc", "version": "0.8.18+commit.87f61d96.Emscripten.clang" }, - "networks": {}, + "networks": { + "31": { + "events": {}, + "links": { + "BtcUtils": "0x147F172c8a7434D10FDac6E2c8045116683f277B" + } + } + }, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:53.959Z", + "updatedAt": "2024-12-10T18:53:54.104Z", "networkType": "ethereum", "devdoc": { "events": { @@ -87939,4 +87946,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/LiquidityBridgeContractAdmin.json b/build/contracts/LiquidityBridgeContractAdmin.json index 3c397bd..fe78a02 100644 --- a/build/contracts/LiquidityBridgeContractAdmin.json +++ b/build/contracts/LiquidityBridgeContractAdmin.json @@ -3865,7 +3865,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.127Z", + "updatedAt": "2024-12-10T18:52:58.898Z", "devdoc": { "kind": "dev", "methods": { @@ -3901,4 +3901,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/LiquidityBridgeContractProxy.json b/build/contracts/LiquidityBridgeContractProxy.json index 69b33c9..08204a0 100644 --- a/build/contracts/LiquidityBridgeContractProxy.json +++ b/build/contracts/LiquidityBridgeContractProxy.json @@ -6889,7 +6889,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.128Z", + "updatedAt": "2024-12-10T18:52:58.899Z", "devdoc": { "events": { "AdminChanged(address,address)": { @@ -6911,4 +6911,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/LiquidityBridgeContractV2.json b/build/contracts/LiquidityBridgeContractV2.json index 8441867..c163642 100644 --- a/build/contracts/LiquidityBridgeContractV2.json +++ b/build/contracts/LiquidityBridgeContractV2.json @@ -86176,16 +86176,16 @@ "31": { "events": {}, "links": { - "SignatureValidator": "0xe90bAe63CB58f7da3915C8478aD1823BC8A3BEb5", - "QuotesV2": "0xbdD04fED2A63D79b3342c2d8cf5478b96a2A1EB5", - "BtcUtils": "0x16007b17F644CD4163A048853B9493B9E1887974" + "SignatureValidator": "0xA66B2938b6cC837821cF4Be27F7016951047E03D", + "QuotesV2": "0xC5173CAE944b9CB527B386A51c7353fEf0d4794c", + "BtcUtils": "0x147F172c8a7434D10FDac6E2c8045116683f277B" }, - "address": "0x18D8212bC00106b93070123f325021C723D503a3", - "transactionHash": "0x46d1b5ee38ff77d8a4a78acb9801cbb4dfb3de9ea13e66b5166a37e1e29aab45" + "address": "0xc2A630c053D12D63d32b025082f6Ba268db18300", + "transactionHash": "0xd56aa72d399d6427c35edc2763972feb81d9cc02bdd444a9cd62d5d8f36c288d" } }, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:49:23.645Z", + "updatedAt": "2024-12-10T18:55:01.658Z", "networkType": "ethereum", "devdoc": { "events": { @@ -86295,4 +86295,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json index aac53ee..ad4cbe5 100644 --- a/build/contracts/Migrations.json +++ b/build/contracts/Migrations.json @@ -1076,7 +1076,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:49:23.672Z", + "updatedAt": "2024-12-10T18:55:01.696Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -1088,4 +1088,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Mock.json b/build/contracts/Mock.json index 57ab75b..eed3def 100644 --- a/build/contracts/Mock.json +++ b/build/contracts/Mock.json @@ -2349,7 +2349,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:53.991Z", + "updatedAt": "2024-12-10T18:53:54.123Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -2361,4 +2361,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/OpCodes.json b/build/contracts/OpCodes.json index 5cca252..cfd7389 100644 --- a/build/contracts/OpCodes.json +++ b/build/contracts/OpCodes.json @@ -665,7 +665,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.111Z", + "updatedAt": "2024-12-10T18:52:58.877Z", "devdoc": { "kind": "dev", "methods": {}, @@ -676,4 +676,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json index f915c08..0852cfb 100644 --- a/build/contracts/Ownable.json +++ b/build/contracts/Ownable.json @@ -1394,7 +1394,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.095Z", + "updatedAt": "2024-12-10T18:52:58.844Z", "devdoc": { "details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.", "kind": "dev", @@ -1419,4 +1419,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/OwnableUpgradeable.json b/build/contracts/OwnableUpgradeable.json index e390418..4d3cb89 100644 --- a/build/contracts/OwnableUpgradeable.json +++ b/build/contracts/OwnableUpgradeable.json @@ -1612,7 +1612,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.084Z", + "updatedAt": "2024-12-10T18:52:58.833Z", "devdoc": { "details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.", "events": { @@ -1644,4 +1644,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Proxy.json b/build/contracts/Proxy.json index 2bd6118..f1f101a 100644 --- a/build/contracts/Proxy.json +++ b/build/contracts/Proxy.json @@ -813,7 +813,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.101Z", + "updatedAt": "2024-12-10T18:52:58.846Z", "devdoc": { "details": "This abstract contract provides a fallback function that delegates all calls to another contract using the EVM instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to be specified by overriding the virtual {_implementation} function. Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a different contract through the {_delegate} function. The success and return data of the delegated call will be returned back to the caller of the proxy.", "kind": "dev", @@ -825,4 +825,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/ProxyAdmin.json b/build/contracts/ProxyAdmin.json index 7490a55..0d089e2 100644 --- a/build/contracts/ProxyAdmin.json +++ b/build/contracts/ProxyAdmin.json @@ -5459,7 +5459,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.101Z", + "updatedAt": "2024-12-10T18:52:58.846Z", "devdoc": { "details": "This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.", "kind": "dev", @@ -5496,4 +5496,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/Quotes.json b/build/contracts/Quotes.json index 5c856c9..cc4d79b 100644 --- a/build/contracts/Quotes.json +++ b/build/contracts/Quotes.json @@ -15168,7 +15168,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:54.002Z", + "updatedAt": "2024-12-10T18:53:54.132Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -15180,4 +15180,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/QuotesV2.json b/build/contracts/QuotesV2.json index 06174ff..7f7318b 100644 --- a/build/contracts/QuotesV2.json +++ b/build/contracts/QuotesV2.json @@ -16120,7 +16120,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:49:23.545Z", + "updatedAt": "2024-12-10T18:55:01.638Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -16132,4 +16132,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/ReentrancyGuardUpgradeable.json b/build/contracts/ReentrancyGuardUpgradeable.json index 34fb56f..64cd339 100644 --- a/build/contracts/ReentrancyGuardUpgradeable.json +++ b/build/contracts/ReentrancyGuardUpgradeable.json @@ -956,7 +956,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.093Z", + "updatedAt": "2024-12-10T18:52:58.842Z", "devdoc": { "details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", "events": { @@ -978,4 +978,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/SignatureValidator.json b/build/contracts/SignatureValidator.json index 7a3a7ab..b3a68e4 100644 --- a/build/contracts/SignatureValidator.json +++ b/build/contracts/SignatureValidator.json @@ -2969,7 +2969,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:49:23.542Z", + "updatedAt": "2024-12-10T18:55:01.632Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -2993,4 +2993,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/SignatureValidatorMock.json b/build/contracts/SignatureValidatorMock.json index b33aaa8..70310b3 100644 --- a/build/contracts/SignatureValidatorMock.json +++ b/build/contracts/SignatureValidatorMock.json @@ -1727,7 +1727,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:54.005Z", + "updatedAt": "2024-12-10T18:53:54.135Z", "networkType": "ethereum", "devdoc": { "kind": "dev", @@ -1739,4 +1739,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/StorageSlot.json b/build/contracts/StorageSlot.json index b78574c..2c144a3 100644 --- a/build/contracts/StorageSlot.json +++ b/build/contracts/StorageSlot.json @@ -1513,7 +1513,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.106Z", + "updatedAt": "2024-12-10T18:52:58.863Z", "devdoc": { "details": "Library for reading and writing primitive types to specific storage slots. Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. This library helps with reading and writing to such slots without the need for inline assembly. The functions in this library return Slot structs that contain a `value` member that can be used to read or write. Example usage to set ERC1967 implementation slot: ```solidity contract ERC1967 { bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; function _getImplementation() internal view returns (address) { return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; } function _setImplementation(address newImplementation) internal { require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\"); StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } } ``` _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._ _Available since v4.9 for `string`, `bytes`._", "kind": "dev", @@ -1525,4 +1525,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/TransparentUpgradeableProxy.json b/build/contracts/TransparentUpgradeableProxy.json index 152bef6..32f0c88 100644 --- a/build/contracts/TransparentUpgradeableProxy.json +++ b/build/contracts/TransparentUpgradeableProxy.json @@ -10601,7 +10601,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.103Z", + "updatedAt": "2024-12-10T18:52:58.851Z", "devdoc": { "details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy. NOTE: The real interface of this proxy is that defined in `ITransparentUpgradeableProxy`. This contract does not inherit from that interface, and instead the admin functions are implicitly implemented using a custom dispatch mechanism in `_fallback`. Consequently, the compiler will not produce an ABI for this contract. This is necessary to fully implement transparency without decoding reverts caused by selector clashes between the proxy and the implementation. WARNING: It is not recommended to extend this contract to add additional external functions. If you do so, the compiler will not check that there are no selector conflicts, due to the note above. A selector clash between any new function and the functions declared in {ITransparentUpgradeableProxy} will be resolved in favor of the new one. This could render the admin operations inaccessible, which could prevent upgradeability. Transparency may also be compromised.", "events": { @@ -10628,4 +10628,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/build/contracts/WalletMock.json b/build/contracts/WalletMock.json index edcb607..3e5757c 100644 --- a/build/contracts/WalletMock.json +++ b/build/contracts/WalletMock.json @@ -782,7 +782,7 @@ }, "networks": {}, "schemaVersion": "3.4.13", - "updatedAt": "2024-12-02T15:47:38.156Z", + "updatedAt": "2024-12-10T18:52:58.916Z", "devdoc": { "kind": "dev", "methods": {}, @@ -793,4 +793,4 @@ "methods": {}, "version": 1 } -} +} \ No newline at end of file diff --git a/config.json b/config.json index 95bdabe..c3dd818 100644 --- a/config.json +++ b/config.json @@ -87,7 +87,7 @@ }, "BtcUtils": { "deployed": true, - "address": "0xfD7Db06dfB975f833C620e9BfBEBd57c7a00782C" + "address": "0x147F172c8a7434D10FDac6E2c8045116683f277B" }, "LiquidityBridgeContract": { "address": "0xc2A630c053D12D63d32b025082f6Ba268db18300",