UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

94 lines 4.08 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LibTestUtilsFactory = void 0; const contracts_1 = require("@ethersproject/contracts"); class LibTestUtilsFactory extends contracts_1.ContractFactory { constructor(signer) { super(_abi, _bytecode, signer); } deploy(overrides) { return super.deploy(overrides || {}); } getDeployTransaction(overrides) { return super.getDeployTransaction(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.LibTestUtilsFactory = LibTestUtilsFactory; const _abi = [ { inputs: [ { internalType: "uint256", name: "n", type: "uint256", }, ], name: "testBitLength", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "uint16", name: "n", type: "uint16", }, ], name: "testBitLengthShift", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "uint256", name: "rate", type: "uint256", }, { internalType: "uint256", name: "ts", type: "uint256", }, ], name: "testLinearInterest", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; const _bytecode = "0x608060405234801561001057600080fd5b5061032d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806343c24390146100465780636c75bc3d1461006b578063938a7e961461007e575b600080fd5b610059610054366004610218565b610091565b60405190815260200160405180910390f35b61005961007936600461023a565b6100a9565b61005961008c366004610252565b6100b4565b60006100a3600161ffff84161b6100c7565b92915050565b60006100a3826100c7565b60006100c083836101d6565b9392505050565b6000816100d657506000919050565b6fffffffffffffffffffffffffffffffff82111561010157608091821c916100fe9082610273565b90505b67ffffffffffffffff82111561012457604091821c916101219082610273565b90505b63ffffffff82111561014357602091821c916101409082610273565b90505b61ffff82111561016057601091821c9161015d9082610273565b90505b60ff82111561017c57600891821c916101799082610273565b90505b600f82111561019857600491821c916101959082610273565b90505b60038211156101b457600291821c916101b19082610273565b90505b60018211156101cb576101c8600182610273565b90505b6100a3816001610273565b60006301e133806101ee64ffffffffff8416426102ca565b6101f890856102ab565b610202919061028b565b6100c0906b033b2e3c9fd0803ce8000000610273565b600060208284031215610229578081fd5b813561ffff811681146100c0578182fd5b60006020828403121561024b578081fd5b5035919050565b60008060408385031215610264578081fd5b50508035926020909101359150565b60008219821115610286576102866102e1565b500190565b6000826102a657634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156102c5576102c56102e1565b500290565b6000828210156102dc576102dc6102e1565b500390565b634e487b7160e01b600052601160045260246000fdfea26469706673582212204f66e8bdf11413cda7c80887a5df7d05e6acbe6798182b3e96cef487bff0d7eb64736f6c63430008040033"; //# sourceMappingURL=LibTestUtilsFactory.js.map