2020-06-03 10:23:21 +00:00
|
|
|
/* Generated by ts-generator ver. 0.0.8 */
|
|
|
|
/* tslint:disable */
|
|
|
|
|
|
|
|
import { Contract, ContractFactory, Signer } from "ethers";
|
|
|
|
import { Provider } from "ethers/providers";
|
|
|
|
import { UnsignedTransaction } from "ethers/utils/transaction";
|
|
|
|
|
|
|
|
import { TransactionOverrides } from ".";
|
|
|
|
import { LendingPool } from "./LendingPool";
|
|
|
|
|
|
|
|
export class LendingPoolFactory extends ContractFactory {
|
2020-06-20 23:40:03 +00:00
|
|
|
constructor(
|
|
|
|
linkLibraryAddresses: LendingPoolLibraryAddresses,
|
|
|
|
signer?: Signer
|
|
|
|
) {
|
|
|
|
super(_abi, LendingPoolFactory.linkBytecode(linkLibraryAddresses), signer);
|
|
|
|
}
|
|
|
|
|
|
|
|
static linkBytecode(
|
|
|
|
linkLibraryAddresses: LendingPoolLibraryAddresses
|
|
|
|
): string {
|
|
|
|
let linkedBytecode = _bytecode;
|
|
|
|
|
|
|
|
linkedBytecode = linkedBytecode.replace(
|
|
|
|
new RegExp("__\\$259b519ec4c35fa58681035973c79c801a\\$__", "g"),
|
|
|
|
linkLibraryAddresses["__$259b519ec4c35fa58681035973c79c801a$__"]
|
|
|
|
.replace(/^0x/, "")
|
|
|
|
.toLowerCase()
|
|
|
|
);
|
|
|
|
|
|
|
|
linkedBytecode = linkedBytecode.replace(
|
|
|
|
new RegExp("__\\$2ec35834968386f54fa313129cf94664e4\\$__", "g"),
|
|
|
|
linkLibraryAddresses["__$2ec35834968386f54fa313129cf94664e4$__"]
|
|
|
|
.replace(/^0x/, "")
|
|
|
|
.toLowerCase()
|
|
|
|
);
|
|
|
|
|
|
|
|
linkedBytecode = linkedBytecode.replace(
|
|
|
|
new RegExp("__\\$69254465eb8f179ea24caa73cf68b23524\\$__", "g"),
|
|
|
|
linkLibraryAddresses["__$69254465eb8f179ea24caa73cf68b23524$__"]
|
|
|
|
.replace(/^0x/, "")
|
|
|
|
.toLowerCase()
|
|
|
|
);
|
|
|
|
|
|
|
|
linkedBytecode = linkedBytecode.replace(
|
|
|
|
new RegExp("__\\$5e6137a1b5a0a366e2874209b5abf71c10\\$__", "g"),
|
|
|
|
linkLibraryAddresses["__$5e6137a1b5a0a366e2874209b5abf71c10$__"]
|
|
|
|
.replace(/^0x/, "")
|
|
|
|
.toLowerCase()
|
|
|
|
);
|
|
|
|
|
|
|
|
linkedBytecode = linkedBytecode.replace(
|
|
|
|
new RegExp("__\\$7347ff53b2b46c21e26a37164ae7f6739f\\$__", "g"),
|
|
|
|
linkLibraryAddresses["__$7347ff53b2b46c21e26a37164ae7f6739f$__"]
|
|
|
|
.replace(/^0x/, "")
|
|
|
|
.toLowerCase()
|
|
|
|
);
|
|
|
|
|
|
|
|
return linkedBytecode;
|
2020-06-03 10:23:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
deploy(overrides?: TransactionOverrides): Promise<LendingPool> {
|
|
|
|
return super.deploy(overrides) as Promise<LendingPool>;
|
|
|
|
}
|
|
|
|
getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction {
|
|
|
|
return super.getDeployTransaction(overrides);
|
|
|
|
}
|
|
|
|
attach(address: string): LendingPool {
|
|
|
|
return super.attach(address) as LendingPool;
|
|
|
|
}
|
|
|
|
connect(signer: Signer): LendingPoolFactory {
|
|
|
|
return super.connect(signer) as LendingPoolFactory;
|
|
|
|
}
|
|
|
|
static connect(
|
|
|
|
address: string,
|
|
|
|
signerOrProvider: Signer | Provider
|
|
|
|
): LendingPool {
|
|
|
|
return new Contract(address, _abi, signerOrProvider) as LendingPool;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const _abi = [
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_borrowRateMode",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_borrowRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_originationFee",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_borrowBalanceIncrease",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "uint16",
|
|
|
|
name: "_referral",
|
|
|
|
type: "uint16"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "Borrow",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "uint16",
|
|
|
|
name: "_referral",
|
|
|
|
type: "uint16"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "Deposit",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_target",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_totalFee",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_protocolFee",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "FlashLoan",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_collateral",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_purchaseAmount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_liquidatedCollateralAmount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_accruedBorrowInterest",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_liquidator",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_receiveAToken",
|
|
|
|
type: "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "LiquidationCall",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_collateral",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_feeLiquidated",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_liquidatedCollateralForFee",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "OriginationFeeLiquidated",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_newStableRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_borrowBalanceIncrease",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "RebalanceStableBorrowRate",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "RedeemUnderlying",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_repayer",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amountMinusFees",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_fees",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_borrowBalanceIncrease",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "Repay",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "ReserveUsedAsCollateralDisabled",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "ReserveUsedAsCollateralEnabled",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
anonymous: false,
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: true,
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_newRateMode",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_newRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_borrowBalanceIncrease",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
indexed: false,
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_timestamp",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "Swap",
|
|
|
|
type: "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [],
|
|
|
|
name: "LENDINGPOOL_REVISION",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [],
|
|
|
|
name: "UINT_MAX_VALUE",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [],
|
|
|
|
name: "addressesProvider",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "contract LendingPoolAddressesProvider",
|
|
|
|
name: "",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-20 23:40:03 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "balanceDecreaseAllowed",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_interestRateMode",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint16",
|
|
|
|
name: "_referralCode",
|
|
|
|
type: "uint16"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "borrow",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
2020-06-20 23:40:03 +00:00
|
|
|
inputs: [
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
2020-06-20 23:40:03 +00:00
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
2020-06-03 10:23:21 +00:00
|
|
|
type: "address"
|
2020-06-20 23:40:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint16",
|
|
|
|
name: "_referralCode",
|
|
|
|
type: "uint16"
|
2020-06-03 10:23:21 +00:00
|
|
|
}
|
|
|
|
],
|
2020-06-20 23:40:03 +00:00
|
|
|
name: "deposit",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "payable",
|
2020-06-03 10:23:21 +00:00
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
2020-06-20 23:40:03 +00:00
|
|
|
inputs: [
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
2020-06-20 23:40:03 +00:00
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
2020-06-03 10:23:21 +00:00
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
2020-06-20 23:40:03 +00:00
|
|
|
name: "disableReserveAsCollateral",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
2020-06-03 10:23:21 +00:00
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
2020-06-20 23:40:03 +00:00
|
|
|
name: "_baseLTVasCollateral",
|
2020-06-03 10:23:21 +00:00
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
2020-06-20 23:40:03 +00:00
|
|
|
internalType: "uint256",
|
|
|
|
name: "_liquidationThreshold",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_liquidationBonus",
|
|
|
|
type: "uint256"
|
2020-06-03 10:23:21 +00:00
|
|
|
}
|
|
|
|
],
|
2020-06-20 23:40:03 +00:00
|
|
|
name: "enableReserveAsCollateral",
|
2020-06-03 10:23:21 +00:00
|
|
|
outputs: [],
|
2020-06-20 23:40:03 +00:00
|
|
|
stateMutability: "nonpayable",
|
2020-06-03 10:23:21 +00:00
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_receiver",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bytes",
|
|
|
|
name: "_params",
|
|
|
|
type: "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "flashLoan",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "getReserveConfigurationData",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "ltv",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "liquidationThreshold",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "liquidationBonus",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "interestRateStrategyAddress",
|
|
|
|
type: "address"
|
|
|
|
},
|
2020-06-20 23:40:03 +00:00
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "aTokenAddress",
|
|
|
|
type: "address"
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "usageAsCollateralEnabled",
|
|
|
|
type: "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "borrowingEnabled",
|
|
|
|
type: "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "stableBorrowRateEnabled",
|
|
|
|
type: "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "isActive",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "getReserveData",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "availableLiquidity",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "totalBorrowsStable",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "totalBorrowsVariable",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "liquidityRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "variableBorrowRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "stableBorrowRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "averageStableBorrowRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "liquidityIndex",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "variableBorrowIndex",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint40",
|
|
|
|
name: "lastUpdateTimestamp",
|
|
|
|
type: "uint40"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-20 23:40:03 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "getReserveNormalizedIncome",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
|
|
|
inputs: [],
|
|
|
|
name: "getReserves",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "address[]",
|
|
|
|
name: "",
|
|
|
|
type: "address[]"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "getUserAccountData",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "totalCollateralETH",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "totalBorrowsETH",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "totalFeesETH",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "availableBorrowsETH",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "currentLiquidationThreshold",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "ltv",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "healthFactor",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "getUserReserveData",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "currentATokenBalance",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "currentBorrowBalance",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "principalBorrowBalance",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "borrowRateMode",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "borrowRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "liquidityRate",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "originationFee",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "variableBorrowIndex",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "lastUpdateTimestamp",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "usageAsCollateralEnabled",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-20 23:40:03 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_aTokenAddress",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_decimals",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_interestRateStrategyAddress",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "initReserve",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "contract LendingPoolAddressesProvider",
|
|
|
|
name: "_addressesProvider",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "initialize",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_collateral",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_purchaseAmount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_receiveAToken",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "liquidationCall",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "payable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "rebalanceStableBorrowRate",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address payable",
|
|
|
|
name: "_user",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_aTokenBalanceAfterRedeem",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "redeemUnderlying",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_amount",
|
|
|
|
type: "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address payable",
|
|
|
|
name: "_onBehalfOf",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "repay",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "payable",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-20 23:40:03 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "reservesList",
|
|
|
|
outputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
stateMutability: "view",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_active",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveActive",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_ltv",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveBaseLTVasCollateral",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_borrowingEnabled",
|
|
|
|
type: "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_stableBorrowRateEnabled",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveBorrowingEnabled",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_decimals",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveDecimals",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_isFreezed",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveFreeze",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_rateStrategyAddress",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveInterestRateStrategyAddress",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_bonus",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveLiquidationBonus",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "uint256",
|
|
|
|
name: "_threshold",
|
|
|
|
type: "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveLiquidationThreshold",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_enabled",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setReserveStableBorrowRateEnabled",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
2020-06-03 10:23:21 +00:00
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
internalType: "bool",
|
|
|
|
name: "_useAsCollateral",
|
|
|
|
type: "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "setUserUseReserveAsCollateral",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
inputs: [
|
|
|
|
{
|
|
|
|
internalType: "address",
|
|
|
|
name: "_reserve",
|
|
|
|
type: "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
name: "swapBorrowRateMode",
|
|
|
|
outputs: [],
|
|
|
|
stateMutability: "nonpayable",
|
|
|
|
type: "function"
|
2020-06-20 23:40:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
stateMutability: "payable",
|
|
|
|
type: "receive"
|
2020-06-03 10:23:21 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
const _bytecode =
|
2020-06-20 23:40:03 +00:00
|
|
|
"0x6080604052600060015534801561001557600080fd5b506000805460ff1916600117905561580280620000336000396000f3fe6080604052600436106101f15760003560e01c806373b2f2f21161010d578063c4d66de8116100a0578063d0fc81d21161006f578063d0fc81d214610aab578063d15e005314610ac0578063d2d0e06614610af3578063d466016f14610b29578063e8ae2f5b14610b6257610237565b8063c4d66de8146109df578063c72c4d1014610a12578063c858f5f914610a27578063cd11238214610a7057610237565b80639895e3d8116100dc5780639895e3d8146108ab578063a5bc826c146108f4578063b736aaeb14610939578063bf92857c1461097457610237565b806373b2f2f2146107b757806376e9d615146107f25780638afaff021461084957806396e957c41461087057610237565b806348ca1300116101855780635cffe9de116101545780635cffe9de1461062f57806366bbd928146107025780636ee365f91461073b57806370fb84f41461077e57610237565b806348ca1300146105455780634fe7a6e5146105785780635a3b74b9146105be5780635ceae9c4146105f957610237565b80633443a14b116101c15780633443a14b146103ad57806335ea6a75146103e65780633e1501411461047057806345330a40146104fc57610237565b8062a718a91461023c5780630902f1ac146102805780631d2118f9146102e557806328dd2d011461032057610237565b36610237576101ff33610b95565b610235576040805162461bcd60e51b8152602060048201526002602482015261191960f11b604482015290519081900360640190fd5b005b600080fd5b610235600480360360a081101561025257600080fd5b506001600160a01b038135811691602081013582169160408201351690606081013590608001351515610bd3565b34801561028c57600080fd5b50610295610fa4565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102d15781810151838201526020016102b9565b505050509050019250505060405180910390f35b3480156102f157600080fd5b506102356004803603604081101561030857600080fd5b506001600160a01b0381358116916020013516611006565b34801561032c57600080fd5b5061035b6004803603604081101561034357600080fd5b506001600160a01b03813581169160200135166110e7565b604080519a8b5260208b0199909952898901979097526060890195909552608088019390935260a087019190915260c086015260e0850152610100840152151561012083015251908190036101400190f35b3480156103b957600080fd5b50610235600480360360408110156103d057600080fd5b506001600160a01b0381351690602001356112e2565b3480156103f257600080fd5b506104196004803603602081101561040957600080fd5b50356001600160a01b03166113b1565b604080519a8b5260208b0199909952898901979097526060890195909552608088019390935260a087019190915260c086015260e085015261010084015264ffffffffff1661012083015251908190036101400190f35b34801561047c57600080fd5b506104a36004803603602081101561049357600080fd5b50356001600160a01b0316611552565b60408051998a5260208a0198909852888801969096526001600160a01b039485166060890152929093166080870152151560a086015290151560c0850152151560e0840152151561010083015251908190036101200190f35b34801561050857600080fd5b506102356004803603608081101561051f57600080fd5b506001600160a01b038135811691602081013582169160408201359160600135166115c1565b34801561055157600080fd5b506102356004803603602081101561056857600080fd5b50356001600160a01b0316611716565b34801561058457600080fd5b506105a26004803603602081101561059b57600080fd5b5035611ada565b604080516001600160a01b039092168252519081900360200190f35b3480156105ca57600080fd5b50610235600480360360408110156105e157600080fd5b506001600160a01b0381351690602001351515611b01565b6102356004803603606081101561060f57600080fd5b506001600160a01b03813581169160208101359160409091013516611d84565b34801561063b57600080fd5b506102356004803603608081101561065257600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561068d57600080fd5b82018360208201111561069f57600080fd5b803590602001918460018302840111640100000000831117156106c157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061252b945050505050565b34801561070e57600080fd5b506102356004803603604081101561072557600080fd5b506001600160a01b0381351690602001356129d1565b34801561074757600080fd5b506102356004803603606081101561075e57600080fd5b506001600160a01b03813516906020810135151590604001351515612aa0565b34801561078a57600080fd5b50610235600480360360408110156107a157600080fd5b506001600160a01b038135169060200135612c65565b3480156107c357600080fd5b506102356004
|
|
|
|
|
|
|
|
export interface LendingPoolLibraryAddresses {
|
|
|
|
["__$259b519ec4c35fa58681035973c79c801a$__"]: string;
|
|
|
|
["__$2ec35834968386f54fa313129cf94664e4$__"]: string;
|
|
|
|
["__$69254465eb8f179ea24caa73cf68b23524$__"]: string;
|
|
|
|
["__$5e6137a1b5a0a366e2874209b5abf71c10$__"]: string;
|
|
|
|
["__$7347ff53b2b46c21e26a37164ae7f6739f$__"]: string;
|
|
|
|
}
|