UNPKG

@astonic-io/astonic-bindings-ts

Version:

Astonic type generation and npm package deployment repo

341 lines (340 loc) 8.21 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IValueDeltaBreaker__factory = void 0; var ethers_1 = require("ethers"); var _abi = [ { type: "function", name: "breakerBox", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "defaultCooldownTime", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "defaultRateChangeThreshold", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getCoolDown", inputs: [ { name: "rateFeedID", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getCooldown", inputs: [ { name: "rateFeedID", type: "address", internalType: "address", }, ], outputs: [ { name: "cooldown", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "owner", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "rateChangeThreshold", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "referenceValues", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "renounceOwnership", inputs: [], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setBreakerBox", inputs: [ { name: "_breakerBox", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setCooldownTimes", inputs: [ { name: "rateFeedIDs", type: "address[]", internalType: "address[]", }, { name: "cooldownTime", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setDefaultCooldownTime", inputs: [ { name: "cooldownTime", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setDefaultRateChangeThreshold", inputs: [ { name: "_rateChangeTreshold", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setRateChangeThresholds", inputs: [ { name: "rateFeedIDs", type: "address[]", internalType: "address[]", }, { name: "rateChangeThresholds", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setReferenceValues", inputs: [ { name: "rateFeedIDs", type: "address[]", internalType: "address[]", }, { name: "_referenceValues", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setSortedOracles", inputs: [ { name: "_sortedOracles", type: "address", internalType: "contract ISortedOracles", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "shouldReset", inputs: [ { name: "rateFeedID", type: "address", internalType: "address", }, ], outputs: [ { name: "resetBreaker", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "shouldTrigger", inputs: [ { name: "rateFeedID", type: "address", internalType: "address", }, ], outputs: [ { name: "triggerBreaker", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "sortedOracles", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "transferOwnership", inputs: [ { name: "newOwner", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "event", name: "SortedOraclesUpdated", inputs: [ { name: "newSortedOracles", type: "address", indexed: false, internalType: "address", }, ], anonymous: false, }, ]; var IValueDeltaBreaker__factory = /** @class */ (function () { function IValueDeltaBreaker__factory() { } IValueDeltaBreaker__factory.createInterface = function () { return new ethers_1.utils.Interface(_abi); }; IValueDeltaBreaker__factory.connect = function (address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); }; IValueDeltaBreaker__factory.abi = _abi; return IValueDeltaBreaker__factory; }()); exports.IValueDeltaBreaker__factory = IValueDeltaBreaker__factory;