Socket
Socket
Sign inDemoInstall

@reflexer-finance/geb-admin-api

Package Overview
Dependencies
6
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

abis/DSDelegateRoles.json

160

abis/DSPause.json

@@ -84,4 +84,47 @@ [

"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "AttachTransactionDescription",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "usr",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "codeHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes",
"name": "parameters",
"type": "bytes"
},
{
"indexed": false,
"internalType": "uint256",
"name": "earliestExecutionTime",
"type": "uint256"
}
],
"name": "ExecuteTransaction",

@@ -210,2 +253,29 @@ "type": "event"

{
"inputs": [],
"name": "DS_PAUSE_TYPE",
"outputs": [
{ "internalType": "bytes32", "name": "", "type": "bytes32" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "EXEC_TIME",
"outputs": [
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAX_DELAY",
"outputs": [
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [

@@ -231,2 +301,27 @@ { "internalType": "address", "name": "usr", "type": "address" },

{
"inputs": [
{ "internalType": "address", "name": "usr", "type": "address" },
{
"internalType": "bytes32",
"name": "codeHash",
"type": "bytes32"
},
{ "internalType": "bytes", "name": "parameters", "type": "bytes" },
{
"internalType": "uint256",
"name": "earliestExecutionTime",
"type": "uint256"
},
{
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "attachTransactionDescription",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],

@@ -246,2 +341,11 @@ "name": "authority",

"inputs": [],
"name": "currentlyScheduledTransactions",
"outputs": [
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "delay",

@@ -277,3 +381,34 @@ "outputs": [

{
"inputs": [
{ "internalType": "address", "name": "usr", "type": "address" },
{
"internalType": "bytes32",
"name": "codeHash",
"type": "bytes32"
},
{ "internalType": "bytes", "name": "parameters", "type": "bytes" },
{
"internalType": "uint256",
"name": "earliestExecutionTime",
"type": "uint256"
}
],
"name": "getTransactionDataHash",
"outputs": [
{ "internalType": "bytes32", "name": "", "type": "bytes32" }
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "maxScheduledTransactions",
"outputs": [
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",

@@ -321,2 +456,27 @@ "outputs": [

"inputs": [
{ "internalType": "address", "name": "usr", "type": "address" },
{
"internalType": "bytes32",
"name": "codeHash",
"type": "bytes32"
},
{ "internalType": "bytes", "name": "parameters", "type": "bytes" },
{
"internalType": "uint256",
"name": "earliestExecutionTime",
"type": "uint256"
},
{
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "scheduleTransaction",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "", "type": "bytes32" }

@@ -323,0 +483,0 @@ ],

55

abis/GebDeploy.json

@@ -263,7 +263,2 @@ [

"type": "address"
},
{
"internalType": "uint256",
"name": "bidToMarketPriceRatio",
"type": "uint256"
}

@@ -298,2 +293,21 @@ ],

{
"inputs": [
{
"internalType": "uint256",
"name": "protesterLifetime",
"type": "uint256"
},
{ "internalType": "uint256", "name": "delay", "type": "uint256" },
{
"internalType": "contract DSAuthority",
"name": "authority",
"type": "address"
}
],
"name": "deployProtestPause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],

@@ -591,2 +605,28 @@ "name": "deploySAFEEngine",

"inputs": [],
"name": "protestPause",
"outputs": [
{
"internalType": "contract DSProtestPause",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "protestPauseFactory",
"outputs": [
{
"internalType": "contract ProtestPauseFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "releaseAuth",

@@ -763,2 +803,7 @@ "outputs": [],

{
"internalType": "contract ProtestPauseFactory",
"name": "protestPauseFactory_",
"type": "address"
},
{
"internalType": "contract StabilityFeeTreasuryFactory",

@@ -765,0 +810,0 @@ "name": "stabilityFeeTreasuryFactory_",

@@ -65,2 +65,21 @@ [

"internalType": "bytes32",
"name": "collateralType",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" },
{ "internalType": "address", "name": "data3", "type": "address" }
],
"name": "modifyParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "who", "type": "address" },
{
"internalType": "bytes32",
"name": "parameter",

@@ -83,2 +102,20 @@ "type": "bytes32"

"internalType": "bytes32",
"name": "collateralType",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" }
],
"name": "modifyParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "who", "type": "address" },
{
"internalType": "bytes32",
"name": "parameter",

@@ -98,3 +135,117 @@ "type": "bytes32"

{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "who1", "type": "address" },
{ "internalType": "address", "name": "who2", "type": "address" },
{
"internalType": "bytes32",
"name": "parameter1",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "parameter2",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" }
],
"name": "modifyTwoParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "who1", "type": "address" },
{ "internalType": "address", "name": "who2", "type": "address" },
{
"internalType": "bytes32",
"name": "collateralType1",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "collateralType2",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "parameter1",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "parameter2",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" }
],
"name": "modifyTwoParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "join", "type": "address" },
{
"internalType": "address[]",
"name": "accounts",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "allowances",
"type": "uint256[]"
}
],
"name": "multiSetAllowance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "who", "type": "address" },
{ "internalType": "address", "name": "to", "type": "address" },
{
"internalType": "bytes32",
"name": "parameter",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data", "type": "uint256" }
],
"name": "removeAuthorizationAndModify",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "join", "type": "address" },
{ "internalType": "address", "name": "account", "type": "address" },
{
"internalType": "uint256",
"name": "allowance",
"type": "uint256"
}
],
"name": "setAllowance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{
"internalType": "address",

@@ -115,2 +266,58 @@ "name": "newAuthority",

{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "uint256", "name": "newDelay", "type": "uint256" }
],
"name": "setDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{
"internalType": "uint256",
"name": "delayMultiplier",
"type": "uint256"
}
],
"name": "setDelayMultiplier",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{
"internalType": "address",
"name": "protester",
"type": "address"
}
],
"name": "setProtester",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{
"internalType": "address",
"name": "globalSettlement",
"type": "address"
}
],
"name": "shutdownSystem",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{ "internalType": "address", "name": "actions", "type": "address" },
{ "internalType": "address", "name": "who", "type": "address" },

@@ -117,0 +324,0 @@ {

@@ -91,5 +91,46 @@ [

"internalType": "bytes32",
"name": "collateralType",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" },
{ "internalType": "address", "name": "data3", "type": "address" }
],
"name": "modifyParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "targetContract",
"type": "address"
},
{
"internalType": "bytes32",
"name": "parameter",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" }
],
"name": "modifyParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "targetContract",
"type": "address"
},
{
"internalType": "bytes32",
"name": "parameter",
"type": "bytes32"
},
{ "internalType": "address", "name": "data", "type": "address" }

@@ -125,2 +166,91 @@ ],

"internalType": "address",
"name": "targetContract1",
"type": "address"
},
{
"internalType": "address",
"name": "targetContract2",
"type": "address"
},
{
"internalType": "bytes32",
"name": "parameter1",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "parameter2",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" }
],
"name": "modifyTwoParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "targetContract1",
"type": "address"
},
{
"internalType": "address",
"name": "targetContract2",
"type": "address"
},
{
"internalType": "bytes32",
"name": "collateralType1",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "collateralType2",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "parameter1",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "parameter2",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data1", "type": "uint256" },
{ "internalType": "uint256", "name": "data2", "type": "uint256" }
],
"name": "modifyTwoParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "join", "type": "address" },
{
"internalType": "address[]",
"name": "accounts",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "allowances",
"type": "uint256[]"
}
],
"name": "multiSetAllowance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "targetContract",

@@ -138,2 +268,37 @@ "type": "address"

"inputs": [
{
"internalType": "address",
"name": "targetContract",
"type": "address"
},
{ "internalType": "address", "name": "to", "type": "address" },
{
"internalType": "bytes32",
"name": "parameter",
"type": "bytes32"
},
{ "internalType": "uint256", "name": "data", "type": "uint256" }
],
"name": "removeAuthorizationAndModify",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "join", "type": "address" },
{ "internalType": "address", "name": "account", "type": "address" },
{
"internalType": "uint256",
"name": "allowance",
"type": "uint256"
}
],
"name": "setAllowance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },

@@ -178,4 +343,32 @@ {

"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{
"internalType": "uint256",
"name": "delayMultiplier",
"type": "uint256"
}
],
"name": "setDelayMultiplier",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "pause", "type": "address" },
{
"internalType": "address",
"name": "protester",
"type": "address"
}
],
"name": "setProtester",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "globalSettlement",

@@ -182,0 +375,0 @@ "type": "address"

@@ -23,3 +23,15 @@ [

{ "internalType": "bytes32", "name": "", "type": "bytes32" },
{ "internalType": "uint256", "name": "", "type": "uint256" },
{ "internalType": "uint256", "name": "", "type": "uint256" },
{ "internalType": "address", "name": "", "type": "address" }
],
"name": "modifyParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "", "type": "bytes32" },
{ "internalType": "bytes32", "name": "", "type": "bytes32" },
{ "internalType": "address", "name": "", "type": "address" }

@@ -35,2 +47,13 @@ ],

{ "internalType": "bytes32", "name": "", "type": "bytes32" },
{ "internalType": "uint256", "name": "", "type": "uint256" },
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"name": "modifyParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "bytes32", "name": "", "type": "bytes32" },
{ "internalType": "address", "name": "", "type": "address" }

@@ -82,2 +105,12 @@ ],

