@reflexer-finance/geb-contract-api
Advanced tools
Comparing version 0.0.8 to 0.0.9
import { AccountingEngine, TaxCollector, LiquidationEngine, OracleRelayer, GlobalSettlement, DebtAuctionHouse, PreSettlementSurplusAuctionHouse, PostSettlementSurplusAuctionHouse, SettlementSurplusAuctioneer, Coin, GebSafeManager, GetSafes, BasicCollateralJoin, CoinJoin, GebProxyRegistry, EnglishCollateralAuctionHouse, FixedDiscountCollateralAuctionHouse, Weth, SafeEngine } from '.'; | ||
import { GebProviderInterface } from '@reflexer-finance/geb-contract-base'; | ||
export declare type ContractKey = 'ETH_FROM' | 'STARTING_BLOCK_NUMBER' | 'PROXY_DEPLOYER' | 'COIN_TYPE' | 'GOVERNANCE_TYPE' | 'MULTICALL' | 'FAUCET' | 'GEB_MULTISIG' | 'GEB_MULTISIG_PROXY' | 'GEB_DEPLOY' | 'GEB_PROT' | 'PROTOCOL_TOKEN_AUTHORITY' | 'PRINTING_PERMISSIONS_REGISTRY' | 'GEB_PAUSE_AUTHORITY' | 'GEB_POLLING_EMITTER' | 'GEB_SAFE_ENGINE' | 'GEB_TAX_COLLECTOR' | 'GEB_LIQUIDATION_ENGINE' | 'GEB_ACCOUNTING_ENGINE' | 'GEB_COIN_JOIN' | 'GEB_SETTLEMENT_SURPLUS_AUCTIONEER' | 'GEB_PRE_SETTLEMENT_SURPLUS_AUCTION_HOUSE' | 'GEB_POST_SETTLEMENT_SURPLUS_AUCTION_HOUSE' | 'GEB_DEBT_AUCTION_HOUSE' | 'GEB_PAUSE' | 'GEB_PAUSE_PROXY' | 'GEB_GOV_ACTIONS' | 'GEB_COIN' | 'GEB_ORACLE_RELAYER' | 'GEB_GLOBAL_SETTLEMENT' | 'GEB_ESM' | 'GEB_ESM_TOKEN_BURNER' | 'PROXY_ACTIONS' | 'PROXY_ACTIONS_GLOBAL_SETTLEMENT' | 'SAFE_MANAGER' | 'GET_SAFES' | 'FSM_GOV_INTERFACE' | 'PROXY_FACTORY' | 'PROXY_REGISTRY' | 'ETH' | 'MEDIANIZER_ETH' | 'ORACLE_SECURITY_MODULE_ETH' | 'GEB_JOIN_ETH_A' | 'GEB_COLLATERAL_AUCTION_HOUSE_ETH_A' | 'PROXY_PAUSE_ACTIONS' | 'PROXY_DEPLOYER' | 'UNISWAP_FACTORY' | 'UNISWAP_ROUTER' | 'GEB_DS_COMPARE' | 'GEB_TX_MANAGER'; | ||
export declare type ContractList = { | ||
[key in ContractKey]: string; | ||
}; | ||
export declare type ContractAddresses = 'mainnet' | 'kovan' | ContractList; | ||
import { GebProviderInterface, GebDeployment } from '@reflexer-finance/geb-contract-base'; | ||
export declare class ContractApis { | ||
@@ -28,3 +23,3 @@ chainProvider: GebProviderInterface; | ||
weth: Weth; | ||
constructor(network: ContractAddresses, chainProvider: GebProviderInterface); | ||
constructor(network: GebDeployment, chainProvider: GebProviderInterface); | ||
} |
@@ -5,3 +5,3 @@ "use strict"; | ||
var _1 = require("."); | ||
var utils_1 = require("./utils"); | ||
var geb_contract_base_1 = require("@reflexer-finance/geb-contract-base"); | ||
// Container class instantiate most GEB contracts | ||
@@ -13,3 +13,3 @@ // prettier-ignore | ||
// Set the address list | ||
var addressList = utils_1.getAddressList(network); | ||
var addressList = geb_contract_base_1.getAddressList(network); | ||
this.safeEngine = new _1.SafeEngine(addressList.GEB_SAFE_ENGINE, this.chainProvider); | ||
@@ -16,0 +16,0 @@ this.accountingEngine = new _1.AccountingEngine(addressList.GEB_ACCOUNTING_ENGINE, this.chainProvider); |
@@ -26,6 +26,4 @@ import { AccountingEngine } from './generated/AccountingEngine'; | ||
import { GebProxyActionsGlobalSettlement } from './generated/GebProxyActionsGlobalSettlement'; | ||
import { ContractApis, ContractAddresses, ContractList, ContractKey } from './contract-apis'; | ||
import { KOVAN_ADDRESSES, MAINNET_ADDRESSES } from './addresses'; | ||
import { ETH_A } from './const'; | ||
import { ContractApis } from './contract-apis'; | ||
import { Multicall } from './generated/Multicall'; | ||
export { KOVAN_ADDRESSES, MAINNET_ADDRESSES, ContractApis, AccountingEngine, BasicCollateralJoin, CoinJoin, CoinSavingsAccount, Coin, DebtAuctionHouse, DsProxy, EnglishCollateralAuctionHouse, EthJoin, FixedDiscountCollateralAuctionHouse, GebProxyRegistry, GebSafeManager, GetSafes, GlobalSettlement, LiquidationEngine, OracleRelayer, PostSettlementSurplusAuctionHouse, PreSettlementSurplusAuctionHouse, SafeEngine, SettlementSurplusAuctioneer, StabilityFeeTreasury, TaxCollector, Weth, GebProxyActions, GebProxyActionsGlobalSettlement, Multicall, ContractAddresses, ContractList, ContractKey, ETH_A, }; | ||
export { ContractApis, AccountingEngine, BasicCollateralJoin, CoinJoin, CoinSavingsAccount, Coin, DebtAuctionHouse, DsProxy, EnglishCollateralAuctionHouse, EthJoin, FixedDiscountCollateralAuctionHouse, GebProxyRegistry, GebSafeManager, GetSafes, GlobalSettlement, LiquidationEngine, OracleRelayer, PostSettlementSurplusAuctionHouse, PreSettlementSurplusAuctionHouse, SafeEngine, SettlementSurplusAuctioneer, StabilityFeeTreasury, TaxCollector, Weth, GebProxyActions, GebProxyActionsGlobalSettlement, Multicall, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ETH_A = exports.Multicall = exports.GebProxyActionsGlobalSettlement = exports.GebProxyActions = exports.Weth = exports.TaxCollector = exports.StabilityFeeTreasury = exports.SettlementSurplusAuctioneer = exports.SafeEngine = exports.PreSettlementSurplusAuctionHouse = exports.PostSettlementSurplusAuctionHouse = exports.OracleRelayer = exports.LiquidationEngine = exports.GlobalSettlement = exports.GetSafes = exports.GebSafeManager = exports.GebProxyRegistry = exports.FixedDiscountCollateralAuctionHouse = exports.EthJoin = exports.EnglishCollateralAuctionHouse = exports.DsProxy = exports.DebtAuctionHouse = exports.Coin = exports.CoinSavingsAccount = exports.CoinJoin = exports.BasicCollateralJoin = exports.AccountingEngine = exports.ContractApis = exports.MAINNET_ADDRESSES = exports.KOVAN_ADDRESSES = void 0; | ||
exports.Multicall = exports.GebProxyActionsGlobalSettlement = exports.GebProxyActions = exports.Weth = exports.TaxCollector = exports.StabilityFeeTreasury = exports.SettlementSurplusAuctioneer = exports.SafeEngine = exports.PreSettlementSurplusAuctionHouse = exports.PostSettlementSurplusAuctionHouse = exports.OracleRelayer = exports.LiquidationEngine = exports.GlobalSettlement = exports.GetSafes = exports.GebSafeManager = exports.GebProxyRegistry = exports.FixedDiscountCollateralAuctionHouse = exports.EthJoin = exports.EnglishCollateralAuctionHouse = exports.DsProxy = exports.DebtAuctionHouse = exports.Coin = exports.CoinSavingsAccount = exports.CoinJoin = exports.BasicCollateralJoin = exports.AccountingEngine = exports.ContractApis = void 0; | ||
var AccountingEngine_1 = require("./generated/AccountingEngine"); | ||
@@ -56,8 +56,3 @@ Object.defineProperty(exports, "AccountingEngine", { enumerable: true, get: function () { return AccountingEngine_1.AccountingEngine; } }); | ||
Object.defineProperty(exports, "ContractApis", { enumerable: true, get: function () { return contract_apis_1.ContractApis; } }); | ||
var addresses_1 = require("./addresses"); | ||
Object.defineProperty(exports, "KOVAN_ADDRESSES", { enumerable: true, get: function () { return addresses_1.KOVAN_ADDRESSES; } }); | ||
Object.defineProperty(exports, "MAINNET_ADDRESSES", { enumerable: true, get: function () { return addresses_1.MAINNET_ADDRESSES; } }); | ||
var const_1 = require("./const"); | ||
Object.defineProperty(exports, "ETH_A", { enumerable: true, get: function () { return const_1.ETH_A; } }); | ||
var Multicall_1 = require("./generated/Multicall"); | ||
Object.defineProperty(exports, "Multicall", { enumerable: true, get: function () { return Multicall_1.Multicall; } }); |
{ | ||
"name": "@reflexer-finance/geb-contract-api", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"@ethersproject/bignumber": "5.x", | ||
"@reflexer-finance/geb-contract-base": "^0.0.6" | ||
"@reflexer-finance/geb-contract-base": "^0.0.7" | ||
}, | ||
@@ -20,3 +20,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "f7907a0f773fbf43c2616dacca56656b8a49d4ea" | ||
"gitHead": "8b596dfe25ca6e65e29d98b266605cbe732106dd" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
394115
6587
+ Added@reflexer-finance/geb-contract-base@0.0.7(transitive)
- Removed@reflexer-finance/geb-contract-base@0.0.6(transitive)