@venusprotocol/protocol-reserve 1.0.0-dev.5 → 1.0.0-dev.7
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/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +2 -2
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- 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/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/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/{draft-IERC20PermitUpgradeable.sol → IERC20PermitUpgradeable.sol}/IERC20PermitUpgradeable.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/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +1 -1
- package/artifacts/build-info/5e0d0fa03533470b2e430f8020bc271c.json +1 -0
- package/artifacts/contracts/Interfaces/ComptrollerInterface.sol/ComptrollerInterface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/IIncomeDestination.sol/IIncomeDestination.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/PoolRegistryInterface.sol/PoolRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.json +91 -56
- package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.dbg.json +1 -1
- package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.json +2 -2
- package/contracts/Interfaces/IProtocolShareReserve.sol +5 -1
- package/contracts/ProtocolReserve/ProtocolShareReserve.sol +106 -89
- package/contracts/Test/Mocks/MockToken.sol +5 -1
- package/deploy/1-deploy.ts +64 -0
- package/deployments/bscmainnet/.chainId +1 -0
- package/deployments/bscmainnet/DefaultProxyAdmin.json +257 -0
- package/deployments/bscmainnet/ProtocolShareReserve.json +1054 -0
- package/deployments/bscmainnet/ProtocolShareReserve_Implementation.json +1264 -0
- package/deployments/bscmainnet/ProtocolShareReserve_Proxy.json +277 -0
- package/deployments/bscmainnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/bscmainnet/solcInputs/45a7e25696ff2229490239636d073de0.json +90 -0
- package/deployments/bscmainnet/solcInputs/c87a4970e440c0598abee31750358915.json +90 -0
- package/deployments/bscmainnet/solcInputs/f7c7133e4506082d7aa8242a8f52a4c9.json +87 -0
- package/deployments/bsctestnet/.chainId +1 -0
- package/deployments/bsctestnet/DefaultProxyAdmin.json +257 -0
- package/deployments/bsctestnet/ProtocolShareReserve.json +1054 -0
- package/deployments/bsctestnet/ProtocolShareReserve_Implementation.json +1264 -0
- package/deployments/bsctestnet/ProtocolShareReserve_Proxy.json +277 -0
- package/deployments/bsctestnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/bsctestnet/solcInputs/45a7e25696ff2229490239636d073de0.json +90 -0
- package/deployments/bsctestnet/solcInputs/c87a4970e440c0598abee31750358915.json +90 -0
- package/deployments/bsctestnet/solcInputs/f7c7133e4506082d7aa8242a8f52a4c9.json +87 -0
- package/package.json +56 -61
- package/typechain/{@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.ts → AccessControlledV8.d.ts} +125 -128
- package/typechain/ComptrollerInterface.d.ts +101 -0
- package/typechain/ContextUpgradeable.d.ts +92 -0
- package/typechain/ERC20.d.ts +441 -0
- package/typechain/IAccessControl.d.ts +333 -0
- package/typechain/IAccessControlManagerV8.d.ts +504 -0
- package/typechain/IERC20.d.ts +324 -0
- package/typechain/{@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts → IERC20Metadata.d.ts} +146 -169
- package/typechain/IERC20PermitUpgradeable.d.ts +187 -0
- package/typechain/IERC20Upgradeable.d.ts +324 -0
- package/typechain/IIncomeDestination.d.ts +122 -0
- package/typechain/IProtocolShareReserve.d.ts +127 -0
- package/typechain/IVToken.d.ts +98 -0
- package/typechain/Initializable.d.ts +92 -0
- package/typechain/MaxLoopsLimitHelper.d.ts +128 -0
- package/typechain/MockToken.d.ts +469 -0
- package/typechain/{@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts → Ownable2StepUpgradeable.d.ts} +102 -105
- package/typechain/OwnableUpgradeable.d.ts +193 -0
- package/typechain/PoolRegistryInterface.d.ts +121 -0
- package/typechain/{contracts/ProtocolReserve/ProtocolShareReserve.ts → ProtocolShareReserve.d.ts} +566 -474
- package/typechain/ReentrancyGuardUpgradeable.d.ts +92 -0
- package/typechain/common.d.ts +35 -0
- package/typechain/factories/{@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8__factory.ts → AccessControlledV8__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/ComptrollerInterface__factory.ts → ComptrollerInterface__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts → ContextUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/token/ERC20/ERC20__factory.ts → ERC20__factory.ts} +21 -33
- package/typechain/factories/{@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8__factory.ts → IAccessControlManagerV8__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/access/IAccessControl__factory.ts → IAccessControl__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts → IERC20Metadata__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable__factory.ts → IERC20PermitUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts → IERC20Upgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/token/ERC20/IERC20__factory.ts → IERC20__factory.ts} +4 -8
- package/typechain/factories/{contracts/Interfaces/IIncomeDestination__factory.ts → IIncomeDestination__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/IProtocolShareReserve__factory.ts → IProtocolShareReserve__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/IVToken__factory.ts → IVToken__factory.ts} +4 -8
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts → Initializable__factory.ts} +4 -8
- package/typechain/factories/{@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper__factory.ts → MaxLoopsLimitHelper__factory.ts} +5 -6
- package/typechain/factories/{contracts/Test/Mocks/MockToken__factory.ts → MockToken__factory.ts} +24 -36
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts → Ownable2StepUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts → OwnableUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/PoolRegistryInterface__factory.ts → PoolRegistryInterface__factory.ts} +5 -6
- package/typechain/factories/ProtocolShareReserve__factory.ts +869 -0
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.ts → ReentrancyGuardUpgradeable__factory.ts} +5 -6
- package/typechain/index.ts +42 -55
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +0 -4
- package/artifacts/build-info/5cf1d710d672d6156aed4b51f9ea6217.json +0 -1
- package/artifacts/contracts/Interfaces/IPrime.sol/IPrime.dbg.json +0 -4
- package/artifacts/contracts/Interfaces/IPrime.sol/IPrime.json +0 -74
- package/contracts/Interfaces/IPrime.sol +0 -12
- package/contracts/interfaces/IProtocolShareReserve.sol +0 -12
- package/contracts/test/Mocks/MockToken.sol +0 -22
- package/typechain/@openzeppelin/contracts/access/IAccessControl.ts +0 -343
- package/typechain/@openzeppelin/contracts/access/index.ts +0 -4
- package/typechain/@openzeppelin/contracts/index.ts +0 -11
- package/typechain/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -466
- package/typechain/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -344
- package/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -4
- package/typechain/@openzeppelin/contracts/token/ERC20/index.ts +0 -10
- package/typechain/@openzeppelin/contracts/token/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -190
- package/typechain/@openzeppelin/contracts-upgradeable/access/index.ts +0 -5
- package/typechain/@openzeppelin/contracts-upgradeable/index.ts +0 -20
- package/typechain/@openzeppelin/contracts-upgradeable/proxy/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +0 -72
- package/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +0 -4
- package/typechain/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.ts +0 -72
- package/typechain/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -344
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.ts +0 -195
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +0 -4
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -9
- package/typechain/@openzeppelin/contracts-upgradeable/token/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +0 -72
- package/typechain/@openzeppelin/contracts-upgradeable/utils/index.ts +0 -4
- package/typechain/@openzeppelin/index.ts +0 -11
- package/typechain/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.ts +0 -530
- package/typechain/@venusprotocol/governance-contracts/contracts/Governance/index.ts +0 -5
- package/typechain/@venusprotocol/governance-contracts/contracts/index.ts +0 -8
- package/typechain/@venusprotocol/governance-contracts/index.ts +0 -8
- package/typechain/@venusprotocol/index.ts +0 -11
- package/typechain/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.ts +0 -119
- package/typechain/@venusprotocol/isolated-pools/contracts/index.ts +0 -4
- package/typechain/@venusprotocol/isolated-pools/index.ts +0 -8
- package/typechain/common.ts +0 -48
- package/typechain/contracts/Interfaces/ComptrollerInterface.ts +0 -90
- package/typechain/contracts/Interfaces/IIncomeDestination.ts +0 -112
- package/typechain/contracts/Interfaces/IPrime.ts +0 -205
- package/typechain/contracts/Interfaces/IProtocolShareReserve.ts +0 -122
- package/typechain/contracts/Interfaces/IVToken.ts +0 -87
- package/typechain/contracts/Interfaces/PoolRegistryInterface.ts +0 -110
- package/typechain/contracts/Interfaces/index.ts +0 -9
- package/typechain/contracts/ProtocolReserve/index.ts +0 -4
- package/typechain/contracts/Test/Mocks/MockToken.ts +0 -498
- package/typechain/contracts/Test/Mocks/index.ts +0 -4
- package/typechain/contracts/Test/index.ts +0 -8
- package/typechain/contracts/index.ts +0 -14
- package/typechain/factories/@openzeppelin/contracts/access/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts/index.ts +0 -5
- package/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts/token/ERC20/index.ts +0 -6
- package/typechain/factories/@openzeppelin/contracts/token/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/access/index.ts +0 -5
- package/typechain/factories/@openzeppelin/contracts-upgradeable/index.ts +0 -8
- package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -5
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +0 -4
- package/typechain/factories/@openzeppelin/index.ts +0 -5
- package/typechain/factories/@venusprotocol/governance-contracts/contracts/Governance/index.ts +0 -5
- package/typechain/factories/@venusprotocol/governance-contracts/contracts/index.ts +0 -4
- package/typechain/factories/@venusprotocol/governance-contracts/index.ts +0 -4
- package/typechain/factories/@venusprotocol/index.ts +0 -5
- package/typechain/factories/@venusprotocol/isolated-pools/contracts/index.ts +0 -4
- package/typechain/factories/@venusprotocol/isolated-pools/index.ts +0 -4
- package/typechain/factories/contracts/Interfaces/IPrime__factory.ts +0 -87
- package/typechain/factories/contracts/Interfaces/index.ts +0 -9
- package/typechain/factories/contracts/ProtocolReserve/ProtocolShareReserve__factory.ts +0 -843
- package/typechain/factories/contracts/ProtocolReserve/index.ts +0 -4
- package/typechain/factories/contracts/Test/Mocks/index.ts +0 -4
- package/typechain/factories/contracts/Test/index.ts +0 -4
- package/typechain/factories/contracts/index.ts +0 -6
- package/typechain/factories/index.ts +0 -6
- package/typechain/hardhat.d.ts +0 -231
|
@@ -1,843 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type { PromiseOrValue } from "../../../common";
|
|
7
|
-
import type {
|
|
8
|
-
ProtocolShareReserve,
|
|
9
|
-
ProtocolShareReserveInterface,
|
|
10
|
-
} from "../../../contracts/ProtocolReserve/ProtocolShareReserve";
|
|
11
|
-
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
12
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
13
|
-
|
|
14
|
-
const _abi = [
|
|
15
|
-
{
|
|
16
|
-
inputs: [
|
|
17
|
-
{
|
|
18
|
-
internalType: "address",
|
|
19
|
-
name: "_corePoolComptroller",
|
|
20
|
-
type: "address",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
internalType: "address",
|
|
24
|
-
name: "_wbnb",
|
|
25
|
-
type: "address",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
internalType: "address",
|
|
29
|
-
name: "_vbnb",
|
|
30
|
-
type: "address",
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
stateMutability: "nonpayable",
|
|
34
|
-
type: "constructor",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
inputs: [],
|
|
38
|
-
name: "InvalidAddress",
|
|
39
|
-
type: "error",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
inputs: [],
|
|
43
|
-
name: "InvalidTotalPercentage",
|
|
44
|
-
type: "error",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
inputs: [
|
|
48
|
-
{
|
|
49
|
-
internalType: "uint256",
|
|
50
|
-
name: "loopsLimit",
|
|
51
|
-
type: "uint256",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
internalType: "uint256",
|
|
55
|
-
name: "requiredLoops",
|
|
56
|
-
type: "uint256",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
name: "MaxLoopsLimitExceeded",
|
|
60
|
-
type: "error",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
inputs: [
|
|
64
|
-
{
|
|
65
|
-
internalType: "address",
|
|
66
|
-
name: "sender",
|
|
67
|
-
type: "address",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "calledContract",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
internalType: "string",
|
|
76
|
-
name: "methodSignature",
|
|
77
|
-
type: "string",
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
name: "Unauthorized",
|
|
81
|
-
type: "error",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
anonymous: false,
|
|
85
|
-
inputs: [
|
|
86
|
-
{
|
|
87
|
-
indexed: true,
|
|
88
|
-
internalType: "address",
|
|
89
|
-
name: "destination",
|
|
90
|
-
type: "address",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
indexed: true,
|
|
94
|
-
internalType: "address",
|
|
95
|
-
name: "asset",
|
|
96
|
-
type: "address",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
indexed: false,
|
|
100
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
101
|
-
name: "schema",
|
|
102
|
-
type: "uint8",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
indexed: false,
|
|
106
|
-
internalType: "uint256",
|
|
107
|
-
name: "percent",
|
|
108
|
-
type: "uint256",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
indexed: false,
|
|
112
|
-
internalType: "uint256",
|
|
113
|
-
name: "amount",
|
|
114
|
-
type: "uint256",
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
name: "AssetReleased",
|
|
118
|
-
type: "event",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
anonymous: false,
|
|
122
|
-
inputs: [
|
|
123
|
-
{
|
|
124
|
-
indexed: true,
|
|
125
|
-
internalType: "address",
|
|
126
|
-
name: "comptroller",
|
|
127
|
-
type: "address",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
indexed: true,
|
|
131
|
-
internalType: "address",
|
|
132
|
-
name: "asset",
|
|
133
|
-
type: "address",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
indexed: false,
|
|
137
|
-
internalType: "uint256",
|
|
138
|
-
name: "amount",
|
|
139
|
-
type: "uint256",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
indexed: false,
|
|
143
|
-
internalType: "enum IProtocolShareReserve.IncomeType",
|
|
144
|
-
name: "incomeType",
|
|
145
|
-
type: "uint8",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
indexed: false,
|
|
149
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
150
|
-
name: "schema",
|
|
151
|
-
type: "uint8",
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
name: "AssetsReservesUpdated",
|
|
155
|
-
type: "event",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
anonymous: false,
|
|
159
|
-
inputs: [
|
|
160
|
-
{
|
|
161
|
-
indexed: true,
|
|
162
|
-
internalType: "address",
|
|
163
|
-
name: "destination",
|
|
164
|
-
type: "address",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
indexed: false,
|
|
168
|
-
internalType: "uint256",
|
|
169
|
-
name: "percentage",
|
|
170
|
-
type: "uint256",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
indexed: false,
|
|
174
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
175
|
-
name: "schema",
|
|
176
|
-
type: "uint8",
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
name: "DistributionConfigAdded",
|
|
180
|
-
type: "event",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
anonymous: false,
|
|
184
|
-
inputs: [
|
|
185
|
-
{
|
|
186
|
-
indexed: true,
|
|
187
|
-
internalType: "address",
|
|
188
|
-
name: "destination",
|
|
189
|
-
type: "address",
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
indexed: false,
|
|
193
|
-
internalType: "uint256",
|
|
194
|
-
name: "oldPercentage",
|
|
195
|
-
type: "uint256",
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
indexed: false,
|
|
199
|
-
internalType: "uint256",
|
|
200
|
-
name: "newPercentage",
|
|
201
|
-
type: "uint256",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
indexed: false,
|
|
205
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
206
|
-
name: "schema",
|
|
207
|
-
type: "uint8",
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
name: "DistributionConfigUpdated",
|
|
211
|
-
type: "event",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
anonymous: false,
|
|
215
|
-
inputs: [
|
|
216
|
-
{
|
|
217
|
-
indexed: false,
|
|
218
|
-
internalType: "uint8",
|
|
219
|
-
name: "version",
|
|
220
|
-
type: "uint8",
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
name: "Initialized",
|
|
224
|
-
type: "event",
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
anonymous: false,
|
|
228
|
-
inputs: [
|
|
229
|
-
{
|
|
230
|
-
indexed: false,
|
|
231
|
-
internalType: "uint256",
|
|
232
|
-
name: "oldMaxLoopsLimit",
|
|
233
|
-
type: "uint256",
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
indexed: false,
|
|
237
|
-
internalType: "uint256",
|
|
238
|
-
name: "newmaxLoopsLimit",
|
|
239
|
-
type: "uint256",
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
name: "MaxLoopsLimitUpdated",
|
|
243
|
-
type: "event",
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
anonymous: false,
|
|
247
|
-
inputs: [
|
|
248
|
-
{
|
|
249
|
-
indexed: false,
|
|
250
|
-
internalType: "address",
|
|
251
|
-
name: "oldAccessControlManager",
|
|
252
|
-
type: "address",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
indexed: false,
|
|
256
|
-
internalType: "address",
|
|
257
|
-
name: "newAccessControlManager",
|
|
258
|
-
type: "address",
|
|
259
|
-
},
|
|
260
|
-
],
|
|
261
|
-
name: "NewAccessControlManager",
|
|
262
|
-
type: "event",
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
anonymous: false,
|
|
266
|
-
inputs: [
|
|
267
|
-
{
|
|
268
|
-
indexed: true,
|
|
269
|
-
internalType: "address",
|
|
270
|
-
name: "previousOwner",
|
|
271
|
-
type: "address",
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
indexed: true,
|
|
275
|
-
internalType: "address",
|
|
276
|
-
name: "newOwner",
|
|
277
|
-
type: "address",
|
|
278
|
-
},
|
|
279
|
-
],
|
|
280
|
-
name: "OwnershipTransferStarted",
|
|
281
|
-
type: "event",
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
anonymous: false,
|
|
285
|
-
inputs: [
|
|
286
|
-
{
|
|
287
|
-
indexed: true,
|
|
288
|
-
internalType: "address",
|
|
289
|
-
name: "previousOwner",
|
|
290
|
-
type: "address",
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
indexed: true,
|
|
294
|
-
internalType: "address",
|
|
295
|
-
name: "newOwner",
|
|
296
|
-
type: "address",
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
name: "OwnershipTransferred",
|
|
300
|
-
type: "event",
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
anonymous: false,
|
|
304
|
-
inputs: [
|
|
305
|
-
{
|
|
306
|
-
indexed: true,
|
|
307
|
-
internalType: "address",
|
|
308
|
-
name: "oldPoolRegistry",
|
|
309
|
-
type: "address",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
indexed: true,
|
|
313
|
-
internalType: "address",
|
|
314
|
-
name: "newPoolRegistry",
|
|
315
|
-
type: "address",
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
name: "PoolRegistryUpdated",
|
|
319
|
-
type: "event",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
anonymous: false,
|
|
323
|
-
inputs: [
|
|
324
|
-
{
|
|
325
|
-
indexed: true,
|
|
326
|
-
internalType: "address",
|
|
327
|
-
name: "oldPrime",
|
|
328
|
-
type: "address",
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
indexed: true,
|
|
332
|
-
internalType: "address",
|
|
333
|
-
name: "newPrime",
|
|
334
|
-
type: "address",
|
|
335
|
-
},
|
|
336
|
-
],
|
|
337
|
-
name: "PrimeUpdated",
|
|
338
|
-
type: "event",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
anonymous: false,
|
|
342
|
-
inputs: [
|
|
343
|
-
{
|
|
344
|
-
indexed: true,
|
|
345
|
-
internalType: "address",
|
|
346
|
-
name: "comptroller",
|
|
347
|
-
type: "address",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
indexed: true,
|
|
351
|
-
internalType: "address",
|
|
352
|
-
name: "asset",
|
|
353
|
-
type: "address",
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
indexed: false,
|
|
357
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
358
|
-
name: "schema",
|
|
359
|
-
type: "uint8",
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
indexed: false,
|
|
363
|
-
internalType: "uint256",
|
|
364
|
-
name: "oldBalance",
|
|
365
|
-
type: "uint256",
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
indexed: false,
|
|
369
|
-
internalType: "uint256",
|
|
370
|
-
name: "newBalance",
|
|
371
|
-
type: "uint256",
|
|
372
|
-
},
|
|
373
|
-
],
|
|
374
|
-
name: "ReservesUpdated",
|
|
375
|
-
type: "event",
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
inputs: [],
|
|
379
|
-
name: "CORE_POOL_COMPTROLLER",
|
|
380
|
-
outputs: [
|
|
381
|
-
{
|
|
382
|
-
internalType: "address",
|
|
383
|
-
name: "",
|
|
384
|
-
type: "address",
|
|
385
|
-
},
|
|
386
|
-
],
|
|
387
|
-
stateMutability: "view",
|
|
388
|
-
type: "function",
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
inputs: [],
|
|
392
|
-
name: "WBNB",
|
|
393
|
-
outputs: [
|
|
394
|
-
{
|
|
395
|
-
internalType: "address",
|
|
396
|
-
name: "",
|
|
397
|
-
type: "address",
|
|
398
|
-
},
|
|
399
|
-
],
|
|
400
|
-
stateMutability: "view",
|
|
401
|
-
type: "function",
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
inputs: [],
|
|
405
|
-
name: "acceptOwnership",
|
|
406
|
-
outputs: [],
|
|
407
|
-
stateMutability: "nonpayable",
|
|
408
|
-
type: "function",
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
inputs: [],
|
|
412
|
-
name: "accessControlManager",
|
|
413
|
-
outputs: [
|
|
414
|
-
{
|
|
415
|
-
internalType: "contract IAccessControlManagerV8",
|
|
416
|
-
name: "",
|
|
417
|
-
type: "address",
|
|
418
|
-
},
|
|
419
|
-
],
|
|
420
|
-
stateMutability: "view",
|
|
421
|
-
type: "function",
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
inputs: [
|
|
425
|
-
{
|
|
426
|
-
components: [
|
|
427
|
-
{
|
|
428
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
429
|
-
name: "schema",
|
|
430
|
-
type: "uint8",
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
internalType: "uint256",
|
|
434
|
-
name: "percentage",
|
|
435
|
-
type: "uint256",
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
internalType: "address",
|
|
439
|
-
name: "destination",
|
|
440
|
-
type: "address",
|
|
441
|
-
},
|
|
442
|
-
],
|
|
443
|
-
internalType: "struct ProtocolShareReserve.DistributionConfig[]",
|
|
444
|
-
name: "configs",
|
|
445
|
-
type: "tuple[]",
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
name: "addOrUpdateDistributionConfigs",
|
|
449
|
-
outputs: [],
|
|
450
|
-
stateMutability: "nonpayable",
|
|
451
|
-
type: "function",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
inputs: [
|
|
455
|
-
{
|
|
456
|
-
internalType: "address",
|
|
457
|
-
name: "",
|
|
458
|
-
type: "address",
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
internalType: "address",
|
|
462
|
-
name: "",
|
|
463
|
-
type: "address",
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
467
|
-
name: "",
|
|
468
|
-
type: "uint8",
|
|
469
|
-
},
|
|
470
|
-
],
|
|
471
|
-
name: "assetsReserves",
|
|
472
|
-
outputs: [
|
|
473
|
-
{
|
|
474
|
-
internalType: "uint256",
|
|
475
|
-
name: "",
|
|
476
|
-
type: "uint256",
|
|
477
|
-
},
|
|
478
|
-
],
|
|
479
|
-
stateMutability: "view",
|
|
480
|
-
type: "function",
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
inputs: [
|
|
484
|
-
{
|
|
485
|
-
internalType: "uint256",
|
|
486
|
-
name: "",
|
|
487
|
-
type: "uint256",
|
|
488
|
-
},
|
|
489
|
-
],
|
|
490
|
-
name: "distributionTargets",
|
|
491
|
-
outputs: [
|
|
492
|
-
{
|
|
493
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
494
|
-
name: "schema",
|
|
495
|
-
type: "uint8",
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
internalType: "uint256",
|
|
499
|
-
name: "percentage",
|
|
500
|
-
type: "uint256",
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
internalType: "address",
|
|
504
|
-
name: "destination",
|
|
505
|
-
type: "address",
|
|
506
|
-
},
|
|
507
|
-
],
|
|
508
|
-
stateMutability: "view",
|
|
509
|
-
type: "function",
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
inputs: [
|
|
513
|
-
{
|
|
514
|
-
internalType: "address",
|
|
515
|
-
name: "comptroller",
|
|
516
|
-
type: "address",
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
internalType: "enum ProtocolShareReserve.Schema",
|
|
520
|
-
name: "schema",
|
|
521
|
-
type: "uint8",
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
internalType: "address",
|
|
525
|
-
name: "destination",
|
|
526
|
-
type: "address",
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
internalType: "address",
|
|
530
|
-
name: "asset",
|
|
531
|
-
type: "address",
|
|
532
|
-
},
|
|
533
|
-
],
|
|
534
|
-
name: "getUnreleasedFunds",
|
|
535
|
-
outputs: [
|
|
536
|
-
{
|
|
537
|
-
internalType: "uint256",
|
|
538
|
-
name: "",
|
|
539
|
-
type: "uint256",
|
|
540
|
-
},
|
|
541
|
-
],
|
|
542
|
-
stateMutability: "view",
|
|
543
|
-
type: "function",
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
inputs: [
|
|
547
|
-
{
|
|
548
|
-
internalType: "address",
|
|
549
|
-
name: "_accessControlManager",
|
|
550
|
-
type: "address",
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
internalType: "uint256",
|
|
554
|
-
name: "_loopsLimit",
|
|
555
|
-
type: "uint256",
|
|
556
|
-
},
|
|
557
|
-
],
|
|
558
|
-
name: "initialize",
|
|
559
|
-
outputs: [],
|
|
560
|
-
stateMutability: "nonpayable",
|
|
561
|
-
type: "function",
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
inputs: [],
|
|
565
|
-
name: "maxLoopsLimit",
|
|
566
|
-
outputs: [
|
|
567
|
-
{
|
|
568
|
-
internalType: "uint256",
|
|
569
|
-
name: "",
|
|
570
|
-
type: "uint256",
|
|
571
|
-
},
|
|
572
|
-
],
|
|
573
|
-
stateMutability: "view",
|
|
574
|
-
type: "function",
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
inputs: [],
|
|
578
|
-
name: "owner",
|
|
579
|
-
outputs: [
|
|
580
|
-
{
|
|
581
|
-
internalType: "address",
|
|
582
|
-
name: "",
|
|
583
|
-
type: "address",
|
|
584
|
-
},
|
|
585
|
-
],
|
|
586
|
-
stateMutability: "view",
|
|
587
|
-
type: "function",
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
inputs: [],
|
|
591
|
-
name: "pendingOwner",
|
|
592
|
-
outputs: [
|
|
593
|
-
{
|
|
594
|
-
internalType: "address",
|
|
595
|
-
name: "",
|
|
596
|
-
type: "address",
|
|
597
|
-
},
|
|
598
|
-
],
|
|
599
|
-
stateMutability: "view",
|
|
600
|
-
type: "function",
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
inputs: [],
|
|
604
|
-
name: "poolRegistry",
|
|
605
|
-
outputs: [
|
|
606
|
-
{
|
|
607
|
-
internalType: "address",
|
|
608
|
-
name: "",
|
|
609
|
-
type: "address",
|
|
610
|
-
},
|
|
611
|
-
],
|
|
612
|
-
stateMutability: "view",
|
|
613
|
-
type: "function",
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
inputs: [],
|
|
617
|
-
name: "prime",
|
|
618
|
-
outputs: [
|
|
619
|
-
{
|
|
620
|
-
internalType: "address",
|
|
621
|
-
name: "",
|
|
622
|
-
type: "address",
|
|
623
|
-
},
|
|
624
|
-
],
|
|
625
|
-
stateMutability: "view",
|
|
626
|
-
type: "function",
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
inputs: [
|
|
630
|
-
{
|
|
631
|
-
internalType: "address",
|
|
632
|
-
name: "comptroller",
|
|
633
|
-
type: "address",
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
internalType: "address[]",
|
|
637
|
-
name: "assets",
|
|
638
|
-
type: "address[]",
|
|
639
|
-
},
|
|
640
|
-
],
|
|
641
|
-
name: "releaseFunds",
|
|
642
|
-
outputs: [],
|
|
643
|
-
stateMutability: "nonpayable",
|
|
644
|
-
type: "function",
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
inputs: [],
|
|
648
|
-
name: "renounceOwnership",
|
|
649
|
-
outputs: [],
|
|
650
|
-
stateMutability: "nonpayable",
|
|
651
|
-
type: "function",
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
inputs: [
|
|
655
|
-
{
|
|
656
|
-
internalType: "address",
|
|
657
|
-
name: "accessControlManager_",
|
|
658
|
-
type: "address",
|
|
659
|
-
},
|
|
660
|
-
],
|
|
661
|
-
name: "setAccessControlManager",
|
|
662
|
-
outputs: [],
|
|
663
|
-
stateMutability: "nonpayable",
|
|
664
|
-
type: "function",
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
inputs: [
|
|
668
|
-
{
|
|
669
|
-
internalType: "address",
|
|
670
|
-
name: "_poolRegistry",
|
|
671
|
-
type: "address",
|
|
672
|
-
},
|
|
673
|
-
],
|
|
674
|
-
name: "setPoolRegistry",
|
|
675
|
-
outputs: [],
|
|
676
|
-
stateMutability: "nonpayable",
|
|
677
|
-
type: "function",
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
inputs: [
|
|
681
|
-
{
|
|
682
|
-
internalType: "address",
|
|
683
|
-
name: "_prime",
|
|
684
|
-
type: "address",
|
|
685
|
-
},
|
|
686
|
-
],
|
|
687
|
-
name: "setPrime",
|
|
688
|
-
outputs: [],
|
|
689
|
-
stateMutability: "nonpayable",
|
|
690
|
-
type: "function",
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
inputs: [
|
|
694
|
-
{
|
|
695
|
-
internalType: "address",
|
|
696
|
-
name: "",
|
|
697
|
-
type: "address",
|
|
698
|
-
},
|
|
699
|
-
],
|
|
700
|
-
name: "totalAssetReserve",
|
|
701
|
-
outputs: [
|
|
702
|
-
{
|
|
703
|
-
internalType: "uint256",
|
|
704
|
-
name: "",
|
|
705
|
-
type: "uint256",
|
|
706
|
-
},
|
|
707
|
-
],
|
|
708
|
-
stateMutability: "view",
|
|
709
|
-
type: "function",
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
inputs: [],
|
|
713
|
-
name: "totalDistributions",
|
|
714
|
-
outputs: [
|
|
715
|
-
{
|
|
716
|
-
internalType: "uint256",
|
|
717
|
-
name: "",
|
|
718
|
-
type: "uint256",
|
|
719
|
-
},
|
|
720
|
-
],
|
|
721
|
-
stateMutability: "view",
|
|
722
|
-
type: "function",
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
inputs: [
|
|
726
|
-
{
|
|
727
|
-
internalType: "address",
|
|
728
|
-
name: "newOwner",
|
|
729
|
-
type: "address",
|
|
730
|
-
},
|
|
731
|
-
],
|
|
732
|
-
name: "transferOwnership",
|
|
733
|
-
outputs: [],
|
|
734
|
-
stateMutability: "nonpayable",
|
|
735
|
-
type: "function",
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
inputs: [
|
|
739
|
-
{
|
|
740
|
-
internalType: "address",
|
|
741
|
-
name: "comptroller",
|
|
742
|
-
type: "address",
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
internalType: "address",
|
|
746
|
-
name: "asset",
|
|
747
|
-
type: "address",
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
internalType: "enum IProtocolShareReserve.IncomeType",
|
|
751
|
-
name: "incomeType",
|
|
752
|
-
type: "uint8",
|
|
753
|
-
},
|
|
754
|
-
],
|
|
755
|
-
name: "updateAssetsState",
|
|
756
|
-
outputs: [],
|
|
757
|
-
stateMutability: "nonpayable",
|
|
758
|
-
type: "function",
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
inputs: [],
|
|
762
|
-
name: "vBNB",
|
|
763
|
-
outputs: [
|
|
764
|
-
{
|
|
765
|
-
internalType: "address",
|
|
766
|
-
name: "",
|
|
767
|
-
type: "address",
|
|
768
|
-
},
|
|
769
|
-
],
|
|
770
|
-
stateMutability: "view",
|
|
771
|
-
type: "function",
|
|
772
|
-
},
|
|
773
|
-
] as const;
|
|
774
|
-
|
|
775
|
-
const _bytecode =
|
|
776
|
-
"0x60e06040523480156200001157600080fd5b50604051620030c9380380620030c98339810160408190526200003491620001b7565b6001600160a01b0383166200005c5760405163e6c4247b60e01b815260040160405180910390fd5b6001600160a01b038216620000845760405163e6c4247b60e01b815260040160405180910390fd5b6001600160a01b038116620000ac5760405163e6c4247b60e01b815260040160405180910390fd5b6001600160a01b0380841660805282811660a052811660c052620000cf620000d8565b50505062000201565b600054610100900460ff1615620001455760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000198576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b0381168114620001b257600080fd5b919050565b600080600060608486031215620001cd57600080fd5b620001d8846200019a565b9250620001e8602085016200019a565b9150620001f8604085016200019a565b90509250925092565b60805160a05160c051612e7562000254600039600081816101e201526121390152600081816102bc01526121730152600081816103a3015281816104cd015281816112e1015261159e0152612e756000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c8063aea21121116100e3578063c9e18c6f1161008c578063f2fde38b11610066578063f2fde38b1461038b578063fa7b81a01461039e578063fc31116a146103c557600080fd5b8063c9e18c6f14610354578063cd6dc68714610367578063e30c39781461037a57600080fd5b8063ba879b5b116100bd578063ba879b5b14610324578063be26317e14610337578063c7ee005e1461034057600080fd5b8063aea21121146102de578063afcff50f146102ff578063b4a0bdf31461031357600080fd5b8063715018a611610145578063893ffe981161011f578063893ffe98146102935780638da5cb5b146102a65780638dd95002146102b757600080fd5b8063715018a61461027057806379ba5097146102785780637b77cd6a1461028057600080fd5b806333e1567f1161017657806333e1567f146101dd578063392ee7121461021c5780635db6da121461023e57600080fd5b80630e32cb861461019d578063163db71b146101b257806316faecec146101ca575b600080fd5b6101b06101ab3660046126a1565b6103d8565b005b610131545b6040519081526020015b60405180910390f35b6101b06101d83660046126d2565b6103ec565b6102047f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101c1565b61022f61022a36600461271d565b61079b565b6040516101c19392919061279c565b6101b761024c3660046126d2565b61012f60209081526000938452604080852082529284528284209052825290205481565b6101b06107dc565b6101b06107f0565b6101b061028e3660046126a1565b610880565b6101b76102a13660046127c6565b61093e565b6033546001600160a01b0316610204565b6102047f000000000000000000000000000000000000000000000000000000000000000081565b6101b76102ec3660046126a1565b6101306020526000908152604090205481565b61012e54610204906001600160a01b031681565b6097546001600160a01b0316610204565b6101b06103323660046128ed565b610a52565b6101b760fb5481565b61012d54610204906001600160a01b031681565b6101b06103623660046126a1565b610d6d565b6101b06103753660046129c2565b610e2b565b6065546001600160a01b0316610204565b6101b06103993660046126a1565b610fb6565b6102047f000000000000000000000000000000000000000000000000000000000000000081565b6101b06103d33660046129ee565b61103f565b6103e0611095565b6103e9816110ef565b50565b6103f46111e5565b826001600160a01b0316627e3dd26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610431573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104559190612a9d565b61048b576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166104cb576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316141580156105a4575061012e546040517f266e0a7f0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152600092169063266e0a7f90604401602060405180830381865afa158015610575573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105999190612abf565b6001600160a01b0316145b156105db576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006105e884848461123e565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529091506000906001600160a01b038516906370a0823190602401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612adc565b6001600160a01b0385166000908152610130602052604090205490915080821115610789576001600160a01b03808716600090815261012f602090815260408083209389168352929052908120828403918291908660018111156106d5576106d5612736565b60018111156106e6576106e6612736565b815260200190815260200160002060008282546107039190612b24565b90915550506001600160a01b0386166000908152610130602052604081208054839290610731908490612b24565b92505081905550856001600160a01b0316876001600160a01b03167fa46b2431e663cf7b50c9d5129aff85d2394ecfd447b7ccba83986510a9d945ea83888860405161077f93929190612b3c565b60405180910390a3505b505050610796600160c955565b505050565b61013181815481106107ac57600080fd5b600091825260209091206003909102018054600182015460029092015460ff90911692506001600160a01b031683565b6107e4611095565b6107ee600061134b565b565b60655433906001600160a01b031681146108775760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103e98161134b565b610888611095565b6001600160a01b0381166108c8576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61012e546040516001600160a01b038084169216907fa87b964d321035d2165e484ff4b722dd6eae30606c0b98887d2ed1a34e594bfe90600090a361012e80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000805b61013154811015610a48576000610131828154811061096357610963612b69565b9060005260206000209060030201905085600181111561098557610985612736565b815460ff16600181111561099b5761099b612736565b1480156109b7575060028101546001600160a01b038681169116145b15610a3f576001600160a01b03808816600090815261012f602090815260408083209388168352929052908120818860018111156109f7576109f7612736565b6001811115610a0857610a08612736565b81526020019081526020016000205490506064826001015482610a2b9190612b98565b610a359190612bd5565b9350505050610a4a565b50600101610942565b505b949350505050565b610a5a6111e5565b610a7b604051806060016040528060348152602001612e0c6034913961137c565b610a83611448565b60005b8151811015610d4d576000828281518110610aa357610aa3612b69565b6020026020010151905060006001600160a01b031681604001516001600160a01b031603610b395760405162461bcd60e51b815260206004820152603160248201527f50726f746f636f6c5368617265526573657276653a2044657374696e6174696f60448201527f6e206164647265737320696e76616c6964000000000000000000000000000000606482015260840161086e565b6000805b61013154811015610c305760006101318281548110610b5e57610b5e612b69565b60009182526020909120600390910201805490915060ff166001811115610b8757610b87612736565b84516001811115610b9a57610b9a612736565b148015610bbb5750604084015160028201546001600160a01b039081169116145b15610c275783604001516001600160a01b03167f86425c9fc7b14328a4d53181ae1cafa5c44688f63636e30200b7384984ac17b8826001015486602001518760000151604051610c0d93929190612c10565b60405180910390a260208401516001918201559150610c30565b50600101610b3d565b5080610d4357610131805460018181018355600092909252835160039091027fbd987ad6ccdb7c7567f7335ea839f95dc944431abcf935b6924f70215963db73018054859391929183917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016908381811115610cae57610cae612736565b02179055506020828101516001830155604092830151600290920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905584830151908501518551935191909216927fbfee2691582b93dec113181471d377f858f39c4ba82e135be3d4d7240b11ed3c92610d3a92909190612c27565b60405180910390a25b5050600101610a86565b50610d566115d4565b61013154610d6390611795565b6103e9600160c955565b610d75611095565b6001600160a01b038116610db5576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61012d546040516001600160a01b038084169216907f229f487e93a5313f6898190adf00c62e8b5d4c9c46249d31a9cd8a8024007bce90600090a361012d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600054610100900460ff1615808015610e4b5750600054600160ff909116105b80610e655750303b158015610e65575060005460ff166001145b610ed75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161086e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610f3557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610f3e836117df565b610f4661186d565b610f4f826118f2565b801561079657600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b610fbe611095565b606580546001600160a01b0383167fffffffffffffffffffffffff000000000000000000000000000000000000000090911681179091556110076033546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6110476111e5565b61104f6119a7565b60005b81518110156110865761107e8383838151811061107157611071612b69565b6020026020010151611b04565b600101611052565b50611091600160c955565b5050565b6033546001600160a01b031633146107ee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086e565b6001600160a01b03811661116b5760405162461bcd60e51b815260206004820152602560248201527f696e76616c696420616365737320636f6e74726f6c206d616e6167657220616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161086e565b609780546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa091015b60405180910390a15050565b600260c954036112375760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161086e565b600260c955565b61012d546040517fee6b13fc0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600092839291169063ee6b13fc90602401602060405180830381865afa1580156112a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ca9190612abf565b90506001600160a01b0381161580159061131557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316145b80156113325750600083600181111561133057611330612736565b145b1561133c57600191505b509392505050565b600160c955565b606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556103e9816120cb565b6097546040517f18c5e8ab0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906318c5e8ab906113c89033908690600401612cbe565b602060405180830381865afa1580156113e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114099190612a9d565b905080611091573330836040517f4a3fa29300000000000000000000000000000000000000000000000000000000815260040161086e93929190612ce0565b61012d54604080517fb0772d0b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163b0772d0b91600480830192869291908290030181865afa1580156114ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526114f19190810190612d15565b905060005b815181101561109157600082828151811061151357611513612b69565b602090810291909101015161012d546040517f9198e5150000000000000000000000000000000000000000000000000000000081526001600160a01b038084166004830152929350911690639198e51590602401600060405180830381600087803b15801561158157600080fd5b505af1158015611595573d6000803e3d6000fd5b505050506115cb7f00000000000000000000000000000000000000000000000000000000000000006115c683612135565b611b04565b506001016114f6565b60006115e1600180612b24565b905060008167ffffffffffffffff8111156115fe576115fe612822565b604051908082528060200260200182016040528015611627578160200160208202803683370190505b50905060005b61013154811015611706576000610131828154811061164e5761164e612b69565b6000918252602090912060408051606081019091526003909202018054829060ff16600181111561168157611681612736565b600181111561169257611692612736565b81526001828101546020808401919091526002909301546001600160a01b03166040909201919091529082015182519293509185918111156116d6576116d6612736565b815181106116e6576116e6612b69565b602002602001018181516116fa9190612b24565b9052505060010161162d565b5060005b8281101561079657606482828151811061172657611726612b69565b602002602001015114158015611756575081818151811061174957611749612b69565b6020026020010151600014155b1561178d576040517f0b8ad7f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60010161170a565b60fb548111156103e95760fb546040517ff257f63600000000000000000000000000000000000000000000000000000000815260048101919091526024810182905260440161086e565b600054610100900460ff1661185c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086e565b6118646121ff565b6103e981612284565b600054610100900460ff166118ea5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086e565b6107ee612301565b60fb5481116119695760405162461bcd60e51b815260206004820152602260248201527f436f6d7074726f6c6c65723a20496e76616c6964206d61784c6f6f70734c696d60448201527f6974000000000000000000000000000000000000000000000000000000000000606482015260840161086e565b60fb80549082905560408051828152602081018490527fc2d09fef144f7c8a86f71ea459f8fc17f675768eb1ae369cbd77fb31d467aafa91016111d9565b61012d54604080517fb0772d0b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163b0772d0b91600480830192869291908290030181865afa158015611a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611a509190810190612d15565b905060005b8151811015611091576000828281518110611a7257611a72612b69565b602090810291909101015161012d546040517f9198e5150000000000000000000000000000000000000000000000000000000081526001600160a01b038084166004830152929350911690639198e51590602401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b5050505081600101915050611a55565b6000611b11600180612b24565b905060008167ffffffffffffffff811115611b2e57611b2e612822565b604051908082528060200260200182016040528015611b57578160200160208202803683370190505b5090506000805b83811015611c1f576001600160a01b03808716600090815261012f60209081526040808320938916835292905290812090826001811115611ba157611ba1612736565b6001811115611bb257611bb2612736565b6001811115611bc357611bc3612736565b815260200190815260200160002054838281518110611be457611be4612b69565b602002602001018181525050828181518110611c0257611c02612b69565b602002602001015182611c159190612b24565b9150600101611b5e565b5080600003611c2f575050505050565b60008367ffffffffffffffff811115611c4a57611c4a612822565b604051908082528060200260200182016040528015611c73578160200160208202803683370190505b50905060005b61013154811015611e965760006101318281548110611c9a57611c9a612b69565b6000918252602090912060408051606081019091526003909202018054829060ff166001811115611ccd57611ccd612736565b6001811115611cde57611cde612736565b81526001828101546020808401919091526002909301546001600160a01b0316604090920191909152908201518251929350600092606492899190811115611d2857611d28612736565b81518110611d3857611d38612b69565b6020026020010151611d4a9190612b98565b611d549190612bd5565b9050808483600001516001811115611d6e57611d6e612736565b81518110611d7e57611d7e612b69565b60200260200101818151611d929190612b24565b9052506040820151611daf906001600160a01b038a16908361237e565b60408083015190517faac59a750000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301528a811660248301529091169063aac59a7590604401600060405180830381600087803b158015611e1957600080fd5b505af1158015611e2d573d6000803e3d6000fd5b50505050876001600160a01b031682604001516001600160a01b03167f09f71e7b22d78540ee9a42f09917a9d62f46735cb0dfa70d6bab27866d9cb5008460000151856020015185604051611e8493929190612da4565b60405180910390a35050600101611c79565b5060008467ffffffffffffffff811115611eb257611eb2612822565b604051908082528060200260200182016040528015611edb578160200160208202803683370190505b50905060005b858110156120c157828181518110611efb57611efb612b69565b6020026020010151858281518110611f1557611f15612b69565b6020026020010151611f279190612dc5565b828281518110611f3957611f39612b69565b602002602001018181525050818181518110611f5757611f57612b69565b6020908102919091018101516001600160a01b03808b16600090815261012f84526040808220928c1682529190935282209091836001811115611f9c57611f9c612736565b6001811115611fad57611fad612736565b6001811115611fbe57611fbe612736565b815260200190815260200160002081905550828181518110611fe257611fe2612b69565b60200260200101516101306000896001600160a01b03166001600160a01b031681526020019081526020016000205461201b9190612dc5565b6001600160a01b038089166000818152610130602052604090209290925589167f7d881f3d6246a6a2b97b121b8ba093c17497912c68e8b2bca6108528e91df3ca83600181111561206e5761206e612736565b88858151811061208057612080612b69565b602002602001015186868151811061209a5761209a612b69565b60200260200101516040516120b193929190612da4565b60405180910390a3600101611ee1565b5050505050505050565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361219757507f0000000000000000000000000000000000000000000000000000000000000000919050565b816001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f99190612abf565b92915050565b600054610100900460ff1661227c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086e565b6107ee6123fe565b600054610100900460ff166103e05760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086e565b600054610100900460ff166113445760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610796908490612484565b600054610100900460ff1661247b5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161086e565b6107ee3361134b565b60006124d9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125699092919063ffffffff16565b80519091501561079657808060200190518101906124f79190612a9d565b6107965760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161086e565b6060610a4a848460008585600080866001600160a01b031685876040516125909190612ddc565b60006040518083038185875af1925050503d80600081146125cd576040519150601f19603f3d011682016040523d82523d6000602084013e6125d2565b606091505b50915091506125e3878383876125ee565b979650505050505050565b6060831561265d578251600003612656576001600160a01b0385163b6126565760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161086e565b5081610a4a565b610a4a83838151156126725781518083602001fd5b8060405162461bcd60e51b815260040161086e9190612df8565b6001600160a01b03811681146103e957600080fd5b6000602082840312156126b357600080fd5b81356126be8161268c565b9392505050565b600281106103e957600080fd5b6000806000606084860312156126e757600080fd5b83356126f28161268c565b925060208401356127028161268c565b91506040840135612712816126c5565b809150509250925092565b60006020828403121561272f57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600281106103e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b606081016127a985612765565b93815260208101929092526001600160a01b031660409091015290565b600080600080608085870312156127dc57600080fd5b84356127e78161268c565b935060208501356127f7816126c5565b925060408501356128078161268c565b915060608501356128178161268c565b939692955090935050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff8111828210171561287457612874612822565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156128c1576128c1612822565b604052919050565b600067ffffffffffffffff8211156128e3576128e3612822565b5060051b60200190565b6000602080838503121561290057600080fd5b823567ffffffffffffffff81111561291757600080fd5b8301601f8101851361292857600080fd5b803561293b612936826128c9565b61287a565b8181526060918202830184019184820191908884111561295a57600080fd5b938501935b838510156129b65780858a0312156129775760008081fd5b61297f612851565b853561298a816126c5565b815285870135878201526040808701356129a38161268c565b908201528352938401939185019161295f565b50979650505050505050565b600080604083850312156129d557600080fd5b82356129e08161268c565b946020939093013593505050565b60008060408385031215612a0157600080fd5b8235612a0c8161268c565b915060208381013567ffffffffffffffff811115612a2957600080fd5b8401601f81018613612a3a57600080fd5b8035612a48612936826128c9565b81815260059190911b82018301908381019088831115612a6757600080fd5b928401925b82841015612a8e578335612a7f8161268c565b82529284019290840190612a6c565b80955050505050509250929050565b600060208284031215612aaf57600080fd5b815180151581146126be57600080fd5b600060208284031215612ad157600080fd5b81516126be8161268c565b600060208284031215612aee57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612b3757612b37612af5565b500190565b83815260608101612b4c84612765565b836020830152612b5b83612765565b826040830152949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612bd057612bd0612af5565b500290565b600082612c0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8381526020810183905260608101612b5b83612765565b82815260408101612c3783612765565b8260208301529392505050565b60005b83811015612c5f578181015183820152602001612c47565b83811115612c6e576000848401525b50505050565b60008151808452612c8c816020860160208601612c44565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6001600160a01b0383168152604060208201526000610a4a6040830184612c74565b60006001600160a01b03808616835280851660208401525060606040830152612d0c6060830184612c74565b95945050505050565b60006020808385031215612d2857600080fd5b825167ffffffffffffffff811115612d3f57600080fd5b8301601f81018513612d5057600080fd5b8051612d5e612936826128c9565b81815260059190911b82018301908381019087831115612d7d57600080fd5b928401925b828410156125e3578351612d958161268c565b82529284019290840190612d82565b60608101612db185612765565b938152602081019290925260409091015290565b600082821015612dd757612dd7612af5565b500390565b60008251612dee818460208701612c44565b9190910192915050565b6020815260006126be6020830184612c7456fe6164644f72557064617465446973747269627574696f6e436f6e6669677328446973747269627574696f6e436f6e6669675b5d29a2646970667358221220200f934f21b50bc29974b57d9d4cec51caf0ed0f1239fda734b58ac3d7ddfb7964736f6c634300080d0033";
|
|
777
|
-
|
|
778
|
-
type ProtocolShareReserveConstructorParams =
|
|
779
|
-
| [signer?: Signer]
|
|
780
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
781
|
-
|
|
782
|
-
const isSuperArgs = (
|
|
783
|
-
xs: ProtocolShareReserveConstructorParams
|
|
784
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
785
|
-
|
|
786
|
-
export class ProtocolShareReserve__factory extends ContractFactory {
|
|
787
|
-
constructor(...args: ProtocolShareReserveConstructorParams) {
|
|
788
|
-
if (isSuperArgs(args)) {
|
|
789
|
-
super(...args);
|
|
790
|
-
} else {
|
|
791
|
-
super(_abi, _bytecode, args[0]);
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
override deploy(
|
|
796
|
-
_corePoolComptroller: PromiseOrValue<string>,
|
|
797
|
-
_wbnb: PromiseOrValue<string>,
|
|
798
|
-
_vbnb: PromiseOrValue<string>,
|
|
799
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
800
|
-
): Promise<ProtocolShareReserve> {
|
|
801
|
-
return super.deploy(
|
|
802
|
-
_corePoolComptroller,
|
|
803
|
-
_wbnb,
|
|
804
|
-
_vbnb,
|
|
805
|
-
overrides || {}
|
|
806
|
-
) as Promise<ProtocolShareReserve>;
|
|
807
|
-
}
|
|
808
|
-
override getDeployTransaction(
|
|
809
|
-
_corePoolComptroller: PromiseOrValue<string>,
|
|
810
|
-
_wbnb: PromiseOrValue<string>,
|
|
811
|
-
_vbnb: PromiseOrValue<string>,
|
|
812
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
813
|
-
): TransactionRequest {
|
|
814
|
-
return super.getDeployTransaction(
|
|
815
|
-
_corePoolComptroller,
|
|
816
|
-
_wbnb,
|
|
817
|
-
_vbnb,
|
|
818
|
-
overrides || {}
|
|
819
|
-
);
|
|
820
|
-
}
|
|
821
|
-
override attach(address: string): ProtocolShareReserve {
|
|
822
|
-
return super.attach(address) as ProtocolShareReserve;
|
|
823
|
-
}
|
|
824
|
-
override connect(signer: Signer): ProtocolShareReserve__factory {
|
|
825
|
-
return super.connect(signer) as ProtocolShareReserve__factory;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
static readonly bytecode = _bytecode;
|
|
829
|
-
static readonly abi = _abi;
|
|
830
|
-
static createInterface(): ProtocolShareReserveInterface {
|
|
831
|
-
return new utils.Interface(_abi) as ProtocolShareReserveInterface;
|
|
832
|
-
}
|
|
833
|
-
static connect(
|
|
834
|
-
address: string,
|
|
835
|
-
signerOrProvider: Signer | Provider
|
|
836
|
-
): ProtocolShareReserve {
|
|
837
|
-
return new Contract(
|
|
838
|
-
address,
|
|
839
|
-
_abi,
|
|
840
|
-
signerOrProvider
|
|
841
|
-
) as ProtocolShareReserve;
|
|
842
|
-
}
|
|
843
|
-
}
|