"inputs": [
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "uint256", "name": "", "type": "uint256" }
],
"name": "setAllowance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "start", "type": "uint256" },

@@ -84,0 +117,0 @@ { "internalType": "uint256", "name": "end", "type": "uint256" }

6

lib/admin-apis.d.ts

@@ -1,2 +0,2 @@

import { MultiSigWallet, GebDeploy, ProtocolTokenAuthority, GebPollingEmitter, DsRecursiveRoles, GebPrintingPermissions, DsPause, DsPauseProxy, GovActions, Esm, TokenBurner, FsmGovernanceInterface, DsProxyFactory, GebDeployPauseProxyActions, TxManager } from '.';
import { GebDeploy, ProtocolTokenAuthority, GebPollingEmitter, DsDelegateRoles, GebPrintingPermissions, DsPause, DsPauseProxy, GovActions, Esm, TokenBurner, FsmGovernanceInterface, DsProxyFactory, GebDeployPauseProxyActions, TxManager, GnosisSafeProxy } from '.';
import { GebProviderInterface, GebDeployment } from '@reflexer-finance/geb-contract-base';

@@ -6,3 +6,3 @@ import { DsProxy } from '@reflexer-finance/geb-contract-api';

chainProvider: GebProviderInterface;
multisigAdmin: MultiSigWallet;
multisigAdmin: GnosisSafeProxy;
multisigAdminProxy: DsProxy;

@@ -13,3 +13,3 @@ deploy: GebDeploy;

printingPermissionRegistry: GebPrintingPermissions;
pauseAuthority: DsRecursiveRoles;
pauseAuthority: DsDelegateRoles;
pause: DsPause;

@@ -16,0 +16,0 @@ pauseProxy: DsPauseProxy;

@@ -15,3 +15,3 @@ "use strict";

// Additional instances only in admin package
this.multisigAdmin = new _1.MultiSigWallet(addressList.GEB_MULTISIG, this.chainProvider);
this.multisigAdmin = new _1.GnosisSafeProxy(addressList.GEB_MULTISIG, this.chainProvider);
this.multisigAdminProxy = new geb_contract_api_1.DsProxy(addressList.GEB_MULTISIG_PROXY, this.chainProvider);

@@ -21,3 +21,3 @@ this.deploy = new _1.GebDeploy(addressList.GEB_DEPLOY, this.chainProvider);

this.pollingEmitter = new _1.GebPollingEmitter(addressList.GEB_POLLING_EMITTER, this.chainProvider);
this.pauseAuthority = new _1.DsRecursiveRoles(addressList.GEB_PAUSE_AUTHORITY, this.chainProvider);
this.pauseAuthority = new _1.DsDelegateRoles(addressList.GEB_PAUSE_AUTHORITY, this.chainProvider);
this.printingPermissionRegistry = new _1.GebPrintingPermissions(addressList.PRINTING_PERMISSIONS_REGISTRY, this.chainProvider);

@@ -24,0 +24,0 @@ this.pause = new _1.DsPause(addressList.GEB_PAUSE, this.chainProvider);

@@ -8,8 +8,20 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base';

