@reflexer-finance/geb-contract-base
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -5,5 +5,6 @@ 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' | '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_STABILITY_FEE_TREASURY' | 'GEB_ESM' | 'PROXY_ACTIONS' | 'PROXY_ACTIONS_GLOBAL_SETTLEMENT' | 'SAFE_MANAGER' | 'GET_SAFES' | 'FSM_GOV_INTERFACE' | 'PROXY_FACTORY' | 'PROXY_REGISTRY' | 'ETH' | 'MEDIANIZER_ETH' | 'FEED_SECURITY_MODULE_ETH' | 'GEB_JOIN_ETH_A' | 'GEB_COLLATERAL_AUCTION_HOUSE_ETH_A' | 'PROXY_PAUSE_ACTIONS' | 'PROXY_PAUSE_SCHEDULE_ACTIONS' | 'PROXY_DEPLOYER' | 'UNISWAP_FACTORY' | 'UNISWAP_ROUTER' | 'GEB_DS_COMPARE' | 'GEB_TX_MANAGER' | 'GEB_RRFM_VALIDATOR' | 'GEB_RRFM_SETTER' | 'MEDIANIZER_PRAI' | 'FEED_SECURITY_MODULE_PRAI'; | ||
}; | ||
export declare type GebDeployment = 'mainnet' | 'kovan' | ContractList; | ||
export declare type GebDeployment = 'mainnet' | 'kovan' | 'rinkeby' | ContractList; | ||
export declare const KOVAN_ADDRESSES: ContractList; | ||
export declare const MAINNET_ADDRESSES: ContractList; | ||
export declare const RINKEBY_ADDRESSES: ContractList; | ||
export declare const getAddressList: (network: GebDeployment) => ContractList; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getAddressList = exports.MAINNET_ADDRESSES = exports.KOVAN_ADDRESSES = void 0; | ||
exports.getAddressList = exports.RINKEBY_ADDRESSES = exports.MAINNET_ADDRESSES = exports.KOVAN_ADDRESSES = void 0; | ||
// prettier-ignore | ||
@@ -114,2 +114,57 @@ exports.KOVAN_ADDRESSES = { | ||
}; | ||
// prettier-ignore | ||
exports.RINKEBY_ADDRESSES = { | ||
"ETH_FROM": "0x230E277B1A6B36d56Da0F143Fe73ABdA7a926dbb", | ||
"STARTING_BLOCK_NUMBER": "7295635", | ||
"PROXY_DEPLOYER": "0xa49fE5Fd61Fbb5a856Ef5A119aAA982463Ca4EB2", | ||
"COIN_TYPE": "INDEX", | ||
"GOVERNANCE_TYPE": "MULTISIG-SAFE", | ||
"MULTICALL": "0xEb4E467137a4836Fa1AB026e079b1ce42F06E010", | ||
"FAUCET": "0x7EbcF11D7aD028d71c85169794D430B856962B90", | ||
"GEB_MULTISIG": "0xb148ff07894B6AE851Cd391AA463022953960477", | ||
"GEB_MULTISIG_PROXY": "0xf5130bcf18f17164CDC1d929913a64873E547944", | ||
"GEB_DEPLOY": "0x9F31e50f6d5D25B93b9d165573a169829b91766A", | ||
"GEB_PROT": "0x0000000000000000000000000000000000000000", | ||
"GEB_PAUSE_AUTHORITY": "0x4670e6CD07493D094654EB7010C6E32Fd95f638D", | ||
"GEB_POLLING_EMITTER": "0x41E7a13795CA812ac6BBF34560BB3E0B79E21F88", | ||
"GEB_SAFE_ENGINE": "0x18C5f335602C881EaA36d2a5A483186f61a7C087", | ||
"GEB_TAX_COLLECTOR": "0xee8C739357C71E2a8eaE1C659B659FFf407C4A33", | ||
"GEB_LIQUIDATION_ENGINE": "0xcC7fEfca00B8Ca8C9145C6fDe2c5CbBF85e55505", | ||
"GEB_ACCOUNTING_ENGINE": "0xeFB357401202EaE363673e2F6062D00750880dd5", | ||
"GEB_COIN_JOIN": "0x355033f612Eb1E70972f79E0B82E8789E9C49B5f", | ||
"GEB_SETTLEMENT_SURPLUS_AUCTIONEER": "0x9Fd1f0ecBCF6108D01F799E5E352d21d4b527B52", | ||
"GEB_PRE_SETTLEMENT_SURPLUS_AUCTION_HOUSE": "0x822D7574C382Cb0Ed2ceEbEFEeD5a3716cD8ef68", | ||
"GEB_POST_SETTLEMENT_SURPLUS_AUCTION_HOUSE": "0x600c07a1D57dCb326ABED92bd12071D40642e2f4", | ||
"GEB_DEBT_AUCTION_HOUSE": "0x55F004bEA4dD46CF529fA0E1CB9F11c24CD768ce", | ||
"GEB_PAUSE": "0x63B5F3fc34F5c00F3dF5E9d0bC5677f8E2d8aa81", | ||
"GEB_PAUSE_PROXY": "0x91A49D98911D74e19b81d10AC31FAA0A798249C5", | ||
"GEB_GOV_ACTIONS": "0x37Df6a3fdB306AaD9fC99eB9E1f1069073913a3F", | ||
"GEB_COIN": "0x1C6f922b5a1b29329B2854789F784Bb849ff3b4b", | ||
"GEB_ORACLE_RELAYER": "0x550Aa609c94a3b08A4b473D9f3cc56527C769D7d", | ||
"GEB_GLOBAL_SETTLEMENT": "0xaEE64AB4c7Ef82084B364960a2DCF9D06f985F50", | ||
"GEB_STABILITY_FEE_TREASURY": "0x3e5925fc04283555ed8274Fdc5038f69A47891BE", | ||
"GEB_ESM": "0x0000000000000000000000000000000000000000", | ||
"GEB_RRFM_VALIDATOR": "0xB6F539EcC4baF3fF0EeaC2342bb608FbAABD0076", | ||
"GEB_RRFM_SETTER": "0xA58E1b2c04691D839D76455560B7412F425c62a9", | ||
"PROXY_ACTIONS": "0xde51B3430a2c910f49f4B4C9Ad5AC7cD988De8c3", | ||
"PROXY_ACTIONS_GLOBAL_SETTLEMENT": "0xA09EAe61bEE5cE3a9Ac9f0360144c8D3aBc27931", | ||
"SAFE_MANAGER": "0x3C65A7668535B0242844Dd3e27ff4B253F94B873", | ||
"GET_SAFES": "0xc4E8508348d81A20ADC7F0CA21A03a512D92D15a", | ||
"FSM_GOV_INTERFACE": "0x7A7AaAD445b6843a86204f5f1E017eD8F30c6116", | ||
"PROXY_FACTORY": "0x6Ea1f20E33dB81f3a16F6d8002F2389e147a886f", | ||
"PROXY_REGISTRY": "0x92EDB4F6c1AA2136DdfdE8EcB9c2A7c77d240B44", | ||
"MEDIANIZER_PRAI": "0xC6370ff2620f447f2224E80BFf63748639daE154", | ||
"FEED_SECURITY_MODULE_PRAI": "0x21Bc5089f257a36Bf8FA10c773ccaACAb4Aa3491", | ||
"ETH": "0xc778417E063141139Fce010982780140Aa0cD5Ab", | ||
"MEDIANIZER_ETH": "0x6CdC1cEd3d6198cFf6B36e481Ba57b55285DB817", | ||
"FEED_SECURITY_MODULE_ETH": "0xdB0c9213FA09A48B51d75721df46f36e01774992", | ||
"GEB_JOIN_ETH_A": "0x3c6EA7AE33731a22917Bb26b00442BF197B871B5", | ||
"GEB_COLLATERAL_AUCTION_HOUSE_ETH_A": "0xFEF608E26eA13649ce19Ae8fF36927A77dd9a7be", | ||
"PROXY_PAUSE_ACTIONS": "0x32a0F030f44c48e1E2bF4C34FB4cAf68BAc2d6d8", | ||
"PROXY_PAUSE_SCHEDULE_ACTIONS": "0xcf8371C1B445035329C8F54d0B38EFD9913c4c44", | ||
"UNISWAP_FACTORY": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f", | ||
"UNISWAP_ROUTER": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", | ||
"GEB_DS_COMPARE": "0xE307656278c8118C2F106D3c50568B898fb1D388", | ||
"GEB_TX_MANAGER": "0xFb67D28206736CA16a56e949f7e6945aed6b774c" | ||
}; | ||
exports.getAddressList = function (network) { | ||
@@ -122,2 +177,5 @@ if (network === 'kovan') { | ||
} | ||
else if (network === 'rinkeby') { | ||
return exports.RINKEBY_ADDRESSES; | ||
} | ||
else { | ||
@@ -124,0 +182,0 @@ return network; |
@@ -42,2 +42,7 @@ import { TransactionRequest } from './base-contract-api'; | ||
chainId(): Promise<number>; | ||
/** | ||
* Contract code hash from EIP 1052 | ||
* @param address target contract | ||
*/ | ||
extCodeHash(address: string): Promise<string>; | ||
} |
{ | ||
"name": "@reflexer-finance/geb-contract-base", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "", | ||
@@ -14,3 +14,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "3746bb58364983fd43985281433e9a64f2049923" | ||
"gitHead": "2267de4f831c4e1c565c3c49333b5052003c21f8" | ||
} |
@@ -68,3 +68,7 @@ export type ContractKey = | ||
export declare type GebDeployment = 'mainnet' | 'kovan' | ContractList | ||
export declare type GebDeployment = | ||
| 'mainnet' | ||
| 'kovan' | ||
| 'rinkeby' | ||
| ContractList | ||
@@ -183,2 +187,58 @@ // prettier-ignore | ||
// prettier-ignore | ||
export const RINKEBY_ADDRESSES: ContractList = { | ||
"ETH_FROM": "0x230E277B1A6B36d56Da0F143Fe73ABdA7a926dbb", | ||
"STARTING_BLOCK_NUMBER": "7295635", | ||
"PROXY_DEPLOYER": "0xa49fE5Fd61Fbb5a856Ef5A119aAA982463Ca4EB2", | ||
"COIN_TYPE": "INDEX", | ||
"GOVERNANCE_TYPE": "MULTISIG-SAFE", | ||
"MULTICALL": "0xEb4E467137a4836Fa1AB026e079b1ce42F06E010", | ||
"FAUCET": "0x7EbcF11D7aD028d71c85169794D430B856962B90", | ||
"GEB_MULTISIG": "0xb148ff07894B6AE851Cd391AA463022953960477", | ||
"GEB_MULTISIG_PROXY": "0xf5130bcf18f17164CDC1d929913a64873E547944", | ||
"GEB_DEPLOY": "0x9F31e50f6d5D25B93b9d165573a169829b91766A", | ||
"GEB_PROT": "0x0000000000000000000000000000000000000000", | ||
"GEB_PAUSE_AUTHORITY": "0x4670e6CD07493D094654EB7010C6E32Fd95f638D", | ||
"GEB_POLLING_EMITTER": "0x41E7a13795CA812ac6BBF34560BB3E0B79E21F88", | ||
"GEB_SAFE_ENGINE": "0x18C5f335602C881EaA36d2a5A483186f61a7C087", | ||
"GEB_TAX_COLLECTOR": "0xee8C739357C71E2a8eaE1C659B659FFf407C4A33", | ||
"GEB_LIQUIDATION_ENGINE": "0xcC7fEfca00B8Ca8C9145C6fDe2c5CbBF85e55505", | ||
"GEB_ACCOUNTING_ENGINE": "0xeFB357401202EaE363673e2F6062D00750880dd5", | ||
"GEB_COIN_JOIN": "0x355033f612Eb1E70972f79E0B82E8789E9C49B5f", | ||
"GEB_SETTLEMENT_SURPLUS_AUCTIONEER": "0x9Fd1f0ecBCF6108D01F799E5E352d21d4b527B52", | ||
"GEB_PRE_SETTLEMENT_SURPLUS_AUCTION_HOUSE": "0x822D7574C382Cb0Ed2ceEbEFEeD5a3716cD8ef68", | ||
"GEB_POST_SETTLEMENT_SURPLUS_AUCTION_HOUSE": "0x600c07a1D57dCb326ABED92bd12071D40642e2f4", | ||
"GEB_DEBT_AUCTION_HOUSE": "0x55F004bEA4dD46CF529fA0E1CB9F11c24CD768ce", | ||
"GEB_PAUSE": "0x63B5F3fc34F5c00F3dF5E9d0bC5677f8E2d8aa81", | ||
"GEB_PAUSE_PROXY": "0x91A49D98911D74e19b81d10AC31FAA0A798249C5", | ||
"GEB_GOV_ACTIONS": "0x37Df6a3fdB306AaD9fC99eB9E1f1069073913a3F", | ||
"GEB_COIN": "0x1C6f922b5a1b29329B2854789F784Bb849ff3b4b", | ||
"GEB_ORACLE_RELAYER": "0x550Aa609c94a3b08A4b473D9f3cc56527C769D7d", | ||
"GEB_GLOBAL_SETTLEMENT": "0xaEE64AB4c7Ef82084B364960a2DCF9D06f985F50", | ||
"GEB_STABILITY_FEE_TREASURY": "0x3e5925fc04283555ed8274Fdc5038f69A47891BE", | ||
"GEB_ESM": "0x0000000000000000000000000000000000000000", | ||
"GEB_RRFM_VALIDATOR": "0xB6F539EcC4baF3fF0EeaC2342bb608FbAABD0076", | ||
"GEB_RRFM_SETTER": "0xA58E1b2c04691D839D76455560B7412F425c62a9", | ||
"PROXY_ACTIONS": "0xde51B3430a2c910f49f4B4C9Ad5AC7cD988De8c3", | ||
"PROXY_ACTIONS_GLOBAL_SETTLEMENT": "0xA09EAe61bEE5cE3a9Ac9f0360144c8D3aBc27931", | ||
"SAFE_MANAGER": "0x3C65A7668535B0242844Dd3e27ff4B253F94B873", | ||
"GET_SAFES": "0xc4E8508348d81A20ADC7F0CA21A03a512D92D15a", | ||
"FSM_GOV_INTERFACE": "0x7A7AaAD445b6843a86204f5f1E017eD8F30c6116", | ||
"PROXY_FACTORY": "0x6Ea1f20E33dB81f3a16F6d8002F2389e147a886f", | ||
"PROXY_REGISTRY": "0x92EDB4F6c1AA2136DdfdE8EcB9c2A7c77d240B44", | ||
"MEDIANIZER_PRAI": "0xC6370ff2620f447f2224E80BFf63748639daE154", | ||
"FEED_SECURITY_MODULE_PRAI": "0x21Bc5089f257a36Bf8FA10c773ccaACAb4Aa3491", | ||
"ETH": "0xc778417E063141139Fce010982780140Aa0cD5Ab", | ||
"MEDIANIZER_ETH": "0x6CdC1cEd3d6198cFf6B36e481Ba57b55285DB817", | ||
"FEED_SECURITY_MODULE_ETH": "0xdB0c9213FA09A48B51d75721df46f36e01774992", | ||
"GEB_JOIN_ETH_A": "0x3c6EA7AE33731a22917Bb26b00442BF197B871B5", | ||
"GEB_COLLATERAL_AUCTION_HOUSE_ETH_A": "0xFEF608E26eA13649ce19Ae8fF36927A77dd9a7be", | ||
"PROXY_PAUSE_ACTIONS": "0x32a0F030f44c48e1E2bF4C34FB4cAf68BAc2d6d8", | ||
"PROXY_PAUSE_SCHEDULE_ACTIONS": "0xcf8371C1B445035329C8F54d0B38EFD9913c4c44", | ||
"UNISWAP_FACTORY": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f", | ||
"UNISWAP_ROUTER": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", | ||
"GEB_DS_COMPARE": "0xE307656278c8118C2F106D3c50568B898fb1D388", | ||
"GEB_TX_MANAGER": "0xFb67D28206736CA16a56e949f7e6945aed6b774c" | ||
} | ||
export const getAddressList = (network: GebDeployment): ContractList => { | ||
@@ -189,2 +249,4 @@ if (network === 'kovan') { | ||
return MAINNET_ADDRESSES | ||
} else if (network === 'rinkeby') { | ||
return RINKEBY_ADDRESSES | ||
} else { | ||
@@ -191,0 +253,0 @@ return network |
@@ -51,2 +51,8 @@ import { TransactionRequest } from './base-contract-api' | ||
chainId(): Promise<number> | ||
/** | ||
* Contract code hash from EIP 1052 | ||
* @param address target contract | ||
*/ | ||
extCodeHash(address: string): Promise<string> | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
204247
802