export const name = 'CollateralManager'; export const address = '0x40765bb75B361664d9bcD77D8ed05cc933674683'; export const source = 'CollateralManager'; export const abi = [ 'constructor(address _state, address _owner, address _resolver, uint256 _maxDebt, uint256 _baseBorrowRate, uint256 _baseShortRate)', 'event BaseBorrowRateUpdated(uint256 baseBorrowRate)', 'event BaseShortRateUpdated(uint256 baseShortRate)', 'event CacheUpdated(bytes32 name, address destination)', 'event CollateralAdded(address collateral)', 'event CollateralRemoved(address collateral)', 'event LiquidationPenaltyUpdated(uint256 liquidationPenalty)', 'event MaxDebtUpdated(uint256 maxDebt)', 'event OwnerChanged(address oldOwner, address newOwner)', 'event OwnerNominated(address newOwner)', 'event PauseChanged(bool isPaused)', 'event ShortableSynthAdded(bytes32 synth)', 'event ShortableSynthRemoved(bytes32 synth)', 'event SynthAdded(bytes32 synth)', 'event SynthRemoved(bytes32 synth)', 'function CONTRACT_NAME() view returns (bytes32)', 'function acceptOwnership()', 'function addCollaterals(address[] collaterals)', 'function addShortableSynths(bytes32[2][] requiredSynthAndInverseNamesInResolver, bytes32[] synthKeys)', 'function addSynths(bytes32[] synthNamesInResolver, bytes32[] synthKeys)', 'function areShortableSynthsSet(bytes32[] requiredSynthNamesInResolver, bytes32[] synthKeys) view returns (bool)', 'function areSynthsAndCurrenciesSet(bytes32[] requiredSynthNamesInResolver, bytes32[] synthKeys) view returns (bool)', 'function baseBorrowRate() view returns (uint256)', 'function baseShortRate() view returns (uint256)', 'function decrementLongs(bytes32 synth, uint256 amount)', 'function decrementShorts(bytes32 synth, uint256 amount)', 'function exceedsDebtLimit(uint256 amount, bytes32 currency) view returns (bool canIssue, bool anyRateIsInvalid)', 'function getBorrowRate() view returns (uint256 borrowRate, bool anyRateIsInvalid)', 'function getNewLoanId() returns (uint256 id)', 'function getRatesAndTime(uint256 index) view returns (uint256 entryRate, uint256 lastRate, uint256 lastUpdated, uint256 newIndex)', 'function getShortRate(bytes32 synth) view returns (uint256 shortRate, bool rateIsInvalid)', 'function getShortRatesAndTime(bytes32 currency, uint256 index) view returns (uint256 entryRate, uint256 lastRate, uint256 lastUpdated, uint256 newIndex)', 'function hasAllCollaterals(address[] collaterals) view returns (bool)', 'function hasCollateral(address collateral) view returns (bool)', 'function incrementLongs(bytes32 synth, uint256 amount)', 'function incrementShorts(bytes32 synth, uint256 amount)', 'function isResolverCached() view returns (bool)', 'function isSynthManaged(bytes32 currencyKey) view returns (bool)', 'function lastPauseTime() view returns (uint256)', 'function long(bytes32 synth) view returns (uint256 amount)', 'function maxDebt() view returns (uint256)', 'function nominateNewOwner(address _owner)', 'function nominatedOwner() view returns (address)', 'function owner() view returns (address)', 'function paused() view returns (bool)', 'function rebuildCache()', 'function removeCollaterals(address[] collaterals)', 'function removeShortableSynths(bytes32[] synths)', 'function removeSynths(bytes32[] synths, bytes32[] synthKeys)', 'function resolver() view returns (address)', 'function resolverAddressesRequired() view returns (bytes32[] addresses)', 'function setBaseBorrowRate(uint256 _baseBorrowRate)', 'function setBaseShortRate(uint256 _baseShortRate)', 'function setMaxDebt(uint256 _maxDebt)', 'function setPaused(bool _paused)', 'function setUtilisationMultiplier(uint256 _utilisationMultiplier)', 'function short(bytes32 synth) view returns (uint256 amount)', 'function state() view returns (address)', 'function synthToInverseSynth(bytes32) view returns (bytes32)', 'function synthsByKey(bytes32) view returns (bytes32)', 'function totalLong() view returns (uint256 susdValue, bool anyRateIsInvalid)', 'function totalShort() view returns (uint256 susdValue, bool anyRateIsInvalid)', 'function updateBorrowRates(uint256 rate)', 'function updateShortRates(bytes32 currency, uint256 rate)', 'function utilisationMultiplier() view returns (uint256)', ];