export declare class DsPause extends BaseContractAPI {
DS_PAUSE_TYPE(): Promise<string>;
DS_PAUSE_TYPE(multicall: true): MulticallRequest<string>;
EXEC_TIME(): Promise<BigNumber>;
EXEC_TIME(multicall: true): MulticallRequest<BigNumber>;
MAX_DELAY(): Promise<BigNumber>;
MAX_DELAY(multicall: true): MulticallRequest<BigNumber>;
abandonTransaction(usr: string, codeHash: BytesLike, parameters: BytesLike, earliestExecutionTime: BigNumberish): TransactionRequest;
attachTransactionDescription(usr: string, codeHash: BytesLike, parameters: BytesLike, earliestExecutionTime: BigNumberish, description: string): TransactionRequest;
authority(): Promise<string>;
authority(multicall: true): MulticallRequest<string>;
currentlyScheduledTransactions(): Promise<BigNumber>;
currentlyScheduledTransactions(multicall: true): MulticallRequest<BigNumber>;
delay(): Promise<BigNumber>;
delay(multicall: true): MulticallRequest<BigNumber>;
executeTransaction(usr: string, codeHash: BytesLike, parameters: BytesLike, earliestExecutionTime: BigNumberish): TransactionRequest;
getTransactionDataHash(usr: string, codeHash: BytesLike, parameters: BytesLike, earliestExecutionTime: BigNumberish): TransactionRequest;
maxScheduledTransactions(): Promise<BigNumber>;
maxScheduledTransactions(multicall: true): MulticallRequest<BigNumber>;
owner(): Promise<string>;

@@ -16,0 +28,0 @@ owner(multicall: true): MulticallRequest<string>;

@@ -25,2 +25,20 @@ "use strict";

}
DsPause.prototype.DS_PAUSE_TYPE = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "DS_PAUSE_TYPE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
DsPause.prototype.EXEC_TIME = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "EXEC_TIME", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
DsPause.prototype.MAX_DELAY = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "MAX_DELAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
DsPause.prototype.abandonTransaction = function (usr, codeHash, parameters, earliestExecutionTime) {

@@ -37,2 +55,14 @@ // prettier-ignore

};
DsPause.prototype.attachTransactionDescription = function (usr, codeHash, parameters, earliestExecutionTime, description) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "bytes32", "name": "codeHash", "type": "bytes32" }, { "internalType": "bytes", "name": "parameters", "type": "bytes" }, { "internalType": "uint256", "name": "earliestExecutionTime", "type": "uint256" }, { "internalType": "string", "name": "description", "type": "string" }], "name": "attachTransactionDescription", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
usr,
codeHash,
parameters,
earliestExecutionTime,
description,
]);
};
DsPause.prototype.authority = function (multicall) {

@@ -44,2 +74,8 @@ // prettier-ignore

};
DsPause.prototype.currentlyScheduledTransactions = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "currentlyScheduledTransactions", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
DsPause.prototype.delay = function (multicall) {

@@ -62,2 +98,19 @@ // prettier-ignore

};
DsPause.prototype.getTransactionDataHash = function (usr, codeHash, parameters, earliestExecutionTime) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "bytes32", "name": "codeHash", "type": "bytes32" }, { "internalType": "bytes", "name": "parameters", "type": "bytes" }, { "internalType": "uint256", "name": "earliestExecutionTime", "type": "uint256" }], "name": "getTransactionDataHash", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "pure", "type": "function" };
return this.getTransactionRequest(abi, [
usr,
codeHash,
parameters,
earliestExecutionTime,
]);
};
DsPause.prototype.maxScheduledTransactions = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "maxScheduledTransactions", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
DsPause.prototype.owner = function (multicall) {

@@ -64,0 +117,0 @@ // prettier-ignore

@@ -44,5 +44,6 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base';

deployCoin(name: string, symbol: string, chainId: BigNumberish): TransactionRequest;
deployCollateral(auctionHouseType: BytesLike, collateralType: BytesLike, adapter: string, collateralOSM: string, collateralMedian: string, systemCoinOracle: string, bidToMarketPriceRatio: BigNumberish): TransactionRequest;
deployCollateral(auctionHouseType: BytesLike, collateralType: BytesLike, adapter: string, collateralOSM: string, collateralMedian: string, systemCoinOracle: string): TransactionRequest;
deployLiquidator(): TransactionRequest;
deployPause(delay: BigNumberish, authority: string): TransactionRequest;
deployProtestPause(protesterLifetime: BigNumberish, delay: BigNumberish, authority: string): TransactionRequest;
deploySAFEEngine(): TransactionRequest;

@@ -89,2 +90,6 @@ deploySavingsAccount(): TransactionRequest;

preSettlementSurplusAuctionHouseFactory(multicall: true): MulticallRequest<string>;
protestPause(): Promise<string>;
protestPause(multicall: true): MulticallRequest<string>;
protestPauseFactory(): Promise<string>;
protestPauseFactory(multicall: true): MulticallRequest<string>;
releaseAuth(): TransactionRequest;

@@ -100,3 +105,3 @@ releaseAuthCollateralAuctionHouse(collateralType: BytesLike, usr: string): TransactionRequest;

setSecondFactoryBatch(preSettlementSurplusAuctionHouseFactory_: string, postSettlementSurplusAuctionHouseFactory_: string, debtAuctionHouseFactory_: string, englishCollateralAuctionHouseFactory_: string, fixedDiscountCollateralAuctionHouseFactory_: string, oracleRelayerFactory_: string, globalSettlementFactory_: string, esmFactory_: string): TransactionRequest;
setThirdFactoryBatch(pauseFactory_: string, stabilityFeeTreasuryFactory_: string): TransactionRequest;
setThirdFactoryBatch(pauseFactory_: string, protestPauseFactory_: string, stabilityFeeTreasuryFactory_: string): TransactionRequest;
settlementSurplusAuctioneer(): Promise<string>;

@@ -103,0 +108,0 @@ settlementSurplusAuctioneer(multicall: true): MulticallRequest<string>;

@@ -127,6 +127,6 @@ "use strict";

};
GebDeploy.prototype.deployCollateral = function (auctionHouseType, collateralType, adapter, collateralOSM, collateralMedian, systemCoinOracle, bidToMarketPriceRatio) {
GebDeploy.prototype.deployCollateral = function (auctionHouseType, collateralType, adapter, collateralOSM, collateralMedian, systemCoinOracle) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "bytes32", "name": "auctionHouseType", "type": "bytes32" }, { "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "address", "name": "adapter", "type": "address" }, { "internalType": "address", "name": "collateralOSM", "type": "address" }, { "internalType": "address", "name": "collateralMedian", "type": "address" }, { "internalType": "address", "name": "systemCoinOracle", "type": "address" }, { "internalType": "uint256", "name": "bidToMarketPriceRatio", "type": "uint256" }], "name": "deployCollateral", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
var abi = { "inputs": [{ "internalType": "bytes32", "name": "auctionHouseType", "type": "bytes32" }, { "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "address", "name": "adapter", "type": "address" }, { "internalType": "address", "name": "collateralOSM", "type": "address" }, { "internalType": "address", "name": "collateralMedian", "type": "address" }, { "internalType": "address", "name": "systemCoinOracle", "type": "address" }], "name": "deployCollateral", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [

@@ -139,3 +139,2 @@ auctionHouseType,

systemCoinOracle,
bidToMarketPriceRatio,
]);

@@ -155,2 +154,12 @@ };

};
GebDeploy.prototype.deployProtestPause = function (protesterLifetime, delay, authority) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "protesterLifetime", "type": "uint256" }, { "internalType": "uint256", "name": "delay", "type": "uint256" }, { "internalType": "contract DSAuthority", "name": "authority", "type": "address" }], "name": "deployProtestPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
protesterLifetime,
delay,
authority,
]);
};
GebDeploy.prototype.deploySAFEEngine = function () {

@@ -305,2 +314,14 @@ // prettier-ignore

};
GebDeploy.prototype.protestPause = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "protestPause", "outputs": [{ "internalType": "contract DSProtestPause", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
GebDeploy.prototype.protestPauseFactory = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "protestPauseFactory", "outputs": [{ "internalType": "contract ProtestPauseFactory", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
GebDeploy.prototype.releaseAuth = function () {

@@ -372,8 +393,9 @@ // prettier-ignore

};
GebDeploy.prototype.setThirdFactoryBatch = function (pauseFactory_, stabilityFeeTreasuryFactory_) {
GebDeploy.prototype.setThirdFactoryBatch = function (pauseFactory_, protestPauseFactory_, stabilityFeeTreasuryFactory_) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "contract PauseFactory", "name": "pauseFactory_", "type": "address" }, { "internalType": "contract StabilityFeeTreasuryFactory", "name": "stabilityFeeTreasuryFactory_", "type": "address" }], "name": "setThirdFactoryBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
var abi = { "inputs": [{ "internalType": "contract PauseFactory", "name": "pauseFactory_", "type": "address" }, { "internalType": "contract ProtestPauseFactory", "name": "protestPauseFactory_", "type": "address" }, { "internalType": "contract StabilityFeeTreasuryFactory", "name": "stabilityFeeTreasuryFactory_", "type": "address" }], "name": "setThirdFactoryBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pauseFactory_,
protestPauseFactory_,
stabilityFeeTreasuryFactory_,

@@ -380,0 +402,0 @@ ]);

@@ -8,3 +8,11 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base';

modifyParameters(pause: string, actions: string, who: string, collateralType: BytesLike, parameter: BytesLike, data: BigNumberish): TransactionRequest;
modifyTwoParameters(pause: string, actions: string, who1: string, who2: string, parameter1: BytesLike, parameter2: BytesLike, data1: BigNumberish, data2: BigNumberish): TransactionRequest;
multiSetAllowance(pause: string, actions: string, join: string, accounts: string[], allowances: BigNumberish[]): TransactionRequest;
removeAuthorizationAndModify(pause: string, actions: string, who: string, to: string, parameter: BytesLike, data: BigNumberish): TransactionRequest;
setAllowance(pause: string, actions: string, join: string, account: string, allowance: BigNumberish): TransactionRequest;
setAuthorityAndDelay(pause: string, actions: string, newAuthority: string, newDelay: BigNumberish): TransactionRequest;
setDelay(pause: string, actions: string, newDelay: BigNumberish): TransactionRequest;
setDelayMultiplier(pause: string, actions: string, delayMultiplier: BigNumberish): TransactionRequest;
setProtester(pause: string, actions: string, protester: string): TransactionRequest;
shutdownSystem(pause: string, actions: string, globalSettlement: string): TransactionRequest;
taxSingleAndModifyParameters(pause: string, actions: string, who: string, collateralType: BytesLike, parameter: BytesLike, data: BigNumberish): TransactionRequest;

@@ -11,0 +19,0 @@ updateRateAndModifyParameters(pause: string, actions: string, who: string, parameter: BytesLike, data: BigNumberish): TransactionRequest;

@@ -44,2 +44,54 @@ "use strict";

};
GebDeployPauseProxyActions.prototype.modifyTwoParameters = function (pause, actions, who1, who2, parameter1, parameter2, data1, data2) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "address", "name": "who1", "type": "address" }, { "internalType": "address", "name": "who2", "type": "address" }, { "internalType": "bytes32", "name": "parameter1", "type": "bytes32" }, { "internalType": "bytes32", "name": "parameter2", "type": "bytes32" }, { "internalType": "uint256", "name": "data1", "type": "uint256" }, { "internalType": "uint256", "name": "data2", "type": "uint256" }], "name": "modifyTwoParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pause,
actions,
who1,
who2,
parameter1,
parameter2,
data1,
data2,
]);
};
GebDeployPauseProxyActions.prototype.multiSetAllowance = function (pause, actions, join, accounts, allowances) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "address", "name": "join", "type": "address" }, { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "allowances", "type": "uint256[]" }], "name": "multiSetAllowance", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pause,
actions,
join,
accounts,
allowances,
]);
};
GebDeployPauseProxyActions.prototype.removeAuthorizationAndModify = function (pause, actions, who, to, parameter, data) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "address", "name": "who", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "bytes32", "name": "parameter", "type": "bytes32" }, { "internalType": "uint256", "name": "data", "type": "uint256" }], "name": "removeAuthorizationAndModify", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pause,
actions,
who,
to,
parameter,
data,
]);
};
GebDeployPauseProxyActions.prototype.setAllowance = function (pause, actions, join, account, allowance) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "address", "name": "join", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }], "name": "setAllowance", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pause,
actions,
join,
account,
allowance,
]);
};
GebDeployPauseProxyActions.prototype.setAuthorityAndDelay = function (pause, actions, newAuthority, newDelay) {

@@ -56,2 +108,34 @@ // prettier-ignore

};
GebDeployPauseProxyActions.prototype.setDelay = function (pause, actions, newDelay) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "uint256", "name": "newDelay", "type": "uint256" }], "name": "setDelay", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [pause, actions, newDelay]);
};
GebDeployPauseProxyActions.prototype.setDelayMultiplier = function (pause, actions, delayMultiplier) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "uint256", "name": "delayMultiplier", "type": "uint256" }], "name": "setDelayMultiplier", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pause,
actions,
delayMultiplier,
]);
};
GebDeployPauseProxyActions.prototype.setProtester = function (pause, actions, protester) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "address", "name": "protester", "type": "address" }], "name": "setProtester", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [pause, actions, protester]);
};
GebDeployPauseProxyActions.prototype.shutdownSystem = function (pause, actions, globalSettlement) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "actions", "type": "address" }, { "internalType": "address", "name": "globalSettlement", "type": "address" }], "name": "shutdownSystem", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
pause,
actions,
globalSettlement,
]);
};
GebDeployPauseProxyActions.prototype.taxSingleAndModifyParameters = function (pause, actions, who, collateralType, parameter, data) {

@@ -58,0 +142,0 @@ // prettier-ignore

@@ -9,6 +9,12 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base';

modifyParameters(targetContract: string, collateralType: BytesLike, parameter: BytesLike, data: BigNumberish): TransactionRequest;
modifyTwoParameters(targetContract1: string, targetContract2: string, parameter1: BytesLike, parameter2: BytesLike, data1: BigNumberish, data2: BigNumberish): TransactionRequest;
multiSetAllowance(join: string, accounts: string[], allowances: BigNumberish[]): TransactionRequest;
removeAuthorization(targetContract: string, to: string): TransactionRequest;
removeAuthorizationAndModify(targetContract: string, to: string, parameter: BytesLike, data: BigNumberish): TransactionRequest;
setAllowance(join: string, account: string, allowance: BigNumberish): TransactionRequest;
setAuthority(pause: string, newAuthority: string): TransactionRequest;
setAuthorityAndDelay(pause: string, newAuthority: string, newDelay: BigNumberish): TransactionRequest;
setDelay(pause: string, newDelay: BigNumberish): TransactionRequest;
setDelayMultiplier(pause: string, delayMultiplier: BigNumberish): TransactionRequest;
setProtester(pause: string, protester: string): TransactionRequest;
shutdownSystem(globalSettlement: string): TransactionRequest;

@@ -15,0 +21,0 @@ taxManyAndModifyParameters(targetContract: string, start: BigNumberish, end: BigNumberish, parameter: BytesLike, data: BigNumberish): TransactionRequest;

@@ -48,2 +48,21 @@ "use strict";

};
GovActions.prototype.modifyTwoParameters = function (targetContract1, targetContract2, parameter1, parameter2, data1, data2) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "targetContract1", "type": "address" }, { "internalType": "address", "name": "targetContract2", "type": "address" }, { "internalType": "bytes32", "name": "parameter1", "type": "bytes32" }, { "internalType": "bytes32", "name": "parameter2", "type": "bytes32" }, { "internalType": "uint256", "name": "data1", "type": "uint256" }, { "internalType": "uint256", "name": "data2", "type": "uint256" }], "name": "modifyTwoParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
targetContract1,
targetContract2,
parameter1,
parameter2,
data1,
data2,
]);
};
GovActions.prototype.multiSetAllowance = function (join, accounts, allowances) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "join", "type": "address" }, { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "allowances", "type": "uint256[]" }], "name": "multiSetAllowance", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [join, accounts, allowances]);
};
GovActions.prototype.removeAuthorization = function (targetContract, to) {

@@ -55,2 +74,19 @@ // prettier-ignore

};
GovActions.prototype.removeAuthorizationAndModify = function (targetContract, to, parameter, data) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "targetContract", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "bytes32", "name": "parameter", "type": "bytes32" }, { "internalType": "uint256", "name": "data", "type": "uint256" }], "name": "removeAuthorizationAndModify", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
targetContract,
to,
parameter,
data,
]);
};
GovActions.prototype.setAllowance = function (join, account, allowance) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "join", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }], "name": "setAllowance", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [join, account, allowance]);
};
GovActions.prototype.setAuthority = function (pause, newAuthority) {

@@ -74,2 +110,14 @@ // prettier-ignore

};
GovActions.prototype.setDelayMultiplier = function (pause, delayMultiplier) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "uint256", "name": "delayMultiplier", "type": "uint256" }], "name": "setDelayMultiplier", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [pause, delayMultiplier]);
};
GovActions.prototype.setProtester = function (pause, protester) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "pause", "type": "address" }, { "internalType": "address", "name": "protester", "type": "address" }], "name": "setProtester", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [pause, protester]);
};
GovActions.prototype.shutdownSystem = function (globalSettlement) {

@@ -76,0 +124,0 @@ // prettier-ignore

@@ -8,5 +8,6 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base';

initializeCollateralType(bytes: BytesLike): TransactionRequest;
modifyParameters(bytes1: BytesLike, bytes2: BytesLike, address: string): TransactionRequest;
modifyParameters(bytes: BytesLike, uinteger1: BigNumberish, uinteger2: BigNumberish, address: string): TransactionRequest;
redemptionPrice(): TransactionRequest;
removeAuthorization(address: string): TransactionRequest;
setAllowance(address: string, uinteger: BigNumberish): TransactionRequest;
taxMany(start: BigNumberish, end: BigNumberish): TransactionRequest;

@@ -13,0 +14,0 @@ taxSingle(bytes: BytesLike): TransactionRequest;

@@ -37,7 +37,12 @@ "use strict";

};
Setter.prototype.modifyParameters = function (bytes1, bytes2, address) {
Setter.prototype.modifyParameters = function (bytes, uinteger1, uinteger2, address) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "", "type": "address" }], "name": "modifyParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [bytes1, bytes2, address]);
var abi = { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "address", "name": "", "type": "address" }], "name": "modifyParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
bytes,
uinteger1,
uinteger2,
address,
]);
};

