Skip to content

Commit 0a06cfa

Browse files
authored
Merge pull request #242 from rsksmart/QA-Test
Qa test
2 parents a59dc2c + 4646443 commit 0a06cfa

36 files changed

Lines changed: 422 additions & 48 deletions

.openzeppelin/unknown-30.json

Lines changed: 368 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,374 @@
18061806
}
18071807
}
18081808
}
1809+
},
1810+
"9a9c9bb134ab500cc364d14dfbe60f35246839c0e09dabf1933d5dfc3a11c6c1": {
1811+
"address": "0x75aFC452B9fD5afFD8A2e09165d9eda9e9E2623b",
1812+
"txHash": "0x410242ef3aaaab05007f596ad55f3b3a9d23d4b61bad032a0133cd82a44e4ee1",
1813+
"layout": {
1814+
"solcVersion": "0.8.18",
1815+
"storage": [
1816+
{
1817+
"contract": "Initializable",
1818+
"label": "_initialized",
1819+
"type": "t_uint8",
1820+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
1821+
"retypedFrom": "bool"
1822+
},
1823+
{
1824+
"contract": "Initializable",
1825+
"label": "_initializing",
1826+
"type": "t_bool",
1827+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
1828+
},
1829+
{
1830+
"contract": "ContextUpgradeable",
1831+
"label": "__gap",
1832+
"type": "t_array(t_uint256)50_storage",
1833+
"src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
1834+
},
1835+
{
1836+
"contract": "OwnableUpgradeable",
1837+
"label": "_owner",
1838+
"type": "t_address",
1839+
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
1840+
},
1841+
{
1842+
"contract": "OwnableUpgradeable",
1843+
"label": "__gap",
1844+
"type": "t_array(t_uint256)49_storage",
1845+
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
1846+
},
1847+
{
1848+
"contract": "ReentrancyGuardUpgradeable",
1849+
"label": "_status",
1850+
"type": "t_uint256",
1851+
"src": "../@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:38"
1852+
},
1853+
{
1854+
"contract": "ReentrancyGuardUpgradeable",
1855+
"label": "__gap",
1856+
"type": "t_array(t_uint256)49_storage",
1857+
"src": "../@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:88"
1858+
},
1859+
{
1860+
"contract": "LiquidityBridgeContractV2",
1861+
"label": "bridge",
1862+
"type": "t_contract(Bridge)3652",
1863+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:92"
1864+
},
1865+
{
1866+
"contract": "LiquidityBridgeContractV2",
1867+
"label": "balances",
1868+
"type": "t_mapping(t_address,t_uint256)",
1869+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:93"
1870+
},
1871+
{
1872+
"contract": "LiquidityBridgeContractV2",
1873+
"label": "collateral",
1874+
"type": "t_mapping(t_address,t_uint256)",
1875+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:94"
1876+
},
1877+
{
1878+
"contract": "LiquidityBridgeContractV2",
1879+
"label": "pegoutCollateral",
1880+
"type": "t_mapping(t_address,t_uint256)",
1881+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:95"
1882+
},
1883+
{
1884+
"contract": "LiquidityBridgeContractV2",
1885+
"label": "liquidityProviders",
1886+
"type": "t_mapping(t_uint256,t_struct(LiquidityProvider)7500_storage)",
1887+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:96"
1888+
},
1889+
{
1890+
"contract": "LiquidityBridgeContractV2",
1891+
"label": "callRegistry",
1892+
"type": "t_mapping(t_bytes32,t_struct(Registry)7482_storage)",
1893+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:97"
1894+
},
1895+
{
1896+
"contract": "LiquidityBridgeContractV2",
1897+
"label": "resignationBlockNum",
1898+
"type": "t_mapping(t_address,t_uint256)",
1899+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:98"
1900+
},
1901+
{
1902+
"contract": "LiquidityBridgeContractV2",
1903+
"label": "minCollateral",
1904+
"type": "t_uint256",
1905+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:100"
1906+
},
1907+
{
1908+
"contract": "LiquidityBridgeContractV2",
1909+
"label": "minPegIn",
1910+
"type": "t_uint256",
1911+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:101"
1912+
},
1913+
{
1914+
"contract": "LiquidityBridgeContractV2",
1915+
"label": "rewardP",
1916+
"type": "t_uint32",
1917+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:103"
1918+
},
1919+
{
1920+
"contract": "LiquidityBridgeContractV2",
1921+
"label": "resignDelayInBlocks",
1922+
"type": "t_uint32",
1923+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:104"
1924+
},
1925+
{
1926+
"contract": "LiquidityBridgeContractV2",
1927+
"label": "dust",
1928+
"type": "t_uint256",
1929+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:105"
1930+
},
1931+
{
1932+
"contract": "LiquidityBridgeContractV2",
1933+
"label": "providerId",
1934+
"type": "t_uint256",
1935+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:106"
1936+
},
1937+
{
1938+
"contract": "LiquidityBridgeContractV2",
1939+
"label": "btcBlockTime",
1940+
"type": "t_uint256",
1941+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:108"
1942+
},
1943+
{
1944+
"contract": "LiquidityBridgeContractV2",
1945+
"label": "mainnet",
1946+
"type": "t_bool",
1947+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:109"
1948+
},
1949+
{
1950+
"contract": "LiquidityBridgeContractV2",
1951+
"label": "processedQuotes",
1952+
"type": "t_mapping(t_bytes32,t_uint8)",
1953+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:111"
1954+
},
1955+
{
1956+
"contract": "LiquidityBridgeContractV2",
1957+
"label": "registeredPegoutQuotes",
1958+
"type": "t_mapping(t_bytes32,t_struct(PegOutQuote)10638_storage)",
1959+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:112"
1960+
},
1961+
{
1962+
"contract": "LiquidityBridgeContractV2",
1963+
"label": "pegoutRegistry",
1964+
"type": "t_mapping(t_bytes32,t_struct(PegoutRecord)7487_storage)",
1965+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:113"
1966+
},
1967+
{
1968+
"contract": "LiquidityBridgeContractV2",
1969+
"label": "productFeePercentage",
1970+
"type": "t_uint256",
1971+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:115"
1972+
},
1973+
{
1974+
"contract": "LiquidityBridgeContractV2",
1975+
"label": "daoFeeCollectorAddress",
1976+
"type": "t_address",
1977+
"src": "../project:/contracts/LiquidityBridgeContractV2.sol:116"
1978+
}
1979+
],
1980+
"types": {
1981+
"t_contract(Bridge)3652": {
1982+
"label": "contract Bridge"
1983+
},
1984+
"t_mapping(t_address,t_uint256)": {
1985+
"label": "mapping(address => uint256)"
1986+
},
1987+
"t_address": {
1988+
"label": "address"
1989+
},
1990+
"t_uint256": {
1991+
"label": "uint256"
1992+
},
1993+
"t_mapping(t_uint256,t_struct(LiquidityProvider)7500_storage)": {
1994+
"label": "mapping(uint256 => struct LiquidityBridgeContractV2.LiquidityProvider)"
1995+
},
1996+
"t_struct(LiquidityProvider)7500_storage": {
1997+
"label": "struct LiquidityBridgeContractV2.LiquidityProvider",
1998+
"members": [
1999+
{
2000+
"label": "id",
2001+
"type": "t_uint256"
2002+
},
2003+
{
2004+
"label": "provider",
2005+
"type": "t_address"
2006+
},
2007+
{
2008+
"label": "name",
2009+
"type": "t_string_storage"
2010+
},
2011+
{
2012+
"label": "apiBaseUrl",
2013+
"type": "t_string_storage"
2014+
},
2015+
{
2016+
"label": "status",
2017+
"type": "t_bool"
2018+
},
2019+
{
2020+
"label": "providerType",
2021+
"type": "t_string_storage"
2022+
}
2023+
]
2024+
},
2025+
"t_string_storage": {
2026+
"label": "string"
2027+
},
2028+
"t_bool": {
2029+
"label": "bool"
2030+
},
2031+
"t_mapping(t_bytes32,t_struct(Registry)7482_storage)": {
2032+
"label": "mapping(bytes32 => struct LiquidityBridgeContractV2.Registry)"
2033+
},
2034+
"t_bytes32": {
2035+
"label": "bytes32"
2036+
},
2037+
"t_struct(Registry)7482_storage": {
2038+
"label": "struct LiquidityBridgeContractV2.Registry",
2039+
"members": [
2040+
{
2041+
"label": "timestamp",
2042+
"type": "t_uint32"
2043+
},
2044+
{
2045+
"label": "success",
2046+
"type": "t_bool"
2047+
}
2048+
]
2049+
},
2050+
"t_uint32": {
2051+
"label": "uint32"
2052+
},
2053+
"t_mapping(t_bytes32,t_uint8)": {
2054+
"label": "mapping(bytes32 => uint8)"
2055+
},
2056+
"t_uint8": {
2057+
"label": "uint8"
2058+
},
2059+
"t_mapping(t_bytes32,t_struct(PegOutQuote)10638_storage)": {
2060+
"label": "mapping(bytes32 => struct QuotesV2.PegOutQuote)"
2061+
},
2062+
"t_struct(PegOutQuote)10638_storage": {
2063+
"label": "struct QuotesV2.PegOutQuote",
2064+
"members": [
2065+
{
2066+
"label": "lbcAddress",
2067+
"type": "t_address"
2068+
},
2069+
{
2070+
"label": "lpRskAddress",
2071+
"type": "t_address"
2072+
},
2073+
{
2074+
"label": "btcRefundAddress",
2075+
"type": "t_bytes_storage"
2076+
},
2077+
{
2078+
"label": "rskRefundAddress",
2079+
"type": "t_address"
2080+
},
2081+
{
2082+
"label": "lpBtcAddress",
2083+
"type": "t_bytes_storage"
2084+
},
2085+
{
2086+
"label": "callFee",
2087+
"type": "t_uint256"
2088+
},
2089+
{
2090+
"label": "penaltyFee",
2091+
"type": "t_uint256"
2092+
},
2093+
{
2094+
"label": "nonce",
2095+
"type": "t_int64"
2096+
},
2097+
{
2098+
"label": "deposityAddress",
2099+
"type": "t_bytes_storage"
2100+
},
2101+
{
2102+
"label": "value",
2103+
"type": "t_uint256"
2104+
},
2105+
{
2106+
"label": "agreementTimestamp",
2107+
"type": "t_uint32"
2108+
},
2109+
{
2110+
"label": "depositDateLimit",
2111+
"type": "t_uint32"
2112+
},
2113+
{
2114+
"label": "depositConfirmations",
2115+
"type": "t_uint16"
2116+
},
2117+
{
2118+
"label": "transferConfirmations",
2119+
"type": "t_uint16"
2120+
},
2121+
{
2122+
"label": "transferTime",
2123+
"type": "t_uint32"
2124+
},
2125+
{
2126+
"label": "expireDate",
2127+
"type": "t_uint32"
2128+
},
2129+
{
2130+
"label": "expireBlock",
2131+
"type": "t_uint32"
2132+
},
2133+
{
2134+
"label": "productFeeAmount",
2135+
"type": "t_uint256"
2136+
},
2137+
{
2138+
"label": "gasFee",
2139+
"type": "t_uint256"
2140+
}
2141+
]
2142+
},
2143+
"t_bytes_storage": {
2144+
"label": "bytes"
2145+
},
2146+
"t_int64": {
2147+
"label": "int64"
2148+
},
2149+
"t_uint16": {
2150+
"label": "uint16"
2151+
},
2152+
"t_mapping(t_bytes32,t_struct(PegoutRecord)7487_storage)": {
2153+
"label": "mapping(bytes32 => struct LiquidityBridgeContractV2.PegoutRecord)"
2154+
},
2155+
"t_struct(PegoutRecord)7487_storage": {
2156+
"label": "struct LiquidityBridgeContractV2.PegoutRecord",
2157+
"members": [
2158+
{
2159+
"label": "depositTimestamp",
2160+
"type": "t_uint256"
2161+
},
2162+
{
2163+
"label": "completed",
2164+
"type": "t_bool"
2165+
}
2166+
]
2167+
},
2168+
"t_array(t_uint256)49_storage": {
2169+
"label": "uint256[49]"
2170+
},
2171+
"t_array(t_uint256)50_storage": {
2172+
"label": "uint256[50]"
2173+
}
2174+
},
2175+
"namespaces": {}
2176+
}
18092177
}
18102178
}
18112179
}

build/contracts/Address.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4371,7 +4371,7 @@
43714371
},
43724372
"networks": {},
43734373
"schemaVersion": "3.4.13",
4374-
"updatedAt": "2024-07-25T13:24:32.158Z",
4374+
"updatedAt": "2024-08-08T08:53:06.115Z",
43754375
"devdoc": {
43764376
"details": "Collection of functions related to the address type",
43774377
"kind": "dev",

build/contracts/AddressUpgradeable.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4371,7 +4371,7 @@
43714371
},
43724372
"networks": {},
43734373
"schemaVersion": "3.4.13",
4374-
"updatedAt": "2024-07-25T13:24:32.149Z",
4374+
"updatedAt": "2024-08-08T08:53:06.105Z",
43754375
"devdoc": {
43764376
"details": "Collection of functions related to the address type",
43774377
"kind": "dev",

0 commit comments

Comments
 (0)