-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployment scripts written and refactored
- Loading branch information
1 parent
7f73677
commit 47cca7e
Showing
12 changed files
with
482 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
{ | ||
"manifestVersion": "3.2", | ||
"admin": { | ||
"address": "0xC2321D1Ea7f7846100f4ECB9901F723cA5fE14A6", | ||
"txHash": "0x7699aa82577ebdf4e7554a5633de9beccded607ef64e8e548bc67d461033d3d9" | ||
}, | ||
"proxies": [ | ||
{ | ||
"address": "0x0E1C25E9472539Fd5dcD73F7b13df32D9b8CBcd0", | ||
"txHash": "0x2e06707995ec21de905386b408e55d247fce281bd6a241080446f1ef071bcbc9", | ||
"kind": "transparent" | ||
}, | ||
{ | ||
"address": "0xA62c3c9496c97bd6dF437990A4b0e081AB177d10", | ||
"txHash": "0xa40d2061e34ed1051a92689fbc463ef931eec18cef422768604e5beb15d4a51f", | ||
"kind": "transparent" | ||
} | ||
], | ||
"impls": { | ||
"3ba0e081ceadb200066b4c450ee3658f5af213ac06a51b4e120a076b2cb47a0b": { | ||
"address": "0xCB391CEeD2e8d4fF9B9b2712f632e576De282736", | ||
"txHash": "0x4737cf7a3187be0a92ae2df2ad3b561af439473f0069dc5dcd4795501f184339", | ||
"layout": { | ||
"solcVersion": "0.8.18", | ||
"storage": [ | ||
{ | ||
"label": "_initialized", | ||
"offset": 0, | ||
"slot": "0", | ||
"type": "t_uint8", | ||
"contract": "Initializable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:62", | ||
"retypedFrom": "bool" | ||
}, | ||
{ | ||
"label": "_initializing", | ||
"offset": 1, | ||
"slot": "0", | ||
"type": "t_bool", | ||
"contract": "Initializable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:67" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "1", | ||
"type": "t_array(t_uint256)50_storage", | ||
"contract": "ContextUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" | ||
}, | ||
{ | ||
"label": "_owner", | ||
"offset": 0, | ||
"slot": "51", | ||
"type": "t_address", | ||
"contract": "OwnableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "52", | ||
"type": "t_array(t_uint256)49_storage", | ||
"contract": "OwnableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" | ||
}, | ||
{ | ||
"label": "_paused", | ||
"offset": 0, | ||
"slot": "101", | ||
"type": "t_bool", | ||
"contract": "PausableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol:29" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "102", | ||
"type": "t_array(t_uint256)49_storage", | ||
"contract": "PausableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol:116" | ||
}, | ||
{ | ||
"label": "l2Comptroller", | ||
"offset": 0, | ||
"slot": "151", | ||
"type": "t_address", | ||
"contract": "L1ComptrollerV2Base", | ||
"src": "src/abstracts/L1ComptrollerV2Base.sol:55" | ||
}, | ||
{ | ||
"label": "tokensToBurn", | ||
"offset": 0, | ||
"slot": "152", | ||
"type": "t_mapping(t_address,t_bool)", | ||
"contract": "L1ComptrollerV2Base", | ||
"src": "src/abstracts/L1ComptrollerV2Base.sol:60" | ||
}, | ||
{ | ||
"label": "burntAmountOf", | ||
"offset": 0, | ||
"slot": "153", | ||
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))", | ||
"contract": "L1ComptrollerV2Base", | ||
"src": "src/abstracts/L1ComptrollerV2Base.sol:66" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "154", | ||
"type": "t_array(t_uint256)46_storage", | ||
"contract": "L1ComptrollerV2Base", | ||
"src": "src/abstracts/L1ComptrollerV2Base.sol:207" | ||
}, | ||
{ | ||
"label": "inbox", | ||
"offset": 0, | ||
"slot": "200", | ||
"type": "t_contract(IInbox)2788", | ||
"contract": "L1ComptrollerArb", | ||
"src": "src/arb-stack/L1ComptrollerArb.sol:37" | ||
} | ||
], | ||
"types": { | ||
"t_address": { | ||
"label": "address", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_array(t_uint256)46_storage": { | ||
"label": "uint256[46]", | ||
"numberOfBytes": "1472" | ||
}, | ||
"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_contract(IInbox)2788": { | ||
"label": "contract IInbox", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_mapping(t_address,t_bool)": { | ||
"label": "mapping(address => bool)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_address,t_mapping(t_address,t_uint256))": { | ||
"label": "mapping(address => mapping(address => uint256))", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_address,t_uint256)": { | ||
"label": "mapping(address => uint256)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_uint256": { | ||
"label": "uint256", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_uint8": { | ||
"label": "uint8", | ||
"numberOfBytes": "1" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,213 @@ | ||
{ | ||
"manifestVersion": "3.2", | ||
"admin": { | ||
"address": "0xb4c62a433b64d7615ED68bd35Ebe6CF17D03F666", | ||
"txHash": "0xbd15e9dce71abefeee9f63783bfc0fd5385f4640b82b936789740b0a30315af7" | ||
}, | ||
"proxies": [ | ||
{ | ||
"address": "0xED5F0DaE330a1f5c476Aeb8fa33b05e7304EB04A", | ||
"txHash": "0xbf0f476b9307fa97e77ab358af83a2a4c19ff0fc06732895f3054956f0653297", | ||
"kind": "transparent" | ||
}, | ||
{ | ||
"address": "0x9C7F871e307bE3113646Ac0e1A28B0003dA5441b", | ||
"txHash": "0xe68c003fc55a9497e6361538fadf4430ea27ce2ae4cb56c8e056622afc7d13b8", | ||
"kind": "transparent" | ||
} | ||
], | ||
"impls": { | ||
"8d8efa3e4a112a2c1a87d25fbdc348716d428e441a5c82a52cf545c875c4e706": { | ||
"address": "0x079645E40154D8BBc97b6C84341b96b53dcFEfd0", | ||
"txHash": "0x47aa1066542a6a615fc6ee246007a83da8693b128ff599dd28d101f4f7f2dd39", | ||
"layout": { | ||
"solcVersion": "0.8.18", | ||
"storage": [ | ||
{ | ||
"label": "_initialized", | ||
"offset": 0, | ||
"slot": "0", | ||
"type": "t_uint8", | ||
"contract": "Initializable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:62", | ||
"retypedFrom": "bool" | ||
}, | ||
{ | ||
"label": "_initializing", | ||
"offset": 1, | ||
"slot": "0", | ||
"type": "t_bool", | ||
"contract": "Initializable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:67" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "1", | ||
"type": "t_array(t_uint256)50_storage", | ||
"contract": "ContextUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" | ||
}, | ||
{ | ||
"label": "_owner", | ||
"offset": 0, | ||
"slot": "51", | ||
"type": "t_address", | ||
"contract": "OwnableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "52", | ||
"type": "t_array(t_uint256)49_storage", | ||
"contract": "OwnableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" | ||
}, | ||
{ | ||
"label": "_paused", | ||
"offset": 0, | ||
"slot": "101", | ||
"type": "t_bool", | ||
"contract": "PausableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol:29" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "102", | ||
"type": "t_array(t_uint256)49_storage", | ||
"contract": "PausableUpgradeable", | ||
"src": "lib/openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol:116" | ||
}, | ||
{ | ||
"label": "l1Comptroller", | ||
"offset": 0, | ||
"slot": "151", | ||
"type": "t_address", | ||
"contract": "L2ComptrollerV2Base", | ||
"src": "src/abstracts/L2ComptrollerV2Base.sol:94" | ||
}, | ||
{ | ||
"label": "exchangePrices", | ||
"offset": 0, | ||
"slot": "152", | ||
"type": "t_mapping(t_address,t_uint256)", | ||
"contract": "L2ComptrollerV2Base", | ||
"src": "src/abstracts/L2ComptrollerV2Base.sol:97" | ||
}, | ||
{ | ||
"label": "buyTokenDetails", | ||
"offset": 0, | ||
"slot": "153", | ||
"type": "t_mapping(t_contract(IPoolLogic)3308,t_struct(BuyTokenDetails)1589_storage)", | ||
"contract": "L2ComptrollerV2Base", | ||
"src": "src/abstracts/L2ComptrollerV2Base.sol:100" | ||
}, | ||
{ | ||
"label": "burnAndClaimDetails", | ||
"offset": 0, | ||
"slot": "154", | ||
"type": "t_mapping(t_address,t_mapping(t_address,t_struct(BurnAndClaimDetails)1584_storage))", | ||
"contract": "L2ComptrollerV2Base", | ||
"src": "src/abstracts/L2ComptrollerV2Base.sol:105" | ||
}, | ||
{ | ||
"label": "__gap", | ||
"offset": 0, | ||
"slot": "155", | ||
"type": "t_array(t_uint256)45_storage", | ||
"contract": "L2ComptrollerV2Base", | ||
"src": "src/abstracts/L2ComptrollerV2Base.sol:449" | ||
} | ||
], | ||
"types": { | ||
"t_address": { | ||
"label": "address", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_array(t_uint256)45_storage": { | ||
"label": "uint256[45]", | ||
"numberOfBytes": "1440" | ||
}, | ||
"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_contract(IPoolLogic)3308": { | ||
"label": "contract IPoolLogic", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_mapping(t_address,t_mapping(t_address,t_struct(BurnAndClaimDetails)1584_storage))": { | ||
"label": "mapping(address => mapping(address => struct L2ComptrollerV2Base.BurnAndClaimDetails))", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_address,t_struct(BurnAndClaimDetails)1584_storage)": { | ||
"label": "mapping(address => struct L2ComptrollerV2Base.BurnAndClaimDetails)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_address,t_uint256)": { | ||
"label": "mapping(address => uint256)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_contract(IPoolLogic)3308,t_struct(BuyTokenDetails)1589_storage)": { | ||
"label": "mapping(contract IPoolLogic => struct L2ComptrollerV2Base.BuyTokenDetails)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_struct(BurnAndClaimDetails)1584_storage": { | ||
"label": "struct L2ComptrollerV2Base.BurnAndClaimDetails", | ||
"members": [ | ||
{ | ||
"label": "totalAmountBurned", | ||
"type": "t_uint256", | ||
"offset": 0, | ||
"slot": "0" | ||
}, | ||
{ | ||
"label": "totalAmountClaimed", | ||
"type": "t_uint256", | ||
"offset": 0, | ||
"slot": "1" | ||
} | ||
], | ||
"numberOfBytes": "64" | ||
}, | ||
"t_struct(BuyTokenDetails)1589_storage": { | ||
"label": "struct L2ComptrollerV2Base.BuyTokenDetails", | ||
"members": [ | ||
{ | ||
"label": "lastTokenToBuyPrice", | ||
"type": "t_uint256", | ||
"offset": 0, | ||
"slot": "0" | ||
}, | ||
{ | ||
"label": "maxTokenPriceDrop", | ||
"type": "t_uint256", | ||
"offset": 0, | ||
"slot": "1" | ||
} | ||
], | ||
"numberOfBytes": "64" | ||
}, | ||
"t_uint256": { | ||
"label": "uint256", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_uint8": { | ||
"label": "uint8", | ||
"numberOfBytes": "1" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
deployment-scripts/deploy.ethereum.ts → ...ment-scripts/deploy/v1/deploy.ethereum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.