@@ -56,2 +61,8 @@ Setter.prototype.redemptionPrice = function () {

};
Setter.prototype.setAllowance = function (address, uinteger) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "name": "setAllowance", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [address, uinteger]);
};
Setter.prototype.taxMany = function (start, end) {

@@ -58,0 +69,0 @@ // prettier-ignore

@@ -25,3 +25,2 @@ import { AccountingEngineFactory } from './generated/AccountingEngineFactory';

import { Common } from './generated/Common';
import { Dgd } from './generated/DGD';
import { DsAuth } from './generated/DSAuth';

@@ -38,3 +37,2 @@ import { DsAuthEvents } from './generated/DSAuthEvents';

import { DsProxyFactory } from './generated/DSProxyFactory';
import { DsRecursiveRoles } from './generated/DSRecursiveRoles';
import { DsRoles } from './generated/DSRoles';

@@ -55,6 +53,4 @@ import { DsStop } from './generated/DSStop';

import { FsmGovernanceInterfaceCaller } from './generated/FsmGovernanceInterfaceCaller';
import { Gnt } from './generated/GNT';
import { GebDeploy } from './generated/GebDeploy';
import { GebDeployPauseProxyActions } from './generated/GebDeployPauseProxyActions';
import { GebDeployTestBase } from './generated/GebDeployTestBase';
import { GebPollingEmitter } from './generated/GebPollingEmitter';

@@ -77,3 +73,2 @@ import { GebPollingEvents } from './generated/GebPollingEvents';

import { MockSurplusAuctionHouse } from './generated/MockSurplusAuctionHouse';
import { MultiSigWallet } from './generated/MultiSigWallet';
import { NotThrowingToken } from './generated/NotThrowingToken';

@@ -85,4 +80,2 @@ import { OracleRelayerFactory } from './generated/OracleRelayerFactory';

import { ProtocolTokenAuthority } from './generated/ProtocolTokenAuthority';
import { ProxyActions } from './generated/ProxyActions';
import { ProxyCalls } from './generated/ProxyCalls';
import { RestrictedTokenFaucet } from './generated/RestrictedTokenFaucet';

@@ -107,2 +100,8 @@ import { SafeEngineFactory } from './generated/SAFEEngineFactory';

import { AdminApis } from './admin-apis';
export { AdminApis, AccountingEngineFactory, AggregatorInterface, AuthCollateralJoin, AuthorizableContract, BurntToken, ChainlinkMedianFlxusd, ChainlinkMedianRaiusd, ChainlinkPriceFeedMedianizer, CoinFactory, CoinJoinFactory, CoinSavingsAccount, CoinSavingsAccountFactory, CollateralAuctionHouse, CollateralJoin1, CollateralJoin2, CollateralJoin3, CollateralJoin4, CollateralJoin5, CollateralJoin6, CollateralLike2, CollateralLike3, CollateralLike4, CollateralLike5, Common, Dgd, DsAuth, DsAuthEvents, DsAuthority, DsCompare, DsGuard, DsGuardEvents, DsGuardFactory, DsPause, DsPauseProxy, DsProxyCache, DsProxyFactory, DsRecursiveRoles, DsRoles, DsStop, DsThing, DsTokenBase, DebtAuctionHouseFactory, Erc20Events, Esm, EsmFactory, EsmThresholdSetter, EthJoin, EnglishCollateralAuctionHouseFactory, FaucetUser, FixedDiscountCollateralAuctionHouseFactory, FsmGovernanceInterface, FsmGovernanceInterfaceCaller, Gnt, GebDeploy, GebDeployPauseProxyActions, GebDeployTestBase, GebPollingEmitter, GebPollingEvents, GebPrintingPermissions, GemBag, GlobalSettlementFactory, GovActions, GovernanceLedMedianEthusd, GovernanceLedMedianFlxusd, GovernanceLedMedianRaiusd, GovernanceLedPriceFeedMedianizer, IUniswapV2Factory, IUniswapV2Pair, LiquidationEngineFactory, LiquidationEngineMock, Logging, MockDebtAuctionHouse, MockSurplusAuctionHouse, MultiSigWallet, NotThrowingToken, OracleRelayerFactory, PauseFactory, PostSettlementSurplusAuctionHouseFactory, PreSettlementSurplusAuctionHouseFactory, ProtocolTokenAuthority, ProxyActions, ProxyCalls, RestrictedTokenFaucet, SafeEngineFactory, SafeHandler, Setter, SettlementSurplusAuctioneerFactory, SimpleAuthority, StabilityFeeTreasuryFactory, Store, TestAccountingEngine, TestDebtAuctionHouse, Tester, TokenBurner, TokenFaucet, TxManager, UniswapMedianFlxusd, UniswapMedianRaiusd, UniswapPriceFeedMedianizer, Authed, };
import { DsProtestPause } from './generated/DSProtestPause';
import { GovProtester } from './generated/GovProtester';
import { DsDelegateRoles } from './generated/DSDelegateRoles';
import { ProtestPauseFactory } from './generated/ProtestPauseFactory';
import { GnosisSafe } from './generated/GnosisSafe';
import { GnosisSafeProxy } from './generated/GnosisSafeProxy';
export { AdminApis, AccountingEngineFactory, AggregatorInterface, AuthCollateralJoin, AuthorizableContract, BurntToken, ChainlinkMedianFlxusd, ChainlinkMedianRaiusd, ChainlinkPriceFeedMedianizer, CoinFactory, CoinJoinFactory, CoinSavingsAccount, CoinSavingsAccountFactory, CollateralAuctionHouse, CollateralJoin1, CollateralJoin2, CollateralJoin3, CollateralJoin4, CollateralJoin5, CollateralJoin6, CollateralLike2, CollateralLike3, CollateralLike4, CollateralLike5, Common, DsAuth, DsAuthEvents, DsAuthority, DsCompare, DsGuard, DsGuardEvents, DsGuardFactory, DsPause, DsPauseProxy, DsProxyCache, DsProxyFactory, DsRoles, DsStop, DsThing, DsTokenBase, DebtAuctionHouseFactory, Erc20Events, Esm, EsmFactory, EsmThresholdSetter, EthJoin, EnglishCollateralAuctionHouseFactory, FaucetUser, FixedDiscountCollateralAuctionHouseFactory, FsmGovernanceInterface, FsmGovernanceInterfaceCaller, GebDeploy, GebDeployPauseProxyActions, GebPollingEmitter, GebPollingEvents, GebPrintingPermissions, GemBag, GlobalSettlementFactory, GovActions, GovernanceLedMedianEthusd, GovernanceLedMedianFlxusd, GovernanceLedMedianRaiusd, GovernanceLedPriceFeedMedianizer, IUniswapV2Factory, IUniswapV2Pair, LiquidationEngineFactory, LiquidationEngineMock, Logging, MockDebtAuctionHouse, MockSurplusAuctionHouse, NotThrowingToken, OracleRelayerFactory, PauseFactory, PostSettlementSurplusAuctionHouseFactory, PreSettlementSurplusAuctionHouseFactory, ProtocolTokenAuthority, RestrictedTokenFaucet, SafeEngineFactory, SafeHandler, Setter, SettlementSurplusAuctioneerFactory, SimpleAuthority, StabilityFeeTreasuryFactory, Store, TestAccountingEngine, TestDebtAuctionHouse, Tester, TokenBurner, TokenFaucet, TxManager, UniswapMedianFlxusd, UniswapMedianRaiusd, UniswapPriceFeedMedianizer, Authed, DsDelegateRoles, DsProtestPause, GovProtester, ProtestPauseFactory, GnosisSafeProxy, GnosisSafe, };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Authed = exports.UniswapPriceFeedMedianizer = exports.UniswapMedianRaiusd = exports.UniswapMedianFlxusd = exports.TxManager = exports.TokenFaucet = exports.TokenBurner = exports.Tester = exports.TestDebtAuctionHouse = exports.TestAccountingEngine = exports.Store = exports.StabilityFeeTreasuryFactory = exports.SimpleAuthority = exports.SettlementSurplusAuctioneerFactory = exports.Setter = exports.SafeHandler = exports.SafeEngineFactory = exports.RestrictedTokenFaucet = exports.ProxyCalls = exports.ProxyActions = exports.ProtocolTokenAuthority = exports.PreSettlementSurplusAuctionHouseFactory = exports.PostSettlementSurplusAuctionHouseFactory = exports.PauseFactory = exports.OracleRelayerFactory = exports.NotThrowingToken = exports.MultiSigWallet = exports.MockSurplusAuctionHouse = exports.MockDebtAuctionHouse = exports.Logging = exports.LiquidationEngineMock = exports.LiquidationEngineFactory = exports.IUniswapV2Pair = exports.IUniswapV2Factory = exports.GovernanceLedPriceFeedMedianizer = exports.GovernanceLedMedianRaiusd = exports.GovernanceLedMedianFlxusd = exports.GovernanceLedMedianEthusd = exports.GovActions = exports.GlobalSettlementFactory = exports.GemBag = exports.GebPrintingPermissions = exports.GebPollingEvents = exports.GebPollingEmitter = exports.GebDeployTestBase = exports.GebDeployPauseProxyActions = exports.GebDeploy = exports.Gnt = exports.FsmGovernanceInterfaceCaller = exports.FsmGovernanceInterface = exports.FixedDiscountCollateralAuctionHouseFactory = exports.FaucetUser = exports.EnglishCollateralAuctionHouseFactory = exports.EthJoin = exports.EsmThresholdSetter = exports.EsmFactory = exports.Esm = exports.Erc20Events = exports.DebtAuctionHouseFactory = exports.DsTokenBase = exports.DsThing = exports.DsStop = exports.DsRoles = exports.DsRecursiveRoles = exports.DsProxyFactory = exports.DsProxyCache = exports.DsPauseProxy = exports.DsPause = exports.DsGuardFactory = exports.DsGuardEvents = exports.DsGuard = exports.DsCompare = exports.DsAuthority = exports.DsAuthEvents = exports.DsAuth = exports.Dgd = exports.Common = exports.CollateralLike5 = exports.CollateralLike4 = exports.CollateralLike3 = exports.CollateralLike2 = exports.CollateralJoin6 = exports.CollateralJoin5 = exports.CollateralJoin4 = exports.CollateralJoin3 = exports.CollateralJoin2 = exports.CollateralJoin1 = exports.CollateralAuctionHouse = exports.CoinSavingsAccountFactory = exports.CoinSavingsAccount = exports.CoinJoinFactory = exports.CoinFactory = exports.ChainlinkPriceFeedMedianizer = exports.ChainlinkMedianRaiusd = exports.ChainlinkMedianFlxusd = exports.BurntToken = exports.AuthorizableContract = exports.AuthCollateralJoin = exports.AggregatorInterface = exports.AccountingEngineFactory = exports.AdminApis = void 0;
exports.GnosisSafe = exports.GnosisSafeProxy = exports.ProtestPauseFactory = exports.GovProtester = exports.DsProtestPause = exports.DsDelegateRoles = exports.Authed = exports.UniswapPriceFeedMedianizer = exports.UniswapMedianRaiusd = exports.UniswapMedianFlxusd = exports.TxManager = exports.TokenFaucet = exports.TokenBurner = exports.Tester = exports.TestDebtAuctionHouse = exports.TestAccountingEngine = exports.Store = exports.StabilityFeeTreasuryFactory = exports.SimpleAuthority = exports.SettlementSurplusAuctioneerFactory = exports.Setter = exports.SafeHandler = exports.SafeEngineFactory = exports.RestrictedTokenFaucet = exports.ProtocolTokenAuthority = exports.PreSettlementSurplusAuctionHouseFactory = exports.PostSettlementSurplusAuctionHouseFactory = exports.PauseFactory = exports.OracleRelayerFactory = exports.NotThrowingToken = exports.MockSurplusAuctionHouse = exports.MockDebtAuctionHouse = exports.Logging = exports.LiquidationEngineMock = exports.LiquidationEngineFactory = exports.IUniswapV2Pair = exports.IUniswapV2Factory = exports.GovernanceLedPriceFeedMedianizer = exports.GovernanceLedMedianRaiusd = exports.GovernanceLedMedianFlxusd = exports.GovernanceLedMedianEthusd = exports.GovActions = exports.GlobalSettlementFactory = exports.GemBag = exports.GebPrintingPermissions = exports.GebPollingEvents = exports.GebPollingEmitter = exports.GebDeployPauseProxyActions = exports.GebDeploy = exports.FsmGovernanceInterfaceCaller = exports.FsmGovernanceInterface = exports.FixedDiscountCollateralAuctionHouseFactory = exports.FaucetUser = exports.EnglishCollateralAuctionHouseFactory = exports.EthJoin = exports.EsmThresholdSetter = exports.EsmFactory = exports.Esm = exports.Erc20Events = exports.DebtAuctionHouseFactory = exports.DsTokenBase = exports.DsThing = exports.DsStop = exports.DsRoles = exports.DsProxyFactory = exports.DsProxyCache = exports.DsPauseProxy = exports.DsPause = exports.DsGuardFactory = exports.DsGuardEvents = exports.DsGuard = exports.DsCompare = exports.DsAuthority = exports.DsAuthEvents = exports.DsAuth = exports.Common = exports.CollateralLike5 = exports.CollateralLike4 = exports.CollateralLike3 = exports.CollateralLike2 = exports.CollateralJoin6 = exports.CollateralJoin5 = exports.CollateralJoin4 = exports.CollateralJoin3 = exports.CollateralJoin2 = exports.CollateralJoin1 = exports.CollateralAuctionHouse = exports.CoinSavingsAccountFactory = exports.CoinSavingsAccount = exports.CoinJoinFactory = exports.CoinFactory = exports.ChainlinkPriceFeedMedianizer = exports.ChainlinkMedianRaiusd = exports.ChainlinkMedianFlxusd = exports.BurntToken = exports.AuthorizableContract = exports.AuthCollateralJoin = exports.AggregatorInterface = exports.AccountingEngineFactory = exports.AdminApis = void 0;
var AccountingEngineFactory_1 = require("./generated/AccountingEngineFactory");

@@ -52,4 +52,2 @@ Object.defineProperty(exports, "AccountingEngineFactory", { enumerable: true, get: function () { return AccountingEngineFactory_1.AccountingEngineFactory; } });

Object.defineProperty(exports, "Common", { enumerable: true, get: function () { return Common_1.Common; } });
var DGD_1 = require("./generated/DGD");
Object.defineProperty(exports, "Dgd", { enumerable: true, get: function () { return DGD_1.Dgd; } });
var DSAuth_1 = require("./generated/DSAuth");

@@ -77,4 +75,2 @@ Object.defineProperty(exports, "DsAuth", { enumerable: true, get: function () { return DSAuth_1.DsAuth; } });

Object.defineProperty(exports, "DsProxyFactory", { enumerable: true, get: function () { return DSProxyFactory_1.DsProxyFactory; } });
var DSRecursiveRoles_1 = require("./generated/DSRecursiveRoles");
Object.defineProperty(exports, "DsRecursiveRoles", { enumerable: true, get: function () { return DSRecursiveRoles_1.DsRecursiveRoles; } });
var DSRoles_1 = require("./generated/DSRoles");

@@ -110,4 +106,2 @@ Object.defineProperty(exports, "DsRoles", { enumerable: true, get: function () { return DSRoles_1.DsRoles; } });

Object.defineProperty(exports, "FsmGovernanceInterfaceCaller", { enumerable: true, get: function () { return FsmGovernanceInterfaceCaller_1.FsmGovernanceInterfaceCaller; } });
var GNT_1 = require("./generated/GNT");
Object.defineProperty(exports, "Gnt", { enumerable: true, get: function () { return GNT_1.Gnt; } });
var GebDeploy_1 = require("./generated/GebDeploy");

@@ -117,4 +111,2 @@ Object.defineProperty(exports, "GebDeploy", { enumerable: true, get: function () { return GebDeploy_1.GebDeploy; } });

Object.defineProperty(exports, "GebDeployPauseProxyActions", { enumerable: true, get: function () { return GebDeployPauseProxyActions_1.GebDeployPauseProxyActions; } });
var GebDeployTestBase_1 = require("./generated/GebDeployTestBase");
Object.defineProperty(exports, "GebDeployTestBase", { enumerable: true, get: function () { return GebDeployTestBase_1.GebDeployTestBase; } });
var GebPollingEmitter_1 = require("./generated/GebPollingEmitter");

@@ -154,4 +146,2 @@ Object.defineProperty(exports, "GebPollingEmitter", { enumerable: true, get: function () { return GebPollingEmitter_1.GebPollingEmitter; } });

Object.defineProperty(exports, "MockSurplusAuctionHouse", { enumerable: true, get: function () { return MockSurplusAuctionHouse_1.MockSurplusAuctionHouse; } });
var MultiSigWallet_1 = require("./generated/MultiSigWallet");
Object.defineProperty(exports, "MultiSigWallet", { enumerable: true, get: function () { return MultiSigWallet_1.MultiSigWallet; } });
var NotThrowingToken_1 = require("./generated/NotThrowingToken");

@@ -169,6 +159,2 @@ Object.defineProperty(exports, "NotThrowingToken", { enumerable: true, get: function () { return NotThrowingToken_1.NotThrowingToken; } });

Object.defineProperty(exports, "ProtocolTokenAuthority", { enumerable: true, get: function () { return ProtocolTokenAuthority_1.ProtocolTokenAuthority; } });
var ProxyActions_1 = require("./generated/ProxyActions");
Object.defineProperty(exports, "ProxyActions", { enumerable: true, get: function () { return ProxyActions_1.ProxyActions; } });
var ProxyCalls_1 = require("./generated/ProxyCalls");
Object.defineProperty(exports, "ProxyCalls", { enumerable: true, get: function () { return ProxyCalls_1.ProxyCalls; } });
var RestrictedTokenFaucet_1 = require("./generated/RestrictedTokenFaucet");

@@ -212,2 +198,14 @@ Object.defineProperty(exports, "RestrictedTokenFaucet", { enumerable: true, get: function () { return RestrictedTokenFaucet_1.RestrictedTokenFaucet; } });

Object.defineProperty(exports, "AdminApis", { enumerable: true, get: function () { return admin_apis_1.AdminApis; } });
var DSProtestPause_1 = require("./generated/DSProtestPause");
Object.defineProperty(exports, "DsProtestPause", { enumerable: true, get: function () { return DSProtestPause_1.DsProtestPause; } });
var GovProtester_1 = require("./generated/GovProtester");
Object.defineProperty(exports, "GovProtester", { enumerable: true, get: function () { return GovProtester_1.GovProtester; } });
var DSDelegateRoles_1 = require("./generated/DSDelegateRoles");
Object.defineProperty(exports, "DsDelegateRoles", { enumerable: true, get: function () { return DSDelegateRoles_1.DsDelegateRoles; } });
var ProtestPauseFactory_1 = require("./generated/ProtestPauseFactory");
Object.defineProperty(exports, "ProtestPauseFactory", { enumerable: true, get: function () { return ProtestPauseFactory_1.ProtestPauseFactory; } });
var GnosisSafe_1 = require("./generated/GnosisSafe");
Object.defineProperty(exports, "GnosisSafe", { enumerable: true, get: function () { return GnosisSafe_1.GnosisSafe; } });
var GnosisSafeProxy_1 = require("./generated/GnosisSafeProxy");
Object.defineProperty(exports, "GnosisSafeProxy", { enumerable: true, get: function () { return GnosisSafeProxy_1.GnosisSafeProxy; } });
//# sourceMappingURL=index.js.map
{
"name": "@reflexer-finance/geb-admin-api",
"version": "0.0.3",
"version": "0.0.4",
"description": "Includes contract API from all contracts of the GEB ecosystem",

@@ -13,4 +13,4 @@ "main": "./lib/index.js",

"@ethersproject/bignumber": "5.x",
"@reflexer-finance/geb-contract-api": "^0.0.11",
"@reflexer-finance/geb-contract-base": "^0.0.7"
"@reflexer-finance/geb-contract-api": "^0.0.12",
"@reflexer-finance/geb-contract-base": "^0.0.8"
},

@@ -21,3 +21,3 @@ "devDependencies": {

},
"gitHead": "d31bddc65c6bccd38dd2f9073ce543cd64a2ad13"
"gitHead": "70ffc3b9c96d4a746fec1e47e8f29712806e01e0"
}
import {
MultiSigWallet,
GebDeploy,
ProtocolTokenAuthority,
GebPollingEmitter,
DsRecursiveRoles,
DsDelegateRoles,
GebPrintingPermissions,

@@ -17,2 +16,3 @@ DsPause,

TxManager,
GnosisSafeProxy,
} from '.'

