UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

94 lines 3.04 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MockAggregatorFactory = void 0; const contracts_1 = require("@ethersproject/contracts"); class MockAggregatorFactory extends contracts_1.ContractFactory { constructor(signer) { super(_abi, _bytecode, signer); } deploy(_initialAnswer, overrides) { return super.deploy(_initialAnswer, overrides || {}); } getDeployTransaction(_initialAnswer, overrides) { return super.getDeployTransaction(_initialAnswer, overrides || {}); } attach(address) { return super.attach(address); } connect(signer) { return super.connect(signer); } static connect(address, signerOrProvider) { return new contracts_1.Contract(address, _abi, signerOrProvider); } } exports.MockAggregatorFactory = MockAggregatorFactory; const _abi = [ { inputs: [ { internalType: "int256", name: "_initialAnswer", type: "int256", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "int256", name: "current", type: "int256", }, { indexed: true, internalType: "uint256", name: "roundId", type: "uint256", }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256", }, ], name: "AnswerUpdated", type: "event", }, { inputs: [], name: "getTokenType", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "latestAnswer", outputs: [ { internalType: "int256", name: "", type: "int256", }, ], stateMutability: "view", type: "function", }, ]; const _bytecode = "0x608060405234801561001057600080fd5b506040516101153803806101158339818101604052602081101561003357600080fd5b5051600081815560408051428152905183917f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f919081900360200190a35060968061007f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806350d25bcd146037578063fcab181914604f575b600080fd5b603d6055565b60408051918252519081900360200190f35b603d605b565b60005490565b60019056fea264697066735822122050adf81e7847bb34503ae2a810a899cf6fa78b09fa01c4123be748a1ff2a5e6a64736f6c634300060c0033"; //# sourceMappingURL=MockAggregatorFactory.js.map