Skip to content

Commit

Permalink
New PolygonWormholeGateway artifact
Browse files Browse the repository at this point in the history
The `PolygonWormholeGateway` implementation was upgraded recently. Here we add
the appropriate artifact that reflects that.
  • Loading branch information
lukasz-zimnoch committed Oct 23, 2023
1 parent bfaa50b commit 2fc28eb
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 15 deletions.
164 changes: 164 additions & 0 deletions cross-chain/polygon/.openzeppelin/polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,170 @@
}
}
}
},
"4eab818d90a79d503842492e9ce92e35a3b96c1835245a0d54c5b023197ec36a": {
"address": "0x04671C72Aab5AC02A03c1098314b1BB6B560c197",
"txHash": "0xbdc3017d335d0209565f182c4b7d29bd52babf6d67ea94c2f49a0087df7e3e45",
"layout": {
"solcVersion": "0.8.17",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "_owner",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "52",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "_status",
"offset": 0,
"slot": "101",
"type": "t_uint256",
"contract": "ReentrancyGuardUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:38"
},
{
"label": "__gap",
"offset": 0,
"slot": "102",
"type": "t_array(t_uint256)49_storage",
"contract": "ReentrancyGuardUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:80"
},
{
"label": "bridge",
"offset": 0,
"slot": "151",
"type": "t_contract(IWormholeTokenBridge)518",
"contract": "L2WormholeGateway",
"src": "@keep-network/tbtc-v2/contracts/l2/L2WormholeGateway.sol:122"
},
{
"label": "bridgeToken",
"offset": 0,
"slot": "152",
"type": "t_contract(IERC20Upgradeable)2208",
"contract": "L2WormholeGateway",
"src": "@keep-network/tbtc-v2/contracts/l2/L2WormholeGateway.sol:123"
},
{
"label": "tbtc",
"offset": 0,
"slot": "153",
"type": "t_contract(L2TBTC)443",
"contract": "L2WormholeGateway",
"src": "@keep-network/tbtc-v2/contracts/l2/L2WormholeGateway.sol:124"
},
{
"label": "gateways",
"offset": 0,
"slot": "154",
"type": "t_mapping(t_uint16,t_bytes32)",
"contract": "L2WormholeGateway",
"src": "@keep-network/tbtc-v2/contracts/l2/L2WormholeGateway.sol:136"
},
{
"label": "mintingLimit",
"offset": 0,
"slot": "155",
"type": "t_uint256",
"contract": "L2WormholeGateway",
"src": "@keep-network/tbtc-v2/contracts/l2/L2WormholeGateway.sol:147"
},
{
"label": "mintedAmount",
"offset": 0,
"slot": "156",
"type": "t_uint256",
"contract": "L2WormholeGateway",
"src": "@keep-network/tbtc-v2/contracts/l2/L2WormholeGateway.sol:151"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"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_contract(IERC20Upgradeable)2208": {
"label": "contract IERC20Upgradeable",
"numberOfBytes": "20"
},
"t_contract(IWormholeTokenBridge)518": {
"label": "contract IWormholeTokenBridge",
"numberOfBytes": "20"
},
"t_contract(L2TBTC)443": {
"label": "contract L2TBTC",
"numberOfBytes": "20"
},
"t_mapping(t_uint16,t_bytes32)": {
"label": "mapping(uint16 => bytes32)",
"numberOfBytes": "32"
},
"t_uint16": {
"label": "uint16",
"numberOfBytes": "2"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,19 +172,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "depositWormholeTbtc",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -466,7 +453,7 @@
"status": 1,
"byzantium": true
},
"numDeployments": 2,
"implementation": "0xdF708431162Ba247dDaE362D2c919e0fbAfcf9DE",
"numDeployments": 3,
"implementation": "0x04671C72Aab5AC02A03c1098314b1BB6B560c197",
"devdoc": "Contract deployed as upgradable proxy"
}

0 comments on commit 2fc28eb

Please sign in to comment.