@@ -30,3 +30,3 @@ import {

export class AdminApis {
public multisigAdmin: MultiSigWallet
public multisigAdmin: GnosisSafeProxy
public multisigAdminProxy: DsProxy

@@ -37,3 +37,3 @@ public deploy : GebDeploy

public printingPermissionRegistry: GebPrintingPermissions
public pauseAuthority: DsRecursiveRoles
public pauseAuthority: DsDelegateRoles
public pause: DsPause

@@ -60,3 +60,3 @@ public pauseProxy: DsPauseProxy

// Additional instances only in admin package
this.multisigAdmin = new MultiSigWallet(addressList.GEB_MULTISIG, this.chainProvider)
this.multisigAdmin = new GnosisSafeProxy(addressList.GEB_MULTISIG, this.chainProvider)
this.multisigAdminProxy = new DsProxy(addressList.GEB_MULTISIG_PROXY, this.chainProvider)

@@ -66,3 +66,3 @@ this.deploy = new GebDeploy(addressList.GEB_DEPLOY, this.chainProvider)

this.pollingEmitter = new GebPollingEmitter(addressList.GEB_POLLING_EMITTER, this.chainProvider)
this.pauseAuthority = new DsRecursiveRoles(addressList.GEB_PAUSE_AUTHORITY, this.chainProvider)
this.pauseAuthority = new DsDelegateRoles(addressList.GEB_PAUSE_AUTHORITY, this.chainProvider)
this.printingPermissionRegistry = new GebPrintingPermissions(addressList.PRINTING_PERMISSIONS_REGISTRY, this.chainProvider)

@@ -69,0 +69,0 @@ this.pause = new DsPause(addressList.GEB_PAUSE, this.chainProvider)

@@ -12,2 +12,38 @@ /* Generated by ts-generator ver. 0.0.8 */

export class DsPause extends BaseContractAPI {
DS_PAUSE_TYPE(): Promise<string>
DS_PAUSE_TYPE(multicall: true): MulticallRequest<string>
DS_PAUSE_TYPE(
multicall?: true
): Promise<string> | MulticallRequest<string> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"DS_PAUSE_TYPE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
EXEC_TIME(): Promise<BigNumber>
EXEC_TIME(multicall: true): MulticallRequest<BigNumber>
EXEC_TIME(
multicall?: true
): Promise<BigNumber> | MulticallRequest<BigNumber> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"EXEC_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
MAX_DELAY(): Promise<BigNumber>
MAX_DELAY(multicall: true): MulticallRequest<BigNumber>
MAX_DELAY(
multicall?: true
): Promise<BigNumber> | MulticallRequest<BigNumber> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"MAX_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
abandonTransaction(

@@ -31,2 +67,22 @@ usr: string,

attachTransactionDescription(
usr: string,
codeHash: BytesLike,
parameters: BytesLike,
earliestExecutionTime: BigNumberish,
description: string
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"bytes32","name":"codeHash","type":"bytes32"},{"internalType":"bytes","name":"parameters","type":"bytes"},{"internalType":"uint256","name":"earliestExecutionTime","type":"uint256"},{"internalType":"string","name":"description","type":"string"}],"name":"attachTransactionDescription","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
usr,
codeHash,
parameters,
earliestExecutionTime,
description,
])
}
authority(): Promise<string>

