@venusprotocol/protocol-reserve 1.0.0-dev.6 → 1.0.0
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 +67 -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 +70 -86
- 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} +538 -486
- 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/1b4d833fe9f0ac50f7e6ab5ae3115468.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 -867
- 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,72 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type {
|
|
7
|
-
TypedEventFilter,
|
|
8
|
-
TypedEvent,
|
|
9
|
-
TypedListener,
|
|
10
|
-
OnEvent,
|
|
11
|
-
PromiseOrValue,
|
|
12
|
-
} from "../../../common";
|
|
13
|
-
import type { EventFragment } from "@ethersproject/abi";
|
|
14
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
15
|
-
import type { BaseContract, Signer, utils } from "ethers";
|
|
16
|
-
|
|
17
|
-
export interface ContextUpgradeableInterface extends utils.Interface {
|
|
18
|
-
functions: {};
|
|
19
|
-
|
|
20
|
-
events: {
|
|
21
|
-
"Initialized(uint8)": EventFragment;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface InitializedEventObject {
|
|
28
|
-
version: number;
|
|
29
|
-
}
|
|
30
|
-
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
31
|
-
|
|
32
|
-
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
33
|
-
|
|
34
|
-
export interface ContextUpgradeable extends BaseContract {
|
|
35
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
36
|
-
attach(addressOrName: string): this;
|
|
37
|
-
deployed(): Promise<this>;
|
|
38
|
-
|
|
39
|
-
interface: ContextUpgradeableInterface;
|
|
40
|
-
|
|
41
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
42
|
-
event: TypedEventFilter<TEvent>,
|
|
43
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
44
|
-
toBlock?: string | number | undefined
|
|
45
|
-
): Promise<Array<TEvent>>;
|
|
46
|
-
|
|
47
|
-
listeners<TEvent extends TypedEvent>(
|
|
48
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
49
|
-
): Array<TypedListener<TEvent>>;
|
|
50
|
-
listeners(eventName?: string): Array<Listener>;
|
|
51
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
52
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
53
|
-
): this;
|
|
54
|
-
removeAllListeners(eventName?: string): this;
|
|
55
|
-
off: OnEvent<this>;
|
|
56
|
-
on: OnEvent<this>;
|
|
57
|
-
once: OnEvent<this>;
|
|
58
|
-
removeListener: OnEvent<this>;
|
|
59
|
-
|
|
60
|
-
functions: {};
|
|
61
|
-
|
|
62
|
-
callStatic: {};
|
|
63
|
-
|
|
64
|
-
filters: {
|
|
65
|
-
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
66
|
-
Initialized(version?: null): InitializedEventFilter;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
estimateGas: {};
|
|
70
|
-
|
|
71
|
-
populateTransaction: {};
|
|
72
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type * as contracts from "./contracts";
|
|
7
|
-
import type * as contractsUpgradeable from "./contracts-upgradeable";
|
|
8
|
-
|
|
9
|
-
export type { contracts };
|
|
10
|
-
|
|
11
|
-
export type { contractsUpgradeable };
|
|
@@ -1,530 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type {
|
|
7
|
-
TypedEventFilter,
|
|
8
|
-
TypedEvent,
|
|
9
|
-
TypedListener,
|
|
10
|
-
OnEvent,
|
|
11
|
-
PromiseOrValue,
|
|
12
|
-
} from "../../../../common";
|
|
13
|
-
import type {
|
|
14
|
-
FunctionFragment,
|
|
15
|
-
Result,
|
|
16
|
-
EventFragment,
|
|
17
|
-
} from "@ethersproject/abi";
|
|
18
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
-
import type {
|
|
20
|
-
BaseContract,
|
|
21
|
-
BigNumber,
|
|
22
|
-
BytesLike,
|
|
23
|
-
CallOverrides,
|
|
24
|
-
ContractTransaction,
|
|
25
|
-
Overrides,
|
|
26
|
-
PopulatedTransaction,
|
|
27
|
-
Signer,
|
|
28
|
-
utils,
|
|
29
|
-
} from "ethers";
|
|
30
|
-
|
|
31
|
-
export interface IAccessControlManagerV8Interface extends utils.Interface {
|
|
32
|
-
functions: {
|
|
33
|
-
"getRoleAdmin(bytes32)": FunctionFragment;
|
|
34
|
-
"giveCallPermission(address,string,address)": FunctionFragment;
|
|
35
|
-
"grantRole(bytes32,address)": FunctionFragment;
|
|
36
|
-
"hasPermission(address,address,string)": FunctionFragment;
|
|
37
|
-
"hasRole(bytes32,address)": FunctionFragment;
|
|
38
|
-
"isAllowedToCall(address,string)": FunctionFragment;
|
|
39
|
-
"renounceRole(bytes32,address)": FunctionFragment;
|
|
40
|
-
"revokeCallPermission(address,string,address)": FunctionFragment;
|
|
41
|
-
"revokeRole(bytes32,address)": FunctionFragment;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
getFunction(
|
|
45
|
-
nameOrSignatureOrTopic:
|
|
46
|
-
| "getRoleAdmin"
|
|
47
|
-
| "giveCallPermission"
|
|
48
|
-
| "grantRole"
|
|
49
|
-
| "hasPermission"
|
|
50
|
-
| "hasRole"
|
|
51
|
-
| "isAllowedToCall"
|
|
52
|
-
| "renounceRole"
|
|
53
|
-
| "revokeCallPermission"
|
|
54
|
-
| "revokeRole"
|
|
55
|
-
): FunctionFragment;
|
|
56
|
-
|
|
57
|
-
encodeFunctionData(
|
|
58
|
-
functionFragment: "getRoleAdmin",
|
|
59
|
-
values: [PromiseOrValue<BytesLike>]
|
|
60
|
-
): string;
|
|
61
|
-
encodeFunctionData(
|
|
62
|
-
functionFragment: "giveCallPermission",
|
|
63
|
-
values: [
|
|
64
|
-
PromiseOrValue<string>,
|
|
65
|
-
PromiseOrValue<string>,
|
|
66
|
-
PromiseOrValue<string>
|
|
67
|
-
]
|
|
68
|
-
): string;
|
|
69
|
-
encodeFunctionData(
|
|
70
|
-
functionFragment: "grantRole",
|
|
71
|
-
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
72
|
-
): string;
|
|
73
|
-
encodeFunctionData(
|
|
74
|
-
functionFragment: "hasPermission",
|
|
75
|
-
values: [
|
|
76
|
-
PromiseOrValue<string>,
|
|
77
|
-
PromiseOrValue<string>,
|
|
78
|
-
PromiseOrValue<string>
|
|
79
|
-
]
|
|
80
|
-
): string;
|
|
81
|
-
encodeFunctionData(
|
|
82
|
-
functionFragment: "hasRole",
|
|
83
|
-
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
84
|
-
): string;
|
|
85
|
-
encodeFunctionData(
|
|
86
|
-
functionFragment: "isAllowedToCall",
|
|
87
|
-
values: [PromiseOrValue<string>, PromiseOrValue<string>]
|
|
88
|
-
): string;
|
|
89
|
-
encodeFunctionData(
|
|
90
|
-
functionFragment: "renounceRole",
|
|
91
|
-
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
92
|
-
): string;
|
|
93
|
-
encodeFunctionData(
|
|
94
|
-
functionFragment: "revokeCallPermission",
|
|
95
|
-
values: [
|
|
96
|
-
PromiseOrValue<string>,
|
|
97
|
-
PromiseOrValue<string>,
|
|
98
|
-
PromiseOrValue<string>
|
|
99
|
-
]
|
|
100
|
-
): string;
|
|
101
|
-
encodeFunctionData(
|
|
102
|
-
functionFragment: "revokeRole",
|
|
103
|
-
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
104
|
-
): string;
|
|
105
|
-
|
|
106
|
-
decodeFunctionResult(
|
|
107
|
-
functionFragment: "getRoleAdmin",
|
|
108
|
-
data: BytesLike
|
|
109
|
-
): Result;
|
|
110
|
-
decodeFunctionResult(
|
|
111
|
-
functionFragment: "giveCallPermission",
|
|
112
|
-
data: BytesLike
|
|
113
|
-
): Result;
|
|
114
|
-
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
115
|
-
decodeFunctionResult(
|
|
116
|
-
functionFragment: "hasPermission",
|
|
117
|
-
data: BytesLike
|
|
118
|
-
): Result;
|
|
119
|
-
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
120
|
-
decodeFunctionResult(
|
|
121
|
-
functionFragment: "isAllowedToCall",
|
|
122
|
-
data: BytesLike
|
|
123
|
-
): Result;
|
|
124
|
-
decodeFunctionResult(
|
|
125
|
-
functionFragment: "renounceRole",
|
|
126
|
-
data: BytesLike
|
|
127
|
-
): Result;
|
|
128
|
-
decodeFunctionResult(
|
|
129
|
-
functionFragment: "revokeCallPermission",
|
|
130
|
-
data: BytesLike
|
|
131
|
-
): Result;
|
|
132
|
-
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
133
|
-
|
|
134
|
-
events: {
|
|
135
|
-
"RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment;
|
|
136
|
-
"RoleGranted(bytes32,address,address)": EventFragment;
|
|
137
|
-
"RoleRevoked(bytes32,address,address)": EventFragment;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
|
|
141
|
-
getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
|
|
142
|
-
getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export interface RoleAdminChangedEventObject {
|
|
146
|
-
role: string;
|
|
147
|
-
previousAdminRole: string;
|
|
148
|
-
newAdminRole: string;
|
|
149
|
-
}
|
|
150
|
-
export type RoleAdminChangedEvent = TypedEvent<
|
|
151
|
-
[string, string, string],
|
|
152
|
-
RoleAdminChangedEventObject
|
|
153
|
-
>;
|
|
154
|
-
|
|
155
|
-
export type RoleAdminChangedEventFilter =
|
|
156
|
-
TypedEventFilter<RoleAdminChangedEvent>;
|
|
157
|
-
|
|
158
|
-
export interface RoleGrantedEventObject {
|
|
159
|
-
role: string;
|
|
160
|
-
account: string;
|
|
161
|
-
sender: string;
|
|
162
|
-
}
|
|
163
|
-
export type RoleGrantedEvent = TypedEvent<
|
|
164
|
-
[string, string, string],
|
|
165
|
-
RoleGrantedEventObject
|
|
166
|
-
>;
|
|
167
|
-
|
|
168
|
-
export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
|
|
169
|
-
|
|
170
|
-
export interface RoleRevokedEventObject {
|
|
171
|
-
role: string;
|
|
172
|
-
account: string;
|
|
173
|
-
sender: string;
|
|
174
|
-
}
|
|
175
|
-
export type RoleRevokedEvent = TypedEvent<
|
|
176
|
-
[string, string, string],
|
|
177
|
-
RoleRevokedEventObject
|
|
178
|
-
>;
|
|
179
|
-
|
|
180
|
-
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
|
|
181
|
-
|
|
182
|
-
export interface IAccessControlManagerV8 extends BaseContract {
|
|
183
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
184
|
-
attach(addressOrName: string): this;
|
|
185
|
-
deployed(): Promise<this>;
|
|
186
|
-
|
|
187
|
-
interface: IAccessControlManagerV8Interface;
|
|
188
|
-
|
|
189
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
190
|
-
event: TypedEventFilter<TEvent>,
|
|
191
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
192
|
-
toBlock?: string | number | undefined
|
|
193
|
-
): Promise<Array<TEvent>>;
|
|
194
|
-
|
|
195
|
-
listeners<TEvent extends TypedEvent>(
|
|
196
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
197
|
-
): Array<TypedListener<TEvent>>;
|
|
198
|
-
listeners(eventName?: string): Array<Listener>;
|
|
199
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
200
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
201
|
-
): this;
|
|
202
|
-
removeAllListeners(eventName?: string): this;
|
|
203
|
-
off: OnEvent<this>;
|
|
204
|
-
on: OnEvent<this>;
|
|
205
|
-
once: OnEvent<this>;
|
|
206
|
-
removeListener: OnEvent<this>;
|
|
207
|
-
|
|
208
|
-
functions: {
|
|
209
|
-
getRoleAdmin(
|
|
210
|
-
role: PromiseOrValue<BytesLike>,
|
|
211
|
-
overrides?: CallOverrides
|
|
212
|
-
): Promise<[string]>;
|
|
213
|
-
|
|
214
|
-
giveCallPermission(
|
|
215
|
-
contractAddress: PromiseOrValue<string>,
|
|
216
|
-
functionSig: PromiseOrValue<string>,
|
|
217
|
-
accountToPermit: PromiseOrValue<string>,
|
|
218
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
219
|
-
): Promise<ContractTransaction>;
|
|
220
|
-
|
|
221
|
-
grantRole(
|
|
222
|
-
role: PromiseOrValue<BytesLike>,
|
|
223
|
-
account: PromiseOrValue<string>,
|
|
224
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
225
|
-
): Promise<ContractTransaction>;
|
|
226
|
-
|
|
227
|
-
hasPermission(
|
|
228
|
-
account: PromiseOrValue<string>,
|
|
229
|
-
contractAddress: PromiseOrValue<string>,
|
|
230
|
-
functionSig: PromiseOrValue<string>,
|
|
231
|
-
overrides?: CallOverrides
|
|
232
|
-
): Promise<[boolean]>;
|
|
233
|
-
|
|
234
|
-
hasRole(
|
|
235
|
-
role: PromiseOrValue<BytesLike>,
|
|
236
|
-
account: PromiseOrValue<string>,
|
|
237
|
-
overrides?: CallOverrides
|
|
238
|
-
): Promise<[boolean]>;
|
|
239
|
-
|
|
240
|
-
isAllowedToCall(
|
|
241
|
-
account: PromiseOrValue<string>,
|
|
242
|
-
functionSig: PromiseOrValue<string>,
|
|
243
|
-
overrides?: CallOverrides
|
|
244
|
-
): Promise<[boolean]>;
|
|
245
|
-
|
|
246
|
-
renounceRole(
|
|
247
|
-
role: PromiseOrValue<BytesLike>,
|
|
248
|
-
account: PromiseOrValue<string>,
|
|
249
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
250
|
-
): Promise<ContractTransaction>;
|
|
251
|
-
|
|
252
|
-
revokeCallPermission(
|
|
253
|
-
contractAddress: PromiseOrValue<string>,
|
|
254
|
-
functionSig: PromiseOrValue<string>,
|
|
255
|
-
accountToRevoke: PromiseOrValue<string>,
|
|
256
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
257
|
-
): Promise<ContractTransaction>;
|
|
258
|
-
|
|
259
|
-
revokeRole(
|
|
260
|
-
role: PromiseOrValue<BytesLike>,
|
|
261
|
-
account: PromiseOrValue<string>,
|
|
262
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
263
|
-
): Promise<ContractTransaction>;
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
getRoleAdmin(
|
|
267
|
-
role: PromiseOrValue<BytesLike>,
|
|
268
|
-
overrides?: CallOverrides
|
|
269
|
-
): Promise<string>;
|
|
270
|
-
|
|
271
|
-
giveCallPermission(
|
|
272
|
-
contractAddress: PromiseOrValue<string>,
|
|
273
|
-
functionSig: PromiseOrValue<string>,
|
|
274
|
-
accountToPermit: PromiseOrValue<string>,
|
|
275
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
276
|
-
): Promise<ContractTransaction>;
|
|
277
|
-
|
|
278
|
-
grantRole(
|
|
279
|
-
role: PromiseOrValue<BytesLike>,
|
|
280
|
-
account: PromiseOrValue<string>,
|
|
281
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
282
|
-
): Promise<ContractTransaction>;
|
|
283
|
-
|
|
284
|
-
hasPermission(
|
|
285
|
-
account: PromiseOrValue<string>,
|
|
286
|
-
contractAddress: PromiseOrValue<string>,
|
|
287
|
-
functionSig: PromiseOrValue<string>,
|
|
288
|
-
overrides?: CallOverrides
|
|
289
|
-
): Promise<boolean>;
|
|
290
|
-
|
|
291
|
-
hasRole(
|
|
292
|
-
role: PromiseOrValue<BytesLike>,
|
|
293
|
-
account: PromiseOrValue<string>,
|
|
294
|
-
overrides?: CallOverrides
|
|
295
|
-
): Promise<boolean>;
|
|
296
|
-
|
|
297
|
-
isAllowedToCall(
|
|
298
|
-
account: PromiseOrValue<string>,
|
|
299
|
-
functionSig: PromiseOrValue<string>,
|
|
300
|
-
overrides?: CallOverrides
|
|
301
|
-
): Promise<boolean>;
|
|
302
|
-
|
|
303
|
-
renounceRole(
|
|
304
|
-
role: PromiseOrValue<BytesLike>,
|
|
305
|
-
account: PromiseOrValue<string>,
|
|
306
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
307
|
-
): Promise<ContractTransaction>;
|
|
308
|
-
|
|
309
|
-
revokeCallPermission(
|
|
310
|
-
contractAddress: PromiseOrValue<string>,
|
|
311
|
-
functionSig: PromiseOrValue<string>,
|
|
312
|
-
accountToRevoke: PromiseOrValue<string>,
|
|
313
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
314
|
-
): Promise<ContractTransaction>;
|
|
315
|
-
|
|
316
|
-
revokeRole(
|
|
317
|
-
role: PromiseOrValue<BytesLike>,
|
|
318
|
-
account: PromiseOrValue<string>,
|
|
319
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
320
|
-
): Promise<ContractTransaction>;
|
|
321
|
-
|
|
322
|
-
callStatic: {
|
|
323
|
-
getRoleAdmin(
|
|
324
|
-
role: PromiseOrValue<BytesLike>,
|
|
325
|
-
overrides?: CallOverrides
|
|
326
|
-
): Promise<string>;
|
|
327
|
-
|
|
328
|
-
giveCallPermission(
|
|
329
|
-
contractAddress: PromiseOrValue<string>,
|
|
330
|
-
functionSig: PromiseOrValue<string>,
|
|
331
|
-
accountToPermit: PromiseOrValue<string>,
|
|
332
|
-
overrides?: CallOverrides
|
|
333
|
-
): Promise<void>;
|
|
334
|
-
|
|
335
|
-
grantRole(
|
|
336
|
-
role: PromiseOrValue<BytesLike>,
|
|
337
|
-
account: PromiseOrValue<string>,
|
|
338
|
-
overrides?: CallOverrides
|
|
339
|
-
): Promise<void>;
|
|
340
|
-
|
|
341
|
-
hasPermission(
|
|
342
|
-
account: PromiseOrValue<string>,
|
|
343
|
-
contractAddress: PromiseOrValue<string>,
|
|
344
|
-
functionSig: PromiseOrValue<string>,
|
|
345
|
-
overrides?: CallOverrides
|
|
346
|
-
): Promise<boolean>;
|
|
347
|
-
|
|
348
|
-
hasRole(
|
|
349
|
-
role: PromiseOrValue<BytesLike>,
|
|
350
|
-
account: PromiseOrValue<string>,
|
|
351
|
-
overrides?: CallOverrides
|
|
352
|
-
): Promise<boolean>;
|
|
353
|
-
|
|
354
|
-
isAllowedToCall(
|
|
355
|
-
account: PromiseOrValue<string>,
|
|
356
|
-
functionSig: PromiseOrValue<string>,
|
|
357
|
-
overrides?: CallOverrides
|
|
358
|
-
): Promise<boolean>;
|
|
359
|
-
|
|
360
|
-
renounceRole(
|
|
361
|
-
role: PromiseOrValue<BytesLike>,
|
|
362
|
-
account: PromiseOrValue<string>,
|
|
363
|
-
overrides?: CallOverrides
|
|
364
|
-
): Promise<void>;
|
|
365
|
-
|
|
366
|
-
revokeCallPermission(
|
|
367
|
-
contractAddress: PromiseOrValue<string>,
|
|
368
|
-
functionSig: PromiseOrValue<string>,
|
|
369
|
-
accountToRevoke: PromiseOrValue<string>,
|
|
370
|
-
overrides?: CallOverrides
|
|
371
|
-
): Promise<void>;
|
|
372
|
-
|
|
373
|
-
revokeRole(
|
|
374
|
-
role: PromiseOrValue<BytesLike>,
|
|
375
|
-
account: PromiseOrValue<string>,
|
|
376
|
-
overrides?: CallOverrides
|
|
377
|
-
): Promise<void>;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
|
-
filters: {
|
|
381
|
-
"RoleAdminChanged(bytes32,bytes32,bytes32)"(
|
|
382
|
-
role?: PromiseOrValue<BytesLike> | null,
|
|
383
|
-
previousAdminRole?: PromiseOrValue<BytesLike> | null,
|
|
384
|
-
newAdminRole?: PromiseOrValue<BytesLike> | null
|
|
385
|
-
): RoleAdminChangedEventFilter;
|
|
386
|
-
RoleAdminChanged(
|
|
387
|
-
role?: PromiseOrValue<BytesLike> | null,
|
|
388
|
-
previousAdminRole?: PromiseOrValue<BytesLike> | null,
|
|
389
|
-
newAdminRole?: PromiseOrValue<BytesLike> | null
|
|
390
|
-
): RoleAdminChangedEventFilter;
|
|
391
|
-
|
|
392
|
-
"RoleGranted(bytes32,address,address)"(
|
|
393
|
-
role?: PromiseOrValue<BytesLike> | null,
|
|
394
|
-
account?: PromiseOrValue<string> | null,
|
|
395
|
-
sender?: PromiseOrValue<string> | null
|
|
396
|
-
): RoleGrantedEventFilter;
|
|
397
|
-
RoleGranted(
|
|
398
|
-
role?: PromiseOrValue<BytesLike> | null,
|
|
399
|
-
account?: PromiseOrValue<string> | null,
|
|
400
|
-
sender?: PromiseOrValue<string> | null
|
|
401
|
-
): RoleGrantedEventFilter;
|
|
402
|
-
|
|
403
|
-
"RoleRevoked(bytes32,address,address)"(
|
|
404
|
-
role?: PromiseOrValue<BytesLike> | null,
|
|
405
|
-
account?: PromiseOrValue<string> | null,
|
|
406
|
-
sender?: PromiseOrValue<string> | null
|
|
407
|
-
): RoleRevokedEventFilter;
|
|
408
|
-
RoleRevoked(
|
|
409
|
-
role?: PromiseOrValue<BytesLike> | null,
|
|
410
|
-
account?: PromiseOrValue<string> | null,
|
|
411
|
-
sender?: PromiseOrValue<string> | null
|
|
412
|
-
): RoleRevokedEventFilter;
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
estimateGas: {
|
|
416
|
-
getRoleAdmin(
|
|
417
|
-
role: PromiseOrValue<BytesLike>,
|
|
418
|
-
overrides?: CallOverrides
|
|
419
|
-
): Promise<BigNumber>;
|
|
420
|
-
|
|
421
|
-
giveCallPermission(
|
|
422
|
-
contractAddress: PromiseOrValue<string>,
|
|
423
|
-
functionSig: PromiseOrValue<string>,
|
|
424
|
-
accountToPermit: PromiseOrValue<string>,
|
|
425
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
426
|
-
): Promise<BigNumber>;
|
|
427
|
-
|
|
428
|
-
grantRole(
|
|
429
|
-
role: PromiseOrValue<BytesLike>,
|
|
430
|
-
account: PromiseOrValue<string>,
|
|
431
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
432
|
-
): Promise<BigNumber>;
|
|
433
|
-
|
|
434
|
-
hasPermission(
|
|
435
|
-
account: PromiseOrValue<string>,
|
|
436
|
-
contractAddress: PromiseOrValue<string>,
|
|
437
|
-
functionSig: PromiseOrValue<string>,
|
|
438
|
-
overrides?: CallOverrides
|
|
439
|
-
): Promise<BigNumber>;
|
|
440
|
-
|
|
441
|
-
hasRole(
|
|
442
|
-
role: PromiseOrValue<BytesLike>,
|
|
443
|
-
account: PromiseOrValue<string>,
|
|
444
|
-
overrides?: CallOverrides
|
|
445
|
-
): Promise<BigNumber>;
|
|
446
|
-
|
|
447
|
-
isAllowedToCall(
|
|
448
|
-
account: PromiseOrValue<string>,
|
|
449
|
-
functionSig: PromiseOrValue<string>,
|
|
450
|
-
overrides?: CallOverrides
|
|
451
|
-
): Promise<BigNumber>;
|
|
452
|
-
|
|
453
|
-
renounceRole(
|
|
454
|
-
role: PromiseOrValue<BytesLike>,
|
|
455
|
-
account: PromiseOrValue<string>,
|
|
456
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
457
|
-
): Promise<BigNumber>;
|
|
458
|
-
|
|
459
|
-
revokeCallPermission(
|
|
460
|
-
contractAddress: PromiseOrValue<string>,
|
|
461
|
-
functionSig: PromiseOrValue<string>,
|
|
462
|
-
accountToRevoke: PromiseOrValue<string>,
|
|
463
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
464
|
-
): Promise<BigNumber>;
|
|
465
|
-
|
|
466
|
-
revokeRole(
|
|
467
|
-
role: PromiseOrValue<BytesLike>,
|
|
468
|
-
account: PromiseOrValue<string>,
|
|
469
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
470
|
-
): Promise<BigNumber>;
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
populateTransaction: {
|
|
474
|
-
getRoleAdmin(
|
|
475
|
-
role: PromiseOrValue<BytesLike>,
|
|
476
|
-
overrides?: CallOverrides
|
|
477
|
-
): Promise<PopulatedTransaction>;
|
|
478
|
-
|
|
479
|
-
giveCallPermission(
|
|
480
|
-
contractAddress: PromiseOrValue<string>,
|
|
481
|
-
functionSig: PromiseOrValue<string>,
|
|
482
|
-
accountToPermit: PromiseOrValue<string>,
|
|
483
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
484
|
-
): Promise<PopulatedTransaction>;
|
|
485
|
-
|
|
486
|
-
grantRole(
|
|
487
|
-
role: PromiseOrValue<BytesLike>,
|
|
488
|
-
account: PromiseOrValue<string>,
|
|
489
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
490
|
-
): Promise<PopulatedTransaction>;
|
|
491
|
-
|
|
492
|
-
hasPermission(
|
|
493
|
-
account: PromiseOrValue<string>,
|
|
494
|
-
contractAddress: PromiseOrValue<string>,
|
|
495
|
-
functionSig: PromiseOrValue<string>,
|
|
496
|
-
overrides?: CallOverrides
|
|
497
|
-
): Promise<PopulatedTransaction>;
|
|
498
|
-
|
|
499
|
-
hasRole(
|
|
500
|
-
role: PromiseOrValue<BytesLike>,
|
|
501
|
-
account: PromiseOrValue<string>,
|
|
502
|
-
overrides?: CallOverrides
|
|
503
|
-
): Promise<PopulatedTransaction>;
|
|
504
|
-
|
|
505
|
-
isAllowedToCall(
|
|
506
|
-
account: PromiseOrValue<string>,
|
|
507
|
-
functionSig: PromiseOrValue<string>,
|
|
508
|
-
overrides?: CallOverrides
|
|
509
|
-
): Promise<PopulatedTransaction>;
|
|
510
|
-
|
|
511
|
-
renounceRole(
|
|
512
|
-
role: PromiseOrValue<BytesLike>,
|
|
513
|
-
account: PromiseOrValue<string>,
|
|
514
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
515
|
-
): Promise<PopulatedTransaction>;
|
|
516
|
-
|
|
517
|
-
revokeCallPermission(
|
|
518
|
-
contractAddress: PromiseOrValue<string>,
|
|
519
|
-
functionSig: PromiseOrValue<string>,
|
|
520
|
-
accountToRevoke: PromiseOrValue<string>,
|
|
521
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
522
|
-
): Promise<PopulatedTransaction>;
|
|
523
|
-
|
|
524
|
-
revokeRole(
|
|
525
|
-
role: PromiseOrValue<BytesLike>,
|
|
526
|
-
account: PromiseOrValue<string>,
|
|
527
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
528
|
-
): Promise<PopulatedTransaction>;
|
|
529
|
-
};
|
|
530
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type * as governanceContracts from "./governance-contracts";
|
|
7
|
-
import type * as isolatedPools from "./isolated-pools";
|
|
8
|
-
|
|
9
|
-
export type { governanceContracts };
|
|
10
|
-
|
|
11
|
-
export type { isolatedPools };
|