Skip to content

Commit

Permalink
Deploy ChildPool and FxStateChildTunnel contracts into polygon stagin…
Browse files Browse the repository at this point in the history
…g network
  • Loading branch information
evercoinx committed Nov 23, 2024
1 parent a5f10f1 commit bba6e74
Show file tree
Hide file tree
Showing 2 changed files with 284 additions and 3 deletions.
280 changes: 280 additions & 0 deletions .openzeppelin/polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"address": "0x797Ea002716E9a91F764721bBf3C4F34548B87F8",
"txHash": "0xe7305912b7df5fe038015ed95862d8084080a55cbf67c1e1f21b5d0ce169ff78",
"kind": "transparent"
},
{
"address": "0x86182711ee76085444FD66E8a4d58A15f9b6EfAC",
"txHash": "0x9a6e0307cf9e2ee2a94b97ffcbaf241759347ae213bbd7a312acdf96d16d3dc9",
"kind": "transparent"
}
],
"impls": {
Expand Down Expand Up @@ -273,6 +278,281 @@
},
"namespaces": {}
}
},
"90e9acc63b9f699726932b072fafdb4f0936f0bc0434ae250c781d075c489eec": {
"address": "0x16D7D971Fe6D98E235E20Ef304f7f811429c6329",
"txHash": "0xb5c8c7a804cf4ac110a5f4aea4b01e6b91fadc66f7b49e39c112a189d9cb0e93",
"layout": {
"solcVersion": "0.8.7",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
},
{
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC165Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41"
},
{
"label": "_roles",
"offset": 0,
"slot": "101",
"type": "t_mapping(t_bytes32,t_struct(RoleData)23_storage)",
"contract": "AccessControlUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:57"
},
{
"label": "__gap",
"offset": 0,
"slot": "102",
"type": "t_array(t_uint256)49_storage",
"contract": "AccessControlUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:260"
},
{
"label": "_paused",
"offset": 0,
"slot": "151",
"type": "t_bool",
"contract": "PausableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29"
},
{
"label": "__gap",
"offset": 0,
"slot": "152",
"type": "t_array(t_uint256)49_storage",
"contract": "PausableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116"
},
{
"label": "fxStateChildTunnel",
"offset": 0,
"slot": "201",
"type": "t_address",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:26"
},
{
"label": "maticX",
"offset": 0,
"slot": "202",
"type": "t_address",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:27"
},
{
"label": "trustedForwarder",
"offset": 0,
"slot": "203",
"type": "t_address",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:28"
},
{
"label": "treasury",
"offset": 0,
"slot": "204",
"type": "t_address_payable",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:30"
},
{
"label": "instantPoolOwner",
"offset": 0,
"slot": "205",
"type": "t_address_payable",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:31"
},
{
"label": "instantPoolMatic",
"offset": 0,
"slot": "206",
"type": "t_uint256",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:32"
},
{
"label": "instantPoolMaticX",
"offset": 0,
"slot": "207",
"type": "t_uint256",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:33"
},
{
"label": "version",
"offset": 0,
"slot": "208",
"type": "t_string_storage",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:35"
},
{
"label": "instantWithdrawalFeeBps",
"offset": 0,
"slot": "209",
"type": "t_uint256",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:36"
},
{
"label": "instantWithdrawalFees",
"offset": 0,
"slot": "210",
"type": "t_uint256",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:37"
},
{
"label": "userMaticXSwapRequests",
"offset": 0,
"slot": "211",
"type": "t_mapping(t_address,t_array(t_struct(MaticXSwapRequest)9223_storage)dyn_storage)",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:39"
},
{
"label": "claimedMatic",
"offset": 0,
"slot": "212",
"type": "t_uint256",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:40"
},
{
"label": "maticXSwapLockPeriod",
"offset": 0,
"slot": "213",
"type": "t_uint256",
"contract": "ChildPool",
"src": "contracts/ChildPool.sol:41"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_address_payable": {
"label": "address payable",
"numberOfBytes": "20"
},
"t_array(t_struct(MaticXSwapRequest)9223_storage)dyn_storage": {
"label": "struct IChildPool.MaticXSwapRequest[]",
"numberOfBytes": "32"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_array(t_struct(MaticXSwapRequest)9223_storage)dyn_storage)": {
"label": "mapping(address => struct IChildPool.MaticXSwapRequest[])",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_bool)": {
"label": "mapping(address => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_struct(RoleData)23_storage)": {
"label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(MaticXSwapRequest)9223_storage": {
"label": "struct IChildPool.MaticXSwapRequest",
"members": [
{
"label": "amount",
"type": "t_uint256",
"offset": 0,
"slot": "0"
},
{
"label": "requestTime",
"type": "t_uint256",
"offset": 0,
"slot": "1"
},
{
"label": "withdrawalTime",
"type": "t_uint256",
"offset": 0,
"slot": "2"
}
],
"numberOfBytes": "96"
},
"t_struct(RoleData)23_storage": {
"label": "struct AccessControlUpgradeable.RoleData",
"members": [
{
"label": "members",
"type": "t_mapping(t_address,t_bool)",
"offset": 0,
"slot": "0"
},
{
"label": "adminRole",
"type": "t_bytes32",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
},
"namespaces": {}
}
}
}
}
7 changes: 4 additions & 3 deletions docs/Polygon-Mainnet-(Staging).md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@

### Child Pool

- Proxy address: [](https://polygonscan.com/address/)
- Implementation address: [](https://polygonscan.com/address/)
- Proxy address: [0x86182711ee76085444FD66E8a4d58A15f9b6EfAC](https://polygonscan.com/address/0x86182711ee76085444FD66E8a4d58A15f9b6EfAC)
- Implementation address: [0x16D7D971Fe6D98E235E20Ef304f7f811429c6329](https://polygonscan.com/address/0x16D7D971Fe6D98E235E20Ef304f7f811429c6329)
- Proxy admin address: [0x62FAfFA589a8a1a797E41079A86235Cf3Bb82A4D](https://polygonscan.com/address/0x62FAfFA589a8a1a797E41079A86235Cf3Bb82A4D)

### Fx State Child Tunnel

- Address: [](https://polygonscan.com/address/)
- Address: [0x976BdbC06B84349C003A4C7Afeb2bAbdfd689bAa](https://polygonscan.com/address/0x976BdbC06B84349C003A4C7Afeb2bAbdfd689bAa)

### Fx Child

Expand Down

0 comments on commit bba6e74

Please sign in to comment.