@@ -42,2 +98,14 @@ authority(multicall: true): MulticallRequest<string>

currentlyScheduledTransactions(): Promise<BigNumber>
currentlyScheduledTransactions(multicall: true): MulticallRequest<BigNumber>
currentlyScheduledTransactions(
multicall?: true
): Promise<BigNumber> | MulticallRequest<BigNumber> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"currentlyScheduledTransactions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
delay(): Promise<BigNumber>

@@ -71,2 +139,32 @@ delay(multicall: true): MulticallRequest<BigNumber>

getTransactionDataHash(
usr: string,
codeHash: BytesLike,
parameters: BytesLike,
earliestExecutionTime: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"bytes32","name":"codeHash","type":"bytes32"},{"internalType":"bytes","name":"parameters","type":"bytes"},{"internalType":"uint256","name":"earliestExecutionTime","type":"uint256"}],"name":"getTransactionDataHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"}
return this.getTransactionRequest(abi, [
usr,
codeHash,
parameters,
earliestExecutionTime,
])
}
maxScheduledTransactions(): Promise<BigNumber>
maxScheduledTransactions(multicall: true): MulticallRequest<BigNumber>
maxScheduledTransactions(
multicall?: true
): Promise<BigNumber> | MulticallRequest<BigNumber> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"maxScheduledTransactions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
owner(): Promise<string>

