@wildcatfi/wildcat-sdk 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account.d.ts +28 -1
- package/dist/account.d.ts.map +1 -1
- package/dist/account.js +97 -1
- package/dist/account.js.map +1 -1
- package/dist/constants.d.ts +3 -3
- package/dist/constants.js +3 -3
- package/dist/controller.d.ts +2 -1
- package/dist/controller.d.ts.map +1 -1
- package/dist/controller.js +7 -5
- package/dist/controller.js.map +1 -1
- package/dist/factory.d.ts +3 -2
- package/dist/factory.d.ts.map +1 -1
- package/dist/factory.js +12 -4
- package/dist/factory.js.map +1 -1
- package/dist/index.d.ts +10 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -34
- package/dist/index.js.map +1 -1
- package/dist/misc.d.ts +1 -0
- package/dist/misc.d.ts.map +1 -1
- package/dist/mockerc20factory.d.ts +2 -1
- package/dist/mockerc20factory.d.ts.map +1 -1
- package/dist/mockerc20factory.js +4 -0
- package/dist/mockerc20factory.js.map +1 -1
- package/dist/token.d.ts +2 -1
- package/dist/token.d.ts.map +1 -1
- package/dist/token.js +7 -1
- package/dist/token.js.map +1 -1
- package/dist/typechain/VaultLens.d.ts +147 -24
- package/dist/typechain/VaultLens.d.ts.map +1 -1
- package/dist/typechain/WildcatVaultController.d.ts +27 -27
- package/dist/typechain/WildcatVaultController.d.ts.map +1 -1
- package/dist/typechain/WildcatVaultFactory.d.ts +30 -6
- package/dist/typechain/WildcatVaultFactory.d.ts.map +1 -1
- package/dist/typechain/WildcatVaultToken.d.ts +130 -33
- package/dist/typechain/WildcatVaultToken.d.ts.map +1 -1
- package/dist/typechain/factories/IERC20__factory.d.ts +16 -10
- package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -1
- package/dist/typechain/factories/IERC20__factory.js +17 -10
- package/dist/typechain/factories/IERC20__factory.js.map +1 -1
- package/dist/typechain/factories/VaultLens__factory.d.ts +1197 -82
- package/dist/typechain/factories/VaultLens__factory.d.ts.map +1 -1
- package/dist/typechain/factories/VaultLens__factory.js +1565 -145
- package/dist/typechain/factories/VaultLens__factory.js.map +1 -1
- package/dist/typechain/factories/WildcatVaultController__factory.d.ts +25 -50
- package/dist/typechain/factories/WildcatVaultController__factory.d.ts.map +1 -1
- package/dist/typechain/factories/WildcatVaultController__factory.js +29 -68
- package/dist/typechain/factories/WildcatVaultController__factory.js.map +1 -1
- package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts +50 -21
- package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts.map +1 -1
- package/dist/typechain/factories/WildcatVaultFactory__factory.js +64 -31
- package/dist/typechain/factories/WildcatVaultFactory__factory.js.map +1 -1
- package/dist/typechain/factories/WildcatVaultToken__factory.d.ts +113 -38
- package/dist/typechain/factories/WildcatVaultToken__factory.d.ts.map +1 -1
- package/dist/typechain/factories/WildcatVaultToken__factory.js +138 -48
- package/dist/typechain/factories/WildcatVaultToken__factory.js.map +1 -1
- package/dist/typechain/factories/index.d.ts +2 -3
- package/dist/typechain/factories/index.d.ts.map +1 -1
- package/dist/typechain/factories/index.js +7 -6
- package/dist/typechain/factories/index.js.map +1 -1
- package/dist/typechain/factories/mock/MockERC20Factory__factory.d.ts +1 -1
- package/dist/typechain/factories/mock/MockERC20Factory__factory.d.ts.map +1 -1
- package/dist/typechain/factories/mock/MockERC20Factory__factory.js +1 -1
- package/dist/typechain/factories/mock/MockERC20Factory__factory.js.map +1 -1
- package/dist/typechain/factories/mock/MockERC20__factory.d.ts +11 -1
- package/dist/typechain/factories/mock/MockERC20__factory.d.ts.map +1 -1
- package/dist/typechain/factories/mock/MockERC20__factory.js +14 -1
- package/dist/typechain/factories/mock/MockERC20__factory.js.map +1 -1
- package/dist/typechain/index.d.ts +1 -1
- package/dist/typechain/index.d.ts.map +1 -1
- package/dist/vault.d.ts +17 -2
- package/dist/vault.d.ts.map +1 -1
- package/dist/vault.js +43 -3
- package/dist/vault.js.map +1 -1
- package/package.json +1 -3
- package/dist/typechain/factories/DebtTokenBase__factory.d.ts +0 -660
- package/dist/typechain/factories/DebtTokenBase__factory.d.ts.map +0 -1
- package/dist/typechain/factories/DebtTokenBase__factory.js +0 -867
- package/dist/typechain/factories/DebtTokenBase__factory.js.map +0 -1
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { Signer
|
|
2
|
-
import type { Provider
|
|
3
|
-
import type { PromiseOrValue } from "../common";
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
4
3
|
import type { VaultLens, VaultLensInterface } from "../VaultLens";
|
|
5
|
-
|
|
6
|
-
export declare class VaultLens__factory extends ContractFactory {
|
|
7
|
-
constructor(...args: VaultLensConstructorParams);
|
|
8
|
-
deploy(overrides?: Overrides & {
|
|
9
|
-
from?: PromiseOrValue<string>;
|
|
10
|
-
}): Promise<VaultLens>;
|
|
11
|
-
getDeployTransaction(overrides?: Overrides & {
|
|
12
|
-
from?: PromiseOrValue<string>;
|
|
13
|
-
}): TransactionRequest;
|
|
14
|
-
attach(address: string): VaultLens;
|
|
15
|
-
connect(signer: Signer): VaultLens__factory;
|
|
16
|
-
static readonly bytecode = "0x608060405234801561001057600080fd5b50611c01806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631f69565f1461005c57806328b37b221461008c57806356360f71146100bc578063a0ff58f6146100ec578063a32698461461011c575b600080fd5b6100766004803603810190610071919061096f565b61014c565b6040516100839190610aec565b60405180910390f35b6100a660048036038101906100a1919061096f565b6101fc565b6040516100b39190610b50565b60405180910390f35b6100d660048036038101906100d1919061096f565b610299565b6040516100e39190610def565b60405180910390f35b61010660048036038101906101019190610e11565b610349565b6040516101139190610ea6565b60405180910390f35b61013660048036038101906101319190610f26565b6103e9565b604051610143919061123c565b60405180910390f35b610154610764565b600073ddcbbc4510156441f88d23a6ab4c64eed1775c1673ffffffffffffffffffffffffffffffffffffffff16631f69565f846040518263ffffffff1660e01b81526004016101a3919061126d565b600060405180830381865afa1580156101c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906101e991906114a4565b90506101f481610543565b915050919050565b6102046107ab565b73ddcbbc4510156441f88d23a6ab4c64eed1775c1673ffffffffffffffffffffffffffffffffffffffff166328b37b22836040518263ffffffff1660e01b8152600401610251919061126d565b606060405180830381865afa15801561026e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610292919061157d565b9050919050565b6102a16107ce565b600073ddcbbc4510156441f88d23a6ab4c64eed1775c1673ffffffffffffffffffffffffffffffffffffffff166356360f71846040518263ffffffff1660e01b81526004016102f0919061126d565b600060405180830381865afa15801561030d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610336919061180c565b9050610341816105d0565b915050919050565b6103516108d5565b73ddcbbc4510156441f88d23a6ab4c64eed1775c1673ffffffffffffffffffffffffffffffffffffffff1663a0ff58f684846040518363ffffffff1660e01b81526004016103a0929190611855565b608060405180830381865afa1580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e191906118f6565b905092915050565b6060600073ddcbbc4510156441f88d23a6ab4c64eed1775c1673ffffffffffffffffffffffffffffffffffffffff1663a326984685856040518363ffffffff1660e01b815260040161043c9291906119d7565b600060405180830381865afa158015610459573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906104829190611adc565b9050805167ffffffffffffffff81111561049f5761049e61128d565b5b6040519080825280602002602001820160405280156104d857816020015b6104c56107ce565b8152602001906001900390816104bd5790505b50915060005b815181101561053b5761050a8282815181106104fd576104fc611b25565b5b60200260200101516105d0565b83828151811061051d5761051c611b25565b5b6020026020010181905250808061053390611b83565b9150506104de565b505092915050565b61054b610764565b8160000151816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050816020015181602001819052508160400151816040018190525081606001518160600181815250506105bc826000015161073f565b816080019015159081151581525050919050565b6105d86107ce565b6040518061030001604052806105f18460000151610543565b81526020016106038460200151610543565b8152602001836040015173ffffffffffffffffffffffffffffffffffffffff168152602001836060015173ffffffffffffffffffffffffffffffffffffffff168152602001836080015173ffffffffffffffffffffffffffffffffffffffff1681526020018360a0015181526020018360c0015181526020018360e001518152602001836101000151815260200183610120015181526020018361014001511515815260200183610160015181526020018361018001518152602001836101a001518152602001836101c001518152602001836101e00151815260200183610200015181526020018361022001518152602001836102400151815260200183610260015181526020018361028001518152602001836102a0015115158152602001836102c001518152602001836102e001518152509050919050565b60006328ccaa29600052602060006004601c855afa6001600051148116915050919050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600081526020016000151581525090565b604051806060016040528060001515815260200160008152602001600081525090565b6040518061030001604052806107e2610764565b81526020016107ef610764565b8152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061093c82610911565b9050919050565b61094c81610931565b811461095757600080fd5b50565b60008135905061096981610943565b92915050565b60006020828403121561098557610984610907565b5b60006109938482850161095a565b91505092915050565b6109a581610931565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156109e55780820151818401526020810190506109ca565b60008484015250505050565b6000601f19601f8301169050919050565b6000610a0d826109ab565b610a1781856109b6565b9350610a278185602086016109c7565b610a30816109f1565b840191505092915050565b6000819050919050565b610a4e81610a3b565b82525050565b60008115159050919050565b610a6981610a54565b82525050565b600060a083016000830151610a87600086018261099c565b5060208301518482036020860152610a9f8282610a02565b91505060408301518482036040860152610ab98282610a02565b9150506060830151610ace6060860182610a45565b506080830151610ae16080860182610a60565b508091505092915050565b60006020820190508181036000830152610b068184610a6f565b905092915050565b606082016000820151610b246000850182610a60565b506020820151610b376020850182610a45565b506040820151610b4a6040850182610a45565b50505050565b6000606082019050610b656000830184610b0e565b92915050565b600060a083016000830151610b83600086018261099c565b5060208301518482036020860152610b9b8282610a02565b91505060408301518482036040860152610bb58282610a02565b9150506060830151610bca6060860182610a45565b506080830151610bdd6080860182610a60565b508091505092915050565b6000610300830160008301518482036000860152610c068282610b6b565b91505060208301518482036020860152610c208282610b6b565b9150506040830151610c35604086018261099c565b506060830151610c48606086018261099c565b506080830151610c5b608086018261099c565b5060a0830151610c6e60a0860182610a45565b5060c0830151610c8160c0860182610a45565b5060e0830151610c9460e0860182610a45565b50610100830151610ca9610100860182610a45565b50610120830151610cbe610120860182610a45565b50610140830151610cd3610140860182610a60565b50610160830151610ce8610160860182610a45565b50610180830151610cfd610180860182610a45565b506101a0830151610d126101a0860182610a45565b506101c0830151610d276101c0860182610a45565b506101e0830151610d3c6101e0860182610a45565b50610200830151610d51610200860182610a45565b50610220830151610d66610220860182610a45565b50610240830151610d7b610240860182610a45565b50610260830151610d90610260860182610a45565b50610280830151610da5610280860182610a45565b506102a0830151610dba6102a0860182610a60565b506102c0830151610dcf6102c0860182610a45565b506102e0830151610de46102e0860182610a45565b508091505092915050565b60006020820190508181036000830152610e098184610be8565b905092915050565b60008060408385031215610e2857610e27610907565b5b6000610e368582860161095a565b9250506020610e478582860161095a565b9150509250929050565b608082016000820151610e676000850182610a45565b506020820151610e7a6020850182610a45565b506040820151610e8d6040850182610a45565b506060820151610ea06060850182610a45565b50505050565b6000608082019050610ebb6000830184610e51565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610ee657610ee5610ec1565b5b8235905067ffffffffffffffff811115610f0357610f02610ec6565b5b602083019150836020820283011115610f1f57610f1e610ecb565b5b9250929050565b60008060208385031215610f3d57610f3c610907565b5b600083013567ffffffffffffffff811115610f5b57610f5a61090c565b5b610f6785828601610ed0565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610300830160008301518482036000860152610fbd8282610b6b565b91505060208301518482036020860152610fd78282610b6b565b9150506040830151610fec604086018261099c565b506060830151610fff606086018261099c565b506080830151611012608086018261099c565b5060a083015161102560a0860182610a45565b5060c083015161103860c0860182610a45565b5060e083015161104b60e0860182610a45565b50610100830151611060610100860182610a45565b50610120830151611075610120860182610a45565b5061014083015161108a610140860182610a60565b5061016083015161109f610160860182610a45565b506101808301516110b4610180860182610a45565b506101a08301516110c96101a0860182610a45565b506101c08301516110de6101c0860182610a45565b506101e08301516110f36101e0860182610a45565b50610200830151611108610200860182610a45565b5061022083015161111d610220860182610a45565b50610240830151611132610240860182610a45565b50610260830151611147610260860182610a45565b5061028083015161115c610280860182610a45565b506102a08301516111716102a0860182610a60565b506102c08301516111866102c0860182610a45565b506102e083015161119b6102e0860182610a45565b508091505092915050565b60006111b28383610f9f565b905092915050565b6000602082019050919050565b60006111d282610f73565b6111dc8185610f7e565b9350836020820285016111ee85610f8f565b8060005b8581101561122a578484038952815161120b85826111a6565b9450611216836111ba565b925060208a019950506001810190506111f2565b50829750879550505050505092915050565b6000602082019050818103600083015261125681846111c7565b905092915050565b61126781610931565b82525050565b6000602082019050611282600083018461125e565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6112c5826109f1565b810181811067ffffffffffffffff821117156112e4576112e361128d565b5b80604052505050565b60006112f76108fd565b905061130382826112bc565b919050565b600080fd5b60008151905061131c81610943565b92915050565b600080fd5b600067ffffffffffffffff8211156113425761134161128d565b5b61134b826109f1565b9050602081019050919050565b600061136b61136684611327565b6112ed565b90508281526020810184848401111561138757611386611322565b5b6113928482856109c7565b509392505050565b600082601f8301126113af576113ae610ec1565b5b81516113bf848260208601611358565b91505092915050565b6113d181610a3b565b81146113dc57600080fd5b50565b6000815190506113ee816113c8565b92915050565b60006080828403121561140a57611409611288565b5b61141460806112ed565b905060006114248482850161130d565b600083015250602082015167ffffffffffffffff81111561144857611447611308565b5b6114548482850161139a565b602083015250604082015167ffffffffffffffff81111561147857611477611308565b5b6114848482850161139a565b6040830152506060611498848285016113df565b60608301525092915050565b6000602082840312156114ba576114b9610907565b5b600082015167ffffffffffffffff8111156114d8576114d761090c565b5b6114e4848285016113f4565b91505092915050565b6114f681610a54565b811461150157600080fd5b50565b600081519050611513816114ed565b92915050565b60006060828403121561152f5761152e611288565b5b61153960606112ed565b9050600061154984828501611504565b600083015250602061155d848285016113df565b6020830152506040611571848285016113df565b60408301525092915050565b60006060828403121561159357611592610907565b5b60006115a184828501611519565b91505092915050565b600061030082840312156115c1576115c0611288565b5b6115cc6103006112ed565b9050600082015167ffffffffffffffff8111156115ec576115eb611308565b5b6115f8848285016113f4565b600083015250602082015167ffffffffffffffff81111561161c5761161b611308565b5b611628848285016113f4565b602083015250604061163c8482850161130d565b60408301525060606116508482850161130d565b60608301525060806116648482850161130d565b60808301525060a0611678848285016113df565b60a08301525060c061168c848285016113df565b60c08301525060e06116a0848285016113df565b60e0830152506101006116b5848285016113df565b610100830152506101206116cb848285016113df565b610120830152506101406116e184828501611504565b610140830152506101606116f7848285016113df565b6101608301525061018061170d848285016113df565b610180830152506101a0611723848285016113df565b6101a0830152506101c0611739848285016113df565b6101c0830152506101e061174f848285016113df565b6101e083015250610200611765848285016113df565b6102008301525061022061177b848285016113df565b61022083015250610240611791848285016113df565b610240830152506102606117a7848285016113df565b610260830152506102806117bd848285016113df565b610280830152506102a06117d384828501611504565b6102a0830152506102c06117e9848285016113df565b6102c0830152506102e06117ff848285016113df565b6102e08301525092915050565b60006020828403121561182257611821610907565b5b600082015167ffffffffffffffff8111156118405761183f61090c565b5b61184c848285016115aa565b91505092915050565b600060408201905061186a600083018561125e565b611877602083018461125e565b9392505050565b60006080828403121561189457611893611288565b5b61189e60806112ed565b905060006118ae848285016113df565b60008301525060206118c2848285016113df565b60208301525060406118d6848285016113df565b60408301525060606118ea848285016113df565b60608301525092915050565b60006080828403121561190c5761190b610907565b5b600061191a8482850161187e565b91505092915050565b600082825260208201905092915050565b6000819050919050565b600061194a838361099c565b60208301905092915050565b6000611965602084018461095a565b905092915050565b6000602082019050919050565b60006119868385611923565b935061199182611934565b8060005b858110156119ca576119a78284611956565b6119b1888261193e565b97506119bc8361196d565b925050600181019050611995565b5085925050509392505050565b600060208201905081810360008301526119f281848661197a565b90509392505050565b600067ffffffffffffffff821115611a1657611a1561128d565b5b602082029050602081019050919050565b6000611a3a611a35846119fb565b6112ed565b90508083825260208201905060208402830185811115611a5d57611a5c610ecb565b5b835b81811015611aa457805167ffffffffffffffff811115611a8257611a81610ec1565b5b808601611a8f89826115aa565b85526020850194505050602081019050611a5f565b5050509392505050565b600082601f830112611ac357611ac2610ec1565b5b8151611ad3848260208601611a27565b91505092915050565b600060208284031215611af257611af1610907565b5b600082015167ffffffffffffffff811115611b1057611b0f61090c565b5b611b1c84828501611aae565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611b8e82610a3b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611bc057611bbf611b54565b5b60018201905091905056fea264697066735822122043f03f4062b6a5458d8cc1458efde53c0f6cdc30318825bd9c4657f8c80cc36b64736f6c63430008110033";
|
|
4
|
+
export declare class VaultLens__factory {
|
|
17
5
|
static readonly abi: readonly [{
|
|
6
|
+
readonly inputs: readonly [];
|
|
7
|
+
readonly name: "factory";
|
|
8
|
+
readonly outputs: readonly [{
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}];
|
|
13
|
+
readonly stateMutability: "view";
|
|
14
|
+
readonly type: "function";
|
|
15
|
+
}, {
|
|
18
16
|
readonly inputs: readonly [{
|
|
19
17
|
readonly internalType: "address";
|
|
20
18
|
readonly name: "vault";
|
|
@@ -52,72 +50,41 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
52
50
|
}, {
|
|
53
51
|
readonly inputs: readonly [{
|
|
54
52
|
readonly internalType: "address";
|
|
55
|
-
readonly name: "
|
|
53
|
+
readonly name: "account";
|
|
56
54
|
readonly type: "address";
|
|
55
|
+
}, {
|
|
56
|
+
readonly internalType: "address[]";
|
|
57
|
+
readonly name: "vaults";
|
|
58
|
+
readonly type: "address[]";
|
|
57
59
|
}];
|
|
58
|
-
readonly name: "
|
|
60
|
+
readonly name: "getAccountVaultsInfo";
|
|
59
61
|
readonly outputs: readonly [{
|
|
60
62
|
readonly components: readonly [{
|
|
61
|
-
readonly internalType: "bool";
|
|
62
|
-
readonly name: "temporaryLiquidityCoverage";
|
|
63
|
-
readonly type: "bool";
|
|
64
|
-
}, {
|
|
65
63
|
readonly internalType: "uint256";
|
|
66
|
-
readonly name: "
|
|
64
|
+
readonly name: "scaledBalance";
|
|
67
65
|
readonly type: "uint256";
|
|
68
66
|
}, {
|
|
69
67
|
readonly internalType: "uint256";
|
|
70
|
-
readonly name: "
|
|
68
|
+
readonly name: "normalizedBalance";
|
|
71
69
|
readonly type: "uint256";
|
|
72
|
-
}];
|
|
73
|
-
readonly internalType: "struct ControlStatus";
|
|
74
|
-
readonly name: "status";
|
|
75
|
-
readonly type: "tuple";
|
|
76
|
-
}];
|
|
77
|
-
readonly stateMutability: "view";
|
|
78
|
-
readonly type: "function";
|
|
79
|
-
}, {
|
|
80
|
-
readonly inputs: readonly [{
|
|
81
|
-
readonly internalType: "address";
|
|
82
|
-
readonly name: "token";
|
|
83
|
-
readonly type: "address";
|
|
84
|
-
}];
|
|
85
|
-
readonly name: "getTokenInfo";
|
|
86
|
-
readonly outputs: readonly [{
|
|
87
|
-
readonly components: readonly [{
|
|
88
|
-
readonly internalType: "address";
|
|
89
|
-
readonly name: "token";
|
|
90
|
-
readonly type: "address";
|
|
91
|
-
}, {
|
|
92
|
-
readonly internalType: "string";
|
|
93
|
-
readonly name: "name";
|
|
94
|
-
readonly type: "string";
|
|
95
|
-
}, {
|
|
96
|
-
readonly internalType: "string";
|
|
97
|
-
readonly name: "symbol";
|
|
98
|
-
readonly type: "string";
|
|
99
70
|
}, {
|
|
100
71
|
readonly internalType: "uint256";
|
|
101
|
-
readonly name: "
|
|
72
|
+
readonly name: "underlyingBalance";
|
|
102
73
|
readonly type: "uint256";
|
|
103
74
|
}, {
|
|
104
|
-
readonly internalType: "
|
|
105
|
-
readonly name: "
|
|
106
|
-
readonly type: "
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
readonly name: "underlyingApproval";
|
|
77
|
+
readonly type: "uint256";
|
|
107
78
|
}];
|
|
108
|
-
readonly internalType: "struct
|
|
79
|
+
readonly internalType: "struct AccountVaultInfo[]";
|
|
109
80
|
readonly name: "info";
|
|
110
|
-
readonly type: "tuple";
|
|
81
|
+
readonly type: "tuple[]";
|
|
111
82
|
}];
|
|
112
83
|
readonly stateMutability: "view";
|
|
113
84
|
readonly type: "function";
|
|
114
85
|
}, {
|
|
115
|
-
readonly inputs: readonly [
|
|
116
|
-
|
|
117
|
-
readonly name: "vault";
|
|
118
|
-
readonly type: "address";
|
|
119
|
-
}];
|
|
120
|
-
readonly name: "getVaultData";
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "getAllVaultsData";
|
|
121
88
|
readonly outputs: readonly [{
|
|
122
89
|
readonly components: readonly [{
|
|
123
90
|
readonly components: readonly [{
|
|
@@ -193,10 +160,6 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
193
160
|
readonly internalType: "uint256";
|
|
194
161
|
readonly name: "gracePeriod";
|
|
195
162
|
readonly type: "uint256";
|
|
196
|
-
}, {
|
|
197
|
-
readonly internalType: "uint256";
|
|
198
|
-
readonly name: "annualInterestBips";
|
|
199
|
-
readonly type: "uint256";
|
|
200
163
|
}, {
|
|
201
164
|
readonly internalType: "uint256";
|
|
202
165
|
readonly name: "liquidityCoverageRatio";
|
|
@@ -213,21 +176,25 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
213
176
|
readonly internalType: "uint256";
|
|
214
177
|
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
215
178
|
readonly type: "uint256";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
readonly name: "annualInterestBips";
|
|
182
|
+
readonly type: "uint256";
|
|
216
183
|
}, {
|
|
217
184
|
readonly internalType: "uint256";
|
|
218
185
|
readonly name: "borrowableAssets";
|
|
219
186
|
readonly type: "uint256";
|
|
220
187
|
}, {
|
|
221
188
|
readonly internalType: "uint256";
|
|
222
|
-
readonly name: "
|
|
189
|
+
readonly name: "totalSupply";
|
|
223
190
|
readonly type: "uint256";
|
|
224
191
|
}, {
|
|
225
192
|
readonly internalType: "uint256";
|
|
226
|
-
readonly name: "
|
|
193
|
+
readonly name: "maxTotalSupply";
|
|
227
194
|
readonly type: "uint256";
|
|
228
195
|
}, {
|
|
229
196
|
readonly internalType: "uint256";
|
|
230
|
-
readonly name: "
|
|
197
|
+
readonly name: "scaledTotalSupply";
|
|
231
198
|
readonly type: "uint256";
|
|
232
199
|
}, {
|
|
233
200
|
readonly internalType: "uint256";
|
|
@@ -258,19 +225,229 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
258
225
|
readonly name: "lastInterestAccruedTimestamp";
|
|
259
226
|
readonly type: "uint256";
|
|
260
227
|
}];
|
|
261
|
-
readonly internalType: "struct VaultData";
|
|
228
|
+
readonly internalType: "struct VaultData[]";
|
|
229
|
+
readonly name: "data";
|
|
230
|
+
readonly type: "tuple[]";
|
|
231
|
+
}];
|
|
232
|
+
readonly stateMutability: "view";
|
|
233
|
+
readonly type: "function";
|
|
234
|
+
}, {
|
|
235
|
+
readonly inputs: readonly [{
|
|
236
|
+
readonly internalType: "address";
|
|
237
|
+
readonly name: "account";
|
|
238
|
+
readonly type: "address";
|
|
239
|
+
}];
|
|
240
|
+
readonly name: "getAllVaultsDataWithAccount";
|
|
241
|
+
readonly outputs: readonly [{
|
|
242
|
+
readonly components: readonly [{
|
|
243
|
+
readonly components: readonly [{
|
|
244
|
+
readonly components: readonly [{
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly name: "token";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}, {
|
|
249
|
+
readonly internalType: "string";
|
|
250
|
+
readonly name: "name";
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
}, {
|
|
253
|
+
readonly internalType: "string";
|
|
254
|
+
readonly name: "symbol";
|
|
255
|
+
readonly type: "string";
|
|
256
|
+
}, {
|
|
257
|
+
readonly internalType: "uint256";
|
|
258
|
+
readonly name: "decimals";
|
|
259
|
+
readonly type: "uint256";
|
|
260
|
+
}, {
|
|
261
|
+
readonly internalType: "bool";
|
|
262
|
+
readonly name: "isMock";
|
|
263
|
+
readonly type: "bool";
|
|
264
|
+
}];
|
|
265
|
+
readonly internalType: "struct TokenMetadata";
|
|
266
|
+
readonly name: "vaultToken";
|
|
267
|
+
readonly type: "tuple";
|
|
268
|
+
}, {
|
|
269
|
+
readonly components: readonly [{
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
readonly name: "token";
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
}, {
|
|
274
|
+
readonly internalType: "string";
|
|
275
|
+
readonly name: "name";
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
}, {
|
|
278
|
+
readonly internalType: "string";
|
|
279
|
+
readonly name: "symbol";
|
|
280
|
+
readonly type: "string";
|
|
281
|
+
}, {
|
|
282
|
+
readonly internalType: "uint256";
|
|
283
|
+
readonly name: "decimals";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
}, {
|
|
286
|
+
readonly internalType: "bool";
|
|
287
|
+
readonly name: "isMock";
|
|
288
|
+
readonly type: "bool";
|
|
289
|
+
}];
|
|
290
|
+
readonly internalType: "struct TokenMetadata";
|
|
291
|
+
readonly name: "underlyingToken";
|
|
292
|
+
readonly type: "tuple";
|
|
293
|
+
}, {
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly name: "borrower";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
}, {
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
readonly name: "controller";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
}, {
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly name: "feeRecipient";
|
|
304
|
+
readonly type: "address";
|
|
305
|
+
}, {
|
|
306
|
+
readonly internalType: "uint256";
|
|
307
|
+
readonly name: "interestFeeBips";
|
|
308
|
+
readonly type: "uint256";
|
|
309
|
+
}, {
|
|
310
|
+
readonly internalType: "uint256";
|
|
311
|
+
readonly name: "penaltyFeeBips";
|
|
312
|
+
readonly type: "uint256";
|
|
313
|
+
}, {
|
|
314
|
+
readonly internalType: "uint256";
|
|
315
|
+
readonly name: "gracePeriod";
|
|
316
|
+
readonly type: "uint256";
|
|
317
|
+
}, {
|
|
318
|
+
readonly internalType: "uint256";
|
|
319
|
+
readonly name: "liquidityCoverageRatio";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}, {
|
|
322
|
+
readonly internalType: "bool";
|
|
323
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
324
|
+
readonly type: "bool";
|
|
325
|
+
}, {
|
|
326
|
+
readonly internalType: "uint256";
|
|
327
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
}, {
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "uint256";
|
|
335
|
+
readonly name: "annualInterestBips";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
readonly name: "borrowableAssets";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
readonly name: "totalSupply";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}, {
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "maxTotalSupply";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
readonly name: "scaledTotalSupply";
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
}, {
|
|
354
|
+
readonly internalType: "uint256";
|
|
355
|
+
readonly name: "totalAssets";
|
|
356
|
+
readonly type: "uint256";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
readonly name: "coverageLiquidity";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}, {
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "scaleFactor";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}, {
|
|
366
|
+
readonly internalType: "uint256";
|
|
367
|
+
readonly name: "lastAccruedProtocolFees";
|
|
368
|
+
readonly type: "uint256";
|
|
369
|
+
}, {
|
|
370
|
+
readonly internalType: "bool";
|
|
371
|
+
readonly name: "isDelinquent";
|
|
372
|
+
readonly type: "bool";
|
|
373
|
+
}, {
|
|
374
|
+
readonly internalType: "uint256";
|
|
375
|
+
readonly name: "timeDelinquent";
|
|
376
|
+
readonly type: "uint256";
|
|
377
|
+
}, {
|
|
378
|
+
readonly internalType: "uint256";
|
|
379
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
380
|
+
readonly type: "uint256";
|
|
381
|
+
}];
|
|
382
|
+
readonly internalType: "struct VaultData";
|
|
383
|
+
readonly name: "vault";
|
|
384
|
+
readonly type: "tuple";
|
|
385
|
+
}, {
|
|
386
|
+
readonly components: readonly [{
|
|
387
|
+
readonly internalType: "uint256";
|
|
388
|
+
readonly name: "scaledBalance";
|
|
389
|
+
readonly type: "uint256";
|
|
390
|
+
}, {
|
|
391
|
+
readonly internalType: "uint256";
|
|
392
|
+
readonly name: "normalizedBalance";
|
|
393
|
+
readonly type: "uint256";
|
|
394
|
+
}, {
|
|
395
|
+
readonly internalType: "uint256";
|
|
396
|
+
readonly name: "underlyingBalance";
|
|
397
|
+
readonly type: "uint256";
|
|
398
|
+
}, {
|
|
399
|
+
readonly internalType: "uint256";
|
|
400
|
+
readonly name: "underlyingApproval";
|
|
401
|
+
readonly type: "uint256";
|
|
402
|
+
}];
|
|
403
|
+
readonly internalType: "struct AccountVaultInfo";
|
|
404
|
+
readonly name: "account";
|
|
405
|
+
readonly type: "tuple";
|
|
406
|
+
}];
|
|
407
|
+
readonly internalType: "struct VaultDataWithAccount[]";
|
|
262
408
|
readonly name: "data";
|
|
409
|
+
readonly type: "tuple[]";
|
|
410
|
+
}];
|
|
411
|
+
readonly stateMutability: "view";
|
|
412
|
+
readonly type: "function";
|
|
413
|
+
}, {
|
|
414
|
+
readonly inputs: readonly [{
|
|
415
|
+
readonly internalType: "address";
|
|
416
|
+
readonly name: "vault";
|
|
417
|
+
readonly type: "address";
|
|
418
|
+
}];
|
|
419
|
+
readonly name: "getControlStatus";
|
|
420
|
+
readonly outputs: readonly [{
|
|
421
|
+
readonly components: readonly [{
|
|
422
|
+
readonly internalType: "bool";
|
|
423
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
424
|
+
readonly type: "bool";
|
|
425
|
+
}, {
|
|
426
|
+
readonly internalType: "uint256";
|
|
427
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
428
|
+
readonly type: "uint256";
|
|
429
|
+
}, {
|
|
430
|
+
readonly internalType: "uint256";
|
|
431
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
432
|
+
readonly type: "uint256";
|
|
433
|
+
}];
|
|
434
|
+
readonly internalType: "struct ControlStatus";
|
|
435
|
+
readonly name: "status";
|
|
263
436
|
readonly type: "tuple";
|
|
264
437
|
}];
|
|
265
438
|
readonly stateMutability: "view";
|
|
266
439
|
readonly type: "function";
|
|
267
440
|
}, {
|
|
268
441
|
readonly inputs: readonly [{
|
|
269
|
-
readonly internalType: "
|
|
270
|
-
readonly name: "
|
|
271
|
-
readonly type: "
|
|
442
|
+
readonly internalType: "uint256";
|
|
443
|
+
readonly name: "start";
|
|
444
|
+
readonly type: "uint256";
|
|
445
|
+
}, {
|
|
446
|
+
readonly internalType: "uint256";
|
|
447
|
+
readonly name: "length";
|
|
448
|
+
readonly type: "uint256";
|
|
272
449
|
}];
|
|
273
|
-
readonly name: "
|
|
450
|
+
readonly name: "getPaginatedVaultsData";
|
|
274
451
|
readonly outputs: readonly [{
|
|
275
452
|
readonly components: readonly [{
|
|
276
453
|
readonly components: readonly [{
|
|
@@ -346,10 +523,6 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
346
523
|
readonly internalType: "uint256";
|
|
347
524
|
readonly name: "gracePeriod";
|
|
348
525
|
readonly type: "uint256";
|
|
349
|
-
}, {
|
|
350
|
-
readonly internalType: "uint256";
|
|
351
|
-
readonly name: "annualInterestBips";
|
|
352
|
-
readonly type: "uint256";
|
|
353
526
|
}, {
|
|
354
527
|
readonly internalType: "uint256";
|
|
355
528
|
readonly name: "liquidityCoverageRatio";
|
|
@@ -366,21 +539,25 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
366
539
|
readonly internalType: "uint256";
|
|
367
540
|
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
368
541
|
readonly type: "uint256";
|
|
542
|
+
}, {
|
|
543
|
+
readonly internalType: "uint256";
|
|
544
|
+
readonly name: "annualInterestBips";
|
|
545
|
+
readonly type: "uint256";
|
|
369
546
|
}, {
|
|
370
547
|
readonly internalType: "uint256";
|
|
371
548
|
readonly name: "borrowableAssets";
|
|
372
549
|
readonly type: "uint256";
|
|
373
550
|
}, {
|
|
374
551
|
readonly internalType: "uint256";
|
|
375
|
-
readonly name: "
|
|
552
|
+
readonly name: "totalSupply";
|
|
376
553
|
readonly type: "uint256";
|
|
377
554
|
}, {
|
|
378
555
|
readonly internalType: "uint256";
|
|
379
|
-
readonly name: "
|
|
556
|
+
readonly name: "maxTotalSupply";
|
|
380
557
|
readonly type: "uint256";
|
|
381
558
|
}, {
|
|
382
559
|
readonly internalType: "uint256";
|
|
383
|
-
readonly name: "
|
|
560
|
+
readonly name: "scaledTotalSupply";
|
|
384
561
|
readonly type: "uint256";
|
|
385
562
|
}, {
|
|
386
563
|
readonly internalType: "uint256";
|
|
@@ -417,9 +594,947 @@ export declare class VaultLens__factory extends ContractFactory {
|
|
|
417
594
|
}];
|
|
418
595
|
readonly stateMutability: "view";
|
|
419
596
|
readonly type: "function";
|
|
597
|
+
}, {
|
|
598
|
+
readonly inputs: readonly [{
|
|
599
|
+
readonly internalType: "address";
|
|
600
|
+
readonly name: "account";
|
|
601
|
+
readonly type: "address";
|
|
602
|
+
}, {
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "start";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "uint256";
|
|
608
|
+
readonly name: "length";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "getPaginatedVaultsDataWithAccount";
|
|
612
|
+
readonly outputs: readonly [{
|
|
613
|
+
readonly components: readonly [{
|
|
614
|
+
readonly components: readonly [{
|
|
615
|
+
readonly components: readonly [{
|
|
616
|
+
readonly internalType: "address";
|
|
617
|
+
readonly name: "token";
|
|
618
|
+
readonly type: "address";
|
|
619
|
+
}, {
|
|
620
|
+
readonly internalType: "string";
|
|
621
|
+
readonly name: "name";
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
}, {
|
|
624
|
+
readonly internalType: "string";
|
|
625
|
+
readonly name: "symbol";
|
|
626
|
+
readonly type: "string";
|
|
627
|
+
}, {
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
readonly name: "decimals";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}, {
|
|
632
|
+
readonly internalType: "bool";
|
|
633
|
+
readonly name: "isMock";
|
|
634
|
+
readonly type: "bool";
|
|
635
|
+
}];
|
|
636
|
+
readonly internalType: "struct TokenMetadata";
|
|
637
|
+
readonly name: "vaultToken";
|
|
638
|
+
readonly type: "tuple";
|
|
639
|
+
}, {
|
|
640
|
+
readonly components: readonly [{
|
|
641
|
+
readonly internalType: "address";
|
|
642
|
+
readonly name: "token";
|
|
643
|
+
readonly type: "address";
|
|
644
|
+
}, {
|
|
645
|
+
readonly internalType: "string";
|
|
646
|
+
readonly name: "name";
|
|
647
|
+
readonly type: "string";
|
|
648
|
+
}, {
|
|
649
|
+
readonly internalType: "string";
|
|
650
|
+
readonly name: "symbol";
|
|
651
|
+
readonly type: "string";
|
|
652
|
+
}, {
|
|
653
|
+
readonly internalType: "uint256";
|
|
654
|
+
readonly name: "decimals";
|
|
655
|
+
readonly type: "uint256";
|
|
656
|
+
}, {
|
|
657
|
+
readonly internalType: "bool";
|
|
658
|
+
readonly name: "isMock";
|
|
659
|
+
readonly type: "bool";
|
|
660
|
+
}];
|
|
661
|
+
readonly internalType: "struct TokenMetadata";
|
|
662
|
+
readonly name: "underlyingToken";
|
|
663
|
+
readonly type: "tuple";
|
|
664
|
+
}, {
|
|
665
|
+
readonly internalType: "address";
|
|
666
|
+
readonly name: "borrower";
|
|
667
|
+
readonly type: "address";
|
|
668
|
+
}, {
|
|
669
|
+
readonly internalType: "address";
|
|
670
|
+
readonly name: "controller";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
}, {
|
|
673
|
+
readonly internalType: "address";
|
|
674
|
+
readonly name: "feeRecipient";
|
|
675
|
+
readonly type: "address";
|
|
676
|
+
}, {
|
|
677
|
+
readonly internalType: "uint256";
|
|
678
|
+
readonly name: "interestFeeBips";
|
|
679
|
+
readonly type: "uint256";
|
|
680
|
+
}, {
|
|
681
|
+
readonly internalType: "uint256";
|
|
682
|
+
readonly name: "penaltyFeeBips";
|
|
683
|
+
readonly type: "uint256";
|
|
684
|
+
}, {
|
|
685
|
+
readonly internalType: "uint256";
|
|
686
|
+
readonly name: "gracePeriod";
|
|
687
|
+
readonly type: "uint256";
|
|
688
|
+
}, {
|
|
689
|
+
readonly internalType: "uint256";
|
|
690
|
+
readonly name: "liquidityCoverageRatio";
|
|
691
|
+
readonly type: "uint256";
|
|
692
|
+
}, {
|
|
693
|
+
readonly internalType: "bool";
|
|
694
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
695
|
+
readonly type: "bool";
|
|
696
|
+
}, {
|
|
697
|
+
readonly internalType: "uint256";
|
|
698
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
699
|
+
readonly type: "uint256";
|
|
700
|
+
}, {
|
|
701
|
+
readonly internalType: "uint256";
|
|
702
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
703
|
+
readonly type: "uint256";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "uint256";
|
|
706
|
+
readonly name: "annualInterestBips";
|
|
707
|
+
readonly type: "uint256";
|
|
708
|
+
}, {
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly name: "borrowableAssets";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "uint256";
|
|
714
|
+
readonly name: "totalSupply";
|
|
715
|
+
readonly type: "uint256";
|
|
716
|
+
}, {
|
|
717
|
+
readonly internalType: "uint256";
|
|
718
|
+
readonly name: "maxTotalSupply";
|
|
719
|
+
readonly type: "uint256";
|
|
720
|
+
}, {
|
|
721
|
+
readonly internalType: "uint256";
|
|
722
|
+
readonly name: "scaledTotalSupply";
|
|
723
|
+
readonly type: "uint256";
|
|
724
|
+
}, {
|
|
725
|
+
readonly internalType: "uint256";
|
|
726
|
+
readonly name: "totalAssets";
|
|
727
|
+
readonly type: "uint256";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "uint256";
|
|
730
|
+
readonly name: "coverageLiquidity";
|
|
731
|
+
readonly type: "uint256";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
readonly name: "scaleFactor";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
}, {
|
|
737
|
+
readonly internalType: "uint256";
|
|
738
|
+
readonly name: "lastAccruedProtocolFees";
|
|
739
|
+
readonly type: "uint256";
|
|
740
|
+
}, {
|
|
741
|
+
readonly internalType: "bool";
|
|
742
|
+
readonly name: "isDelinquent";
|
|
743
|
+
readonly type: "bool";
|
|
744
|
+
}, {
|
|
745
|
+
readonly internalType: "uint256";
|
|
746
|
+
readonly name: "timeDelinquent";
|
|
747
|
+
readonly type: "uint256";
|
|
748
|
+
}, {
|
|
749
|
+
readonly internalType: "uint256";
|
|
750
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
751
|
+
readonly type: "uint256";
|
|
752
|
+
}];
|
|
753
|
+
readonly internalType: "struct VaultData";
|
|
754
|
+
readonly name: "vault";
|
|
755
|
+
readonly type: "tuple";
|
|
756
|
+
}, {
|
|
757
|
+
readonly components: readonly [{
|
|
758
|
+
readonly internalType: "uint256";
|
|
759
|
+
readonly name: "scaledBalance";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "uint256";
|
|
763
|
+
readonly name: "normalizedBalance";
|
|
764
|
+
readonly type: "uint256";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "uint256";
|
|
767
|
+
readonly name: "underlyingBalance";
|
|
768
|
+
readonly type: "uint256";
|
|
769
|
+
}, {
|
|
770
|
+
readonly internalType: "uint256";
|
|
771
|
+
readonly name: "underlyingApproval";
|
|
772
|
+
readonly type: "uint256";
|
|
773
|
+
}];
|
|
774
|
+
readonly internalType: "struct AccountVaultInfo";
|
|
775
|
+
readonly name: "account";
|
|
776
|
+
readonly type: "tuple";
|
|
777
|
+
}];
|
|
778
|
+
readonly internalType: "struct VaultDataWithAccount[]";
|
|
779
|
+
readonly name: "data";
|
|
780
|
+
readonly type: "tuple[]";
|
|
781
|
+
}];
|
|
782
|
+
readonly stateMutability: "view";
|
|
783
|
+
readonly type: "function";
|
|
784
|
+
}, {
|
|
785
|
+
readonly inputs: readonly [{
|
|
786
|
+
readonly internalType: "address";
|
|
787
|
+
readonly name: "token";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
}];
|
|
790
|
+
readonly name: "getTokenInfo";
|
|
791
|
+
readonly outputs: readonly [{
|
|
792
|
+
readonly components: readonly [{
|
|
793
|
+
readonly internalType: "address";
|
|
794
|
+
readonly name: "token";
|
|
795
|
+
readonly type: "address";
|
|
796
|
+
}, {
|
|
797
|
+
readonly internalType: "string";
|
|
798
|
+
readonly name: "name";
|
|
799
|
+
readonly type: "string";
|
|
800
|
+
}, {
|
|
801
|
+
readonly internalType: "string";
|
|
802
|
+
readonly name: "symbol";
|
|
803
|
+
readonly type: "string";
|
|
804
|
+
}, {
|
|
805
|
+
readonly internalType: "uint256";
|
|
806
|
+
readonly name: "decimals";
|
|
807
|
+
readonly type: "uint256";
|
|
808
|
+
}, {
|
|
809
|
+
readonly internalType: "bool";
|
|
810
|
+
readonly name: "isMock";
|
|
811
|
+
readonly type: "bool";
|
|
812
|
+
}];
|
|
813
|
+
readonly internalType: "struct TokenMetadata";
|
|
814
|
+
readonly name: "info";
|
|
815
|
+
readonly type: "tuple";
|
|
816
|
+
}];
|
|
817
|
+
readonly stateMutability: "view";
|
|
818
|
+
readonly type: "function";
|
|
819
|
+
}, {
|
|
820
|
+
readonly inputs: readonly [{
|
|
821
|
+
readonly internalType: "address[]";
|
|
822
|
+
readonly name: "tokens";
|
|
823
|
+
readonly type: "address[]";
|
|
824
|
+
}];
|
|
825
|
+
readonly name: "getTokensInfo";
|
|
826
|
+
readonly outputs: readonly [{
|
|
827
|
+
readonly components: readonly [{
|
|
828
|
+
readonly internalType: "address";
|
|
829
|
+
readonly name: "token";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
}, {
|
|
832
|
+
readonly internalType: "string";
|
|
833
|
+
readonly name: "name";
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
}, {
|
|
836
|
+
readonly internalType: "string";
|
|
837
|
+
readonly name: "symbol";
|
|
838
|
+
readonly type: "string";
|
|
839
|
+
}, {
|
|
840
|
+
readonly internalType: "uint256";
|
|
841
|
+
readonly name: "decimals";
|
|
842
|
+
readonly type: "uint256";
|
|
843
|
+
}, {
|
|
844
|
+
readonly internalType: "bool";
|
|
845
|
+
readonly name: "isMock";
|
|
846
|
+
readonly type: "bool";
|
|
847
|
+
}];
|
|
848
|
+
readonly internalType: "struct TokenMetadata[]";
|
|
849
|
+
readonly name: "info";
|
|
850
|
+
readonly type: "tuple[]";
|
|
851
|
+
}];
|
|
852
|
+
readonly stateMutability: "view";
|
|
853
|
+
readonly type: "function";
|
|
854
|
+
}, {
|
|
855
|
+
readonly inputs: readonly [{
|
|
856
|
+
readonly internalType: "address";
|
|
857
|
+
readonly name: "vault";
|
|
858
|
+
readonly type: "address";
|
|
859
|
+
}];
|
|
860
|
+
readonly name: "getVaultData";
|
|
861
|
+
readonly outputs: readonly [{
|
|
862
|
+
readonly components: readonly [{
|
|
863
|
+
readonly components: readonly [{
|
|
864
|
+
readonly internalType: "address";
|
|
865
|
+
readonly name: "token";
|
|
866
|
+
readonly type: "address";
|
|
867
|
+
}, {
|
|
868
|
+
readonly internalType: "string";
|
|
869
|
+
readonly name: "name";
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "string";
|
|
873
|
+
readonly name: "symbol";
|
|
874
|
+
readonly type: "string";
|
|
875
|
+
}, {
|
|
876
|
+
readonly internalType: "uint256";
|
|
877
|
+
readonly name: "decimals";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
}, {
|
|
880
|
+
readonly internalType: "bool";
|
|
881
|
+
readonly name: "isMock";
|
|
882
|
+
readonly type: "bool";
|
|
883
|
+
}];
|
|
884
|
+
readonly internalType: "struct TokenMetadata";
|
|
885
|
+
readonly name: "vaultToken";
|
|
886
|
+
readonly type: "tuple";
|
|
887
|
+
}, {
|
|
888
|
+
readonly components: readonly [{
|
|
889
|
+
readonly internalType: "address";
|
|
890
|
+
readonly name: "token";
|
|
891
|
+
readonly type: "address";
|
|
892
|
+
}, {
|
|
893
|
+
readonly internalType: "string";
|
|
894
|
+
readonly name: "name";
|
|
895
|
+
readonly type: "string";
|
|
896
|
+
}, {
|
|
897
|
+
readonly internalType: "string";
|
|
898
|
+
readonly name: "symbol";
|
|
899
|
+
readonly type: "string";
|
|
900
|
+
}, {
|
|
901
|
+
readonly internalType: "uint256";
|
|
902
|
+
readonly name: "decimals";
|
|
903
|
+
readonly type: "uint256";
|
|
904
|
+
}, {
|
|
905
|
+
readonly internalType: "bool";
|
|
906
|
+
readonly name: "isMock";
|
|
907
|
+
readonly type: "bool";
|
|
908
|
+
}];
|
|
909
|
+
readonly internalType: "struct TokenMetadata";
|
|
910
|
+
readonly name: "underlyingToken";
|
|
911
|
+
readonly type: "tuple";
|
|
912
|
+
}, {
|
|
913
|
+
readonly internalType: "address";
|
|
914
|
+
readonly name: "borrower";
|
|
915
|
+
readonly type: "address";
|
|
916
|
+
}, {
|
|
917
|
+
readonly internalType: "address";
|
|
918
|
+
readonly name: "controller";
|
|
919
|
+
readonly type: "address";
|
|
920
|
+
}, {
|
|
921
|
+
readonly internalType: "address";
|
|
922
|
+
readonly name: "feeRecipient";
|
|
923
|
+
readonly type: "address";
|
|
924
|
+
}, {
|
|
925
|
+
readonly internalType: "uint256";
|
|
926
|
+
readonly name: "interestFeeBips";
|
|
927
|
+
readonly type: "uint256";
|
|
928
|
+
}, {
|
|
929
|
+
readonly internalType: "uint256";
|
|
930
|
+
readonly name: "penaltyFeeBips";
|
|
931
|
+
readonly type: "uint256";
|
|
932
|
+
}, {
|
|
933
|
+
readonly internalType: "uint256";
|
|
934
|
+
readonly name: "gracePeriod";
|
|
935
|
+
readonly type: "uint256";
|
|
936
|
+
}, {
|
|
937
|
+
readonly internalType: "uint256";
|
|
938
|
+
readonly name: "liquidityCoverageRatio";
|
|
939
|
+
readonly type: "uint256";
|
|
940
|
+
}, {
|
|
941
|
+
readonly internalType: "bool";
|
|
942
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
943
|
+
readonly type: "bool";
|
|
944
|
+
}, {
|
|
945
|
+
readonly internalType: "uint256";
|
|
946
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
947
|
+
readonly type: "uint256";
|
|
948
|
+
}, {
|
|
949
|
+
readonly internalType: "uint256";
|
|
950
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
951
|
+
readonly type: "uint256";
|
|
952
|
+
}, {
|
|
953
|
+
readonly internalType: "uint256";
|
|
954
|
+
readonly name: "annualInterestBips";
|
|
955
|
+
readonly type: "uint256";
|
|
956
|
+
}, {
|
|
957
|
+
readonly internalType: "uint256";
|
|
958
|
+
readonly name: "borrowableAssets";
|
|
959
|
+
readonly type: "uint256";
|
|
960
|
+
}, {
|
|
961
|
+
readonly internalType: "uint256";
|
|
962
|
+
readonly name: "totalSupply";
|
|
963
|
+
readonly type: "uint256";
|
|
964
|
+
}, {
|
|
965
|
+
readonly internalType: "uint256";
|
|
966
|
+
readonly name: "maxTotalSupply";
|
|
967
|
+
readonly type: "uint256";
|
|
968
|
+
}, {
|
|
969
|
+
readonly internalType: "uint256";
|
|
970
|
+
readonly name: "scaledTotalSupply";
|
|
971
|
+
readonly type: "uint256";
|
|
972
|
+
}, {
|
|
973
|
+
readonly internalType: "uint256";
|
|
974
|
+
readonly name: "totalAssets";
|
|
975
|
+
readonly type: "uint256";
|
|
976
|
+
}, {
|
|
977
|
+
readonly internalType: "uint256";
|
|
978
|
+
readonly name: "coverageLiquidity";
|
|
979
|
+
readonly type: "uint256";
|
|
980
|
+
}, {
|
|
981
|
+
readonly internalType: "uint256";
|
|
982
|
+
readonly name: "scaleFactor";
|
|
983
|
+
readonly type: "uint256";
|
|
984
|
+
}, {
|
|
985
|
+
readonly internalType: "uint256";
|
|
986
|
+
readonly name: "lastAccruedProtocolFees";
|
|
987
|
+
readonly type: "uint256";
|
|
988
|
+
}, {
|
|
989
|
+
readonly internalType: "bool";
|
|
990
|
+
readonly name: "isDelinquent";
|
|
991
|
+
readonly type: "bool";
|
|
992
|
+
}, {
|
|
993
|
+
readonly internalType: "uint256";
|
|
994
|
+
readonly name: "timeDelinquent";
|
|
995
|
+
readonly type: "uint256";
|
|
996
|
+
}, {
|
|
997
|
+
readonly internalType: "uint256";
|
|
998
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
999
|
+
readonly type: "uint256";
|
|
1000
|
+
}];
|
|
1001
|
+
readonly internalType: "struct VaultData";
|
|
1002
|
+
readonly name: "data";
|
|
1003
|
+
readonly type: "tuple";
|
|
1004
|
+
}];
|
|
1005
|
+
readonly stateMutability: "view";
|
|
1006
|
+
readonly type: "function";
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly inputs: readonly [{
|
|
1009
|
+
readonly internalType: "address";
|
|
1010
|
+
readonly name: "account";
|
|
1011
|
+
readonly type: "address";
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly internalType: "address";
|
|
1014
|
+
readonly name: "vault";
|
|
1015
|
+
readonly type: "address";
|
|
1016
|
+
}];
|
|
1017
|
+
readonly name: "getVaultDataWithAccount";
|
|
1018
|
+
readonly outputs: readonly [{
|
|
1019
|
+
readonly components: readonly [{
|
|
1020
|
+
readonly components: readonly [{
|
|
1021
|
+
readonly components: readonly [{
|
|
1022
|
+
readonly internalType: "address";
|
|
1023
|
+
readonly name: "token";
|
|
1024
|
+
readonly type: "address";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly internalType: "string";
|
|
1027
|
+
readonly name: "name";
|
|
1028
|
+
readonly type: "string";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly internalType: "string";
|
|
1031
|
+
readonly name: "symbol";
|
|
1032
|
+
readonly type: "string";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly internalType: "uint256";
|
|
1035
|
+
readonly name: "decimals";
|
|
1036
|
+
readonly type: "uint256";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly internalType: "bool";
|
|
1039
|
+
readonly name: "isMock";
|
|
1040
|
+
readonly type: "bool";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly internalType: "struct TokenMetadata";
|
|
1043
|
+
readonly name: "vaultToken";
|
|
1044
|
+
readonly type: "tuple";
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly components: readonly [{
|
|
1047
|
+
readonly internalType: "address";
|
|
1048
|
+
readonly name: "token";
|
|
1049
|
+
readonly type: "address";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly internalType: "string";
|
|
1052
|
+
readonly name: "name";
|
|
1053
|
+
readonly type: "string";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly internalType: "string";
|
|
1056
|
+
readonly name: "symbol";
|
|
1057
|
+
readonly type: "string";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly internalType: "uint256";
|
|
1060
|
+
readonly name: "decimals";
|
|
1061
|
+
readonly type: "uint256";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly internalType: "bool";
|
|
1064
|
+
readonly name: "isMock";
|
|
1065
|
+
readonly type: "bool";
|
|
1066
|
+
}];
|
|
1067
|
+
readonly internalType: "struct TokenMetadata";
|
|
1068
|
+
readonly name: "underlyingToken";
|
|
1069
|
+
readonly type: "tuple";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly internalType: "address";
|
|
1072
|
+
readonly name: "borrower";
|
|
1073
|
+
readonly type: "address";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly internalType: "address";
|
|
1076
|
+
readonly name: "controller";
|
|
1077
|
+
readonly type: "address";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly internalType: "address";
|
|
1080
|
+
readonly name: "feeRecipient";
|
|
1081
|
+
readonly type: "address";
|
|
1082
|
+
}, {
|
|
1083
|
+
readonly internalType: "uint256";
|
|
1084
|
+
readonly name: "interestFeeBips";
|
|
1085
|
+
readonly type: "uint256";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly internalType: "uint256";
|
|
1088
|
+
readonly name: "penaltyFeeBips";
|
|
1089
|
+
readonly type: "uint256";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly internalType: "uint256";
|
|
1092
|
+
readonly name: "gracePeriod";
|
|
1093
|
+
readonly type: "uint256";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly internalType: "uint256";
|
|
1096
|
+
readonly name: "liquidityCoverageRatio";
|
|
1097
|
+
readonly type: "uint256";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly internalType: "bool";
|
|
1100
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
1101
|
+
readonly type: "bool";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly internalType: "uint256";
|
|
1104
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
1105
|
+
readonly type: "uint256";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly internalType: "uint256";
|
|
1108
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
1109
|
+
readonly type: "uint256";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly internalType: "uint256";
|
|
1112
|
+
readonly name: "annualInterestBips";
|
|
1113
|
+
readonly type: "uint256";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly internalType: "uint256";
|
|
1116
|
+
readonly name: "borrowableAssets";
|
|
1117
|
+
readonly type: "uint256";
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly internalType: "uint256";
|
|
1120
|
+
readonly name: "totalSupply";
|
|
1121
|
+
readonly type: "uint256";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly internalType: "uint256";
|
|
1124
|
+
readonly name: "maxTotalSupply";
|
|
1125
|
+
readonly type: "uint256";
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly internalType: "uint256";
|
|
1128
|
+
readonly name: "scaledTotalSupply";
|
|
1129
|
+
readonly type: "uint256";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly internalType: "uint256";
|
|
1132
|
+
readonly name: "totalAssets";
|
|
1133
|
+
readonly type: "uint256";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly internalType: "uint256";
|
|
1136
|
+
readonly name: "coverageLiquidity";
|
|
1137
|
+
readonly type: "uint256";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly internalType: "uint256";
|
|
1140
|
+
readonly name: "scaleFactor";
|
|
1141
|
+
readonly type: "uint256";
|
|
1142
|
+
}, {
|
|
1143
|
+
readonly internalType: "uint256";
|
|
1144
|
+
readonly name: "lastAccruedProtocolFees";
|
|
1145
|
+
readonly type: "uint256";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly internalType: "bool";
|
|
1148
|
+
readonly name: "isDelinquent";
|
|
1149
|
+
readonly type: "bool";
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly internalType: "uint256";
|
|
1152
|
+
readonly name: "timeDelinquent";
|
|
1153
|
+
readonly type: "uint256";
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly internalType: "uint256";
|
|
1156
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
1157
|
+
readonly type: "uint256";
|
|
1158
|
+
}];
|
|
1159
|
+
readonly internalType: "struct VaultData";
|
|
1160
|
+
readonly name: "vault";
|
|
1161
|
+
readonly type: "tuple";
|
|
1162
|
+
}, {
|
|
1163
|
+
readonly components: readonly [{
|
|
1164
|
+
readonly internalType: "uint256";
|
|
1165
|
+
readonly name: "scaledBalance";
|
|
1166
|
+
readonly type: "uint256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "uint256";
|
|
1169
|
+
readonly name: "normalizedBalance";
|
|
1170
|
+
readonly type: "uint256";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly internalType: "uint256";
|
|
1173
|
+
readonly name: "underlyingBalance";
|
|
1174
|
+
readonly type: "uint256";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly internalType: "uint256";
|
|
1177
|
+
readonly name: "underlyingApproval";
|
|
1178
|
+
readonly type: "uint256";
|
|
1179
|
+
}];
|
|
1180
|
+
readonly internalType: "struct AccountVaultInfo";
|
|
1181
|
+
readonly name: "account";
|
|
1182
|
+
readonly type: "tuple";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly internalType: "struct VaultDataWithAccount";
|
|
1185
|
+
readonly name: "data";
|
|
1186
|
+
readonly type: "tuple";
|
|
1187
|
+
}];
|
|
1188
|
+
readonly stateMutability: "view";
|
|
1189
|
+
readonly type: "function";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly inputs: readonly [];
|
|
1192
|
+
readonly name: "getVaultsCount";
|
|
1193
|
+
readonly outputs: readonly [{
|
|
1194
|
+
readonly internalType: "uint256";
|
|
1195
|
+
readonly name: "";
|
|
1196
|
+
readonly type: "uint256";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly stateMutability: "view";
|
|
1199
|
+
readonly type: "function";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly inputs: readonly [{
|
|
1202
|
+
readonly internalType: "address[]";
|
|
1203
|
+
readonly name: "vaults";
|
|
1204
|
+
readonly type: "address[]";
|
|
1205
|
+
}];
|
|
1206
|
+
readonly name: "getVaultsData";
|
|
1207
|
+
readonly outputs: readonly [{
|
|
1208
|
+
readonly components: readonly [{
|
|
1209
|
+
readonly components: readonly [{
|
|
1210
|
+
readonly internalType: "address";
|
|
1211
|
+
readonly name: "token";
|
|
1212
|
+
readonly type: "address";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly internalType: "string";
|
|
1215
|
+
readonly name: "name";
|
|
1216
|
+
readonly type: "string";
|
|
1217
|
+
}, {
|
|
1218
|
+
readonly internalType: "string";
|
|
1219
|
+
readonly name: "symbol";
|
|
1220
|
+
readonly type: "string";
|
|
1221
|
+
}, {
|
|
1222
|
+
readonly internalType: "uint256";
|
|
1223
|
+
readonly name: "decimals";
|
|
1224
|
+
readonly type: "uint256";
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly internalType: "bool";
|
|
1227
|
+
readonly name: "isMock";
|
|
1228
|
+
readonly type: "bool";
|
|
1229
|
+
}];
|
|
1230
|
+
readonly internalType: "struct TokenMetadata";
|
|
1231
|
+
readonly name: "vaultToken";
|
|
1232
|
+
readonly type: "tuple";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly components: readonly [{
|
|
1235
|
+
readonly internalType: "address";
|
|
1236
|
+
readonly name: "token";
|
|
1237
|
+
readonly type: "address";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly internalType: "string";
|
|
1240
|
+
readonly name: "name";
|
|
1241
|
+
readonly type: "string";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly internalType: "string";
|
|
1244
|
+
readonly name: "symbol";
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly internalType: "uint256";
|
|
1248
|
+
readonly name: "decimals";
|
|
1249
|
+
readonly type: "uint256";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly internalType: "bool";
|
|
1252
|
+
readonly name: "isMock";
|
|
1253
|
+
readonly type: "bool";
|
|
1254
|
+
}];
|
|
1255
|
+
readonly internalType: "struct TokenMetadata";
|
|
1256
|
+
readonly name: "underlyingToken";
|
|
1257
|
+
readonly type: "tuple";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly internalType: "address";
|
|
1260
|
+
readonly name: "borrower";
|
|
1261
|
+
readonly type: "address";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly internalType: "address";
|
|
1264
|
+
readonly name: "controller";
|
|
1265
|
+
readonly type: "address";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly internalType: "address";
|
|
1268
|
+
readonly name: "feeRecipient";
|
|
1269
|
+
readonly type: "address";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly internalType: "uint256";
|
|
1272
|
+
readonly name: "interestFeeBips";
|
|
1273
|
+
readonly type: "uint256";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly internalType: "uint256";
|
|
1276
|
+
readonly name: "penaltyFeeBips";
|
|
1277
|
+
readonly type: "uint256";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly internalType: "uint256";
|
|
1280
|
+
readonly name: "gracePeriod";
|
|
1281
|
+
readonly type: "uint256";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly internalType: "uint256";
|
|
1284
|
+
readonly name: "liquidityCoverageRatio";
|
|
1285
|
+
readonly type: "uint256";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly internalType: "bool";
|
|
1288
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
1289
|
+
readonly type: "bool";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly internalType: "uint256";
|
|
1292
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
1293
|
+
readonly type: "uint256";
|
|
1294
|
+
}, {
|
|
1295
|
+
readonly internalType: "uint256";
|
|
1296
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
1297
|
+
readonly type: "uint256";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly internalType: "uint256";
|
|
1300
|
+
readonly name: "annualInterestBips";
|
|
1301
|
+
readonly type: "uint256";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly internalType: "uint256";
|
|
1304
|
+
readonly name: "borrowableAssets";
|
|
1305
|
+
readonly type: "uint256";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly internalType: "uint256";
|
|
1308
|
+
readonly name: "totalSupply";
|
|
1309
|
+
readonly type: "uint256";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly internalType: "uint256";
|
|
1312
|
+
readonly name: "maxTotalSupply";
|
|
1313
|
+
readonly type: "uint256";
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly internalType: "uint256";
|
|
1316
|
+
readonly name: "scaledTotalSupply";
|
|
1317
|
+
readonly type: "uint256";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly internalType: "uint256";
|
|
1320
|
+
readonly name: "totalAssets";
|
|
1321
|
+
readonly type: "uint256";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly internalType: "uint256";
|
|
1324
|
+
readonly name: "coverageLiquidity";
|
|
1325
|
+
readonly type: "uint256";
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly internalType: "uint256";
|
|
1328
|
+
readonly name: "scaleFactor";
|
|
1329
|
+
readonly type: "uint256";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly internalType: "uint256";
|
|
1332
|
+
readonly name: "lastAccruedProtocolFees";
|
|
1333
|
+
readonly type: "uint256";
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly internalType: "bool";
|
|
1336
|
+
readonly name: "isDelinquent";
|
|
1337
|
+
readonly type: "bool";
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly internalType: "uint256";
|
|
1340
|
+
readonly name: "timeDelinquent";
|
|
1341
|
+
readonly type: "uint256";
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly internalType: "uint256";
|
|
1344
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
1345
|
+
readonly type: "uint256";
|
|
1346
|
+
}];
|
|
1347
|
+
readonly internalType: "struct VaultData[]";
|
|
1348
|
+
readonly name: "data";
|
|
1349
|
+
readonly type: "tuple[]";
|
|
1350
|
+
}];
|
|
1351
|
+
readonly stateMutability: "view";
|
|
1352
|
+
readonly type: "function";
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly inputs: readonly [{
|
|
1355
|
+
readonly internalType: "address";
|
|
1356
|
+
readonly name: "account";
|
|
1357
|
+
readonly type: "address";
|
|
1358
|
+
}, {
|
|
1359
|
+
readonly internalType: "address[]";
|
|
1360
|
+
readonly name: "vaults";
|
|
1361
|
+
readonly type: "address[]";
|
|
1362
|
+
}];
|
|
1363
|
+
readonly name: "getVaultsDataWithAccount";
|
|
1364
|
+
readonly outputs: readonly [{
|
|
1365
|
+
readonly components: readonly [{
|
|
1366
|
+
readonly components: readonly [{
|
|
1367
|
+
readonly components: readonly [{
|
|
1368
|
+
readonly internalType: "address";
|
|
1369
|
+
readonly name: "token";
|
|
1370
|
+
readonly type: "address";
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly internalType: "string";
|
|
1373
|
+
readonly name: "name";
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly internalType: "string";
|
|
1377
|
+
readonly name: "symbol";
|
|
1378
|
+
readonly type: "string";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly internalType: "uint256";
|
|
1381
|
+
readonly name: "decimals";
|
|
1382
|
+
readonly type: "uint256";
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly internalType: "bool";
|
|
1385
|
+
readonly name: "isMock";
|
|
1386
|
+
readonly type: "bool";
|
|
1387
|
+
}];
|
|
1388
|
+
readonly internalType: "struct TokenMetadata";
|
|
1389
|
+
readonly name: "vaultToken";
|
|
1390
|
+
readonly type: "tuple";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly components: readonly [{
|
|
1393
|
+
readonly internalType: "address";
|
|
1394
|
+
readonly name: "token";
|
|
1395
|
+
readonly type: "address";
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly internalType: "string";
|
|
1398
|
+
readonly name: "name";
|
|
1399
|
+
readonly type: "string";
|
|
1400
|
+
}, {
|
|
1401
|
+
readonly internalType: "string";
|
|
1402
|
+
readonly name: "symbol";
|
|
1403
|
+
readonly type: "string";
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly internalType: "uint256";
|
|
1406
|
+
readonly name: "decimals";
|
|
1407
|
+
readonly type: "uint256";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly internalType: "bool";
|
|
1410
|
+
readonly name: "isMock";
|
|
1411
|
+
readonly type: "bool";
|
|
1412
|
+
}];
|
|
1413
|
+
readonly internalType: "struct TokenMetadata";
|
|
1414
|
+
readonly name: "underlyingToken";
|
|
1415
|
+
readonly type: "tuple";
|
|
1416
|
+
}, {
|
|
1417
|
+
readonly internalType: "address";
|
|
1418
|
+
readonly name: "borrower";
|
|
1419
|
+
readonly type: "address";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly internalType: "address";
|
|
1422
|
+
readonly name: "controller";
|
|
1423
|
+
readonly type: "address";
|
|
1424
|
+
}, {
|
|
1425
|
+
readonly internalType: "address";
|
|
1426
|
+
readonly name: "feeRecipient";
|
|
1427
|
+
readonly type: "address";
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly internalType: "uint256";
|
|
1430
|
+
readonly name: "interestFeeBips";
|
|
1431
|
+
readonly type: "uint256";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly internalType: "uint256";
|
|
1434
|
+
readonly name: "penaltyFeeBips";
|
|
1435
|
+
readonly type: "uint256";
|
|
1436
|
+
}, {
|
|
1437
|
+
readonly internalType: "uint256";
|
|
1438
|
+
readonly name: "gracePeriod";
|
|
1439
|
+
readonly type: "uint256";
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly internalType: "uint256";
|
|
1442
|
+
readonly name: "liquidityCoverageRatio";
|
|
1443
|
+
readonly type: "uint256";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly internalType: "bool";
|
|
1446
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
1447
|
+
readonly type: "bool";
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly internalType: "uint256";
|
|
1450
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
1451
|
+
readonly type: "uint256";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly internalType: "uint256";
|
|
1454
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
1455
|
+
readonly type: "uint256";
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly internalType: "uint256";
|
|
1458
|
+
readonly name: "annualInterestBips";
|
|
1459
|
+
readonly type: "uint256";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly internalType: "uint256";
|
|
1462
|
+
readonly name: "borrowableAssets";
|
|
1463
|
+
readonly type: "uint256";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly internalType: "uint256";
|
|
1466
|
+
readonly name: "totalSupply";
|
|
1467
|
+
readonly type: "uint256";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly internalType: "uint256";
|
|
1470
|
+
readonly name: "maxTotalSupply";
|
|
1471
|
+
readonly type: "uint256";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly internalType: "uint256";
|
|
1474
|
+
readonly name: "scaledTotalSupply";
|
|
1475
|
+
readonly type: "uint256";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly internalType: "uint256";
|
|
1478
|
+
readonly name: "totalAssets";
|
|
1479
|
+
readonly type: "uint256";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly internalType: "uint256";
|
|
1482
|
+
readonly name: "coverageLiquidity";
|
|
1483
|
+
readonly type: "uint256";
|
|
1484
|
+
}, {
|
|
1485
|
+
readonly internalType: "uint256";
|
|
1486
|
+
readonly name: "scaleFactor";
|
|
1487
|
+
readonly type: "uint256";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly internalType: "uint256";
|
|
1490
|
+
readonly name: "lastAccruedProtocolFees";
|
|
1491
|
+
readonly type: "uint256";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly internalType: "bool";
|
|
1494
|
+
readonly name: "isDelinquent";
|
|
1495
|
+
readonly type: "bool";
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly internalType: "uint256";
|
|
1498
|
+
readonly name: "timeDelinquent";
|
|
1499
|
+
readonly type: "uint256";
|
|
1500
|
+
}, {
|
|
1501
|
+
readonly internalType: "uint256";
|
|
1502
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
1503
|
+
readonly type: "uint256";
|
|
1504
|
+
}];
|
|
1505
|
+
readonly internalType: "struct VaultData";
|
|
1506
|
+
readonly name: "vault";
|
|
1507
|
+
readonly type: "tuple";
|
|
1508
|
+
}, {
|
|
1509
|
+
readonly components: readonly [{
|
|
1510
|
+
readonly internalType: "uint256";
|
|
1511
|
+
readonly name: "scaledBalance";
|
|
1512
|
+
readonly type: "uint256";
|
|
1513
|
+
}, {
|
|
1514
|
+
readonly internalType: "uint256";
|
|
1515
|
+
readonly name: "normalizedBalance";
|
|
1516
|
+
readonly type: "uint256";
|
|
1517
|
+
}, {
|
|
1518
|
+
readonly internalType: "uint256";
|
|
1519
|
+
readonly name: "underlyingBalance";
|
|
1520
|
+
readonly type: "uint256";
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly internalType: "uint256";
|
|
1523
|
+
readonly name: "underlyingApproval";
|
|
1524
|
+
readonly type: "uint256";
|
|
1525
|
+
}];
|
|
1526
|
+
readonly internalType: "struct AccountVaultInfo";
|
|
1527
|
+
readonly name: "account";
|
|
1528
|
+
readonly type: "tuple";
|
|
1529
|
+
}];
|
|
1530
|
+
readonly internalType: "struct VaultDataWithAccount[]";
|
|
1531
|
+
readonly name: "data";
|
|
1532
|
+
readonly type: "tuple[]";
|
|
1533
|
+
}];
|
|
1534
|
+
readonly stateMutability: "view";
|
|
1535
|
+
readonly type: "function";
|
|
420
1536
|
}];
|
|
421
1537
|
static createInterface(): VaultLensInterface;
|
|
422
1538
|
static connect(address: string, signerOrProvider: Signer | Provider): VaultLens;
|
|
423
1539
|
}
|
|
424
|
-
export {};
|
|
425
1540
|
//# sourceMappingURL=VaultLens__factory.d.ts.map
|