@venusprotocol/venus-protocol 5.2.0-dev.3 → 6.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/Ownable2Step.sol/Ownable2Step.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.json +10 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.json +2 -2
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.json +2 -2
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol/IERC20MetadataUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.json +2 -2
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +2 -2
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/math/SafeCastUpgradeable.sol/SafeCastUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/math/SafeCastUpgradeable.sol/SafeCastUpgradeable.json +2 -2
- package/artifacts/build-info/ce72ac5d71d669e214b3d20b850e1c74.json +1 -0
- package/artifacts/contracts/Governance/VTreasuryV8.sol/VTreasuryV8.dbg.json +4 -0
- package/artifacts/contracts/Governance/VTreasuryV8.sol/VTreasuryV8.json +200 -0
- package/contracts/Governance/VTreasuryV8.sol +101 -0
- package/deploy/007-deploy-VTreasuryV8.ts +36 -0
- package/deployments/bscmainnet.json +13822 -0
- package/deployments/bsctestnet.json +21256 -0
- package/deployments/ethereum/.chainId +1 -0
- package/deployments/ethereum/VTreasuryV8.json +329 -0
- package/deployments/ethereum/solcInputs/427921aed0a07e3af769b0b61644e89c.json +91 -0
- package/deployments/ethereum.json +200 -0
- package/deployments/sepolia/.chainId +1 -0
- package/deployments/sepolia/VTreasuryV8.json +329 -0
- package/deployments/sepolia/solcInputs/08b51a64331428e03a9b461fcf31d47c.json +87 -0
- package/deployments/sepolia/solcInputs/332645575b586c0b893584ac8a9a94fc.json +87 -0
- package/deployments/sepolia/solcInputs/427921aed0a07e3af769b0b61644e89c.json +91 -0
- package/deployments/sepolia.json +200 -0
- package/dist/deploy/007-deploy-VTreasuryV8.d.ts +3 -0
- package/dist/deploy/007-deploy-VTreasuryV8.js +27 -0
- package/dist/hardhat.config.js +33 -0
- package/dist/typechain/contracts/Governance/VTreasuryV8.d.ts +190 -0
- package/dist/typechain/contracts/Governance/VTreasuryV8.js +3 -0
- package/dist/typechain/contracts/Governance/index.d.ts +1 -0
- package/dist/typechain/factories/contracts/Governance/VTreasuryV8__factory.d.ts +170 -0
- package/dist/typechain/factories/contracts/Governance/VTreasuryV8__factory.js +229 -0
- package/dist/typechain/factories/contracts/Governance/index.d.ts +1 -0
- package/dist/typechain/factories/contracts/Governance/index.js +3 -1
- package/dist/typechain/index.d.ts +2 -0
- package/dist/typechain/index.js +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -107,6 +107,16 @@ npx hardhat deploy
|
|
|
107
107
|
- In the deployment scripts you have added `tags` for example: - `func.tags = ["MockTokens"];`
|
|
108
108
|
- Once this is done, adding `--tags "<tag_name>,<tag_name>..."` to the deployment command will execute only the scripts containing the tags.
|
|
109
109
|
|
|
110
|
+
### Deployed Contracts
|
|
111
|
+
|
|
112
|
+
Contract addresses deployed before `hardhat-deploy` was adopted are available in the `networking` directory in JSON files by network name.
|
|
113
|
+
|
|
114
|
+
Contract addresses and abis deployed with hardhat deploy are exported in the `deployments` directory. To create a summary export of all contracts deployed to a network run.
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
$ yarn hardhat --network <network-name> --export ./deployments/<network-name>.json
|
|
118
|
+
```
|
|
119
|
+
|
|
110
120
|
### Source Code Verification
|
|
111
121
|
|
|
112
122
|
In order to verify the source code of already deployed contracts, run:
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ReentrancyGuard",
|
|
4
|
+
"sourceName": "@openzeppelin/contracts/security/ReentrancyGuard.sol",
|
|
5
|
+
"abi": [],
|
|
6
|
+
"bytecode": "0x",
|
|
7
|
+
"deployedBytecode": "0x",
|
|
8
|
+
"linkReferences": {},
|
|
9
|
+
"deployedLinkReferences": {}
|
|
10
|
+
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "SafeERC20",
|
|
4
4
|
"sourceName": "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a286e247586f48b48a52146fcbdff08acc23cf0eac21b123d9828a8aa335c12464736f6c63430008140033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a286e247586f48b48a52146fcbdff08acc23cf0eac21b123d9828a8aa335c12464736f6c63430008140033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "Address",
|
|
4
4
|
"sourceName": "@openzeppelin/contracts/utils/Address.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f5958e19c2a82a0b74ae2dd95278aebe56f185c0c5bfe5707efb7658db5ddfe764736f6c63430008140033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f5958e19c2a82a0b74ae2dd95278aebe56f185c0c5bfe5707efb7658db5ddfe764736f6c63430008140033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "SafeERC20Upgradeable",
|
|
4
4
|
"sourceName": "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122096ace57442b09caa41753e722358cc182998accf6680e3d0630db7f42a4b494b64736f6c63430008140033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122096ace57442b09caa41753e722358cc182998accf6680e3d0630db7f42a4b494b64736f6c63430008140033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "AddressUpgradeable",
|
|
4
4
|
"sourceName": "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bc80199ce381fde4c9786a5b0c3d1de926b8f1397568821b097fca1c1c18ca2e64736f6c63430008140033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bc80199ce381fde4c9786a5b0c3d1de926b8f1397568821b097fca1c1c18ca2e64736f6c63430008140033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "SafeCastUpgradeable",
|
|
4
4
|
"sourceName": "@openzeppelin/contracts-upgradeable/utils/math/SafeCastUpgradeable.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122006250b620e8d090660fb6741b88dda71a9feff98bcc9b380218e3f9cdefc712664736f6c63430008140033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122006250b620e8d090660fb6741b88dda71a9feff98bcc9b380218e3f9cdefc712664736f6c63430008140033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|