mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
1363 lines
71 KiB
TypeScript
1363 lines
71 KiB
TypeScript
/* 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 {
|
|
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;
|
|
}
|
|
|
|
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"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "_reserve",
|
|
type: "address"
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "_amount",
|
|
type: "uint256"
|
|
},
|
|
{
|
|
internalType: "uint16",
|
|
name: "_referralCode",
|
|
type: "uint16"
|
|
}
|
|
],
|
|
name: "deposit",
|
|
outputs: [],
|
|
stateMutability: "payable",
|
|
type: "function"
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "_reserve",
|
|
type: "address"
|
|
}
|
|
],
|
|
name: "disableReserveAsCollateral",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function"
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "_reserve",
|
|
type: "address"
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "_baseLTVasCollateral",
|
|
type: "uint256"
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "_liquidationThreshold",
|
|
type: "uint256"
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "_liquidationBonus",
|
|
type: "uint256"
|
|
}
|
|
],
|
|
name: "enableReserveAsCollateral",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
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"
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "aTokenAddress",
|
|
type: "address"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "_reserve",
|
|
type: "address"
|
|
}
|
|
],
|
|
name: "getReserveNormalizedIncome",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256"
|
|
}
|
|
],
|
|
stateMutability: "view",
|
|
type: "function"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
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"
|
|
},
|
|
{
|
|
stateMutability: "payable",
|
|
type: "receive"
|
|
}
|
|
];
|
|
|
|
const _bytecode =
|
|
"0x6080604052600060015534801561001557600080fd5b506000805460ff1916600117905561580280620000336000396000f3fe6080604052600436106101f15760003560e01c806373b2f2f21161010d578063c4d66de8116100a0578063d0fc81d21161006f578063d0fc81d214610aab578063d15e005314610ac0578063d2d0e06614610af3578063d466016f14610b29578063e8ae2f5b14610b6257610237565b8063c4d66de8146109df578063c72c4d1014610a12578063c858f5f914610a27578063cd11238214610a7057610237565b80639895e3d8116100dc5780639895e3d8146108ab578063a5bc826c146108f4578063b736aaeb14610939578063bf92857c1461097457610237565b806373b2f2f2146107b757806376e9d615146107f25780638afaff021461084957806396e957c41461087057610237565b806348ca1300116101855780635cffe9de116101545780635cffe9de1461062f57806366bbd928146107025780636ee365f91461073b57806370fb84f41461077e57610237565b806348ca1300146105455780634fe7a6e5146105785780635a3b74b9146105be5780635ceae9c4146105f957610237565b80633443a14b116101c15780633443a14b146103ad57806335ea6a75146103e65780633e1501411461047057806345330a40146104fc57610237565b8062a718a91461023c5780630902f1ac146102805780631d2118f9146102e557806328dd2d011461032057610237565b36610237576101ff33610b95565b610235576040805162461bcd60e51b8152602060048201526002602482015261191960f11b604482015290519081900360640190fd5b005b600080fd5b610235600480360360a081101561025257600080fd5b506001600160a01b038135811691602081013582169160408201351690606081013590608001351515610bd3565b34801561028c57600080fd5b50610295610fa4565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102d15781810151838201526020016102b9565b505050509050019250505060405180910390f35b3480156102f157600080fd5b506102356004803603604081101561030857600080fd5b506001600160a01b0381358116916020013516611006565b34801561032c57600080fd5b5061035b6004803603604081101561034357600080fd5b506001600160a01b03813581169160200135166110e7565b604080519a8b5260208b0199909952898901979097526060890195909552608088019390935260a087019190915260c086015260e0850152610100840152151561012083015251908190036101400190f35b3480156103b957600080fd5b50610235600480360360408110156103d057600080fd5b506001600160a01b0381351690602001356112e2565b3480156103f257600080fd5b506104196004803603602081101561040957600080fd5b50356001600160a01b03166113b1565b604080519a8b5260208b0199909952898901979097526060890195909552608088019390935260a087019190915260c086015260e085015261010084015264ffffffffff1661012083015251908190036101400190f35b34801561047c57600080fd5b506104a36004803603602081101561049357600080fd5b50356001600160a01b0316611552565b60408051998a5260208a0198909852888801969096526001600160a01b039485166060890152929093166080870152151560a086015290151560c0850152151560e0840152151561010083015251908190036101200190f35b34801561050857600080fd5b506102356004803603608081101561051f57600080fd5b506001600160a01b038135811691602081013582169160408201359160600135166115c1565b34801561055157600080fd5b506102356004803603602081101561056857600080fd5b50356001600160a01b0316611716565b34801561058457600080fd5b506105a26004803603602081101561059b57600080fd5b5035611ada565b604080516001600160a01b039092168252519081900360200190f35b3480156105ca57600080fd5b50610235600480360360408110156105e157600080fd5b506001600160a01b0381351690602001351515611b01565b6102356004803603606081101561060f57600080fd5b506001600160a01b03813581169160208101359160409091013516611d84565b34801561063b57600080fd5b506102356004803603608081101561065257600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561068d57600080fd5b82018360208201111561069f57600080fd5b803590602001918460018302840111640100000000831117156106c157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061252b945050505050565b34801561070e57600080fd5b506102356004803603604081101561072557600080fd5b506001600160a01b0381351690602001356129d1565b34801561074757600080fd5b506102356004803603606081101561075e57600080fd5b506001600160a01b03813516906020810135151590604001351515612aa0565b34801561078a57600080fd5b50610235600480360360408110156107a157600080fd5b506001600160a01b038135169060200135612c65565b3480156107c357600080fd5b50610235600480360360408110156107da57600080fd5b506001600160a01b0381351690602001351515612d34565b3480156107fe57600080fd5b506108356004803603606081101561081557600080fd5b506001600160a01b03813581169160208101359091169060400135612e1c565b604080519115158252519081900360200190f35b34801561085557600080fd5b5061085e612fac565b60408051918252519081900360200190f35b34801561087c57600080fd5b506102356004803603604081101561089357600080fd5b506001600160a01b0381351690602001351515612fb1565b3480156108b757600080fd5b50610235600480360360808110156108ce57600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135613099565b34801561090057600080fd5b506102356004803603608081101561091757600080fd5b506001600160a01b038135169060208101359060408101359060600135613248565b34801561094557600080fd5b506102356004803603604081101561095c57600080fd5b506001600160a01b0381351690602001351515613391565b34801561098057600080fd5b506109a76004803603602081101561099757600080fd5b50356001600160a01b03166134cc565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b3480156109eb57600080fd5b5061023560048036036020811015610a0257600080fd5b50356001600160a01b0316613729565b348015610a1e57600080fd5b506105a261386e565b348015610a3357600080fd5b5061023560048036036080811015610a4a57600080fd5b5080356001600160a01b0316906020810135906040810135906060013561ffff1661387d565b348015610a7c57600080fd5b5061023560048036036040811015610a9357600080fd5b506001600160a01b0381358116916020013516613efc565b348015610ab757600080fd5b5061085e6141f8565b348015610acc57600080fd5b5061085e60048036036020811015610ae357600080fd5b50356001600160a01b03166141fe565b61023560048036036060811015610b0957600080fd5b5080356001600160a01b0316906020810135906040013561ffff16614225565b348015610b3557600080fd5b5061023560048036036040811015610b4c57600080fd5b506001600160a01b0381351690602001356144ac565b348015610b6e57600080fd5b5061023560048036036020811015610b8557600080fd5b50356001600160a01b031661457b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610bc957508115155b925050505b919050565b60005460ff16610c18576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff1916815560355460408051632c1a75cd60e11b815290516001600160a01b0390921691635834eb9a91600480820192602092909190829003018186803b158015610c6757600080fd5b505afa158015610c7b573d6000803e3d6000fd5b505050506040513d6020811015610c9157600080fd5b5051604080516001600160a01b038981166024830152888116604483015287811660648301526084820187905285151560a4808401919091528351808403909101815260c490920183526020820180516001600160e01b031662a718a960e01b17815292518251949550600094606094928716939282918083835b60208310610d2b5780518252601f199092019160209182019101610d0c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610d8b576040519150601f19603f3d011682016040523d82523d6000602084013e610d90565b606091505b509150915081610dcc576040805162461bcd60e51b81526020600482015260026024820152610c8d60f21b604482015290519081900360640190fd5b60006060828060200190516040811015610de557600080fd5b815160208301805160405192949293830192919084640100000000821115610e0c57600080fd5b908301906020820185811115610e2157600080fd5b8251640100000000811182820188101715610e3b57600080fd5b82525081516020918201929091019080838360005b83811015610e68578181015183820152602001610e50565b50505050905090810190601f168015610e955780820380516001836020036101000a031916815260200191505b506040525050509150915081600014610f8b57806040516020018082805190602001908083835b60208310610edb5780518252601f199092019160209182019101610ebc565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f190183529384905262461bcd60e51b84526004840181815282516024860152825192965094508493604401925085019080838360005b83811015610f50578181015183820152602001610f38565b50505050905090810190601f168015610f7d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50506000805460ff191660011790555050505050505050565b60606039805480602002602001604051908101604052809291908181526020018280548015610ffc57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610fde575b5050505050905090565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561104a57600080fd5b505afa15801561105e573d6000803e3d6000fd5b505050506040513d602081101561107457600080fd5b50516001600160a01b0316146110b6576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b039182166000908152603760205260409020600d0180546001600160a01b03191691909216179055565b6001600160a01b03808316600081815260376020908152604080832086861680855260388452828520958552948352818420600c82015483516370a0823160e01b815260048101979097529251949687968796879687968796879687968796879693959294909116926370a0823192602480840193919291829003018186803b15801561117357600080fd5b505afa158015611187573d6000803e3d6000fd5b505050506040513d602081101561119d57600080fd5b50519b5060006111ac826146ac565b90508173__$259b519ec4c35fa58681035973c79c801a$__634b170a5a9091856040518363ffffffff1660e01b8152600401808381526020018281526020019250505060606040518083038186803b15801561120757600080fd5b505af415801561121b573d6000803e3d6000fd5b505050506040513d606081101561123157600080fd5b5080516020909101519c509a50600181600281111561124c57fe5b141561125e578160030154985061127a565b600281600281111561126c57fe5b141561127a57826004015498505b80600281111561128657fe5b99508260010154975081600201549650816001015495508160040160009054906101000a900464ffffffffff1664ffffffffff1694508160040160059054906101000a900460ff1693505050509295989b9194979a5092959850565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561132657600080fd5b505afa15801561133a573d6000803e3d6000fd5b505050506040513d602081101561135057600080fd5b50516001600160a01b031614611392576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b03909116600090815260376020526040902060090155565b6000806000806000806000806000806113c861551b565b506001600160a01b03808c16600081815260376020908152604091829020825161028081018452815481526001820154928101929092526002810154928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e082015260088201546101008201526009820154610120820152600a820154610140820152600b820154610160820152600c8201548416610180820152600d909101549283166101a082015264ffffffffff600160a01b8404166101c082015260ff600160c81b8404811615156101e0830152600160d01b840481161515610200830152600160d81b840481161515610220830152600160e01b840481161515610240830152600160e81b9093049092161515610260830152611502903063ffffffff6146d816565b81604001518260600151836020015184608001518560a001518660c0015187600001518860e00151896101c001519a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b6001600160a01b03908116600090815260376020526040902060088101546009820154600a830154600d840154600c90940154929591949093808216939091169160ff600160d01b8304811692600160c81b8104821692600160d81b8204831692600160e01b90920490911690565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561160557600080fd5b505afa158015611619573d6000803e3d6000fd5b505050506040513d602081101561162f57600080fd5b50516001600160a01b031614611671576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b0380851660009081526037602052604080822081516304dda73560e21b8152600481019190915286841660248201526044810186905292841660648401525173__$2ec35834968386f54fa313129cf94664e4$__926313769cd4926084808301939192829003018186803b1580156116ef57600080fd5b505af4158015611703573d6000803e3d6000fd5b5050505061171084614782565b50505050565b60005460ff1661175b576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff191681556001600160a01b0382168082526037602090815260408084203385526038835281852093855292909152808320815163258b852d60e11b8152600481018290526024810184905291519293909290918291829173__$259b519ec4c35fa58681035973c79c801a$__91634b170a5a91604480820192606092909190829003018186803b1580156117f457600080fd5b505af4158015611808573d6000803e3d6000fd5b505050506040513d606081101561181e57600080fd5b50805160208201516040909201519094509092509050600061183f856146ac565b905073__$69254465eb8f179ea24caa73cf68b23524$__631567ffa1878786856040518563ffffffff1660e01b81526004018085815260200184815260200183815260200182600281111561189057fe5b60ff16815260200194505050505060006040518083038186803b1580156118b657600080fd5b505af41580156118ca573d6000803e3d6000fd5b505050508573__$5e6137a1b5a0a366e2874209b5abf71c10$__63a717d1959091878a8888876040518763ffffffff1660e01b815260040180878152602001868152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200182600281111561193f57fe5b60ff168152602001965050505050505060006040518083038186803b15801561196757600080fd5b505af415801561197b573d6000803e3d6000fd5b505050508473__$259b519ec4c35fa58681035973c79c801a$__63310266f690918885856040518563ffffffff1660e01b8152600401808581526020018481526020018381526020018260028111156119d057fe5b60ff16815260200194505050505060206040518083038186803b1580156119f657600080fd5b505af4158015611a0a573d6000803e3d6000fd5b505050506040513d6020811015611a2057600080fd5b50611a369050868860008063ffffffff61482516565b6000611a41866146ac565b9050336001600160a01b0389167fb3e2773606abfd36b5bd91394b3a54d1398336c65005baf7bf7a05efeffaf75b836002811115611a7b57fe5b6001856002811115611a8957fe5b14611a98578a60040154611a9e565b89600301545b604080519283526020830191909152818101889052426060830152519081900360800190a350506000805460ff19166001179055505050505050565b60398181548110611ae757fe5b6000918252602090912001546001600160a01b0316905081565b60005460ff16611b46576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff191681556001600160a01b038084168083526037602081815260408086203387526038808452828820958852948352958190206035548251631f94a27560e31b81529251919673__$69254465eb8f179ea24caa73cf68b23524$__9663d73dac72968a968d9691959294603994169263fca513a8926004808201939291829003018186803b158015611bdd57600080fd5b505afa158015611bf1573d6000803e3d6000fd5b505050506040513d6020811015611c0757600080fd5b50516040516001600160e01b031960e089901b168152600481018781526001600160a01b0380881660248401526044830187905260648301869052831660a483015260c060848301908152845460c484018190529192909160e49091019085908015611c9c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611c7e575b505097505050505050505060006040518083038186803b158015611cbf57600080fd5b505af4158015611cd3573d6000803e3d6000fd5b50505060048201805485158015650100000000000265ff000000000019909216919091179091559050611d3a5760405133906001600160a01b038616907e058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f290600090a3611d71565b60405133906001600160a01b038616907f44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd90600090a35b50506000805460ff191660011790555050565b60005460ff16611dc9576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff19169055611ddb6155d7565b6001600160a01b038085166000818152603760209081526040808320948716835260388252808320938352929052819020815163258b852d60e11b815260048101829052602481018490529151909173__$259b519ec4c35fa58681035973c79c801a$__91634b170a5a91604480820192606092909190829003018186803b158015611e6657600080fd5b505af4158015611e7a573d6000803e3d6000fd5b505050506040513d6060811015611e9057600080fd5b5080516020808301516040938401519387019390935285018290528452600282015460c08501819052611ec9919063ffffffff6149bd16565b60608401526000198514801590611ee35750826060015185105b15611ef057606083018590525b602083015160608401516040805163fa30ba4f60e01b8152600481018690526001600160a01b03808b166024830152604482018a905288166064820152608481019390935260a48301919091523460c48301525173__$69254465eb8f179ea24caa73cf68b23524$__9163fa30ba4f9160e4808301926000929190829003018186803b158015611f7f57600080fd5b505af4158015611f93573d6000803e3d6000fd5b505050508260c001518360600151116121ff57604080840151815163f67484c560e01b815260048101859052602481018490526001600160a01b03891660448201526000606482018190526084820192909252915173__$5e6137a1b5a0a366e2874209b5abf71c10$__9263f67484c59260a4808301939192829003018186803b15801561202057600080fd5b505af4158015612034573d6000803e3d6000fd5b50505050606083015160408085015181516301a5a06360e11b815260048101859052602481018690526000604482018190526064820194909452608481019190915260a48101839052905173__$259b519ec4c35fa58681035973c79c801a$__9263034b40c69260c48082019391829003018186803b1580156120b657600080fd5b505af41580156120ca573d6000803e3d6000fd5b506120e4925084915088905060008063ffffffff61482516565b61218133603560009054906101000a90046001600160a01b03166001600160a01b031663ee8912966040518163ffffffff1660e01b815260040160206040518083038186803b15801561213657600080fd5b505afa15801561214a573d6000803e3d6000fd5b505050506040513d602081101561216057600080fd5b505160608601516001600160a01b038a16929190600163ffffffff614a1e16565b336001600160a01b0316846001600160a01b0316876001600160a01b03167fb718f0b14f03d8c3adf35b15e3da52421b042ac879e5a689011a8b1e0036773d600087606001518860400151426040518085815260200184815260200183815260200182815260200194505050505060405180910390a4505050612519565b60c083015160608401516122189163ffffffff614c0a16565b60808401819052604080850151815163f67484c560e01b815260048101869052602481018590526001600160a01b038a166044820152606481019390935260848301525173__$5e6137a1b5a0a366e2874209b5abf71c10$__9163f67484c59160a4808301926000929190829003018186803b15801561229757600080fd5b505af41580156122ab573d6000803e3d6000fd5b50505050608083015160c0840151604080860151602087015182516301a5a06360e11b81526004810187905260248101889052604481018690526064810194909452608484019190915290921460a4820152905173__$259b519ec4c35fa58681035973c79c801a$__9163034b40c69160c4808301926000929190829003018186803b15801561233a57600080fd5b505af415801561234e573d6000803e3d6000fd5b505050608084015161236c915083908890600063ffffffff61482516565b60c0830151156124135761241333603560009054906101000a90046001600160a01b03166001600160a01b031663ee8912966040518163ffffffff1660e01b815260040160206040518083038186803b1580156123c857600080fd5b505afa1580156123dc573d6000803e3d6000fd5b505050506040513d60208110156123f257600080fd5b505160c08601516001600160a01b038a16929190600063ffffffff614a1e16565b6080830151612434906001600160a01b03881690600063ffffffff614c4c16565b612446866001600160a01b0316614d71565b1561249c576000612478846080015161246c8660c0015134614c0a90919063ffffffff16565b9063ffffffff614c0a16565b9050801561249a5761249a6001600160a01b038816338363ffffffff614da716565b505b336001600160a01b0316846001600160a01b0316876001600160a01b03167fb718f0b14f03d8c3adf35b15e3da52421b042ac879e5a689011a8b1e0036773d86608001518760c001518860400151426040518085815260200184815260200183815260200182815260200194505050505060405180910390a45050505b50506000805460ff1916600117905550565b60005460ff16612570576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff19169055612582615614565b6001600160a01b0384166000818152603760205260409020906125ab903063ffffffff6146d816565b82526125d06127106125c486600963ffffffff614e2916565b9063ffffffff614e8216565b606083018190526125f190612710906125c490610bb863ffffffff614e2916565b60808301528151841115612631576040805162461bcd60e51b8152602060048201526002602482015261191b60f11b604482015290519081900360640190fd5b60008260600151118015612649575060008260800151115b61267f576040805162461bcd60e51b8152602060048201526002602482015261323760f01b604482015290519081900360640190fd5b858061269b6001600160a01b038816828863ffffffff614da716565b816001600160a01b031663ee87255888888760600151896040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561272257818101518382015260200161270a565b50505050905090810190601f16801561274f5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561277157600080fd5b505af1158015612785573d6000803e3d6000fd5b50600092506127a69150506001600160a01b0389163063ffffffff6146d816565b606086015186519192506127c0919063ffffffff6149bd16565b81146127f8576040805162461bcd60e51b8152602060048201526002602482015261064760f31b604482015290519081900360640190fd5b8373__$5e6137a1b5a0a366e2874209b5abf71c10$__63a023726490918a88600001516128368a608001518b60600151614c0a90919063ffffffff16565b8a608001516040518663ffffffff1660e01b815260040180868152602001856001600160a01b03166001600160a01b031681526020018481526020018381526020018281526020019550505050505060006040518083038186803b15801561289d57600080fd5b505af41580156128b1573d6000803e3d6000fd5b5050505061294e603560009054906101000a90046001600160a01b03166001600160a01b031663ee8912966040518163ffffffff1660e01b815260040160206040518083038186803b15801561290657600080fd5b505afa15801561291a573d6000803e3d6000fd5b505050506040513d602081101561293057600080fd5b505160808701516001600160a01b038b16919063ffffffff614da716565b876001600160a01b0316896001600160a01b03167f5b8f46461c1dd69fb968f1a003acee221ea3e19540e350233b612ddb43433b558988606001518960800151426040518085815260200184815260200183815260200182815260200194505050505060405180910390a350506000805460ff1916600117905550505050505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015612a1557600080fd5b505afa158015612a29573d6000803e3d6000fd5b505050506040513d6020811015612a3f57600080fd5b50516001600160a01b031614612a81576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b039091166000908152603760205260409020600b0155565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015612ae457600080fd5b505afa158015612af8573d6000803e3d6000fd5b505050506040513d6020811015612b0e57600080fd5b50516001600160a01b031614612b50576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b8115612be1576001600160a01b0383166000908152603760205260408082208151637b1dd5df60e11b815260048101919091528315156024820152905173__$2ec35834968386f54fa313129cf94664e4$__9263f63babbe9260448082019391829003018186803b158015612bc457600080fd5b505af4158015612bd8573d6000803e3d6000fd5b50505050612c60565b6001600160a01b03831660009081526037602052604080822081516372efab5360e11b81526004810191909152905173__$2ec35834968386f54fa313129cf94664e4$__9263e5df56a69260248082019391829003018186803b158015612c4757600080fd5b505af4158015612c5b573d6000803e3d6000fd5b505050505b505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015612ca957600080fd5b505afa158015612cbd573d6000803e3d6000fd5b505050506040513d6020811015612cd357600080fd5b50516001600160a01b031614612d15576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b039091166000908152603760205260409020600a0155565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015612d7857600080fd5b505afa158015612d8c573d6000803e3d6000fd5b505050506040513d6020811015612da257600080fd5b50516001600160a01b031614612de4576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b039091166000908152603760205260409020600d018054911515600160d81b0260ff60d81b19909216919091179055565b600073__$7347ff53b2b46c21e26a37164ae7f6739f$__634d9afd5e858585603760386039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b158015612e8f57600080fd5b505afa158015612ea3573d6000803e3d6000fd5b505050506040513d6020811015612eb957600080fd5b505160405160e089811b6001600160e01b03191682526001600160a01b0389811660048401908152898216602485015260448401899052606484018890526084840187905290841660c484015260a48301918252845460e484018190529092610104019085908015612f5457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612f36575b50509850505050505050505060206040518083038186803b158015612f7857600080fd5b505af4158015612f8c573d6000803e3d6000fd5b505050506040513d6020811015612fa257600080fd5b5051949350505050565b600281565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015612ff557600080fd5b505afa158015613009573d6000803e3d6000fd5b505050506040513d602081101561301f57600080fd5b50516001600160a01b031614613061576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b039091166000908152603760205260409020600d018054911515600160e81b0260ff60e81b19909216919091179055565b60005460ff166130de576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff191681556001600160a01b038086168083526037602090815260408085209388168552603882528085208386529091528084208151630d9e1f7160e11b81526004810185905260248101939093526044830187905290519293909273__$69254465eb8f179ea24caa73cf68b23524$__92631b3c3ee2926064808301939192829003018186803b15801561317757600080fd5b505af415801561318b573d6000803e3d6000fd5b5050505082600014156131aa5760048101805465ff0000000000191690555b6131b382614ec4565b6131c6828760008763ffffffff61482516565b6131e06001600160a01b038716868663ffffffff614da716565b846001600160a01b0316866001600160a01b03167f9c4ed599cd8555b9c1e8cd7643240d7d71eb76b792948c49fcb4d411f7b6b3c68642604051808381526020018281526020019250505060405180910390a350506000805460ff1916600117905550505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561328c57600080fd5b505afa1580156132a0573d6000803e3d6000fd5b505050506040513d60208110156132b657600080fd5b50516001600160a01b0316146132f8576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b038416600090815260376020526040808220815163126ee27360e11b81526004810191909152602481018690526044810185905260648101849052905173__$2ec35834968386f54fa313129cf94664e4$__926324ddc4e69260848082019391829003018186803b15801561337357600080fd5b505af4158015613387573d6000803e3d6000fd5b5050505050505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b1580156133d557600080fd5b505afa1580156133e9573d6000803e3d6000fd5b505050506040513d60208110156133ff57600080fd5b50516001600160a01b031614613441576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b03821660009081526037602052604090208180156134665750805415155b8015613476575060008160070154115b6134ac576040805162461bcd60e51b8152602060048201526002602482015261323960f01b604482015290519081900360640190fd5b600d018054911515600160e01b0260ff60e01b1990921691909117905550565b600080600080600080600073__$7347ff53b2b46c21e26a37164ae7f6739f$__63901d711489603760386039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b15801561354657600080fd5b505afa15801561355a573d6000803e3d6000fd5b505050506040513d602081101561357057600080fd5b50516040516001600160e01b031960e088901b1681526001600160a01b03808716600483019081526024830187905260448301869052908316608483015260a060648301908152845460a484018190529192909160c4909101908590801561360157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116135e3575b5050965050505050505060c06040518083038186803b15801561362357600080fd5b505af4158015613637573d6000803e3d6000fd5b505050506040513d60c081101561364d57600080fd5b5080516020808301516040808501516060860151608090960151603654835163ab8bb39360e01b8152600481018890526024810186905260448101849052606481018990526001600160a01b0390911660848201529251959d50929b5099509096509294506000935073__$7347ff53b2b46c21e26a37164ae7f6739f$__9263ab8bb3939260a48083019392829003018186803b1580156136ed57600080fd5b505af4158015613701573d6000803e3d6000fd5b505050506040513d602081101561371757600080fd5b50519698959750939594919390925090565b6000613733614f5b565b60025490915060ff168061374a575061374a614f60565b80613756575060015481115b6137915760405162461bcd60e51b815260040180806020018281038252602e81526020018061574b602e913960400191505060405180910390fd5b60025460ff161580156137b2576002805460ff191660019081179091558290555b603580546001600160a01b0319166001600160a01b03858116919091179182905560408051633efbbf0f60e21b81529051929091169163fbeefc3c91600480820192602092909190829003018186803b15801561380e57600080fd5b505afa158015613822573d6000803e3d6000fd5b505050506040513d602081101561383857600080fd5b5051603680546001600160a01b0319166001600160a01b039092169190911790558015612c60576002805460ff19169055505050565b6035546001600160a01b031681565b60005460ff166138c2576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff191681556001600160a01b0380861680835260376020908152604080852033808752603884528287209487529383528186206036548351630e563a7d60e41b81526004810196909652602486018b9052925191969095909492169263e563a7d09260448082019391829003018186803b15801561394457600080fd5b505afa158015613958573d6000803e3d6000fd5b505050506040513d602081101561396e57600080fd5b5051600b840154909150600090613a9190600a0a6125c46139958a8663ffffffff6149bd16565b603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b1580156139e357600080fd5b505afa1580156139f7573d6000803e3d6000fd5b505050506040513d6020811015613a0d57600080fd5b50516040805163b3596f0760e01b81526001600160a01b038f811660048301529151919092169163b3596f07916024808301926020929190829003018186803b158015613a5957600080fd5b505afa158015613a6d573d6000803e3d6000fd5b505050506040513d6020811015613a8357600080fd5b50519063ffffffff614e2916565b905073__$69254465eb8f179ea24caa73cf68b23524$__634c20618285858b8b868c896019603760386039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b158015613b0a57600080fd5b505afa158015613b1e573d6000803e3d6000fd5b505050506040513d6020811015613b3457600080fd5b50516040516001600160e01b031960e08f901b168152600481018d8152602482018d90526001600160a01b03808d166044840152606483018c9052608483018b905260a483018a905260c4830189905260e48301889052610104830187905261012483018690528316610164830152610180610144830190815284546101848401819052919290916101a49091019085908015613bfa57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613bdc575b50509d505050505050505050505050505060006040518083038186803b158015613c2357600080fd5b505af4158015613c37573d6000803e3d6000fd5b505050506000808473__$259b519ec4c35fa58681035973c79c801a$__634b170a5a9091886040518363ffffffff1660e01b8152600401808381526020018281526020019250505060606040518083038186803b158015613c9757600080fd5b505af4158015613cab573d6000803e3d6000fd5b505050506040513d6060811015613cc157600080fd5b508051604090910151909250905073__$5e6137a1b5a0a366e2874209b5abf71c10$__63a590d4f2878785858e8e6002811115613cfa57fe5b6040518763ffffffff1660e01b815260040180878152602001868152602001858152602001848152602001838152602001826002811115613d3757fe5b60ff168152602001965050505050505060006040518083038186803b158015613d5f57600080fd5b505af4158015613d73573d6000803e3d6000fd5b505050508473__$259b519ec4c35fa58681035973c79c801a$__6390394c699091888c85898e6002811115613da457fe5b6040518763ffffffff1660e01b815260040180878152602001868152602001858152602001848152602001838152602001826002811115613de157fe5b60ff168152602001965050505050505060006040518083038186803b158015613e0957600080fd5b505af4158015613e1d573d6000803e3d6000fd5b50613e3792508891508c905060008c63ffffffff61482516565b613e516001600160a01b038b16338b63ffffffff614da716565b61ffff8716336001600160a01b038c167f1e77446728e5558aa1b7e81e0cdab9cc1b075ba893b740600c76a315c2caa5538c8c60018e6002811115613e9257fe5b6002811115613e9d57fe5b14613eac578b60040154613eb2565b8a600301545b60408051938452602084019290925282820152606082018a9052608082018790524260a0830152519081900360c00190a450506000805460ff191660011790555050505050505050565b60005460ff16613f41576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff191681556001600160a01b03808416808352603760209081526040808520938616855260388252808520928552919052808320815163258b852d60e11b815260048101829052602481018490529151929390929091829173__$259b519ec4c35fa58681035973c79c801a$__91634b170a5a916044808301926060929190829003018186803b158015613fd957600080fd5b505af4158015613fed573d6000803e3d6000fd5b505050506040513d606081101561400357600080fd5b5060208101516040909101519092509050816140505760405162461bcd60e51b815260040180806020018281038252602e815260200180615664602e913960400191505060405180910390fd5b600161405b846146ac565b600281111561406657fe5b146140a25760405162461bcd60e51b81526004018080602001828103825260348152602001806156c76034913960400191505060405180910390fd5b60006140db6140ca6aa56fa5b99019a5c80000006140be614f66565b9063ffffffff6149bd16565b60058701549063ffffffff614f7616565b90508460010154846003015410806140f65750808460030154115b156141b057600061410f86868a8663ffffffff614fae16565b8554909150614124908463ffffffff6149bd16565b85556005860154600386015560048501805464ffffffffff19164264ffffffffff161790556141568689600080614825565b6040805182815260208101859052428183015290516001600160a01b03808a1692908b16917f5050ad184862424ee0852d1838d355ad65bed1e5e6da67ac9a2dac1922677f609181900360600190a35050505050506141e7565b60405162461bcd60e51b815260040180806020018281038252602f8152602001806156fb602f913960400191505060405180910390fd5b50506000805460ff19166001179055565b60001981565b6001600160a01b038116600090815260376020526040812061421f90614fd9565b92915050565b60005460ff1661426a576040805162461bcd60e51b815260206004820152601f6024820152600080516020615644833981519152604482015290519081900360640190fd5b6000805460ff191681556001600160a01b0384168082526037602090815260408084203385526038835281852093855292909152808320815163664f158360e01b8152600481018490526024810187905291519293909273__$69254465eb8f179ea24caa73cf68b23524$__9263664f1583926044808301939192829003018186803b1580156142f957600080fd5b505af415801561430d573d6000803e3d6000fd5b505050600c830154604080516370a0823160e01b815233600482015290516001600160a01b03909216925060009183916370a08231916024808301926020929190829003018186803b15801561436257600080fd5b505afa158015614376573d6000803e3d6000fd5b505050506040513d602081101561438c57600080fd5b505115905061439a84614ec4565b6143ad848888600063ffffffff61482516565b80156143cd5760048301805465ff00000000001916650100000000001790555b604080516394362e8b60e01b81523360048201526024810188905290516001600160a01b038416916394362e8b91604480830192600092919082900301818387803b15801561441b57600080fd5b505af115801561442f573d6000803e3d6000fd5b50614449925050506001600160a01b038816876001614c4c565b60408051878152426020820152815161ffff88169233926001600160a01b038c16927fc12c57b1c73a2c3a2ea4613e9476abb3d8d146857aab7329e24243fb59710c82929181900390910190a450506000805460ff191660011790555050505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b1580156144f057600080fd5b505afa158015614504573d6000803e3d6000fd5b505050506040513d602081101561451a57600080fd5b50516001600160a01b03161461455c576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b03909116600090815260376020526040902060080155565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b1580156145bf57600080fd5b505afa1580156145d3573d6000803e3d6000fd5b505050506040513d60208110156145e957600080fd5b50516001600160a01b03161461462b576040805162461bcd60e51b8152602060048201526002602482015261033360f41b604482015290519081900360640190fd5b6001600160a01b038116600090815260376020526040808220815163041e0b2d60e51b81526004810191909152905173__$2ec35834968386f54fa313129cf94664e4$__926383c165a09260248082019391829003018186803b15801561469157600080fd5b505af41580156146a5573d6000803e3d6000fd5b5050505050565b80546000906146bd57506000610bce565b60008260030154116146d057600261421f565b506001919050565b60006146e383614d71565b156146f957506001600160a01b0381163161421f565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561474f57600080fd5b505afa158015614763573d6000803e3d6000fd5b505050506040513d602081101561477957600080fd5b50519392505050565b6000805b6039548110156147cf57826001600160a01b0316603982815481106147a757fe5b6000918252602090912001546001600160a01b031614156147c757600191505b600101614786565b508061482157603980546001810182556000919091527fdc16fef70f8d5ddbc01ee3d903d1e69c18a3c7be080eb86a81e0578814ee58d30180546001600160a01b0319166001600160a01b0384161790555b5050565b6006840154600d850154600090819081906001600160a01b03908116906357e37af090899061486890899061246c908c906140be9086163063ffffffff6146d816565b8b600201548c60030154896040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b031681526020018581526020018481526020018381526020018281526020019550505050505060606040518083038186803b1580156148d557600080fd5b505afa1580156148e9573d6000803e3d6000fd5b505050506040513d60608110156148ff57600080fd5b50805160208083015160409384015160018d0184905560058d0182905560048d01819055600d8d01805464ffffffffff4216600160a01b0264ffffffffff60a01b199091161790558c5460078e015486518681529485018490528487018b905260608501839052608085019190915260a0840152935192965094509192506001600160a01b038916917f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a4919081900360c00190a25050505050505050565b600082820183811015614a17576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b81614a28576146a5565b614a3185614d71565b15614bef5781341015614a755760405162461bcd60e51b815260040180806020018281038252602a815260200180615779602a913960400191505060405180910390fd5b6001600160a01b0383163014614b28576040516000906001600160a01b0385169061c35090859084818181858888f193505050503d8060008114614ad5576040519150601f19603f3d011682016040523d82523d6000602084013e614ada565b606091505b5050905080614b26576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b505b808015614b3457508134115b15614bea5760006001600160a01b038516614b55348563ffffffff614c0a16565b60405161c35091906000818181858888f193505050503d8060008114614b97576040519150601f19603f3d011682016040523d82523d6000602084013e614b9c565b606091505b5050905080614be8576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b505b6146a5565b6146a56001600160a01b03861685858563ffffffff61501316565b6000614a1783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061506d565b81614c5657612c60565b614c5f83614d71565b15614d565781341015614ca35760405162461bcd60e51b81526004018080602001828103825260358152602001806156926035913960400191505060405180910390fd5b8015614d5157600033614cbc348563ffffffff614c0a16565b60405161c35091906000818181858888f193505050503d8060008114614cfe576040519150601f19603f3d011682016040523d82523d6000602084013e614d03565b606091505b5050905080614d4f576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b505b612c60565b612c606001600160a01b03841633308563ffffffff61501316565b60006001600160a01b038216158061421f5750506001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1490565b80614db157612c60565b614dba83614d71565b15614e0f576040516000906001600160a01b0384169061c35090849084818181858888f193505050503d8060008114614cfe576040519150601f19603f3d011682016040523d82523d6000602084013e614d03565b612c606001600160a01b038416838363ffffffff6150c716565b600082614e385750600061421f565b82820282848281614e4557fe5b0414614a175760405162461bcd60e51b815260040180806020018281038252602181526020018061572a6021913960400191505060405180910390fd5b6000614a1783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250615119565b6000614ecf8261517e565b90508015614821576001820154600d830154600091614efb91600160a01b900464ffffffffff1661519b565b8354909150614f1190829063ffffffff614f7616565b83556004830154600d840154600091614f3791600160a01b900464ffffffffff16615204565b9050614f50846007015482614f7690919063ffffffff16565b600785015550505050565b600290565b303b1590565b6b033b2e3c9fd0803ce800000090565b6000614a176b033b2e3c9fd0803ce80000006125c4614f9b868663ffffffff614e2916565b6b019d971e4fe8401e74000000906149bd565b6000614fb985614ec4565b6003840154614fd1908690849063ffffffff61526016565b949350505050565b600080614a178360000154615007856001015486600d0160149054906101000a900464ffffffffff1661519b565b9063ffffffff614f7616565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117109085906152d0565b600081848411156150bf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f50578181015183820152602001610f38565b505050900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612c609084906152d0565b600081836151685760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f50578181015183820152602001610f38565b50600083858161517457fe5b0495945050505050565b600061421f826003015483600201546149bd90919063ffffffff16565b6000806151b54264ffffffffff851663ffffffff614c0a16565b905060006151de6151c96301e13380615488565b6151d284615488565b9063ffffffff61549e16565b90506151fb6151eb614f66565b6140be878463ffffffff614f7616565b95945050505050565b60008061521e4264ffffffffff851663ffffffff614c0a16565b90506000615236856301e1338063ffffffff614e8216565b90506151fb82615254615247614f66565b849063ffffffff6149bd16565b9063ffffffff6154c116565b6002830154615275818463ffffffff6149bd16565b600285015560006152898361500786615488565b9050600061529e866006015461500785615488565b90506152c06152b08760020154615488565b6151d2848463ffffffff6149bd16565b8660060181905550505050505050565b6152e2826001600160a01b0316610b95565b615333576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106153715780518252601f199092019160209182019101615352565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146153d3576040519150601f19603f3d011682016040523d82523d6000602084013e6153d8565b606091505b50915091508161542f576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156117105780806020019051602081101561544b57600080fd5b50516117105760405162461bcd60e51b815260040180806020018281038252602a8152602001806157a3602a913960400191505060405180910390fd5b600061421f82633b9aca0063ffffffff614e2916565b600060028204614fd1836125c4615247876b033b2e3c9fd0803ce8000000614e29565b6000600282066154dd576b033b2e3c9fd0803ce80000006154df565b825b90506002820491505b811561421f576154f88384614f76565b925060028206156155105761550d8184614f76565b90505b6002820491506154e8565b60405180610280016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160006001600160a01b0316815260200160006001600160a01b03168152602001600064ffffffffff1681526020016000151581526020016000151581526020016000151581526020016000151581526020016000151581525090565b6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040518060a001604052806000815260200160008152602001600081526020016000815260200160008152509056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c005573657220646f6573206e6f74206861766520616e7920626f72726f7720666f722074686973207265736572766554686520616d6f756e7420616e64207468652076616c75652073656e7420746f206465706f73697420646f206e6f74206d61746368546865207573657220626f72726f77206973207661726961626c6520616e642063616e6e6f7420626520726562616c616e636564496e746572657374207261746520726562616c616e636520636f6e646974696f6e732077657265206e6f74206d6574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656457726f6e67207573616765206f66204554482e756e6976657273616c5472616e7366657246726f6d28295361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c7e5cd71124ff03148e102149402fb838d7ab7564db7dec3d99c2024453e6cd964736f6c63430006080033";
|
|
|
|
export interface LendingPoolLibraryAddresses {
|
|
["__$259b519ec4c35fa58681035973c79c801a$__"]: string;
|
|
["__$2ec35834968386f54fa313129cf94664e4$__"]: string;
|
|
["__$69254465eb8f179ea24caa73cf68b23524$__"]: string;
|
|
["__$5e6137a1b5a0a366e2874209b5abf71c10$__"]: string;
|
|
["__$7347ff53b2b46c21e26a37164ae7f6739f$__"]: string;
|
|
}
|