@reflexer-finance/geb-admin-api
Advanced tools
@@ -1,11 +0,10 @@ | ||
| import { MultiSigWallet, DsProxy, GebDeploy, DsToken, ProtocolTokenAuthority, GebPollingEmitter, DsRecursiveRoles, GebPrintingPermissions, DsPause, DsPauseProxy, GovActions, Esm, TokenBurner, FsmGovernanceInterface, DsProxyFactory, ChainlinkMedianEthusd, Osm, GebDeployPauseProxyActions, TxManager, DsValue, Weth9 } from '.'; | ||
| import { MultiSigWallet, GebDeploy, ProtocolTokenAuthority, GebPollingEmitter, DsRecursiveRoles, GebPrintingPermissions, DsPause, DsPauseProxy, GovActions, Esm, TokenBurner, FsmGovernanceInterface, DsProxyFactory, GebDeployPauseProxyActions, TxManager } from '.'; | ||
| import { GebProviderInterface, GebDeployment } from '@reflexer-finance/geb-contract-base'; | ||
| import { DsProxy } from '@reflexer-finance/geb-contract-api'; | ||
| export declare class AdminApis { | ||
| chainProvider: GebProviderInterface; | ||
| weth: Weth9; | ||
| multisigAdmin: MultiSigWallet; | ||
| multisigAdminProxy: DsProxy; | ||
| deploy: GebDeploy; | ||
| flx: DsToken; | ||
| flxAuthority: ProtocolTokenAuthority; | ||
| protocolTokenAuthority: ProtocolTokenAuthority; | ||
| pollingEmitter: GebPollingEmitter; | ||
@@ -21,4 +20,2 @@ printingPermissionRegistry: GebPrintingPermissions; | ||
| proxyFactory: DsProxyFactory; | ||
| medianizerEth: ChainlinkMedianEthusd | DsValue; | ||
| osm: Osm | DsValue; | ||
| pauseProxyAction: GebDeployPauseProxyActions; | ||
@@ -25,0 +22,0 @@ proxyDeployer: DsProxy; |
@@ -6,2 +6,3 @@ "use strict"; | ||
| var geb_contract_base_1 = require("@reflexer-finance/geb-contract-base"); | ||
| var geb_contract_api_1 = require("@reflexer-finance/geb-contract-api"); | ||
| // Container class instantiate all GEB contracts | ||
@@ -15,8 +16,6 @@ // prettier-ignore | ||
| // Additional instances only in admin package | ||
| this.weth = new _1.Weth9(addressList.ETH, this.chainProvider); | ||
| this.multisigAdmin = new _1.MultiSigWallet(addressList.GEB_MULTISIG, this.chainProvider); | ||
| this.multisigAdminProxy = new _1.DsProxy(addressList.GEB_MULTISIG_PROXY, this.chainProvider); | ||
| this.multisigAdminProxy = new geb_contract_api_1.DsProxy(addressList.GEB_MULTISIG_PROXY, this.chainProvider); | ||
| this.deploy = new _1.GebDeploy(addressList.GEB_DEPLOY, this.chainProvider); | ||
| this.flx = new _1.DsToken(addressList.GEB_PROT, this.chainProvider); | ||
| this.flxAuthority = new _1.ProtocolTokenAuthority(addressList.PROTOCOL_TOKEN_AUTHORITY, this.chainProvider); | ||
| this.protocolTokenAuthority = new _1.ProtocolTokenAuthority(addressList.PROTOCOL_TOKEN_AUTHORITY, this.chainProvider); | ||
| this.pollingEmitter = new _1.GebPollingEmitter(addressList.GEB_POLLING_EMITTER, this.chainProvider); | ||
@@ -32,6 +31,4 @@ this.pauseAuthority = new _1.DsRecursiveRoles(addressList.GEB_PAUSE_AUTHORITY, this.chainProvider); | ||
| this.proxyFactory = new _1.DsProxyFactory(addressList.PROXY_FACTORY, this.chainProvider); | ||
| this.medianizerEth = new _1.DsValue(addressList.MEDIANIZER_ETH, this.chainProvider); | ||
| this.osm = new _1.DsValue(addressList.ORACLE_SECURITY_MODULE_ETH, this.chainProvider); | ||
| this.pauseProxyAction = new _1.GebDeployPauseProxyActions(addressList.PROXY_PAUSE_ACTIONS, this.chainProvider); | ||
| this.proxyDeployer = new _1.DsProxy(addressList.PROXY_DEPLOYER, this.chainProvider); | ||
| this.proxyDeployer = new geb_contract_api_1.DsProxy(addressList.PROXY_DEPLOYER, this.chainProvider); | ||
| this.txManager = new _1.TxManager(addressList.GEB_TX_MANAGER, this.chainProvider); | ||
@@ -38,0 +35,0 @@ } |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"admin-apis.js","sourceRoot":"","sources":["../src/admin-apis.ts"],"names":[],"mappings":";;;AAAA,sBAsBU;AACV,yEAI4C;AAE5C,gDAAgD;AAChD,kBAAkB;AAClB;IA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C,UAAU,GAAG,IAAI,aAAU,CAAC,WAAW,CAAC,eAAe,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QACjF,IAAI,CAAC,GAAG,GAAG,IAAI,MAAG,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QAC3D,IAAI,CAAC,SAAS,GAAG,IAAI,cAAW,CAAC,WAAW,CAAC,oBAAoB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QACtF,IAAI,CAAC,eAAe,GAAG,IAAI,yBAAsB,CAAC,WAAW,CAAC,iBAAiB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QACpG,IAAI,CAAC,YAAY,GAAG,IAAI,iBAAc,CAAC,WAAW,CAAC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QACrF,IAAI,CAAC,gBAAgB,GAAG,IAAI,6BAA0B,CAAC,WAAW,CAAC,mBAAmB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QAC3G,IAAI,CAAC,aAAa,GAAG,IAAI,0BAAO,CAAC,WAAW,CAAC,cAAc,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;QAChF,IAAI,CAAC,SAAS,GAAG,IAAI,YAAS,CAAC,WAAW,CAAC,cAAc,EAAE,IAAI,CAAC,aAAa,CAAC,CAAA;IAClF,CAAC;IACL,gBAAC;AAAD,CAAC,AA/CD,IA+CC;AA/CY,8BAAS"} |
+1
-7
@@ -6,3 +6,2 @@ import { AccountingEngineFactory } from './generated/AccountingEngineFactory'; | ||
| import { BurntToken } from './generated/BurntToken'; | ||
| import { ChainlinkMedianEthusd } from './generated/ChainlinkMedianETHUSD'; | ||
| import { ChainlinkMedianFlxusd } from './generated/ChainlinkMedianFLXUSD'; | ||
@@ -37,3 +36,2 @@ import { ChainlinkMedianRaiusd } from './generated/ChainlinkMedianRAIUSD'; | ||
| import { DsPauseProxy } from './generated/DSPauseProxy'; | ||
| import { DsProxy } from './generated/DSProxy'; | ||
| import { DsProxyCache } from './generated/DSProxyCache'; | ||
@@ -45,5 +43,3 @@ import { DsProxyFactory } from './generated/DSProxyFactory'; | ||
| import { DsThing } from './generated/DSThing'; | ||
| import { DsToken } from './generated/DSToken'; | ||
| import { DsTokenBase } from './generated/DSTokenBase'; | ||
| import { DsValue } from './generated/DSValue'; | ||
| import { DebtAuctionHouseFactory } from './generated/DebtAuctionHouseFactory'; | ||
@@ -83,3 +79,2 @@ import { Erc20Events } from './generated/ERC20Events'; | ||
| import { NotThrowingToken } from './generated/NotThrowingToken'; | ||
| import { Osm } from './generated/OSM'; | ||
| import { OracleRelayerFactory } from './generated/OracleRelayerFactory'; | ||
@@ -109,5 +104,4 @@ import { PauseFactory } from './generated/PauseFactory'; | ||
| import { UniswapPriceFeedMedianizer } from './generated/UniswapPriceFeedMedianizer'; | ||
| import { Weth9 } from './generated/WETH9_'; | ||
| import { Authed } from './generated/authed'; | ||
| import { AdminApis } from './admin-apis'; | ||
| export { AdminApis, AccountingEngineFactory, AggregatorInterface, AuthCollateralJoin, AuthorizableContract, BurntToken, ChainlinkMedianEthusd, 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, DsProxy, DsProxyCache, DsProxyFactory, DsRecursiveRoles, DsRoles, DsStop, DsThing, DsToken, DsTokenBase, DsValue, 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, Osm, OracleRelayerFactory, PauseFactory, PostSettlementSurplusAuctionHouseFactory, PreSettlementSurplusAuctionHouseFactory, ProtocolTokenAuthority, ProxyActions, ProxyCalls, RestrictedTokenFaucet, SafeEngineFactory, SafeHandler, Setter, SettlementSurplusAuctioneerFactory, SimpleAuthority, StabilityFeeTreasuryFactory, Store, TestAccountingEngine, TestDebtAuctionHouse, Tester, TokenBurner, TokenFaucet, TxManager, UniswapMedianFlxusd, UniswapMedianRaiusd, UniswapPriceFeedMedianizer, Weth9, Authed, }; | ||
| 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, }; |
+1
-13
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.Authed = exports.Weth9 = 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.Osm = 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.DsValue = exports.DsTokenBase = exports.DsToken = exports.DsThing = exports.DsStop = exports.DsRoles = exports.DsRecursiveRoles = exports.DsProxyFactory = exports.DsProxyCache = exports.DsProxy = 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.ChainlinkMedianEthusd = exports.BurntToken = exports.AuthorizableContract = exports.AuthCollateralJoin = exports.AggregatorInterface = exports.AccountingEngineFactory = exports.AdminApis = void 0; | ||
| 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; | ||
| var AccountingEngineFactory_1 = require("./generated/AccountingEngineFactory"); | ||
@@ -14,4 +14,2 @@ Object.defineProperty(exports, "AccountingEngineFactory", { enumerable: true, get: function () { return AccountingEngineFactory_1.AccountingEngineFactory; } }); | ||
| Object.defineProperty(exports, "BurntToken", { enumerable: true, get: function () { return BurntToken_1.BurntToken; } }); | ||
| var ChainlinkMedianETHUSD_1 = require("./generated/ChainlinkMedianETHUSD"); | ||
| Object.defineProperty(exports, "ChainlinkMedianEthusd", { enumerable: true, get: function () { return ChainlinkMedianETHUSD_1.ChainlinkMedianEthusd; } }); | ||
| var ChainlinkMedianFLXUSD_1 = require("./generated/ChainlinkMedianFLXUSD"); | ||
@@ -75,4 +73,2 @@ Object.defineProperty(exports, "ChainlinkMedianFlxusd", { enumerable: true, get: function () { return ChainlinkMedianFLXUSD_1.ChainlinkMedianFlxusd; } }); | ||
| Object.defineProperty(exports, "DsPauseProxy", { enumerable: true, get: function () { return DSPauseProxy_1.DsPauseProxy; } }); | ||
| var DSProxy_1 = require("./generated/DSProxy"); | ||
| Object.defineProperty(exports, "DsProxy", { enumerable: true, get: function () { return DSProxy_1.DsProxy; } }); | ||
| var DSProxyCache_1 = require("./generated/DSProxyCache"); | ||
@@ -90,8 +86,4 @@ Object.defineProperty(exports, "DsProxyCache", { enumerable: true, get: function () { return DSProxyCache_1.DsProxyCache; } }); | ||
| Object.defineProperty(exports, "DsThing", { enumerable: true, get: function () { return DSThing_1.DsThing; } }); | ||
| var DSToken_1 = require("./generated/DSToken"); | ||
| Object.defineProperty(exports, "DsToken", { enumerable: true, get: function () { return DSToken_1.DsToken; } }); | ||
| var DSTokenBase_1 = require("./generated/DSTokenBase"); | ||
| Object.defineProperty(exports, "DsTokenBase", { enumerable: true, get: function () { return DSTokenBase_1.DsTokenBase; } }); | ||
| var DSValue_1 = require("./generated/DSValue"); | ||
| Object.defineProperty(exports, "DsValue", { enumerable: true, get: function () { return DSValue_1.DsValue; } }); | ||
| var DebtAuctionHouseFactory_1 = require("./generated/DebtAuctionHouseFactory"); | ||
@@ -165,4 +157,2 @@ Object.defineProperty(exports, "DebtAuctionHouseFactory", { enumerable: true, get: function () { return DebtAuctionHouseFactory_1.DebtAuctionHouseFactory; } }); | ||
| Object.defineProperty(exports, "NotThrowingToken", { enumerable: true, get: function () { return NotThrowingToken_1.NotThrowingToken; } }); | ||
| var OSM_1 = require("./generated/OSM"); | ||
| Object.defineProperty(exports, "Osm", { enumerable: true, get: function () { return OSM_1.Osm; } }); | ||
| var OracleRelayerFactory_1 = require("./generated/OracleRelayerFactory"); | ||
@@ -216,4 +206,2 @@ Object.defineProperty(exports, "OracleRelayerFactory", { enumerable: true, get: function () { return OracleRelayerFactory_1.OracleRelayerFactory; } }); | ||
| Object.defineProperty(exports, "UniswapPriceFeedMedianizer", { enumerable: true, get: function () { return UniswapPriceFeedMedianizer_1.UniswapPriceFeedMedianizer; } }); | ||
| var WETH9_1 = require("./generated/WETH9_"); | ||
| Object.defineProperty(exports, "Weth9", { enumerable: true, get: function () { return WETH9_1.Weth9; } }); | ||
| var authed_1 = require("./generated/authed"); | ||
@@ -220,0 +208,0 @@ Object.defineProperty(exports, "Authed", { enumerable: true, get: function () { return authed_1.Authed; } }); |
+1
-1
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+EAA6E;AAgHzE,wGAhHK,iDAAuB,OAgHL;AA/G3B,uEAAqE;AAgHjE,oGAhHK,yCAAmB,OAgHL;AA/GvB,qEAAmE;AAgH/D,mGAhHK,uCAAkB,OAgHL;AA/GtB,yEAAuE;AAgH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K,eAAM,OA0GL;AAzGV,2CAAwC;AAIpC,0FAJK,sBAAS,OAIL"} |
+3
-2
| { | ||
| "name": "@reflexer-finance/geb-admin-api", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "Includes contract API from all contracts of the GEB ecosystem", | ||
@@ -13,2 +13,3 @@ "main": "./lib/index.js", | ||
| "@ethersproject/bignumber": "5.x", | ||
| "@reflexer-finance/geb-contract-api": "^0.0.11", | ||
| "@reflexer-finance/geb-contract-base": "^0.0.7" | ||
@@ -20,3 +21,3 @@ }, | ||
| }, | ||
| "gitHead": "12e435239999736cbb2af54b8bb8323cdafb0870" | ||
| "gitHead": "d31bddc65c6bccd38dd2f9073ce543cd64a2ad13" | ||
| } |
+4
-16
| import { | ||
| MultiSigWallet, | ||
| DsProxy, | ||
| GebDeploy, | ||
| DsToken, | ||
| ProtocolTokenAuthority, | ||
@@ -17,8 +15,4 @@ GebPollingEmitter, | ||
| DsProxyFactory, | ||
| ChainlinkMedianEthusd, | ||
| Osm, | ||
| GebDeployPauseProxyActions, | ||
| TxManager, | ||
| DsValue, | ||
| Weth9, | ||
| } from '.' | ||
@@ -31,11 +25,11 @@ import { | ||
| import { DsProxy } from '@reflexer-finance/geb-contract-api' | ||
| // Container class instantiate all GEB contracts | ||
| // prettier-ignore | ||
| export class AdminApis { | ||
| public weth: Weth9 | ||
| public multisigAdmin: MultiSigWallet | ||
| public multisigAdminProxy: DsProxy | ||
| public deploy : GebDeploy | ||
| public flx: DsToken | ||
| public flxAuthority: ProtocolTokenAuthority | ||
| public protocolTokenAuthority: ProtocolTokenAuthority | ||
| public pollingEmitter: GebPollingEmitter | ||
@@ -51,4 +45,2 @@ public printingPermissionRegistry: GebPrintingPermissions | ||
| public proxyFactory: DsProxyFactory | ||
| public medianizerEth: ChainlinkMedianEthusd | DsValue | ||
| public osm: Osm | DsValue | ||
| public pauseProxyAction: GebDeployPauseProxyActions | ||
@@ -68,8 +60,6 @@ public proxyDeployer: DsProxy | ||
| // Additional instances only in admin package | ||
| this.weth = new Weth9(addressList.ETH, this.chainProvider) | ||
| this.multisigAdmin = new MultiSigWallet(addressList.GEB_MULTISIG, this.chainProvider) | ||
| this.multisigAdminProxy = new DsProxy(addressList.GEB_MULTISIG_PROXY, this.chainProvider) | ||
| this.deploy = new GebDeploy(addressList.GEB_DEPLOY, this.chainProvider) | ||
| this.flx = new DsToken(addressList.GEB_PROT, this.chainProvider) | ||
| this.flxAuthority = new ProtocolTokenAuthority(addressList.PROTOCOL_TOKEN_AUTHORITY, this.chainProvider) | ||
| this.protocolTokenAuthority = new ProtocolTokenAuthority(addressList.PROTOCOL_TOKEN_AUTHORITY, this.chainProvider) | ||
| this.pollingEmitter = new GebPollingEmitter(addressList.GEB_POLLING_EMITTER, this.chainProvider) | ||
@@ -85,4 +75,2 @@ this.pauseAuthority = new DsRecursiveRoles(addressList.GEB_PAUSE_AUTHORITY, this.chainProvider) | ||
| this.proxyFactory = new DsProxyFactory(addressList.PROXY_FACTORY, this.chainProvider) | ||
| this.medianizerEth = new DsValue(addressList.MEDIANIZER_ETH, this.chainProvider) | ||
| this.osm = new DsValue(addressList.ORACLE_SECURITY_MODULE_ETH, this.chainProvider) | ||
| this.pauseProxyAction = new GebDeployPauseProxyActions(addressList.PROXY_PAUSE_ACTIONS, this.chainProvider) | ||
@@ -89,0 +77,0 @@ this.proxyDeployer = new DsProxy(addressList.PROXY_DEPLOYER, this.chainProvider) |
+0
-12
@@ -6,3 +6,2 @@ import { AccountingEngineFactory } from './generated/AccountingEngineFactory' | ||
| import { BurntToken } from './generated/BurntToken' | ||
| import { ChainlinkMedianEthusd } from './generated/ChainlinkMedianETHUSD' | ||
| import { ChainlinkMedianFlxusd } from './generated/ChainlinkMedianFLXUSD' | ||
@@ -37,3 +36,2 @@ import { ChainlinkMedianRaiusd } from './generated/ChainlinkMedianRAIUSD' | ||
| import { DsPauseProxy } from './generated/DSPauseProxy' | ||
| import { DsProxy } from './generated/DSProxy' | ||
| import { DsProxyCache } from './generated/DSProxyCache' | ||
@@ -45,5 +43,3 @@ import { DsProxyFactory } from './generated/DSProxyFactory' | ||
| import { DsThing } from './generated/DSThing' | ||
| import { DsToken } from './generated/DSToken' | ||
| import { DsTokenBase } from './generated/DSTokenBase' | ||
| import { DsValue } from './generated/DSValue' | ||
| import { DebtAuctionHouseFactory } from './generated/DebtAuctionHouseFactory' | ||
@@ -83,3 +79,2 @@ import { Erc20Events } from './generated/ERC20Events' | ||
| import { NotThrowingToken } from './generated/NotThrowingToken' | ||
| import { Osm } from './generated/OSM' | ||
| import { OracleRelayerFactory } from './generated/OracleRelayerFactory' | ||
@@ -109,3 +104,2 @@ import { PauseFactory } from './generated/PauseFactory' | ||
| import { UniswapPriceFeedMedianizer } from './generated/UniswapPriceFeedMedianizer' | ||
| import { Weth9 } from './generated/WETH9_' | ||
| import { Authed } from './generated/authed' | ||
@@ -123,3 +117,2 @@ import { AdminApis } from './admin-apis' | ||
| BurntToken, | ||
| ChainlinkMedianEthusd, | ||
| ChainlinkMedianFlxusd, | ||
@@ -154,3 +147,2 @@ ChainlinkMedianRaiusd, | ||
| DsPauseProxy, | ||
| DsProxy, | ||
| DsProxyCache, | ||
@@ -162,5 +154,3 @@ DsProxyFactory, | ||
| DsThing, | ||
| DsToken, | ||
| DsTokenBase, | ||
| DsValue, | ||
| DebtAuctionHouseFactory, | ||
@@ -200,3 +190,2 @@ Erc20Events, | ||
| NotThrowingToken, | ||
| Osm, | ||
| OracleRelayerFactory, | ||
@@ -226,4 +215,3 @@ PauseFactory, | ||
| UniswapPriceFeedMedianizer, | ||
| Weth9, | ||
| Authed, | ||
| } |
| [ | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "address", | ||
| "name": "aggregator", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "internalType": "uint256", | ||
| "name": "periodSize", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "internalType": "uint256", | ||
| "name": "baseUpdateCallerReward", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "internalType": "uint256", | ||
| "name": "maxUpdateCallerReward", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "internalType": "uint256", | ||
| "name": "perSecondCallerRewardIncrease", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "stateMutability": "nonpayable", | ||
| "type": "constructor" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "account", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "AddAuthorization", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "bytes", | ||
| "name": "revertReason", | ||
| "type": "bytes" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "finalFeeReceiver", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "reward", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "FailRewardCaller", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "bytes32", | ||
| "name": "parameter", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "addr", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "ModifyParameters", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "bytes32", | ||
| "name": "parameter", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "data", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "ModifyParameters", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "account", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "RemoveAuthorization", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "feeReceiver", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "amount", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "RewardCaller", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "medianPrice", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "lastUpdateTime", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "UpdateResult", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "account", "type": "address" } | ||
| ], | ||
| "name": "addAuthorization", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "name": "authorizedAccounts", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "baseUpdateCallerReward", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "chainlinkAggregator", | ||
| "outputs": [ | ||
| { | ||
| "internalType": "contract AggregatorInterface", | ||
| "name": "", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "getCallerReward", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "getResultWithValidity", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" }, | ||
| { "internalType": "bool", "name": "", "type": "bool" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "lastUpdateTime", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "linkAggregatorTimestamp", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "maxRewardIncreaseDelay", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "maxUpdateCallerReward", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "bytes32", | ||
| "name": "parameter", | ||
| "type": "bytes32" | ||
| }, | ||
| { "internalType": "address", "name": "addr", "type": "address" } | ||
| ], | ||
| "name": "modifyParameters", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "bytes32", | ||
| "name": "parameter", | ||
| "type": "bytes32" | ||
| }, | ||
| { "internalType": "uint256", "name": "data", "type": "uint256" } | ||
| ], | ||
| "name": "modifyParameters", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "multiplier", | ||
| "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "perSecondCallerRewardIncrease", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "periodSize", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "read", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "account", "type": "address" } | ||
| ], | ||
| "name": "removeAuthorization", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "symbol", | ||
| "outputs": [ | ||
| { "internalType": "bytes32", "name": "", "type": "bytes32" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "treasury", | ||
| "outputs": [ | ||
| { | ||
| "internalType": "contract StabilityFeeTreasuryLike", | ||
| "name": "", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "treasuryAllowance", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "address", | ||
| "name": "feeReceiver", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "updateResult", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| } | ||
| ] |
| [ | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "address", | ||
| "name": "_cacheAddr", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "nonpayable", | ||
| "type": "constructor" | ||
| }, | ||
| { | ||
| "anonymous": true, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes4", | ||
| "name": "sig", | ||
| "type": "bytes4" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes32", | ||
| "name": "foo", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes32", | ||
| "name": "bar", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "bytes", | ||
| "name": "fax", | ||
| "type": "bytes" | ||
| } | ||
| ], | ||
| "name": "LogNote", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "authority", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "LogSetAuthority", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "owner", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "LogSetOwner", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "authority", | ||
| "outputs": [ | ||
| { | ||
| "internalType": "contract DSAuthority", | ||
| "name": "", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "cache", | ||
| "outputs": [ | ||
| { | ||
| "internalType": "contract DSProxyCache", | ||
| "name": "", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "_target", "type": "address" }, | ||
| { "internalType": "bytes", "name": "_data", "type": "bytes" } | ||
| ], | ||
| "name": "execute", | ||
| "outputs": [ | ||
| { "internalType": "bytes", "name": "response", "type": "bytes" } | ||
| ], | ||
| "stateMutability": "payable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "bytes", "name": "_code", "type": "bytes" }, | ||
| { "internalType": "bytes", "name": "_data", "type": "bytes" } | ||
| ], | ||
| "name": "execute", | ||
| "outputs": [ | ||
| { "internalType": "address", "name": "target", "type": "address" }, | ||
| { "internalType": "bytes", "name": "response", "type": "bytes" } | ||
| ], | ||
| "stateMutability": "payable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "owner", | ||
| "outputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "contract DSAuthority", | ||
| "name": "authority_", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "setAuthority", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "address", | ||
| "name": "_cacheAddr", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "setCache", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "owner_", "type": "address" } | ||
| ], | ||
| "name": "setOwner", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { "stateMutability": "payable", "type": "receive" } | ||
| ] |
| [ | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "bytes32", "name": "symbol_", "type": "bytes32" } | ||
| ], | ||
| "stateMutability": "nonpayable", | ||
| "type": "constructor" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "src", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Approval", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Burn", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": true, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes4", | ||
| "name": "sig", | ||
| "type": "bytes4" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes32", | ||
| "name": "foo", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes32", | ||
| "name": "bar", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "bytes", | ||
| "name": "fax", | ||
| "type": "bytes" | ||
| } | ||
| ], | ||
| "name": "LogNote", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "authority", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "LogSetAuthority", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "owner", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "LogSetOwner", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Mint", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "src", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "dst", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Transfer", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "src", "type": "address" }, | ||
| { "internalType": "address", "name": "guy", "type": "address" } | ||
| ], | ||
| "name": "allowance", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "guy", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "approve", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "guy", "type": "address" } | ||
| ], | ||
| "name": "approve", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "authority", | ||
| "outputs": [ | ||
| { | ||
| "internalType": "contract DSAuthority", | ||
| "name": "", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "src", "type": "address" } | ||
| ], | ||
| "name": "balanceOf", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "burn", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "guy", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "burn", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "decimals", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "guy", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "mint", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "mint", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "src", "type": "address" }, | ||
| { "internalType": "address", "name": "dst", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "move", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "name", | ||
| "outputs": [ | ||
| { "internalType": "bytes32", "name": "", "type": "bytes32" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "owner", | ||
| "outputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "src", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "pull", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "dst", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "push", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "contract DSAuthority", | ||
| "name": "authority_", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "setAuthority", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "bytes32", "name": "name_", "type": "bytes32" } | ||
| ], | ||
| "name": "setName", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "owner_", "type": "address" } | ||
| ], | ||
| "name": "setOwner", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "start", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "stop", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "stopped", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "symbol", | ||
| "outputs": [ | ||
| { "internalType": "bytes32", "name": "", "type": "bytes32" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "totalSupply", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "dst", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "transfer", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "src", "type": "address" }, | ||
| { "internalType": "address", "name": "dst", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "transferFrom", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| } | ||
| ] |
| [ | ||
| { | ||
| "anonymous": true, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes4", | ||
| "name": "sig", | ||
| "type": "bytes4" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes32", | ||
| "name": "foo", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "bytes32", | ||
| "name": "bar", | ||
| "type": "bytes32" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "bytes", | ||
| "name": "fax", | ||
| "type": "bytes" | ||
| } | ||
| ], | ||
| "name": "LogNote", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "authority", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "LogSetAuthority", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "owner", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "LogSetOwner", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [], | ||
| "name": "RestartValue", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "newMedian", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "lastUpdateTime", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "UpdateResult", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "authority", | ||
| "outputs": [ | ||
| { | ||
| "internalType": "contract DSAuthority", | ||
| "name": "", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "getResultWithValidity", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" }, | ||
| { "internalType": "bool", "name": "", "type": "bool" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "owner", | ||
| "outputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "read", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "restartValue", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "contract DSAuthority", | ||
| "name": "authority_", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "setAuthority", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "owner_", "type": "address" } | ||
| ], | ||
| "name": "setOwner", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "uint256", | ||
| "name": "newMedian", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "updateResult", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| } | ||
| ] |
-239
| [ | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "address", | ||
| "name": "priceSource_", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "stateMutability": "nonpayable", | ||
| "type": "constructor" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "account", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "AddAuthorization", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint16", | ||
| "name": "delay", | ||
| "type": "uint16" | ||
| } | ||
| ], | ||
| "name": "ChangeDelay", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "priceSource", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "ChangePriceSource", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "address", | ||
| "name": "account", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "RemoveAuthorization", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [], | ||
| "name": "RestartValue", | ||
| "type": "event" | ||
| }, | ||
| { "anonymous": false, "inputs": [], "name": "Start", "type": "event" }, | ||
| { "anonymous": false, "inputs": [], "name": "Stop", "type": "event" }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "newMedian", | ||
| "type": "uint256" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "lastUpdateTime", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "UpdateResult", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "account", "type": "address" } | ||
| ], | ||
| "name": "addAuthorization", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "name": "authorizedAccounts", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "uint16", "name": "delay", "type": "uint16" } | ||
| ], | ||
| "name": "changeDelay", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { | ||
| "internalType": "address", | ||
| "name": "priceSource_", | ||
| "type": "address" | ||
| } | ||
| ], | ||
| "name": "changePriceSource", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "getNextResultWithValidity", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" }, | ||
| { "internalType": "bool", "name": "", "type": "bool" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "getResultWithValidity", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" }, | ||
| { "internalType": "bool", "name": "", "type": "bool" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "lastUpdateTime", | ||
| "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "passedDelay", | ||
| "outputs": [{ "internalType": "bool", "name": "ok", "type": "bool" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "priceSource", | ||
| "outputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "read", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "account", "type": "address" } | ||
| ], | ||
| "name": "removeAuthorization", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "restartValue", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "start", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "stop", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "stopped", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "updateDelay", | ||
| "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "updateResult", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| } | ||
| ] |
-191
| [ | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "src", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "guy", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Approval", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "dst", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Deposit", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "src", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "dst", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Transfer", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "anonymous": false, | ||
| "inputs": [ | ||
| { | ||
| "indexed": true, | ||
| "internalType": "address", | ||
| "name": "src", | ||
| "type": "address" | ||
| }, | ||
| { | ||
| "indexed": false, | ||
| "internalType": "uint256", | ||
| "name": "wad", | ||
| "type": "uint256" | ||
| } | ||
| ], | ||
| "name": "Withdrawal", | ||
| "type": "event" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" }, | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "name": "allowance", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "guy", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "approve", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "", "type": "address" } | ||
| ], | ||
| "name": "balanceOf", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "decimals", | ||
| "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "deposit", | ||
| "outputs": [], | ||
| "stateMutability": "payable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "name", | ||
| "outputs": [{ "internalType": "string", "name": "", "type": "string" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "symbol", | ||
| "outputs": [{ "internalType": "string", "name": "", "type": "string" }], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [], | ||
| "name": "totalSupply", | ||
| "outputs": [ | ||
| { "internalType": "uint256", "name": "", "type": "uint256" } | ||
| ], | ||
| "stateMutability": "view", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "dst", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "transfer", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "address", "name": "src", "type": "address" }, | ||
| { "internalType": "address", "name": "dst", "type": "address" }, | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "transferFrom", | ||
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { | ||
| "inputs": [ | ||
| { "internalType": "uint256", "name": "wad", "type": "uint256" } | ||
| ], | ||
| "name": "withdraw", | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| }, | ||
| { "stateMutability": "payable", "type": "receive" } | ||
| ] |
| /* Generated by ts-generator ver. 0.0.8 */ | ||
| /* tslint:disable */ | ||
| import { BaseContractAPI } from '@reflexer-finance/geb-contract-base' | ||
| import { MulticallRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { TransactionRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { BytesLike } from '@ethersproject/bytes' | ||
| import { BigNumber } from '@ethersproject/bignumber' | ||
| export class ChainlinkMedianEthusd extends BaseContractAPI { | ||
| addAuthorization(account: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [account]) | ||
| } | ||
| authorizedAccounts(address: string): Promise<BigNumber> | ||
| authorizedAccounts( | ||
| address: string, | ||
| multicall: true | ||
| ): MulticallRequest<BigNumber> | ||
| authorizedAccounts( | ||
| address: string, | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorizedAccounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [address], multicall) | ||
| } | ||
| baseUpdateCallerReward(): Promise<BigNumber> | ||
| baseUpdateCallerReward(multicall: true): MulticallRequest<BigNumber> | ||
| baseUpdateCallerReward( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"baseUpdateCallerReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| chainlinkAggregator(): Promise<string> | ||
| chainlinkAggregator(multicall: true): MulticallRequest<string> | ||
| chainlinkAggregator( | ||
| multicall?: true | ||
| ): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"chainlinkAggregator","outputs":[{"internalType":"contract AggregatorInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| getCallerReward(): Promise<BigNumber> | ||
| getCallerReward(multicall: true): MulticallRequest<BigNumber> | ||
| getCallerReward( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"getCallerReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| getResultWithValidity(): Promise<{}> | ||
| getResultWithValidity(multicall: true): MulticallRequest<{}> | ||
| getResultWithValidity( | ||
| multicall?: true | ||
| ): Promise<{}> | MulticallRequest<{}> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"getResultWithValidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| lastUpdateTime(): Promise<BigNumber> | ||
| lastUpdateTime(multicall: true): MulticallRequest<BigNumber> | ||
| lastUpdateTime( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| linkAggregatorTimestamp(): Promise<BigNumber> | ||
| linkAggregatorTimestamp(multicall: true): MulticallRequest<BigNumber> | ||
| linkAggregatorTimestamp( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"linkAggregatorTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| maxRewardIncreaseDelay(): Promise<BigNumber> | ||
| maxRewardIncreaseDelay(multicall: true): MulticallRequest<BigNumber> | ||
| maxRewardIncreaseDelay( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"maxRewardIncreaseDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| maxUpdateCallerReward(): Promise<BigNumber> | ||
| maxUpdateCallerReward(multicall: true): MulticallRequest<BigNumber> | ||
| maxUpdateCallerReward( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"maxUpdateCallerReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| modifyParameters(parameter: BytesLike, addr: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"bytes32","name":"parameter","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"modifyParameters","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [parameter, addr]) | ||
| } | ||
| multiplier(): Promise<number> | ||
| multiplier(multicall: true): MulticallRequest<number> | ||
| multiplier(multicall?: true): Promise<number> | MulticallRequest<number> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"multiplier","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| perSecondCallerRewardIncrease(): Promise<BigNumber> | ||
| perSecondCallerRewardIncrease(multicall: true): MulticallRequest<BigNumber> | ||
| perSecondCallerRewardIncrease( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"perSecondCallerRewardIncrease","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| periodSize(): Promise<BigNumber> | ||
| periodSize(multicall: true): MulticallRequest<BigNumber> | ||
| periodSize( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"periodSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| read(): Promise<BigNumber> | ||
| read(multicall: true): MulticallRequest<BigNumber> | ||
| read(multicall?: true): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"read","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| removeAuthorization(account: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [account]) | ||
| } | ||
| symbol(): Promise<string> | ||
| symbol(multicall: true): MulticallRequest<string> | ||
| symbol(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"symbol","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| treasury(): Promise<string> | ||
| treasury(multicall: true): MulticallRequest<string> | ||
| treasury(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"treasury","outputs":[{"internalType":"contract StabilityFeeTreasuryLike","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| treasuryAllowance(): Promise<BigNumber> | ||
| treasuryAllowance(multicall: true): MulticallRequest<BigNumber> | ||
| treasuryAllowance( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"treasuryAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| updateResult(feeReceiver: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"feeReceiver","type":"address"}],"name":"updateResult","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [feeReceiver]) | ||
| } | ||
| } |
| /* Generated by ts-generator ver. 0.0.8 */ | ||
| /* tslint:disable */ | ||
| import { BaseContractAPI } from '@reflexer-finance/geb-contract-base' | ||
| import { MulticallRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { TransactionRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { BytesLike } from '@ethersproject/bytes' | ||
| import { BigNumberish } from '@ethersproject/bignumber' | ||
| import { BigNumber } from '@ethersproject/bignumber' | ||
| export class DsProxy extends BaseContractAPI { | ||
| authority(): Promise<string> | ||
| authority(multicall: true): MulticallRequest<string> | ||
| authority(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"authority","outputs":[{"internalType":"contract DSAuthority","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| cache(): Promise<string> | ||
| cache(multicall: true): MulticallRequest<string> | ||
| cache(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"cache","outputs":[{"internalType":"contract DSProxyCache","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| execute( | ||
| ethValue: BigNumberish, | ||
| _target: string, | ||
| _data: BytesLike | ||
| ): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bytes","name":"response","type":"bytes"}],"stateMutability":"payable","type":"function"} | ||
| return this.getTransactionRequest( | ||
| abi, | ||
| [_target, _data], | ||
| BigNumber.from(ethValue) | ||
| ) | ||
| } | ||
| owner(): Promise<string> | ||
| owner(multicall: true): MulticallRequest<string> | ||
| owner(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| setAuthority(authority_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"contract DSAuthority","name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [authority_]) | ||
| } | ||
| setCache(_cacheAddr: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"_cacheAddr","type":"address"}],"name":"setCache","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [_cacheAddr]) | ||
| } | ||
| setOwner(owner_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [owner_]) | ||
| } | ||
| } |
| /* Generated by ts-generator ver. 0.0.8 */ | ||
| /* tslint:disable */ | ||
| import { BaseContractAPI } from '@reflexer-finance/geb-contract-base' | ||
| import { MulticallRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { TransactionRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { BytesLike } from '@ethersproject/bytes' | ||
| import { BigNumberish } from '@ethersproject/bignumber' | ||
| import { BigNumber } from '@ethersproject/bignumber' | ||
| export class DsToken extends BaseContractAPI { | ||
| allowance(src: string, guy: string): Promise<BigNumber> | ||
| allowance( | ||
| src: string, | ||
| guy: string, | ||
| multicall: true | ||
| ): MulticallRequest<BigNumber> | ||
| allowance( | ||
| src: string, | ||
| guy: string, | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"guy","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [src, guy], multicall) | ||
| } | ||
| approve(guy: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [guy, wad]) | ||
| } | ||
| authority(): Promise<string> | ||
| authority(multicall: true): MulticallRequest<string> | ||
| authority(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"authority","outputs":[{"internalType":"contract DSAuthority","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| balanceOf(src: string): Promise<BigNumber> | ||
| balanceOf(src: string, multicall: true): MulticallRequest<BigNumber> | ||
| balanceOf( | ||
| src: string, | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"src","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [src], multicall) | ||
| } | ||
| burn(wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [wad]) | ||
| } | ||
| decimals(): Promise<BigNumber> | ||
| decimals(multicall: true): MulticallRequest<BigNumber> | ||
| decimals( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| mint(guy: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [guy, wad]) | ||
| } | ||
| move(src: string, dst: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"move","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [src, dst, wad]) | ||
| } | ||
| name(): Promise<string> | ||
| name(multicall: true): MulticallRequest<string> | ||
| name(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"name","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| owner(): Promise<string> | ||
| owner(multicall: true): MulticallRequest<string> | ||
| owner(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| pull(src: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"pull","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [src, wad]) | ||
| } | ||
| push(dst: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"push","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [dst, wad]) | ||
| } | ||
| setAuthority(authority_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"contract DSAuthority","name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [authority_]) | ||
| } | ||
| setName(name_: BytesLike): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"bytes32","name":"name_","type":"bytes32"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [name_]) | ||
| } | ||
| setOwner(owner_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [owner_]) | ||
| } | ||
| start(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| stop(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"stop","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| stopped(): Promise<boolean> | ||
| stopped(multicall: true): MulticallRequest<boolean> | ||
| stopped(multicall?: true): Promise<boolean> | MulticallRequest<boolean> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"stopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| symbol(): Promise<string> | ||
| symbol(multicall: true): MulticallRequest<string> | ||
| symbol(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"symbol","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| totalSupply(): Promise<BigNumber> | ||
| totalSupply(multicall: true): MulticallRequest<BigNumber> | ||
| totalSupply( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| transfer(dst: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [dst, wad]) | ||
| } | ||
| transferFrom( | ||
| src: string, | ||
| dst: string, | ||
| wad: BigNumberish | ||
| ): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [src, dst, wad]) | ||
| } | ||
| } |
| /* Generated by ts-generator ver. 0.0.8 */ | ||
| /* tslint:disable */ | ||
| import { BaseContractAPI } from '@reflexer-finance/geb-contract-base' | ||
| import { MulticallRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { TransactionRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { BigNumberish } from '@ethersproject/bignumber' | ||
| import { BigNumber } from '@ethersproject/bignumber' | ||
| export class DsValue extends BaseContractAPI { | ||
| authority(): Promise<string> | ||
| authority(multicall: true): MulticallRequest<string> | ||
| authority(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"authority","outputs":[{"internalType":"contract DSAuthority","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| getResultWithValidity(): Promise<{}> | ||
| getResultWithValidity(multicall: true): MulticallRequest<{}> | ||
| getResultWithValidity( | ||
| multicall?: true | ||
| ): Promise<{}> | MulticallRequest<{}> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"getResultWithValidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| owner(): Promise<string> | ||
| owner(multicall: true): MulticallRequest<string> | ||
| owner(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| read(): Promise<BigNumber> | ||
| read(multicall: true): MulticallRequest<BigNumber> | ||
| read(multicall?: true): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"read","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| restartValue(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"restartValue","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| setAuthority(authority_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"contract DSAuthority","name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [authority_]) | ||
| } | ||
| setOwner(owner_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [owner_]) | ||
| } | ||
| updateResult(newMedian: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"uint256","name":"newMedian","type":"uint256"}],"name":"updateResult","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [newMedian]) | ||
| } | ||
| } |
| /* Generated by ts-generator ver. 0.0.8 */ | ||
| /* tslint:disable */ | ||
| import { BaseContractAPI } from '@reflexer-finance/geb-contract-base' | ||
| import { MulticallRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { TransactionRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { BigNumberish } from '@ethersproject/bignumber' | ||
| import { BigNumber } from '@ethersproject/bignumber' | ||
| export class Osm extends BaseContractAPI { | ||
| addAuthorization(account: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [account]) | ||
| } | ||
| authorizedAccounts(address: string): Promise<BigNumber> | ||
| authorizedAccounts( | ||
| address: string, | ||
| multicall: true | ||
| ): MulticallRequest<BigNumber> | ||
| authorizedAccounts( | ||
| address: string, | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"authorizedAccounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [address], multicall) | ||
| } | ||
| changeDelay(delay: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"uint16","name":"delay","type":"uint16"}],"name":"changeDelay","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [delay]) | ||
| } | ||
| changePriceSource(priceSource_: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"priceSource_","type":"address"}],"name":"changePriceSource","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [priceSource_]) | ||
| } | ||
| getNextResultWithValidity(): Promise<{}> | ||
| getNextResultWithValidity(multicall: true): MulticallRequest<{}> | ||
| getNextResultWithValidity( | ||
| multicall?: true | ||
| ): Promise<{}> | MulticallRequest<{}> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"getNextResultWithValidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| getResultWithValidity(): Promise<{}> | ||
| getResultWithValidity(multicall: true): MulticallRequest<{}> | ||
| getResultWithValidity( | ||
| multicall?: true | ||
| ): Promise<{}> | MulticallRequest<{}> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"getResultWithValidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| lastUpdateTime(): Promise<BigNumber> | ||
| lastUpdateTime(multicall: true): MulticallRequest<BigNumber> | ||
| lastUpdateTime( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| passedDelay(): Promise<boolean> | ||
| passedDelay(multicall: true): MulticallRequest<boolean> | ||
| passedDelay( | ||
| multicall?: true | ||
| ): Promise<boolean> | MulticallRequest<boolean> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"passedDelay","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| priceSource(): Promise<string> | ||
| priceSource(multicall: true): MulticallRequest<string> | ||
| priceSource(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"priceSource","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| read(): Promise<BigNumber> | ||
| read(multicall: true): MulticallRequest<BigNumber> | ||
| read(multicall?: true): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"read","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| removeAuthorization(account: string): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [account]) | ||
| } | ||
| restartValue(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"restartValue","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| start(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| stop(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"stop","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| stopped(): Promise<BigNumber> | ||
| stopped(multicall: true): MulticallRequest<BigNumber> | ||
| stopped( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"stopped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| updateDelay(): Promise<number> | ||
| updateDelay(multicall: true): MulticallRequest<number> | ||
| updateDelay(multicall?: true): Promise<number> | MulticallRequest<number> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"updateDelay","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| updateResult(): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"updateResult","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, []) | ||
| } | ||
| } |
| /* Generated by ts-generator ver. 0.0.8 */ | ||
| /* tslint:disable */ | ||
| import { BaseContractAPI } from '@reflexer-finance/geb-contract-base' | ||
| import { MulticallRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { TransactionRequest } from '@reflexer-finance/geb-contract-base' | ||
| import { BigNumberish } from '@ethersproject/bignumber' | ||
| import { BigNumber } from '@ethersproject/bignumber' | ||
| export class Weth9 extends BaseContractAPI { | ||
| allowance(address1: string, address2: string): Promise<BigNumber> | ||
| allowance( | ||
| address1: string, | ||
| address2: string, | ||
| multicall: true | ||
| ): MulticallRequest<BigNumber> | ||
| allowance( | ||
| address1: string, | ||
| address2: string, | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [address1, address2], multicall) | ||
| } | ||
| approve(guy: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [guy, wad]) | ||
| } | ||
| balanceOf(address: string): Promise<BigNumber> | ||
| balanceOf(address: string, multicall: true): MulticallRequest<BigNumber> | ||
| balanceOf( | ||
| address: string, | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [address], multicall) | ||
| } | ||
| decimals(): Promise<number> | ||
| decimals(multicall: true): MulticallRequest<number> | ||
| decimals(multicall?: true): Promise<number> | MulticallRequest<number> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| deposit(ethValue: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"} | ||
| return this.getTransactionRequest(abi, [], BigNumber.from(ethValue)) | ||
| } | ||
| name(): Promise<string> | ||
| name(multicall: true): MulticallRequest<string> | ||
| name(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| symbol(): Promise<string> | ||
| symbol(multicall: true): MulticallRequest<string> | ||
| symbol(multicall?: true): Promise<string> | MulticallRequest<string> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| totalSupply(): Promise<BigNumber> | ||
| totalSupply(multicall: true): MulticallRequest<BigNumber> | ||
| totalSupply( | ||
| multicall?: true | ||
| ): Promise<BigNumber> | MulticallRequest<BigNumber> { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"} | ||
| return this.ethCallOrMulticall(abi, [], multicall) | ||
| } | ||
| transfer(dst: string, wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [dst, wad]) | ||
| } | ||
| transferFrom( | ||
| src: string, | ||
| dst: string, | ||
| wad: BigNumberish | ||
| ): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [src, dst, wad]) | ||
| } | ||
| withdraw(wad: BigNumberish): TransactionRequest { | ||
| // prettier-ignore | ||
| // @ts-ignore | ||
| const abi = {"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"} | ||
| return this.getTransactionRequest(abi, [wad]) | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet
2755032
-1.05%3
50%610
-1.93%39882
-5.63%+ Added