Socket
Socket
Sign inDemoInstall

@reflexer-finance/geb-admin-api

Package Overview
Dependencies
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reflexer-finance/geb-admin-api - npm Package Compare versions

Comparing version 0.3.8 to 0.4.0

abis/FlashSwapProxy.json

68

abis/GebDeploy.json

@@ -90,2 +90,28 @@ [

"inputs": [],
"name": "burningSurplusAuctionHouse",
"outputs": [
{
"internalType": "contract BurningSurplusAuctionHouse",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "burningSurplusAuctionHouseFactory",
"outputs": [
{
"internalType": "contract BurningSurplusAuctionHouseFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "coin",

@@ -219,3 +245,13 @@ "outputs": [

"inputs": [
{ "internalType": "address", "name": "prot", "type": "address" }
{ "internalType": "address", "name": "prot", "type": "address" },
{
"internalType": "address",
"name": "surplusProtTokenReceiver",
"type": "address"
},
{
"internalType": "bytes32",
"name": "surplusAuctionHouseType",
"type": "bytes32"
}
],

@@ -258,7 +294,2 @@ "name": "deployAuctions",

"internalType": "address",
"name": "collateralMedian",
"type": "address"
},
{
"internalType": "address",
"name": "systemCoinOracle",

@@ -547,6 +578,6 @@ "type": "address"

"inputs": [],
"name": "preSettlementSurplusAuctionHouse",
"name": "protestPause",
"outputs": [
{
"internalType": "contract PreSettlementSurplusAuctionHouse",
"internalType": "contract DSProtestPause",
"name": "",

@@ -561,6 +592,6 @@ "type": "address"

"inputs": [],
"name": "preSettlementSurplusAuctionHouseFactory",
"name": "protestPauseFactory",
"outputs": [
{
"internalType": "contract PreSettlementSurplusAuctionHouseFactory",
"internalType": "contract ProtestPauseFactory",
"name": "",

@@ -575,6 +606,6 @@ "type": "address"

"inputs": [],
"name": "protestPause",
"name": "recyclingSurplusAuctionHouse",
"outputs": [
{
"internalType": "contract DSProtestPause",
"internalType": "contract RecyclingSurplusAuctionHouse",
"name": "",

@@ -589,6 +620,6 @@ "type": "address"

"inputs": [],
"name": "protestPauseFactory",
"name": "recyclingSurplusAuctionHouseFactory",
"outputs": [
{
"internalType": "contract ProtestPauseFactory",
"internalType": "contract RecyclingSurplusAuctionHouseFactory",
"name": "",

@@ -716,7 +747,12 @@ "type": "address"

{
"internalType": "contract PreSettlementSurplusAuctionHouseFactory",
"name": "preSettlementSurplusAuctionHouseFactory_",
"internalType": "contract RecyclingSurplusAuctionHouseFactory",
"name": "recyclingSurplusAuctionHouseFactory_",
"type": "address"
},
{
"internalType": "contract BurningSurplusAuctionHouseFactory",
"name": "burningSurplusAuctionHouseFactory_",
"type": "address"
},
{
"internalType": "contract DebtAuctionHouseFactory",

@@ -723,0 +759,0 @@ "name": "debtAuctionHouseFactory_",

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

import { GebDeploy, ProtocolTokenAuthority, DsDelegateRoles, DsPauseProxy, GovActions, Esm, FsmGovernanceInterface, DsProxyFactory, GebDeployPauseProxyActions, DsProtestPause, SubsidyPool, RemineScheduler, GnosisSafe } from '.';
import { GebDeploy, ProtocolTokenAuthority, DsDelegateRoles, DsPauseProxy, GovActions, Esm, FsmGovernanceInterface, GebDeployPauseProxyActions, DsProtestPause, SubsidyPool, RemineScheduler, GnosisSafe } from '.';
import { GebProviderInterface, GebDeployment } from '@reflexer-finance/geb-contract-base';

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

fsmGovInterface: FsmGovernanceInterface;
proxyFactory: DsProxyFactory;
pauseProxyAction: GebDeployPauseProxyActions;

@@ -19,0 +18,0 @@ proxyDeployer: DsProxy;

@@ -23,7 +23,6 @@ "use strict";

this.fsmGovInterface = new _1.FsmGovernanceInterface(addressList.FSM_GOV_INTERFACE, this.chainProvider);
this.proxyFactory = new _1.DsProxyFactory(addressList.PROXY_FACTORY, this.chainProvider);
this.pauseProxyAction = new _1.GebDeployPauseProxyActions(addressList.PROXY_PAUSE_ACTIONS, this.chainProvider);
this.proxyDeployer = new geb_contract_api_1.DsProxy(addressList.PROXY_DEPLOYER, this.chainProvider);
this.remineScheduler = new _1.RemineScheduler(addressList.GEB_REMINE_SCHEDULER, this.chainProvider);
this.subsidyPool = new _1.SubsidyPool(addressList.GEB_SUBSIDY_POOL, this.chainProvider);
this.remineScheduler = new _1.RemineScheduler(addressList.GEB_INCENTIVES_REMINER, this.chainProvider);
this.subsidyPool = new _1.SubsidyPool(addressList.GEB_INCENTIVES_SUBSIDY_POOL, this.chainProvider);
}

@@ -30,0 +29,0 @@ return AdminApis;

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

authority(multicall: true): MulticallRequest<string>;
burningSurplusAuctionHouse(): Promise<string>;
burningSurplusAuctionHouse(multicall: true): MulticallRequest<string>;
burningSurplusAuctionHouseFactory(): Promise<string>;
burningSurplusAuctionHouseFactory(multicall: true): MulticallRequest<string>;
coin(): Promise<string>;

@@ -43,5 +47,5 @@ coin(multicall: true): MulticallRequest<string>;

deployAccountingEngine(): TransactionRequest;
deployAuctions(prot: string): TransactionRequest;
deployAuctions(prot: string, surplusProtTokenReceiver: string, surplusAuctionHouseType: BytesLike): TransactionRequest;
deployCoin(name: string, symbol: string, chainId: BigNumberish): TransactionRequest;
deployCollateral(auctionHouseType: BytesLike, collateralType: BytesLike, adapter: string, collateralFSM: string, collateralMedian: string, systemCoinOracle: string): TransactionRequest;
deployCollateral(auctionHouseType: BytesLike, collateralType: BytesLike, adapter: string, collateralFSM: string, systemCoinOracle: string): TransactionRequest;
deployLiquidator(): TransactionRequest;

@@ -83,6 +87,2 @@ deployPause(delay: BigNumberish, authority: string): TransactionRequest;

pauseFactory(multicall: true): MulticallRequest<string>;
preSettlementSurplusAuctionHouse(): Promise<string>;
preSettlementSurplusAuctionHouse(multicall: true): MulticallRequest<string>;
preSettlementSurplusAuctionHouseFactory(): Promise<string>;
preSettlementSurplusAuctionHouseFactory(multicall: true): MulticallRequest<string>;
protestPause(): Promise<string>;

@@ -92,2 +92,6 @@ protestPause(multicall: true): MulticallRequest<string>;

protestPauseFactory(multicall: true): MulticallRequest<string>;
recyclingSurplusAuctionHouse(): Promise<string>;
recyclingSurplusAuctionHouse(multicall: true): MulticallRequest<string>;
recyclingSurplusAuctionHouseFactory(): Promise<string>;
recyclingSurplusAuctionHouseFactory(multicall: true): MulticallRequest<string>;
releaseAuth(): TransactionRequest;

@@ -102,3 +106,3 @@ releaseAuthCollateralAuctionHouse(collateralType: BytesLike, usr: string): TransactionRequest;

setOwner(owner_: string): TransactionRequest;
setSecondFactoryBatch(preSettlementSurplusAuctionHouseFactory_: string, debtAuctionHouseFactory_: string, englishCollateralAuctionHouseFactory_: string, fixedDiscountCollateralAuctionHouseFactory_: string, oracleRelayerFactory_: string, globalSettlementFactory_: string, esmFactory_: string): TransactionRequest;
setSecondFactoryBatch(recyclingSurplusAuctionHouseFactory_: string, burningSurplusAuctionHouseFactory_: string, debtAuctionHouseFactory_: string, englishCollateralAuctionHouseFactory_: string, fixedDiscountCollateralAuctionHouseFactory_: string, oracleRelayerFactory_: string, globalSettlementFactory_: string, esmFactory_: string): TransactionRequest;
setThirdFactoryBatch(pauseFactory_: string, protestPauseFactory_: string, stabilityFeeTreasuryFactory_: string): TransactionRequest;

@@ -105,0 +109,0 @@ stabilityFeeTreasury(): Promise<string>;

@@ -55,2 +55,14 @@ "use strict";

};
GebDeploy.prototype.burningSurplusAuctionHouse = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "burningSurplusAuctionHouse", "outputs": [{ "internalType": "contract BurningSurplusAuctionHouse", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
GebDeploy.prototype.burningSurplusAuctionHouseFactory = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "burningSurplusAuctionHouseFactory", "outputs": [{ "internalType": "contract BurningSurplusAuctionHouseFactory", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
GebDeploy.prototype.coin = function (multicall) {

@@ -116,7 +128,11 @@ // prettier-ignore

};
GebDeploy.prototype.deployAuctions = function (prot) {
GebDeploy.prototype.deployAuctions = function (prot, surplusProtTokenReceiver, surplusAuctionHouseType) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "prot", "type": "address" }], "name": "deployAuctions", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [prot]);
var abi = { "inputs": [{ "internalType": "address", "name": "prot", "type": "address" }, { "internalType": "address", "name": "surplusProtTokenReceiver", "type": "address" }, { "internalType": "bytes32", "name": "surplusAuctionHouseType", "type": "bytes32" }], "name": "deployAuctions", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
prot,
surplusProtTokenReceiver,
surplusAuctionHouseType,
]);
};

@@ -129,6 +145,6 @@ GebDeploy.prototype.deployCoin = function (name, symbol, chainId) {

};
GebDeploy.prototype.deployCollateral = function (auctionHouseType, collateralType, adapter, collateralFSM, collateralMedian, systemCoinOracle) {
GebDeploy.prototype.deployCollateral = function (auctionHouseType, collateralType, adapter, collateralFSM, 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": "collateralFSM", "type": "address" }, { "internalType": "address", "name": "collateralMedian", "type": "address" }, { "internalType": "address", "name": "systemCoinOracle", "type": "address" }], "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": "collateralFSM", "type": "address" }, { "internalType": "address", "name": "systemCoinOracle", "type": "address" }], "name": "deployCollateral", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [

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

collateralFSM,
collateralMedian,
systemCoinOracle,

@@ -291,24 +306,24 @@ ]);

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

@@ -366,8 +381,9 @@ };

};
GebDeploy.prototype.setSecondFactoryBatch = function (preSettlementSurplusAuctionHouseFactory_, debtAuctionHouseFactory_, englishCollateralAuctionHouseFactory_, fixedDiscountCollateralAuctionHouseFactory_, oracleRelayerFactory_, globalSettlementFactory_, esmFactory_) {
GebDeploy.prototype.setSecondFactoryBatch = function (recyclingSurplusAuctionHouseFactory_, burningSurplusAuctionHouseFactory_, debtAuctionHouseFactory_, englishCollateralAuctionHouseFactory_, fixedDiscountCollateralAuctionHouseFactory_, oracleRelayerFactory_, globalSettlementFactory_, esmFactory_) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "contract PreSettlementSurplusAuctionHouseFactory", "name": "preSettlementSurplusAuctionHouseFactory_", "type": "address" }, { "internalType": "contract DebtAuctionHouseFactory", "name": "debtAuctionHouseFactory_", "type": "address" }, { "internalType": "contract EnglishCollateralAuctionHouseFactory", "name": "englishCollateralAuctionHouseFactory_", "type": "address" }, { "internalType": "contract FixedDiscountCollateralAuctionHouseFactory", "name": "fixedDiscountCollateralAuctionHouseFactory_", "type": "address" }, { "internalType": "contract OracleRelayerFactory", "name": "oracleRelayerFactory_", "type": "address" }, { "internalType": "contract GlobalSettlementFactory", "name": "globalSettlementFactory_", "type": "address" }, { "internalType": "contract ESMFactory", "name": "esmFactory_", "type": "address" }], "name": "setSecondFactoryBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
var abi = { "inputs": [{ "internalType": "contract RecyclingSurplusAuctionHouseFactory", "name": "recyclingSurplusAuctionHouseFactory_", "type": "address" }, { "internalType": "contract BurningSurplusAuctionHouseFactory", "name": "burningSurplusAuctionHouseFactory_", "type": "address" }, { "internalType": "contract DebtAuctionHouseFactory", "name": "debtAuctionHouseFactory_", "type": "address" }, { "internalType": "contract EnglishCollateralAuctionHouseFactory", "name": "englishCollateralAuctionHouseFactory_", "type": "address" }, { "internalType": "contract FixedDiscountCollateralAuctionHouseFactory", "name": "fixedDiscountCollateralAuctionHouseFactory_", "type": "address" }, { "internalType": "contract OracleRelayerFactory", "name": "oracleRelayerFactory_", "type": "address" }, { "internalType": "contract GlobalSettlementFactory", "name": "globalSettlementFactory_", "type": "address" }, { "internalType": "contract ESMFactory", "name": "esmFactory_", "type": "address" }], "name": "setSecondFactoryBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
preSettlementSurplusAuctionHouseFactory_,
recyclingSurplusAuctionHouseFactory_,
burningSurplusAuctionHouseFactory_,
debtAuctionHouseFactory_,

@@ -374,0 +390,0 @@ englishCollateralAuctionHouseFactory_,

@@ -1,12 +0,4 @@

import { AccountingEngineFactory } from './generated/AccountingEngineFactory';
import { AggregatorInterface } from './generated/AggregatorInterface';
import { AuthCollateralJoin } from './generated/AuthCollateralJoin';
import { AuthorizableContract } from './generated/AuthorizableContract';
import { ChainlinkMedianFlxusd } from './generated/ChainlinkMedianFLXUSD';
import { ChainlinkMedianRaiusd } from './generated/ChainlinkMedianRAIUSD';
import { ChainlinkPriceFeedMedianizer } from './generated/ChainlinkPriceFeedMedianizer';
import { CoinFactory } from './generated/CoinFactory';
import { CoinJoinFactory } from './generated/CoinJoinFactory';
import { CoinSavingsAccount } from './generated/CoinSavingsAccount';
import { CoinSavingsAccountFactory } from './generated/CoinSavingsAccountFactory';
import { CollateralAuctionHouse } from './generated/CollateralAuctionHouse';

@@ -19,24 +11,13 @@ import { CollateralJoin1 } from './generated/CollateralJoin1';

import { CollateralJoin6 } from './generated/CollateralJoin6';
import { DsAuth } from './generated/DSAuth';
import { DsAuthEvents } from './generated/DSAuthEvents';
import { DsAuthority } from './generated/DSAuthority';
import { DsCompare } from './generated/DSCompare';
import { DsGuard } from './generated/DSGuard';
import { DsGuardEvents } from './generated/DSGuardEvents';
import { DsGuardFactory } from './generated/DSGuardFactory';
import { DsPause } from './generated/DSPause';
import { DsPauseProxy } from './generated/DSPauseProxy';
import { DsProxyCache } from './generated/DSProxyCache';
import { DsProxyFactory } from './generated/DSProxyFactory';
import { DsRoles } from './generated/DSRoles';
import { DsStop } from './generated/DSStop';
import { DsThing } from './generated/DSThing';
import { DsTokenBase } from './generated/DSTokenBase';
import { DebtAuctionHouseFactory } from './generated/DebtAuctionHouseFactory';
import { Erc20Events } from './generated/ERC20Events';
import { Esm } from './generated/ESM';
import { EsmFactory } from './generated/ESMFactory';
import { EsmThresholdSetter } from './generated/ESMThresholdSetter';
import { EthJoin } from './generated/ETHJoin';
import { EnglishCollateralAuctionHouseFactory } from './generated/EnglishCollateralAuctionHouseFactory';
import { FixedDiscountCollateralAuctionHouseFactory } from './generated/FixedDiscountCollateralAuctionHouseFactory';

@@ -47,25 +28,12 @@ import { FsmGovernanceInterface } from './generated/FsmGovernanceInterface';

import { GebDeployPauseProxyActions } from './generated/GebDeployPauseProxyActions';
import { GlobalSettlementFactory } from './generated/GlobalSettlementFactory';
import { GovActions } from './generated/GovActions';
import { GovernanceLedMedianEthusd } from './generated/GovernanceLedMedianETHUSD';
import { GovernanceLedMedianFlxusd } from './generated/GovernanceLedMedianFLXUSD';
import { GovernanceLedMedianRaiusd } from './generated/GovernanceLedMedianRAIUSD';
import { GovernanceLedPriceFeedMedianizer } from './generated/GovernanceLedPriceFeedMedianizer';
import { IUniswapV2Factory } from './generated/IUniswapV2Factory';
import { IUniswapV2Pair } from './generated/IUniswapV2Pair';
import { LiquidationEngineFactory } from './generated/LiquidationEngineFactory';
import { LiquidationEngineMock } from './generated/LiquidationEngineMock';
import { OracleRelayerFactory } from './generated/OracleRelayerFactory';
import { PauseFactory } from './generated/PauseFactory';
import { PreSettlementSurplusAuctionHouseFactory } from './generated/PreSettlementSurplusAuctionHouseFactory';
import { ProtocolTokenAuthority } from './generated/ProtocolTokenAuthority';
import { SafeEngineFactory } from './generated/SAFEEngineFactory';
import { SafeHandler } from './generated/SAFEHandler';
import { Setter } from './generated/Setter';
import { SimpleAuthority } from './generated/SimpleAuthority';
import { Tester } from './generated/Tester';
import { AdminApis } from './admin-apis';
import { DsProtestPause } from './generated/DSProtestPause';
import { DsDelegateRoles } from './generated/DSDelegateRoles';
import { ProtestPauseFactory } from './generated/ProtestPauseFactory';
import { GnosisSafe } from './generated/GnosisSafe';

@@ -81,2 +49,2 @@ import { GnosisSafeProxy } from './generated/GnosisSafeProxy';

import { SubsidyPool } from './generated/SubsidyPool';
export { AdminApis, AccountingEngineFactory, AggregatorInterface, AuthCollateralJoin, AuthorizableContract, ChainlinkMedianFlxusd, ChainlinkMedianRaiusd, ChainlinkPriceFeedMedianizer, CoinFactory, CoinJoinFactory, CoinSavingsAccount, CoinSavingsAccountFactory, CollateralAuctionHouse, CollateralJoin1, CollateralJoin2, CollateralJoin3, CollateralJoin4, CollateralJoin5, CollateralJoin6, DsAuth, DsAuthEvents, DsAuthority, DsCompare, DsGuard, DsGuardEvents, DsGuardFactory, DsPause, DsPauseProxy, DsProxyCache, DsProxyFactory, DsRoles, DsStop, DsThing, DsTokenBase, DebtAuctionHouseFactory, Erc20Events, Esm, EsmFactory, EsmThresholdSetter, EthJoin, EnglishCollateralAuctionHouseFactory, FixedDiscountCollateralAuctionHouseFactory, FsmGovernanceInterface, FsmGovernanceInterfaceCaller, GebDeploy, GebDeployPauseProxyActions, GlobalSettlementFactory, GovActions, GovernanceLedMedianEthusd, GovernanceLedMedianFlxusd, GovernanceLedMedianRaiusd, GovernanceLedPriceFeedMedianizer, IUniswapV2Factory, IUniswapV2Pair, LiquidationEngineFactory, LiquidationEngineMock, OracleRelayerFactory, PauseFactory, PreSettlementSurplusAuctionHouseFactory, ProtocolTokenAuthority, SafeEngineFactory, SafeHandler, Setter, SimpleAuthority, Tester, DsDelegateRoles, DsProtestPause, ProtestPauseFactory, GnosisSafeProxy, GnosisSafe, UniswapConsecutiveSlotsMedianFlxusd, UniswapConsecutiveSlotsMedianRaiusd, UniswapConsecutiveSlotsPriceFeedMedianizer, UniswapConverterBasicAverageMedianFlxusd, UniswapConverterBasicAverageMedianRaiusd, UniswapConverterBasicAveragePriceFeedMedianizer, SubsidyPool, RemineScheduler, };
export { AdminApis, ChainlinkMedianFlxusd, ChainlinkMedianRaiusd, ChainlinkPriceFeedMedianizer, CollateralAuctionHouse, CollateralJoin1, CollateralJoin2, CollateralJoin3, CollateralJoin4, CollateralJoin5, CollateralJoin6, DsAuthEvents, DsAuthority, DsGuard, DsGuardEvents, DsPause, DsPauseProxy, DsRoles, DsStop, DsTokenBase, Esm, EthJoin, FixedDiscountCollateralAuctionHouseFactory, FsmGovernanceInterface, FsmGovernanceInterfaceCaller, GebDeploy, GebDeployPauseProxyActions, GovActions, GovernanceLedMedianEthusd, GovernanceLedMedianRaiusd, IUniswapV2Pair, LiquidationEngineMock, ProtocolTokenAuthority, SafeEngineFactory, DsDelegateRoles, DsProtestPause, GnosisSafeProxy, GnosisSafe, UniswapConsecutiveSlotsMedianFlxusd, UniswapConsecutiveSlotsMedianRaiusd, UniswapConsecutiveSlotsPriceFeedMedianizer, UniswapConverterBasicAverageMedianFlxusd, UniswapConverterBasicAverageMedianRaiusd, UniswapConverterBasicAveragePriceFeedMedianizer, SubsidyPool, RemineScheduler, };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RemineScheduler = exports.SubsidyPool = exports.UniswapConverterBasicAveragePriceFeedMedianizer = exports.UniswapConverterBasicAverageMedianRaiusd = exports.UniswapConverterBasicAverageMedianFlxusd = exports.UniswapConsecutiveSlotsPriceFeedMedianizer = exports.UniswapConsecutiveSlotsMedianRaiusd = exports.UniswapConsecutiveSlotsMedianFlxusd = exports.GnosisSafe = exports.GnosisSafeProxy = exports.ProtestPauseFactory = exports.DsProtestPause = exports.DsDelegateRoles = exports.Tester = exports.SimpleAuthority = exports.Setter = exports.SafeHandler = exports.SafeEngineFactory = exports.ProtocolTokenAuthority = exports.PreSettlementSurplusAuctionHouseFactory = exports.PauseFactory = exports.OracleRelayerFactory = exports.LiquidationEngineMock = exports.LiquidationEngineFactory = exports.IUniswapV2Pair = exports.IUniswapV2Factory = exports.GovernanceLedPriceFeedMedianizer = exports.GovernanceLedMedianRaiusd = exports.GovernanceLedMedianFlxusd = exports.GovernanceLedMedianEthusd = exports.GovActions = exports.GlobalSettlementFactory = exports.GebDeployPauseProxyActions = exports.GebDeploy = exports.FsmGovernanceInterfaceCaller = exports.FsmGovernanceInterface = exports.FixedDiscountCollateralAuctionHouseFactory = 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.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.AuthorizableContract = exports.AuthCollateralJoin = exports.AggregatorInterface = exports.AccountingEngineFactory = exports.AdminApis = void 0;
var AccountingEngineFactory_1 = require("./generated/AccountingEngineFactory");
Object.defineProperty(exports, "AccountingEngineFactory", { enumerable: true, get: function () { return AccountingEngineFactory_1.AccountingEngineFactory; } });
var AggregatorInterface_1 = require("./generated/AggregatorInterface");
Object.defineProperty(exports, "AggregatorInterface", { enumerable: true, get: function () { return AggregatorInterface_1.AggregatorInterface; } });
var AuthCollateralJoin_1 = require("./generated/AuthCollateralJoin");
Object.defineProperty(exports, "AuthCollateralJoin", { enumerable: true, get: function () { return AuthCollateralJoin_1.AuthCollateralJoin; } });
var AuthorizableContract_1 = require("./generated/AuthorizableContract");
Object.defineProperty(exports, "AuthorizableContract", { enumerable: true, get: function () { return AuthorizableContract_1.AuthorizableContract; } });
exports.RemineScheduler = exports.SubsidyPool = exports.UniswapConverterBasicAveragePriceFeedMedianizer = exports.UniswapConverterBasicAverageMedianRaiusd = exports.UniswapConverterBasicAverageMedianFlxusd = exports.UniswapConsecutiveSlotsPriceFeedMedianizer = exports.UniswapConsecutiveSlotsMedianRaiusd = exports.UniswapConsecutiveSlotsMedianFlxusd = exports.GnosisSafe = exports.GnosisSafeProxy = exports.DsProtestPause = exports.DsDelegateRoles = exports.SafeEngineFactory = exports.ProtocolTokenAuthority = exports.LiquidationEngineMock = exports.IUniswapV2Pair = exports.GovernanceLedMedianRaiusd = exports.GovernanceLedMedianEthusd = exports.GovActions = exports.GebDeployPauseProxyActions = exports.GebDeploy = exports.FsmGovernanceInterfaceCaller = exports.FsmGovernanceInterface = exports.FixedDiscountCollateralAuctionHouseFactory = exports.EthJoin = exports.Esm = exports.DsTokenBase = exports.DsStop = exports.DsRoles = exports.DsPauseProxy = exports.DsPause = exports.DsGuardEvents = exports.DsGuard = exports.DsAuthority = exports.DsAuthEvents = exports.CollateralJoin6 = exports.CollateralJoin5 = exports.CollateralJoin4 = exports.CollateralJoin3 = exports.CollateralJoin2 = exports.CollateralJoin1 = exports.CollateralAuctionHouse = exports.ChainlinkPriceFeedMedianizer = exports.ChainlinkMedianRaiusd = exports.ChainlinkMedianFlxusd = exports.AdminApis = void 0;
var ChainlinkMedianFLXUSD_1 = require("./generated/ChainlinkMedianFLXUSD");

@@ -18,10 +10,2 @@ Object.defineProperty(exports, "ChainlinkMedianFlxusd", { enumerable: true, get: function () { return ChainlinkMedianFLXUSD_1.ChainlinkMedianFlxusd; } });

Object.defineProperty(exports, "ChainlinkPriceFeedMedianizer", { enumerable: true, get: function () { return ChainlinkPriceFeedMedianizer_1.ChainlinkPriceFeedMedianizer; } });
var CoinFactory_1 = require("./generated/CoinFactory");
Object.defineProperty(exports, "CoinFactory", { enumerable: true, get: function () { return CoinFactory_1.CoinFactory; } });
var CoinJoinFactory_1 = require("./generated/CoinJoinFactory");
Object.defineProperty(exports, "CoinJoinFactory", { enumerable: true, get: function () { return CoinJoinFactory_1.CoinJoinFactory; } });
var CoinSavingsAccount_1 = require("./generated/CoinSavingsAccount");
Object.defineProperty(exports, "CoinSavingsAccount", { enumerable: true, get: function () { return CoinSavingsAccount_1.CoinSavingsAccount; } });
var CoinSavingsAccountFactory_1 = require("./generated/CoinSavingsAccountFactory");
Object.defineProperty(exports, "CoinSavingsAccountFactory", { enumerable: true, get: function () { return CoinSavingsAccountFactory_1.CoinSavingsAccountFactory; } });
var CollateralAuctionHouse_1 = require("./generated/CollateralAuctionHouse");

@@ -41,4 +25,2 @@ Object.defineProperty(exports, "CollateralAuctionHouse", { enumerable: true, get: function () { return CollateralAuctionHouse_1.CollateralAuctionHouse; } });

Object.defineProperty(exports, "CollateralJoin6", { enumerable: true, get: function () { return CollateralJoin6_1.CollateralJoin6; } });
var DSAuth_1 = require("./generated/DSAuth");
Object.defineProperty(exports, "DsAuth", { enumerable: true, get: function () { return DSAuth_1.DsAuth; } });
var DSAuthEvents_1 = require("./generated/DSAuthEvents");

@@ -48,4 +30,2 @@ Object.defineProperty(exports, "DsAuthEvents", { enumerable: true, get: function () { return DSAuthEvents_1.DsAuthEvents; } });

Object.defineProperty(exports, "DsAuthority", { enumerable: true, get: function () { return DSAuthority_1.DsAuthority; } });
var DSCompare_1 = require("./generated/DSCompare");
Object.defineProperty(exports, "DsCompare", { enumerable: true, get: function () { return DSCompare_1.DsCompare; } });
var DSGuard_1 = require("./generated/DSGuard");

@@ -55,4 +35,2 @@ Object.defineProperty(exports, "DsGuard", { enumerable: true, get: function () { return DSGuard_1.DsGuard; } });

Object.defineProperty(exports, "DsGuardEvents", { enumerable: true, get: function () { return DSGuardEvents_1.DsGuardEvents; } });
var DSGuardFactory_1 = require("./generated/DSGuardFactory");
Object.defineProperty(exports, "DsGuardFactory", { enumerable: true, get: function () { return DSGuardFactory_1.DsGuardFactory; } });
var DSPause_1 = require("./generated/DSPause");

@@ -62,6 +40,2 @@ Object.defineProperty(exports, "DsPause", { enumerable: true, get: function () { return DSPause_1.DsPause; } });

Object.defineProperty(exports, "DsPauseProxy", { enumerable: true, get: function () { return DSPauseProxy_1.DsPauseProxy; } });
var DSProxyCache_1 = require("./generated/DSProxyCache");
Object.defineProperty(exports, "DsProxyCache", { enumerable: true, get: function () { return DSProxyCache_1.DsProxyCache; } });
var DSProxyFactory_1 = require("./generated/DSProxyFactory");
Object.defineProperty(exports, "DsProxyFactory", { enumerable: true, get: function () { return DSProxyFactory_1.DsProxyFactory; } });
var DSRoles_1 = require("./generated/DSRoles");

@@ -71,20 +45,8 @@ Object.defineProperty(exports, "DsRoles", { enumerable: true, get: function () { return DSRoles_1.DsRoles; } });

Object.defineProperty(exports, "DsStop", { enumerable: true, get: function () { return DSStop_1.DsStop; } });
var DSThing_1 = require("./generated/DSThing");
Object.defineProperty(exports, "DsThing", { enumerable: true, get: function () { return DSThing_1.DsThing; } });
var DSTokenBase_1 = require("./generated/DSTokenBase");
Object.defineProperty(exports, "DsTokenBase", { enumerable: true, get: function () { return DSTokenBase_1.DsTokenBase; } });
var DebtAuctionHouseFactory_1 = require("./generated/DebtAuctionHouseFactory");
Object.defineProperty(exports, "DebtAuctionHouseFactory", { enumerable: true, get: function () { return DebtAuctionHouseFactory_1.DebtAuctionHouseFactory; } });
var ERC20Events_1 = require("./generated/ERC20Events");
Object.defineProperty(exports, "Erc20Events", { enumerable: true, get: function () { return ERC20Events_1.Erc20Events; } });
var ESM_1 = require("./generated/ESM");
Object.defineProperty(exports, "Esm", { enumerable: true, get: function () { return ESM_1.Esm; } });
var ESMFactory_1 = require("./generated/ESMFactory");
Object.defineProperty(exports, "EsmFactory", { enumerable: true, get: function () { return ESMFactory_1.EsmFactory; } });
var ESMThresholdSetter_1 = require("./generated/ESMThresholdSetter");
Object.defineProperty(exports, "EsmThresholdSetter", { enumerable: true, get: function () { return ESMThresholdSetter_1.EsmThresholdSetter; } });
var ETHJoin_1 = require("./generated/ETHJoin");
Object.defineProperty(exports, "EthJoin", { enumerable: true, get: function () { return ETHJoin_1.EthJoin; } });
var EnglishCollateralAuctionHouseFactory_1 = require("./generated/EnglishCollateralAuctionHouseFactory");
Object.defineProperty(exports, "EnglishCollateralAuctionHouseFactory", { enumerable: true, get: function () { return EnglishCollateralAuctionHouseFactory_1.EnglishCollateralAuctionHouseFactory; } });
var FixedDiscountCollateralAuctionHouseFactory_1 = require("./generated/FixedDiscountCollateralAuctionHouseFactory");

@@ -100,4 +62,2 @@ Object.defineProperty(exports, "FixedDiscountCollateralAuctionHouseFactory", { enumerable: true, get: function () { return FixedDiscountCollateralAuctionHouseFactory_1.FixedDiscountCollateralAuctionHouseFactory; } });

Object.defineProperty(exports, "GebDeployPauseProxyActions", { enumerable: true, get: function () { return GebDeployPauseProxyActions_1.GebDeployPauseProxyActions; } });
var GlobalSettlementFactory_1 = require("./generated/GlobalSettlementFactory");
Object.defineProperty(exports, "GlobalSettlementFactory", { enumerable: true, get: function () { return GlobalSettlementFactory_1.GlobalSettlementFactory; } });
var GovActions_1 = require("./generated/GovActions");

@@ -107,22 +67,8 @@ Object.defineProperty(exports, "GovActions", { enumerable: true, get: function () { return GovActions_1.GovActions; } });

Object.defineProperty(exports, "GovernanceLedMedianEthusd", { enumerable: true, get: function () { return GovernanceLedMedianETHUSD_1.GovernanceLedMedianEthusd; } });
var GovernanceLedMedianFLXUSD_1 = require("./generated/GovernanceLedMedianFLXUSD");
Object.defineProperty(exports, "GovernanceLedMedianFlxusd", { enumerable: true, get: function () { return GovernanceLedMedianFLXUSD_1.GovernanceLedMedianFlxusd; } });
var GovernanceLedMedianRAIUSD_1 = require("./generated/GovernanceLedMedianRAIUSD");
Object.defineProperty(exports, "GovernanceLedMedianRaiusd", { enumerable: true, get: function () { return GovernanceLedMedianRAIUSD_1.GovernanceLedMedianRaiusd; } });
var GovernanceLedPriceFeedMedianizer_1 = require("./generated/GovernanceLedPriceFeedMedianizer");
Object.defineProperty(exports, "GovernanceLedPriceFeedMedianizer", { enumerable: true, get: function () { return GovernanceLedPriceFeedMedianizer_1.GovernanceLedPriceFeedMedianizer; } });
var IUniswapV2Factory_1 = require("./generated/IUniswapV2Factory");
Object.defineProperty(exports, "IUniswapV2Factory", { enumerable: true, get: function () { return IUniswapV2Factory_1.IUniswapV2Factory; } });
var IUniswapV2Pair_1 = require("./generated/IUniswapV2Pair");
Object.defineProperty(exports, "IUniswapV2Pair", { enumerable: true, get: function () { return IUniswapV2Pair_1.IUniswapV2Pair; } });
var LiquidationEngineFactory_1 = require("./generated/LiquidationEngineFactory");
Object.defineProperty(exports, "LiquidationEngineFactory", { enumerable: true, get: function () { return LiquidationEngineFactory_1.LiquidationEngineFactory; } });
var LiquidationEngineMock_1 = require("./generated/LiquidationEngineMock");
Object.defineProperty(exports, "LiquidationEngineMock", { enumerable: true, get: function () { return LiquidationEngineMock_1.LiquidationEngineMock; } });
var OracleRelayerFactory_1 = require("./generated/OracleRelayerFactory");
Object.defineProperty(exports, "OracleRelayerFactory", { enumerable: true, get: function () { return OracleRelayerFactory_1.OracleRelayerFactory; } });
var PauseFactory_1 = require("./generated/PauseFactory");
Object.defineProperty(exports, "PauseFactory", { enumerable: true, get: function () { return PauseFactory_1.PauseFactory; } });
var PreSettlementSurplusAuctionHouseFactory_1 = require("./generated/PreSettlementSurplusAuctionHouseFactory");
Object.defineProperty(exports, "PreSettlementSurplusAuctionHouseFactory", { enumerable: true, get: function () { return PreSettlementSurplusAuctionHouseFactory_1.PreSettlementSurplusAuctionHouseFactory; } });
var ProtocolTokenAuthority_1 = require("./generated/ProtocolTokenAuthority");

@@ -132,10 +78,2 @@ Object.defineProperty(exports, "ProtocolTokenAuthority", { enumerable: true, get: function () { return ProtocolTokenAuthority_1.ProtocolTokenAuthority; } });

Object.defineProperty(exports, "SafeEngineFactory", { enumerable: true, get: function () { return SAFEEngineFactory_1.SafeEngineFactory; } });
var SAFEHandler_1 = require("./generated/SAFEHandler");
Object.defineProperty(exports, "SafeHandler", { enumerable: true, get: function () { return SAFEHandler_1.SafeHandler; } });
var Setter_1 = require("./generated/Setter");
Object.defineProperty(exports, "Setter", { enumerable: true, get: function () { return Setter_1.Setter; } });
var SimpleAuthority_1 = require("./generated/SimpleAuthority");
Object.defineProperty(exports, "SimpleAuthority", { enumerable: true, get: function () { return SimpleAuthority_1.SimpleAuthority; } });
var Tester_1 = require("./generated/Tester");
Object.defineProperty(exports, "Tester", { enumerable: true, get: function () { return Tester_1.Tester; } });
var admin_apis_1 = require("./admin-apis");

@@ -147,4 +85,2 @@ Object.defineProperty(exports, "AdminApis", { enumerable: true, get: function () { return admin_apis_1.AdminApis; } });

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");

@@ -151,0 +87,0 @@ Object.defineProperty(exports, "GnosisSafe", { enumerable: true, get: function () { return GnosisSafe_1.GnosisSafe; } });

{
"name": "@reflexer-finance/geb-admin-api",
"version": "0.3.8",
"version": "0.4.0",
"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.3.7",
"@reflexer-finance/geb-contract-base": "^0.3.6"
"@reflexer-finance/geb-contract-api": "^0.4.0",
"@reflexer-finance/geb-contract-base": "^0.4.0"
},

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

},
"gitHead": "0b5f01f5ebb4cb50d2a27305e3c491b54701eab5"
"gitHead": "b1c2234aa5bffa659b99fda2db61fb7323cf46cf"
}

@@ -9,3 +9,2 @@ import {

FsmGovernanceInterface,
DsProxyFactory,
GebDeployPauseProxyActions,

@@ -38,3 +37,2 @@ DsProtestPause,

public fsmGovInterface: FsmGovernanceInterface
public proxyFactory: DsProxyFactory
public pauseProxyAction: GebDeployPauseProxyActions

@@ -63,8 +61,7 @@ public proxyDeployer: DsProxy

this.fsmGovInterface = new FsmGovernanceInterface(addressList.FSM_GOV_INTERFACE, this.chainProvider)
this.proxyFactory = new DsProxyFactory(addressList.PROXY_FACTORY, this.chainProvider)
this.pauseProxyAction = new GebDeployPauseProxyActions(addressList.PROXY_PAUSE_ACTIONS, this.chainProvider)
this.proxyDeployer = new DsProxy(addressList.PROXY_DEPLOYER, this.chainProvider)
this.remineScheduler = new RemineScheduler(addressList.GEB_REMINE_SCHEDULER, this.chainProvider)
this.subsidyPool = new SubsidyPool(addressList.GEB_SUBSIDY_POOL, this.chainProvider)
this.remineScheduler = new RemineScheduler(addressList.GEB_INCENTIVES_REMINER, this.chainProvider)
this.subsidyPool = new SubsidyPool(addressList.GEB_INCENTIVES_SUBSIDY_POOL, this.chainProvider)
}
}

@@ -64,2 +64,26 @@ /* Generated by ts-generator ver. 0.0.8 */

burningSurplusAuctionHouse(): Promise<string>
burningSurplusAuctionHouse(multicall: true): MulticallRequest<string>
burningSurplusAuctionHouse(
multicall?: true
): Promise<string> | MulticallRequest<string> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"burningSurplusAuctionHouse","outputs":[{"internalType":"contract BurningSurplusAuctionHouse","name":"","type":"address"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
burningSurplusAuctionHouseFactory(): Promise<string>
burningSurplusAuctionHouseFactory(multicall: true): MulticallRequest<string>
burningSurplusAuctionHouseFactory(
multicall?: true
): Promise<string> | MulticallRequest<string> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"burningSurplusAuctionHouseFactory","outputs":[{"internalType":"contract BurningSurplusAuctionHouseFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}
return this.ethCallOrMulticall(abi, [], multicall)
}
coin(): Promise<string>

@@ -199,8 +223,16 @@ coin(multicall: true): MulticallRequest<string>

deployAuctions(prot: string): TransactionRequest {
deployAuctions(
prot: string,
surplusProtTokenReceiver: string,
surplusAuctionHouseType: BytesLike
): TransactionRequest {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[{"internalType":"address","name":"prot","type":"address"}],"name":"deployAuctions","outputs":[],"stateMutability":"nonpayable","type":"function"}
const abi = {"inputs":[{"internalType":"address","name":"prot","type":"address"},{"internalType":"address","name":"surplusProtTokenReceiver","type":"address"},{"internalType":"bytes32","name":"surplusAuctionHouseType","type":"bytes32"}],"name":"deployAuctions","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [prot])
return this.getTransactionRequest(abi, [
prot,
surplusProtTokenReceiver,
surplusAuctionHouseType,
])
}

@@ -225,3 +257,2 @@

collateralFSM: string,
collateralMedian: string,
systemCoinOracle: string

@@ -231,3 +262,3 @@ ): TransactionRequest {

// @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":"collateralFSM","type":"address"},{"internalType":"address","name":"collateralMedian","type":"address"},{"internalType":"address","name":"systemCoinOracle","type":"address"}],"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":"collateralFSM","type":"address"},{"internalType":"address","name":"systemCoinOracle","type":"address"}],"name":"deployCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"}

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

collateralFSM,
collateralMedian,
systemCoinOracle,

@@ -496,10 +526,8 @@ ])

preSettlementSurplusAuctionHouse(): Promise<string>
preSettlementSurplusAuctionHouse(multicall: true): MulticallRequest<string>
preSettlementSurplusAuctionHouse(
multicall?: true
): Promise<string> | MulticallRequest<string> {
protestPause(): Promise<string>
protestPause(multicall: true): MulticallRequest<string>
protestPause(multicall?: true): Promise<string> | MulticallRequest<string> {
// prettier-ignore
// @ts-ignore
const abi = {"inputs":[],"name":"preSettlementSurplusAuctionHouse","outputs":[{"internalType":"contract PreSettlementSurplusAuctionHouse","name":"","type":"address"}],"stateMutability":"view","type":"function"}
const abi = {"inputs":[],"name":"protestPause","outputs":[{"internalType":"contract DSProtestPause","name":"","type":"address"}],"stateMutability":"view","type":"function"}

@@ -509,7 +537,5 @@ return this.ethCallOrMulticall(abi, [], multicall)

preSettlementSurplusAuctionHouseFactory(): Promise<string>
preSettlementSurplusAuctionHouseFactory(
multicall: true
): MulticallRequest<string>
preSettlementSurplusAuctionHouseFactory(
protestPauseFactory(): Promise<string>
protestPauseFactory(multicall: true): MulticallRequest<string>
protestPauseFactory(
multicall?: true

@@ -519,3 +545,3 @@ ): Promise<string> | MulticallRequest<string> {

// @ts-ignore
const abi = {"inputs":[],"name":"preSettlementSurplusAuctionHouseFactory","outputs":[{"internalType":"contract PreSettlementSurplusAuctionHouseFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}
const abi = {"inputs":[],"name":"protestPauseFactory","outputs":[{"internalType":"contract ProtestPauseFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}

@@ -525,8 +551,10 @@ return this.ethCallOrMulticall(abi, [], multicall)

protestPause(): Promise<string>
protestPause(multicall: true): MulticallRequest<string>
protestPause(multicall?: true): Promise<string> | MulticallRequest<string> {
recyclingSurplusAuctionHouse(): Promise<string>
recyclingSurplusAuctionHouse(multicall: true): MulticallRequest<string>
recyclingSurplusAuctionHouse(
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"}
const abi = {"inputs":[],"name":"recyclingSurplusAuctionHouse","outputs":[{"internalType":"contract RecyclingSurplusAuctionHouse","name":"","type":"address"}],"stateMutability":"view","type":"function"}

@@ -536,5 +564,7 @@ return this.ethCallOrMulticall(abi, [], multicall)

protestPauseFactory(): Promise<string>
protestPauseFactory(multicall: true): MulticallRequest<string>
protestPauseFactory(
recyclingSurplusAuctionHouseFactory(): Promise<string>
recyclingSurplusAuctionHouseFactory(
multicall: true
): MulticallRequest<string>
recyclingSurplusAuctionHouseFactory(
multicall?: true

@@ -544,3 +574,3 @@ ): Promise<string> | MulticallRequest<string> {

// @ts-ignore
const abi = {"inputs":[],"name":"protestPauseFactory","outputs":[{"internalType":"contract ProtestPauseFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}
const abi = {"inputs":[],"name":"recyclingSurplusAuctionHouseFactory","outputs":[{"internalType":"contract RecyclingSurplusAuctionHouseFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}

@@ -632,3 +662,4 @@ return this.ethCallOrMulticall(abi, [], multicall)

setSecondFactoryBatch(
preSettlementSurplusAuctionHouseFactory_: string,
recyclingSurplusAuctionHouseFactory_: string,
burningSurplusAuctionHouseFactory_: string,
debtAuctionHouseFactory_: string,

@@ -643,6 +674,7 @@ englishCollateralAuctionHouseFactory_: string,

// @ts-ignore
const abi = {"inputs":[{"internalType":"contract PreSettlementSurplusAuctionHouseFactory","name":"preSettlementSurplusAuctionHouseFactory_","type":"address"},{"internalType":"contract DebtAuctionHouseFactory","name":"debtAuctionHouseFactory_","type":"address"},{"internalType":"contract EnglishCollateralAuctionHouseFactory","name":"englishCollateralAuctionHouseFactory_","type":"address"},{"internalType":"contract FixedDiscountCollateralAuctionHouseFactory","name":"fixedDiscountCollateralAuctionHouseFactory_","type":"address"},{"internalType":"contract OracleRelayerFactory","name":"oracleRelayerFactory_","type":"address"},{"internalType":"contract GlobalSettlementFactory","name":"globalSettlementFactory_","type":"address"},{"internalType":"contract ESMFactory","name":"esmFactory_","type":"address"}],"name":"setSecondFactoryBatch","outputs":[],"stateMutability":"nonpayable","type":"function"}
const abi = {"inputs":[{"internalType":"contract RecyclingSurplusAuctionHouseFactory","name":"recyclingSurplusAuctionHouseFactory_","type":"address"},{"internalType":"contract BurningSurplusAuctionHouseFactory","name":"burningSurplusAuctionHouseFactory_","type":"address"},{"internalType":"contract DebtAuctionHouseFactory","name":"debtAuctionHouseFactory_","type":"address"},{"internalType":"contract EnglishCollateralAuctionHouseFactory","name":"englishCollateralAuctionHouseFactory_","type":"address"},{"internalType":"contract FixedDiscountCollateralAuctionHouseFactory","name":"fixedDiscountCollateralAuctionHouseFactory_","type":"address"},{"internalType":"contract OracleRelayerFactory","name":"oracleRelayerFactory_","type":"address"},{"internalType":"contract GlobalSettlementFactory","name":"globalSettlementFactory_","type":"address"},{"internalType":"contract ESMFactory","name":"esmFactory_","type":"address"}],"name":"setSecondFactoryBatch","outputs":[],"stateMutability":"nonpayable","type":"function"}
return this.getTransactionRequest(abi, [
preSettlementSurplusAuctionHouseFactory_,
recyclingSurplusAuctionHouseFactory_,
burningSurplusAuctionHouseFactory_,
debtAuctionHouseFactory_,

@@ -649,0 +681,0 @@ englishCollateralAuctionHouseFactory_,

@@ -1,12 +0,4 @@

import { AccountingEngineFactory } from './generated/AccountingEngineFactory'
import { AggregatorInterface } from './generated/AggregatorInterface'
import { AuthCollateralJoin } from './generated/AuthCollateralJoin'
import { AuthorizableContract } from './generated/AuthorizableContract'
import { ChainlinkMedianFlxusd } from './generated/ChainlinkMedianFLXUSD'
import { ChainlinkMedianRaiusd } from './generated/ChainlinkMedianRAIUSD'
import { ChainlinkPriceFeedMedianizer } from './generated/ChainlinkPriceFeedMedianizer'
import { CoinFactory } from './generated/CoinFactory'
import { CoinJoinFactory } from './generated/CoinJoinFactory'
import { CoinSavingsAccount } from './generated/CoinSavingsAccount'
import { CoinSavingsAccountFactory } from './generated/CoinSavingsAccountFactory'
import { CollateralAuctionHouse } from './generated/CollateralAuctionHouse'

@@ -19,24 +11,13 @@ import { CollateralJoin1 } from './generated/CollateralJoin1'

import { CollateralJoin6 } from './generated/CollateralJoin6'
import { DsAuth } from './generated/DSAuth'
import { DsAuthEvents } from './generated/DSAuthEvents'
import { DsAuthority } from './generated/DSAuthority'
import { DsCompare } from './generated/DSCompare'
import { DsGuard } from './generated/DSGuard'
import { DsGuardEvents } from './generated/DSGuardEvents'
import { DsGuardFactory } from './generated/DSGuardFactory'
import { DsPause } from './generated/DSPause'
import { DsPauseProxy } from './generated/DSPauseProxy'
import { DsProxyCache } from './generated/DSProxyCache'
import { DsProxyFactory } from './generated/DSProxyFactory'
import { DsRoles } from './generated/DSRoles'
import { DsStop } from './generated/DSStop'
import { DsThing } from './generated/DSThing'
import { DsTokenBase } from './generated/DSTokenBase'
import { DebtAuctionHouseFactory } from './generated/DebtAuctionHouseFactory'
import { Erc20Events } from './generated/ERC20Events'
import { Esm } from './generated/ESM'
import { EsmFactory } from './generated/ESMFactory'
import { EsmThresholdSetter } from './generated/ESMThresholdSetter'
import { EthJoin } from './generated/ETHJoin'
import { EnglishCollateralAuctionHouseFactory } from './generated/EnglishCollateralAuctionHouseFactory'
import { FixedDiscountCollateralAuctionHouseFactory } from './generated/FixedDiscountCollateralAuctionHouseFactory'

@@ -47,25 +28,12 @@ import { FsmGovernanceInterface } from './generated/FsmGovernanceInterface'

import { GebDeployPauseProxyActions } from './generated/GebDeployPauseProxyActions'
import { GlobalSettlementFactory } from './generated/GlobalSettlementFactory'
import { GovActions } from './generated/GovActions'
import { GovernanceLedMedianEthusd } from './generated/GovernanceLedMedianETHUSD'
import { GovernanceLedMedianFlxusd } from './generated/GovernanceLedMedianFLXUSD'
import { GovernanceLedMedianRaiusd } from './generated/GovernanceLedMedianRAIUSD'
import { GovernanceLedPriceFeedMedianizer } from './generated/GovernanceLedPriceFeedMedianizer'
import { IUniswapV2Factory } from './generated/IUniswapV2Factory'
import { IUniswapV2Pair } from './generated/IUniswapV2Pair'
import { LiquidationEngineFactory } from './generated/LiquidationEngineFactory'
import { LiquidationEngineMock } from './generated/LiquidationEngineMock'
import { OracleRelayerFactory } from './generated/OracleRelayerFactory'
import { PauseFactory } from './generated/PauseFactory'
import { PreSettlementSurplusAuctionHouseFactory } from './generated/PreSettlementSurplusAuctionHouseFactory'
import { ProtocolTokenAuthority } from './generated/ProtocolTokenAuthority'
import { SafeEngineFactory } from './generated/SAFEEngineFactory'
import { SafeHandler } from './generated/SAFEHandler'
import { Setter } from './generated/Setter'
import { SimpleAuthority } from './generated/SimpleAuthority'
import { Tester } from './generated/Tester'
import { AdminApis } from './admin-apis'
import { DsProtestPause } from './generated/DSProtestPause'
import { DsDelegateRoles } from './generated/DSDelegateRoles'
import { ProtestPauseFactory } from './generated/ProtestPauseFactory'
import { GnosisSafe } from './generated/GnosisSafe'

@@ -86,13 +54,5 @@ import { GnosisSafeProxy } from './generated/GnosisSafeProxy'

// Individual contracts
AccountingEngineFactory,
AggregatorInterface,
AuthCollateralJoin,
AuthorizableContract,
ChainlinkMedianFlxusd,
ChainlinkMedianRaiusd,
ChainlinkPriceFeedMedianizer,
CoinFactory,
CoinJoinFactory,
CoinSavingsAccount,
CoinSavingsAccountFactory,
CollateralAuctionHouse,

@@ -105,24 +65,13 @@ CollateralJoin1,

CollateralJoin6,
DsAuth,
DsAuthEvents,
DsAuthority,
DsCompare,
DsGuard,
DsGuardEvents,
DsGuardFactory,
DsPause,
DsPauseProxy,
DsProxyCache,
DsProxyFactory,
DsRoles,
DsStop,
DsThing,
DsTokenBase,
DebtAuctionHouseFactory,
Erc20Events,
Esm,
EsmFactory,
EsmThresholdSetter,
EthJoin,
EnglishCollateralAuctionHouseFactory,
FixedDiscountCollateralAuctionHouseFactory,

@@ -133,24 +82,11 @@ FsmGovernanceInterface,

GebDeployPauseProxyActions,
GlobalSettlementFactory,
GovActions,
GovernanceLedMedianEthusd,
GovernanceLedMedianFlxusd,
GovernanceLedMedianRaiusd,
GovernanceLedPriceFeedMedianizer,
IUniswapV2Factory,
IUniswapV2Pair,
LiquidationEngineFactory,
LiquidationEngineMock,
OracleRelayerFactory,
PauseFactory,
PreSettlementSurplusAuctionHouseFactory,
ProtocolTokenAuthority,
SafeEngineFactory,
SafeHandler,
Setter,
SimpleAuthority,
Tester,
DsDelegateRoles,
DsProtestPause,
ProtestPauseFactory,
GnosisSafeProxy,

@@ -157,0 +93,0 @@ 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc