Skip to content

Commit

Permalink
Merge pull request #181 from rsksmart/QA-Test
Browse files Browse the repository at this point in the history
Qa test
  • Loading branch information
gsoares85 authored Nov 17, 2023
2 parents 47e94fb + b7cb226 commit faf0942
Show file tree
Hide file tree
Showing 13 changed files with 1,201 additions and 62 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.openzeppelin
# regtest
.openzeppelin/unknown-33.json
# test network
.openzeppelin/unknown-1337.json
node_modules
build
.vscode
Expand Down
363 changes: 363 additions & 0 deletions .openzeppelin/unknown-30.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,363 @@
{
"manifestVersion": "3.2",
"admin": {
"address": "0x9dB9edEC34280D4DF6A80dDE6Cb3e80455657d3E",
"txHash": "0x27387d9c44a8b1595959bb2175df729aafdcdcb740b9f39d1252731907816d6e"
},
"proxies": [
{
"address": "0xAA9cAf1e3967600578727F975F283446A3Da6612",
"txHash": "0x23440ea6957d3189eb21ca6c64097a080558c60de026100c30d638592d61a7d7",
"kind": "transparent"
}
],
"impls": {
"090cc0f9eb3b9155b338abe4f05df8787599178cd45e740c17ae9fc7dbc0ccc5": {
"address": "0xeb1F7Be575e1632d5ea927FD46577F923D7Fcf19",
"txHash": "0xa4525754d1e75929d97651cc9bf05021501b42c52821fa4b88e0f02cfe0e3c10",
"layout": {
"solcVersion": "0.8.18",
"storage": [
{
"contract": "Initializable",
"label": "_initialized",
"type": "t_uint8",
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"contract": "Initializable",
"label": "_initializing",
"type": "t_bool",
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"contract": "ContextUpgradeable",
"label": "__gap",
"type": "t_array(t_uint256)50_storage",
"src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"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:80"
},
{
"contract": "LiquidityBridgeContract",
"label": "bridge",
"type": "t_contract(Bridge)2338",
"src": "../project:/contracts/LiquidityBridgeContract.sol:99"
},
{
"contract": "LiquidityBridgeContract",
"label": "balances",
"type": "t_mapping(t_address,t_uint256)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:100"
},
{
"contract": "LiquidityBridgeContract",
"label": "collateral",
"type": "t_mapping(t_address,t_uint256)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:101"
},
{
"contract": "LiquidityBridgeContract",
"label": "pegoutCollateral",
"type": "t_mapping(t_address,t_uint256)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:102"
},
{
"contract": "LiquidityBridgeContract",
"label": "liquidityProviders",
"type": "t_mapping(t_uint256,t_struct(LiquidityProvider)4102_storage)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:103"
},
{
"contract": "LiquidityBridgeContract",
"label": "callRegistry",
"type": "t_mapping(t_bytes32,t_struct(Registry)4084_storage)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:104"
},
{
"contract": "LiquidityBridgeContract",
"label": "resignationBlockNum",
"type": "t_mapping(t_address,t_uint256)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:105"
},
{
"contract": "LiquidityBridgeContract",
"label": "minCollateral",
"type": "t_uint256",
"src": "../project:/contracts/LiquidityBridgeContract.sol:107"
},
{
"contract": "LiquidityBridgeContract",
"label": "minPegIn",
"type": "t_uint256",
"src": "../project:/contracts/LiquidityBridgeContract.sol:108"
},
{
"contract": "LiquidityBridgeContract",
"label": "rewardP",
"type": "t_uint32",
"src": "../project:/contracts/LiquidityBridgeContract.sol:110"
},
{
"contract": "LiquidityBridgeContract",
"label": "resignDelayInBlocks",
"type": "t_uint32",
"src": "../project:/contracts/LiquidityBridgeContract.sol:111"
},
{
"contract": "LiquidityBridgeContract",
"label": "dust",
"type": "t_uint256",
"src": "../project:/contracts/LiquidityBridgeContract.sol:112"
},
{
"contract": "LiquidityBridgeContract",
"label": "providerId",
"type": "t_uint256",
"src": "../project:/contracts/LiquidityBridgeContract.sol:113"
},
{
"contract": "LiquidityBridgeContract",
"label": "btcBlockTime",
"type": "t_uint256",
"src": "../project:/contracts/LiquidityBridgeContract.sol:115"
},
{
"contract": "LiquidityBridgeContract",
"label": "mainnet",
"type": "t_bool",
"src": "../project:/contracts/LiquidityBridgeContract.sol:116"
},
{
"contract": "LiquidityBridgeContract",
"label": "processedQuotes",
"type": "t_mapping(t_bytes32,t_uint8)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:118"
},
{
"contract": "LiquidityBridgeContract",
"label": "registeredPegoutQuotes",
"type": "t_mapping(t_bytes32,t_struct(PegOutQuote)7056_storage)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:119"
},
{
"contract": "LiquidityBridgeContract",
"label": "pegoutRegistry",
"type": "t_mapping(t_bytes32,t_struct(PegoutRecord)4089_storage)",
"src": "../project:/contracts/LiquidityBridgeContract.sol:120"
}
],
"types": {
"t_contract(Bridge)2338": {
"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)4102_storage)": {
"label": "mapping(uint256 => struct LiquidityBridgeContract.LiquidityProvider)"
},
"t_struct(LiquidityProvider)4102_storage": {
"label": "struct LiquidityBridgeContract.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)4084_storage)": {
"label": "mapping(bytes32 => struct LiquidityBridgeContract.Registry)"
},
"t_bytes32": {
"label": "bytes32"
},
"t_struct(Registry)4084_storage": {
"label": "struct LiquidityBridgeContract.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)7056_storage)": {
"label": "mapping(bytes32 => struct Quotes.PegOutQuote)"
},
"t_struct(PegOutQuote)7056_storage": {
"label": "struct Quotes.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"
}
]
},
"t_bytes_storage": {
"label": "bytes"
},
"t_int64": {
"label": "int64"
},
"t_uint16": {
"label": "uint16"
},
"t_mapping(t_bytes32,t_struct(PegoutRecord)4089_storage)": {
"label": "mapping(bytes32 => struct LiquidityBridgeContract.PegoutRecord)"
},
"t_struct(PegoutRecord)4089_storage": {
"label": "struct LiquidityBridgeContract.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]"
}
}
}
}
}
}
Loading

0 comments on commit faf0942

Please sign in to comment.