Skip to content

Commit

Permalink
Artifacts from tbtc-v2-polygon v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed May 11, 2023
1 parent e37abe4 commit 71c5fd8
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 63 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 @@ -453,6 +453,170 @@
}
}
}
},
"70974f3ab30d1010f875de7eebcbde08a1b6c71845f5272c23be8f95af866a64": {
"address": "0xdF708431162Ba247dDaE362D2c919e0fbAfcf9DE",
"txHash": "0xdd42fcac9ca8509a00a7c7344ef72934f473093e55508e63c1f6de54541a0c85",
"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)2252",
"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)2252": {
"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"
}
}
}
}
}
}
88 changes: 25 additions & 63 deletions cross-chain/polygon/deployments/polygon/PolygonWormholeGateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,90 +421,52 @@
"type": "function"
}
],
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"transactionHash": "0x424acddd74ccc5dc38267ef39c7bb17824d5ebcd6090ca52deb6d47b5ca0883b",
"receipt": {
"to": null,
"to": "0x1293a54e160D1cd7075487898d65266081A15458",
"from": "0x123694886DBf5Ac94DDA07135349534536D14cAf",
"contractAddress": "0x09959798B95d00a3183d20FaC298E4594E599eab",
"transactionIndex": 34,
"gasUsed": "749615",
"logsBloom": "0x00000000000000000000000000000000400000000800000000800000000000000000000000000000000000000000000000008400000000000000000000000400000000000000000000000000000006800001000800000000000100000000000000000000030000000001000000000800000000800000000080000000000000400000000000000000000000000000000000000000000080000000000000800000200000000008000004000000000400000000000000000000000000000000004000000020000000000001000000440000000000000400000000100000000020000000000000000000002000000000000000000000000000000000000000100000",
"blockHash": "0xefcc0a3be4da4e68b72e2b833226bdc14c6cf4e39fa5bc548334efb5af76c5e3",
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"contractAddress": null,
"transactionIndex": 85,
"gasUsed": "38748",
"logsBloom": "0x00000000000000000000000000000000400000000800000000000000000000000000000000000000000000000000000000108000000000000000000000000400000000000000000000000000000002800000000000000000000100000000000000000000010000000000000000000800000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000200000040000100000000000000010000000000000000000000000010000004000000020000000000001000000400000000000000000000000100000000000000000000000000000002000800000000000000000000000000000000000100000",
"blockHash": "0xb6b78a6e5cc2e9432cf5b28e5df6e5a07d3191dc131c9e16f8d083aaef64b4b9",
"transactionHash": "0x424acddd74ccc5dc38267ef39c7bb17824d5ebcd6090ca52deb6d47b5ca0883b",
"logs": [
{
"transactionIndex": 34,
"blockNumber": 41515765,
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"transactionIndex": 85,
"blockNumber": 42569184,
"transactionHash": "0x424acddd74ccc5dc38267ef39c7bb17824d5ebcd6090ca52deb6d47b5ca0883b",
"address": "0x09959798B95d00a3183d20FaC298E4594E599eab",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x000000000000000000000000292c9fdf2e2475599cbe350cc473c221bd67ae28"
"0x000000000000000000000000df708431162ba247ddae362d2c919e0fbafcf9de"
],
"data": "0x",
"logIndex": 144,
"blockHash": "0xefcc0a3be4da4e68b72e2b833226bdc14c6cf4e39fa5bc548334efb5af76c5e3"
"logIndex": 355,
"blockHash": "0xb6b78a6e5cc2e9432cf5b28e5df6e5a07d3191dc131c9e16f8d083aaef64b4b9"
},
{
"transactionIndex": 34,
"blockNumber": 41515765,
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"address": "0x09959798B95d00a3183d20FaC298E4594E599eab",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000123694886dbf5ac94dda07135349534536d14caf"
],
"data": "0x",
"logIndex": 145,
"blockHash": "0xefcc0a3be4da4e68b72e2b833226bdc14c6cf4e39fa5bc548334efb5af76c5e3"
},
{
"transactionIndex": 34,
"blockNumber": 41515765,
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"address": "0x09959798B95d00a3183d20FaC298E4594E599eab",
"topics": [
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 146,
"blockHash": "0xefcc0a3be4da4e68b72e2b833226bdc14c6cf4e39fa5bc548334efb5af76c5e3"
},
{
"transactionIndex": 34,
"blockNumber": 41515765,
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"address": "0x09959798B95d00a3183d20FaC298E4594E599eab",
"topics": [
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001293a54e160d1cd7075487898d65266081a15458",
"logIndex": 147,
"blockHash": "0xefcc0a3be4da4e68b72e2b833226bdc14c6cf4e39fa5bc548334efb5af76c5e3"
},
{
"transactionIndex": 34,
"blockNumber": 41515765,
"transactionHash": "0x6fbbce7c044a776c67a031fa5de974173ae7dd747c95ab90891d09b50d69c240",
"transactionIndex": 85,
"blockNumber": 42569184,
"transactionHash": "0x424acddd74ccc5dc38267ef39c7bb17824d5ebcd6090ca52deb6d47b5ca0883b",
"address": "0x0000000000000000000000000000000000001010",
"topics": [
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
"0x0000000000000000000000000000000000000000000000000000000000001010",
"0x000000000000000000000000123694886dbf5ac94dda07135349534536d14caf",
"0x000000000000000000000000eb4f2a75cac4bbcb4d71c252e4cc80eb80bb3a34"
"0x00000000000000000000000026c80cc193b27d73d2c40943acec77f4da2c5bd8"
],
"data": "0x0000000000000000000000000000000000000000000000000082da2deb4f2812000000000000000000000000000000000000000000000003a1842f4eb9b1aa5e00000000000000000000000000000000000000000000052254a12ab84b8f7f3c000000000000000000000000000000000000000000000003a1015520ce62824c000000000000000000000000000000000000000000000522552404e636dea74e",
"logIndex": 148,
"blockHash": "0xefcc0a3be4da4e68b72e2b833226bdc14c6cf4e39fa5bc548334efb5af76c5e3"
"data": "0x0000000000000000000000000000000000000000000000000004213ba745d00000000000000000000000000000000000000000000000000308c1dce9af73a03d00000000000000000000000000000000000000000000124539cf39a6735e3b9500000000000000000000000000000000000000000000000308bdbbae082dd03d00000000000000000000000000000000000000000000124539d35ae21aa40b95",
"logIndex": 356,
"blockHash": "0xb6b78a6e5cc2e9432cf5b28e5df6e5a07d3191dc131c9e16f8d083aaef64b4b9"
}
],
"blockNumber": 41515765,
"cumulativeGasUsed": "5384226",
"blockNumber": 42569184,
"cumulativeGasUsed": "14852198",
"status": 1,
"byzantium": true
},
"numDeployments": 1,
"implementation": "0x292C9fdf2e2475599cBe350cc473c221Bd67AE28",
"numDeployments": 2,
"implementation": "0xdF708431162Ba247dDaE362D2c919e0fbAfcf9DE",
"devdoc": "Contract deployed as upgradable proxy"
}

0 comments on commit 71c5fd8

Please sign in to comment.