Skip to content

Commit

Permalink
Merge pull request #277 from rsksmart/pegout-fix-sync
Browse files Browse the repository at this point in the history
Pegout fix sync
  • Loading branch information
Luisfc68 authored Dec 5, 2024
2 parents 1d59632 + 65ee763 commit 5cb4899
Show file tree
Hide file tree
Showing 39 changed files with 13,224 additions and 12,173 deletions.
368 changes: 368 additions & 0 deletions .openzeppelin/unknown-30.json
Original file line number Diff line number Diff line change
Expand Up @@ -2174,6 +2174,374 @@
},
"namespaces": {}
}
},
"d592682d9d07472c23d489b2efedf9901f309257e9083ba3775f6188fab00c6b": {
"address": "0xd959dEf84e1247054942ED75CC77c390Df1fBE65",
"txHash": "0x2b1d8adfc359052e90bd2e89dd01a03ffd2e4cc0f55c5f94f907b4b45793eb7d",
"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)11202_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)11202_storage)": {
"label": "mapping(bytes32 => struct QuotesV2.PegOutQuote)"
},
"t_struct(PegOutQuote)11202_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": {}
}
}
}
}
Loading

0 comments on commit 5cb4899

Please sign in to comment.