@@ -73,0 +171,0 @@ owner(multicall: true): MulticallRequest<string>

@@ -224,8 +224,7 @@ /* Generated by ts-generator ver. 0.0.8 */

collateralMedian: string,
systemCoinOracle: string,
bidToMarketPriceRatio: BigNumberish
systemCoinOracle: string
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"bytes32","name":"auctionHouseType","type":"bytes32"},{"internalType":"bytes32","name":"collateralType","type":"bytes32"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"address","name":"collateralOSM","type":"address"},{"internalType":"address","name":"collateralMedian","type":"address"},{"internalType":"address","name":"systemCoinOracle","type":"address"},{"internalType":"uint256","name":"bidToMarketPriceRatio","type":"uint256"}],"name":"deployCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"}
const abi = {"inputs":[{"internalType":"bytes32","name":"auctionHouseType","type":"bytes32"},{"internalType":"bytes32","name":"collateralType","type":"bytes32"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"address","name":"collateralOSM","type":"address"},{"internalType":"address","name":"collateralMedian","type":"address"},{"internalType":"address","name":"systemCoinOracle","type":"address"}],"name":"deployCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"}

@@ -239,3 +238,2 @@ return this.getTransactionRequest(abi, [

systemCoinOracle,
bidToMarketPriceRatio,
])

@@ -260,2 +258,18 @@ }

