@venusprotocol/protocol-reserve 1.0.0-dev.2 → 1.0.0-dev.4

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.
Files changed (50) hide show
  1. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  2. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  3. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +4 -0
  10. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.json +24 -0
  11. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  15. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  16. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  17. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  18. package/artifacts/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +4 -0
  19. package/artifacts/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.json +59 -0
  20. package/artifacts/build-info/a2183051939bab7702059953f3ccadf7.json +1 -0
  21. package/artifacts/contracts/Interfaces/ComptrollerInterface.sol/ComptrollerInterface.dbg.json +1 -1
  22. package/artifacts/contracts/Interfaces/IIncomeDestination.sol/IIncomeDestination.dbg.json +1 -1
  23. package/artifacts/contracts/Interfaces/IPrime.sol/IPrime.dbg.json +1 -1
  24. package/artifacts/contracts/Interfaces/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +1 -1
  25. package/artifacts/contracts/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
  26. package/artifacts/contracts/Interfaces/PoolRegistryInterface.sol/PoolRegistryInterface.dbg.json +1 -1
  27. package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +1 -1
  28. package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.json +55 -27
  29. package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.dbg.json +1 -1
  30. package/contracts/ProtocolReserve/ProtocolShareReserve.sol +105 -40
  31. package/package.json +4 -1
  32. package/typechain/@openzeppelin/contracts-upgradeable/index.ts +3 -0
  33. package/typechain/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.ts +72 -0
  34. package/typechain/@openzeppelin/contracts-upgradeable/security/index.ts +4 -0
  35. package/typechain/@venusprotocol/index.ts +3 -0
  36. package/typechain/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.ts +119 -0
  37. package/typechain/@venusprotocol/isolated-pools/contracts/index.ts +4 -0
  38. package/typechain/@venusprotocol/isolated-pools/index.ts +8 -0
  39. package/typechain/contracts/ProtocolReserve/ProtocolShareReserve.ts +50 -28
  40. package/typechain/factories/@openzeppelin/contracts-upgradeable/index.ts +1 -0
  41. package/typechain/factories/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.ts +44 -0
  42. package/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.ts +4 -0
  43. package/typechain/factories/@venusprotocol/index.ts +1 -0
  44. package/typechain/factories/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper__factory.ts +75 -0
  45. package/typechain/factories/@venusprotocol/isolated-pools/contracts/index.ts +4 -0
  46. package/typechain/factories/@venusprotocol/isolated-pools/index.ts +4 -0
  47. package/typechain/factories/contracts/ProtocolReserve/ProtocolShareReserve__factory.ts +54 -26
  48. package/typechain/hardhat.d.ts +18 -0
  49. package/typechain/index.ts +4 -0
  50. package/artifacts/build-info/c112788394311939ef4c47b76cde5898.json +0 -1
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ReentrancyGuardUpgradeable",
4
+ "sourceName": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "uint8",
12
+ "name": "version",
13
+ "type": "uint8"
14
+ }
15
+ ],
16
+ "name": "Initialized",
17
+ "type": "event"
18
+ }
19
+ ],
20
+ "bytecode": "0x",
21
+ "deployedBytecode": "0x",
22
+ "linkReferences": {},
23
+ "deployedLinkReferences": {}
24
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/c112788394311939ef4c47b76cde5898.json"
3
+ "buildInfo": "../../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/a2183051939bab7702059953f3ccadf7.json"
4
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "MaxLoopsLimitHelper",
4
+ "sourceName": "@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "loopsLimit",
11
+ "type": "uint256"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "requiredLoops",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "MaxLoopsLimitExceeded",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "anonymous": false,
24
+ "inputs": [
25
+ {
26
+ "indexed": false,
27
+ "internalType": "uint256",
28
+ "name": "oldMaxLoopsLimit",
29
+ "type": "uint256"
30
+ },
31
+ {
32
+ "indexed": false,
33
+ "internalType": "uint256",
34
+ "name": "newmaxLoopsLimit",
35
+ "type": "uint256"
36
+ }
37
+ ],
38
+ "name": "MaxLoopsLimitUpdated",
39
+ "type": "event"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "maxLoopsLimit",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ }
54
+ ],
55
+ "bytecode": "0x",
56
+ "deployedBytecode": "0x",
57
+ "linkReferences": {},
58
+ "deployedLinkReferences": {}
59
+ }