deployProtestPause(
protesterLifetime: BigNumberish,
delay: BigNumberish,
authority: string
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"uint256","name":"protesterLifetime","type":"uint256"},{"internalType":"uint256","name":"delay","type":"uint256"},{"internalType":"contract DSAuthority","name":"authority","type":"address"}],"name":"deployProtestPause","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
protesterLifetime,
delay,
authority,
])
}
deploySAFEEngine(): TransactionRequest {

@@ -529,2 +543,24 @@ // prettier-ignore

protestPause(): Promise<string>
protestPause(multicall: true): MulticallRequest<string>
protestPause(multicall?: true): Promise<string> | MulticallRequest<string> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"protestPause","outputs":[{"internalType":"contract DSProtestPause","name":"","type":"address"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
protestPauseFactory(): Promise<string>
protestPauseFactory(multicall: true): MulticallRequest<string>
protestPauseFactory(
multicall?: true
): Promise<string> | MulticallRequest<string> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"protestPauseFactory","outputs":[{"internalType":"contract ProtestPauseFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
releaseAuth(): TransactionRequest {

@@ -641,2 +677,3 @@ // prettier-ignore

pauseFactory_: string,
protestPauseFactory_: string,
stabilityFeeTreasuryFactory_: string

@@ -646,6 +683,7 @@ ): TransactionRequest {

// @ts-ignore
const abi = {"inputs":[{"internalType":"contract PauseFactory","name":"pauseFactory_","type":"address"},{"internalType":"contract StabilityFeeTreasuryFactory","name":"stabilityFeeTreasuryFactory_","type":"address"}],"name":"setThirdFactoryBatch","outputs":[],"stateMutability":"nonpayable","type":"function"}
const abi = {"inputs":[{"internalType":"contract PauseFactory","name":"pauseFactory_","type":"address"},{"internalType":"contract ProtestPauseFactory","name":"protestPauseFactory_","type":"address"},{"internalType":"contract StabilityFeeTreasuryFactory","name":"stabilityFeeTreasuryFactory_","type":"address"}],"name":"setThirdFactoryBatch","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pauseFactory_,
protestPauseFactory_,
stabilityFeeTreasuryFactory_,

@@ -652,0 +690,0 @@ ])

@@ -45,2 +45,90 @@ /* Generated by ts-generator ver. 0.0.8 */

modifyTwoParameters(
pause: string,
actions: string,
who1: string,
who2: string,
parameter1: BytesLike,
parameter2: BytesLike,
data1: BigNumberish,
data2: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"address","name":"who1","type":"address"},{"internalType":"address","name":"who2","type":"address"},{"internalType":"bytes32","name":"parameter1","type":"bytes32"},{"internalType":"bytes32","name":"parameter2","type":"bytes32"},{"internalType":"uint256","name":"data1","type":"uint256"},{"internalType":"uint256","name":"data2","type":"uint256"}],"name":"modifyTwoParameters","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pause,
actions,
who1,
who2,
parameter1,
parameter2,
data1,
data2,
])
}
multiSetAllowance(
pause: string,
actions: string,
join: string,
accounts: string[],
allowances: BigNumberish[]
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"address","name":"join","type":"address"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"allowances","type":"uint256[]"}],"name":"multiSetAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pause,
actions,
join,
accounts,
allowances,
])
}
removeAuthorizationAndModify(
pause: string,
actions: string,
who: string,
to: string,
parameter: BytesLike,
data: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"address","name":"who","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"parameter","type":"bytes32"},{"internalType":"uint256","name":"data","type":"uint256"}],"name":"removeAuthorizationAndModify","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pause,
actions,
who,
to,
parameter,
data,
])
}
setAllowance(
pause: string,
actions: string,
join: string,
account: string,
allowance: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"address","name":"join","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"}],"name":"setAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pause,
actions,
join,
account,
allowance,
])
}
setAuthorityAndDelay(

@@ -64,2 +152,58 @@ pause: string,

setDelay(
pause: string,
actions: string,
newDelay: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"setDelay","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [pause, actions, newDelay])
}
setDelayMultiplier(
pause: string,
actions: string,
delayMultiplier: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"uint256","name":"delayMultiplier","type":"uint256"}],"name":"setDelayMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pause,
actions,
delayMultiplier,
])
}
setProtester(
pause: string,
actions: string,
protester: string
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"address","name":"protester","type":"address"}],"name":"setProtester","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [pause, actions, protester])
}
shutdownSystem(
pause: string,
actions: string,
globalSettlement: string
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"actions","type":"address"},{"internalType":"address","name":"globalSettlement","type":"address"}],"name":"shutdownSystem","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
pause,
actions,
globalSettlement,
])
}
taxSingleAndModifyParameters(

@@ -66,0 +210,0 @@ pause: string,

@@ -47,2 +47,36 @@ /* Generated by ts-generator ver. 0.0.8 */

modifyTwoParameters(
targetContract1: string,
targetContract2: string,
parameter1: BytesLike,
parameter2: BytesLike,
data1: BigNumberish,
data2: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"targetContract1","type":"address"},{"internalType":"address","name":"targetContract2","type":"address"},{"internalType":"bytes32","name":"parameter1","type":"bytes32"},{"internalType":"bytes32","name":"parameter2","type":"bytes32"},{"internalType":"uint256","name":"data1","type":"uint256"},{"internalType":"uint256","name":"data2","type":"uint256"}],"name":"modifyTwoParameters","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
targetContract1,
targetContract2,
parameter1,
parameter2,
data1,
data2,
])
}
multiSetAllowance(
join: string,
accounts: string[],
allowances: BigNumberish[]
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"join","type":"address"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"allowances","type":"uint256[]"}],"name":"multiSetAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [join, accounts, allowances])
}
removeAuthorization(

@@ -59,2 +93,32 @@ targetContract: string,

removeAuthorizationAndModify(
targetContract: string,
to: string,
parameter: BytesLike,
data: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"targetContract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"parameter","type":"bytes32"},{"internalType":"uint256","name":"data","type":"uint256"}],"name":"removeAuthorizationAndModify","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
targetContract,
to,
parameter,
data,
])
}
setAllowance(
join: string,
account: string,
allowance: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"join","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"}],"name":"setAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [join, account, allowance])
}
setAuthority(pause: string, newAuthority: string): TransactionRequest {

@@ -88,2 +152,21 @@ // prettier-ignore

setDelayMultiplier(
pause: string,
delayMultiplier: BigNumberish
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"uint256","name":"delayMultiplier","type":"uint256"}],"name":"setDelayMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [pause, delayMultiplier])
}
setProtester(pause: string, protester: string): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"pause","type":"address"},{"internalType":"address","name":"protester","type":"address"}],"name":"setProtester","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [pause, protester])
}
shutdownSystem(globalSettlement: string): TransactionRequest {

@@ -90,0 +173,0 @@ // prettier-ignore

@@ -27,4 +27,5 @@ /* Generated by ts-generator ver. 0.0.8 */

modifyParameters(
bytes1: BytesLike,
bytes2: BytesLike,
bytes: BytesLike,
uinteger1: BigNumberish,
uinteger2: BigNumberish,
address: string

@@ -34,5 +35,10 @@ ): TransactionRequest {

// @ts-ignore
const abi = {"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"modifyParameters","outputs":[],"stateMutability":"nonpayable","type":"function"}
const abi = {"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"modifyParameters","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [bytes1, bytes2, address])
return this.getTransactionRequest(abi, [
bytes,
uinteger1,
uinteger2,
address,
])
}

@@ -56,2 +62,10 @@

setAllowance(address: string, uinteger: BigNumberish): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"setAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [address, uinteger])
}
taxMany(start: BigNumberish, end: BigNumberish): TransactionRequest {

@@ -58,0 +72,0 @@ // prettier-ignore

@@ -25,3 +25,2 @@ import { AccountingEngineFactory } from './generated/AccountingEngineFactory'

import { Common } from './generated/Common'
import { Dgd } from './generated/DGD'
import { DsAuth } from './generated/DSAuth'

@@ -38,3 +37,2 @@ import { DsAuthEvents } from './generated/DSAuthEvents'

import { DsProxyFactory } from './generated/DSProxyFactory'
import { DsRecursiveRoles } from './generated/DSRecursiveRoles'
import { DsRoles } from './generated/DSRoles'

@@ -55,6 +53,4 @@ import { DsStop } from './generated/DSStop'

import { FsmGovernanceInterfaceCaller } from './generated/FsmGovernanceInterfaceCaller'
import { Gnt } from './generated/GNT'
import { GebDeploy } from './generated/GebDeploy'
import { GebDeployPauseProxyActions } from './generated/GebDeployPauseProxyActions'
import { GebDeployTestBase } from './generated/GebDeployTestBase'
import { GebPollingEmitter } from './generated/GebPollingEmitter'

@@ -77,3 +73,2 @@ import { GebPollingEvents } from './generated/GebPollingEvents'

import { MockSurplusAuctionHouse } from './generated/MockSurplusAuctionHouse'
import { MultiSigWallet } from './generated/MultiSigWallet'
import { NotThrowingToken } from './generated/NotThrowingToken'

@@ -85,4 +80,2 @@ import { OracleRelayerFactory } from './generated/OracleRelayerFactory'

import { ProtocolTokenAuthority } from './generated/ProtocolTokenAuthority'
import { ProxyActions } from './generated/ProxyActions'
import { ProxyCalls } from './generated/ProxyCalls'
import { RestrictedTokenFaucet } from './generated/RestrictedTokenFaucet'

@@ -107,2 +100,8 @@ import { SafeEngineFactory } from './generated/SAFEEngineFactory'

import { AdminApis } from './admin-apis'
import { DsProtestPause } from './generated/DSProtestPause'
import { GovProtester } from './generated/GovProtester'
import { DsDelegateRoles } from './generated/DSDelegateRoles'
import { ProtestPauseFactory } from './generated/ProtestPauseFactory'
import { GnosisSafe } from './generated/GnosisSafe'
import { GnosisSafeProxy } from './generated/GnosisSafeProxy'

@@ -137,3 +136,2 @@ export {

Common,
Dgd,
DsAuth,

@@ -150,3 +148,2 @@ DsAuthEvents,

DsProxyFactory,
DsRecursiveRoles,
DsRoles,

@@ -167,6 +164,4 @@ DsStop,

FsmGovernanceInterfaceCaller,
Gnt,
GebDeploy,
GebDeployPauseProxyActions,
GebDeployTestBase,
GebPollingEmitter,

@@ -189,3 +184,2 @@ GebPollingEvents,

MockSurplusAuctionHouse,
MultiSigWallet,
NotThrowingToken,

@@ -197,4 +191,2 @@ OracleRelayerFactory,

ProtocolTokenAuthority,
ProxyActions,
ProxyCalls,
RestrictedTokenFaucet,

@@ -218,2 +210,8 @@ SafeEngineFactory,

Authed,
DsDelegateRoles,
DsProtestPause,
GovProtester,
ProtestPauseFactory,
GnosisSafeProxy,
GnosisSafe,
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc