@wildcatfi/wildcat-sdk 1.0.3 → 1.0.4
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 +76 -0
- package/dist/account.d.ts.map +1 -0
- package/dist/account.js +155 -0
- package/dist/account.js.map +1 -0
- package/dist/constants.d.ts +12 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +23 -0
- package/dist/constants.js.map +1 -0
- package/dist/controller.d.ts +14 -0
- package/dist/controller.d.ts.map +1 -0
- package/dist/controller.js +33 -0
- package/dist/controller.js.map +1 -0
- package/dist/factory.d.ts +27 -0
- package/dist/factory.d.ts.map +1 -0
- package/dist/factory.js +42 -0
- package/dist/factory.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -0
- package/dist/misc.d.ts +7 -0
- package/dist/misc.d.ts.map +1 -0
- package/dist/misc.js +15 -0
- package/dist/misc.js.map +1 -0
- package/dist/token.d.ts +39 -0
- package/dist/token.d.ts.map +1 -0
- package/dist/token.js +105 -0
- package/dist/token.js.map +1 -0
- package/dist/typechain/DebtTokenBase.d.ts +508 -0
- package/dist/typechain/DebtTokenBase.d.ts.map +1 -0
- package/dist/typechain/DebtTokenBase.js +3 -0
- package/dist/typechain/DebtTokenBase.js.map +1 -0
- package/dist/typechain/IERC20.d.ts +175 -0
- package/dist/typechain/IERC20.d.ts.map +1 -0
- package/dist/typechain/IERC20.js +3 -0
- package/dist/typechain/IERC20.js.map +1 -0
- package/dist/typechain/VaultLens.d.ts +207 -0
- package/dist/typechain/VaultLens.d.ts.map +1 -0
- package/dist/typechain/VaultLens.js +3 -0
- package/dist/typechain/VaultLens.js.map +1 -0
- package/dist/typechain/WildcatVaultController.d.ts +331 -0
- package/dist/typechain/WildcatVaultController.d.ts.map +1 -0
- package/dist/typechain/WildcatVaultController.js +3 -0
- package/dist/typechain/WildcatVaultController.js.map +1 -0
- package/dist/typechain/WildcatVaultFactory.d.ts +137 -0
- package/dist/typechain/WildcatVaultFactory.d.ts.map +1 -0
- package/dist/typechain/WildcatVaultFactory.js +3 -0
- package/dist/typechain/WildcatVaultFactory.js.map +1 -0
- package/dist/typechain/WildcatVaultToken.d.ts +556 -0
- package/dist/typechain/WildcatVaultToken.d.ts.map +1 -0
- package/dist/typechain/WildcatVaultToken.js +3 -0
- package/dist/typechain/WildcatVaultToken.js.map +1 -0
- package/dist/typechain/common.d.ts +23 -0
- package/dist/typechain/common.d.ts.map +1 -0
- package/dist/typechain/common.js +3 -0
- package/dist/typechain/common.js.map +1 -0
- package/dist/typechain/factories/DebtTokenBase__factory.d.ts +660 -0
- package/dist/typechain/factories/DebtTokenBase__factory.d.ts.map +1 -0
- package/dist/typechain/factories/DebtTokenBase__factory.js +867 -0
- package/dist/typechain/factories/DebtTokenBase__factory.js.map +1 -0
- package/dist/typechain/factories/IERC20__factory.d.ts +185 -0
- package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -0
- package/dist/typechain/factories/IERC20__factory.js +251 -0
- package/dist/typechain/factories/IERC20__factory.js.map +1 -0
- package/dist/typechain/factories/VaultLens__factory.d.ts +405 -0
- package/dist/typechain/factories/VaultLens__factory.d.ts.map +1 -0
- package/dist/typechain/factories/VaultLens__factory.js +536 -0
- package/dist/typechain/factories/VaultLens__factory.js.map +1 -0
- package/dist/typechain/factories/WildcatVaultController__factory.d.ts +465 -0
- package/dist/typechain/factories/WildcatVaultController__factory.d.ts.map +1 -0
- package/dist/typechain/factories/WildcatVaultController__factory.js +612 -0
- package/dist/typechain/factories/WildcatVaultController__factory.js.map +1 -0
- package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts +196 -0
- package/dist/typechain/factories/WildcatVaultFactory__factory.d.ts.map +1 -0
- package/dist/typechain/factories/WildcatVaultFactory__factory.js +266 -0
- package/dist/typechain/factories/WildcatVaultFactory__factory.js.map +1 -0
- package/dist/typechain/factories/WildcatVaultToken__factory.d.ts +678 -0
- package/dist/typechain/factories/WildcatVaultToken__factory.d.ts.map +1 -0
- package/dist/typechain/factories/WildcatVaultToken__factory.js +889 -0
- package/dist/typechain/factories/WildcatVaultToken__factory.js.map +1 -0
- package/dist/typechain/factories/index.d.ts +7 -0
- package/dist/typechain/factories/index.d.ts.map +1 -0
- package/dist/typechain/factories/index.js +16 -0
- package/dist/typechain/factories/index.js.map +1 -0
- package/dist/typechain/index.d.ts +8 -0
- package/dist/typechain/index.d.ts.map +1 -0
- package/dist/typechain/index.js +18 -0
- package/dist/typechain/index.js.map +1 -0
- package/dist/types.d.ts +19 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +40 -0
- package/dist/types.js.map +1 -0
- package/dist/vault.d.ts +73 -0
- package/dist/vault.d.ts.map +1 -0
- package/dist/vault.js +173 -0
- package/dist/vault.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { PromiseOrValue } from "../common";
|
|
4
|
+
import type { VaultLens, VaultLensInterface } from "../VaultLens";
|
|
5
|
+
type VaultLensConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
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 = "0x608060405234801561001057600080fd5b5061231d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631f69565f1461005c57806328b37b221461008c57806356360f71146100bc578063a0ff58f6146100ec578063a32698461461011c575b600080fd5b6100766004803603810190610071919061139d565b61014c565b60405161008391906114ec565b60405180910390f35b6100a660048036038101906100a1919061154c565b610304565b6040516100b391906115d6565b60405180910390f35b6100d660048036038101906100d1919061154c565b61044c565b6040516100e39190611862565b60405180910390f35b61010660048036038101906101019190611884565b610e3a565b6040516101139190611919565b60405180910390f35b61013660048036038101906101319190611999565b6110ca565b6040516101439190611caf565b60405180910390f35b61015461119b565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906102009190611df2565b81602001819052508173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610253573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061027c9190611df2565b81604001819052508173ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f39190611e74565b60ff16816060018181525050919050565b61030c6111d9565b6000808373ffffffffffffffffffffffffffffffffffffffff1663f77c47916040518163ffffffff1660e01b8152600401602060405180830381865afa15801561035a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037e9190611eb6565b73ffffffffffffffffffffffffffffffffffffffff1663a77a679e856040518263ffffffff1660e01b81526004016103b69190611ef2565b6040805180830381865afa1580156103d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f69190611f55565b6fffffffffffffffffffffffffffffffff1691506fffffffffffffffffffffffffffffffff1691506000811183600001901515908115158152505081836020018181525050808360400181815250505050919050565b6104546111fc565b61045d8261014c565b81600001819052506104dc8273ffffffffffffffffffffffffffffffffffffffff166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d79190611eb6565b61014c565b81602001819052508173ffffffffffffffffffffffffffffffffffffffff16637df1f1b96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561052f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105539190611eb6565b816040019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663f77c47916040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190611eb6565b816060019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663469048406040518163ffffffff1660e01b8152600401602060405180830381865afa15801561067b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069f9190611eb6565b816080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663397f11336040518163ffffffff1660e01b8152600401602060405180830381865afa158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190611fc1565b8160a00181815250508173ffffffffffffffffffffffffffffffffffffffff1663411ef4406040518163ffffffff1660e01b8152600401602060405180830381865afa158015610799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bd9190611fc1565b8160c00181815250508173ffffffffffffffffffffffffffffffffffffffff1663a06db7dc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610811573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108359190611fc1565b8160e00181815250508173ffffffffffffffffffffffffffffffffffffffff166311057cd06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ad9190611fc1565b816101000181815250508173ffffffffffffffffffffffffffffffffffffffff1663807164826040518163ffffffff1660e01b8152600401602060405180830381865afa158015610902573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109269190611fc1565b816101200181815250506000808373ffffffffffffffffffffffffffffffffffffffff1663f77c47916040518163ffffffff1660e01b8152600401602060405180830381865afa15801561097e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a29190611eb6565b73ffffffffffffffffffffffffffffffffffffffff1663a77a679e856040518263ffffffff1660e01b81526004016109da9190611ef2565b6040805180830381865afa1580156109f6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1a9190611f55565b6fffffffffffffffffffffffffffffffff1691506fffffffffffffffffffffffffffffffff1691506000811183610140019015159081151581525050818361016001818152505080836101800181815250508373ffffffffffffffffffffffffffffffffffffffff1663766360176040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adb9190611fc1565b836101a001818152505060008473ffffffffffffffffffffffffffffffffffffffff16630c3f6acf6040518163ffffffff1660e01b815260040161010060405180830381865afa158015610b33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5791906121ea565b90508473ffffffffffffffffffffffffffffffffffffffff16632ab4d0526040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc89190611fc1565b846101c001818152505080602001516cffffffffffffffffffffffffff16846101e00181815250508473ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5f9190611fc1565b846102000181815250508473ffffffffffffffffffffffffffffffffffffffff166301e1d1146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd89190611fc1565b846102200181815250508473ffffffffffffffffffffffffffffffffffffffff1663739ccdd36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d519190611fc1565b846102400181815250508060c001516dffffffffffffffffffffffffffff16846102600181815250508473ffffffffffffffffffffffffffffffffffffffff16630cd1a5b66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de99190611fc1565b846102800181815250508060400151846102a00190151590811515815250508060a0015163ffffffff16846102c00181815250508060e0015163ffffffff16846102e0018181525050505050919050565b610e42611303565b8273ffffffffffffffffffffffffffffffffffffffff16631da24f3e836040518263ffffffff1660e01b8152600401610e7b9190611ef2565b602060405180830381865afa158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190611fc1565b8160000181815250508273ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401610efe9190611ef2565b602060405180830381865afa158015610f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3f9190611fc1565b81602001818152505060008373ffffffffffffffffffffffffffffffffffffffff166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb99190611eb6565b90508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610ff49190611ef2565b602060405180830381865afa158015611011573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110359190611fc1565b8260400181815250508073ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e84866040518363ffffffff1660e01b8152600401611079929190612218565b602060405180830381865afa158015611096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ba9190611fc1565b8260600181815250505092915050565b60608282905067ffffffffffffffff8111156110e9576110e8611cd6565b5b60405190808252806020026020018201604052801561112257816020015b61110f6111fc565b8152602001906001900390816111075790505b50905060005b838390508110156111945761116384848381811061114957611148612241565b5b905060200201602081019061115e919061154c565b61044c565b82828151811061117657611175612241565b5b6020026020010181905250808061118c9061229f565b915050611128565b5092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016060815260200160608152602001600081525090565b604051806060016040528060001515815260200160008152602001600081525090565b60405180610300016040528061121061119b565b815260200161121d61119b565b8152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160008152602001600081525090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061136a8261133f565b9050919050565b61137a8161135f565b811461138557600080fd5b50565b60008135905061139781611371565b92915050565b6000602082840312156113b3576113b2611335565b5b60006113c184828501611388565b91505092915050565b6113d38161135f565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156114135780820151818401526020810190506113f8565b60008484015250505050565b6000601f19601f8301169050919050565b600061143b826113d9565b61144581856113e4565b93506114558185602086016113f5565b61145e8161141f565b840191505092915050565b6000819050919050565b61147c81611469565b82525050565b600060808301600083015161149a60008601826113ca565b50602083015184820360208601526114b28282611430565b915050604083015184820360408601526114cc8282611430565b91505060608301516114e16060860182611473565b508091505092915050565b600060208201905081810360008301526115068184611482565b905092915050565b60006115198261135f565b9050919050565b6115298161150e565b811461153457600080fd5b50565b60008135905061154681611520565b92915050565b60006020828403121561156257611561611335565b5b600061157084828501611537565b91505092915050565b60008115159050919050565b61158e81611579565b82525050565b6060820160008201516115aa6000850182611585565b5060208201516115bd6020850182611473565b5060408201516115d06040850182611473565b50505050565b60006060820190506115eb6000830184611594565b92915050565b600060808301600083015161160960008601826113ca565b50602083015184820360208601526116218282611430565b9150506040830151848203604086015261163b8282611430565b91505060608301516116506060860182611473565b508091505092915050565b600061030083016000830151848203600086015261167982826115f1565b9150506020830151848203602086015261169382826115f1565b91505060408301516116a860408601826113ca565b5060608301516116bb60608601826113ca565b5060808301516116ce60808601826113ca565b5060a08301516116e160a0860182611473565b5060c08301516116f460c0860182611473565b5060e083015161170760e0860182611473565b5061010083015161171c610100860182611473565b50610120830151611731610120860182611473565b50610140830151611746610140860182611585565b5061016083015161175b610160860182611473565b50610180830151611770610180860182611473565b506101a08301516117856101a0860182611473565b506101c083015161179a6101c0860182611473565b506101e08301516117af6101e0860182611473565b506102008301516117c4610200860182611473565b506102208301516117d9610220860182611473565b506102408301516117ee610240860182611473565b50610260830151611803610260860182611473565b50610280830151611818610280860182611473565b506102a083015161182d6102a0860182611585565b506102c08301516118426102c0860182611473565b506102e08301516118576102e0860182611473565b508091505092915050565b6000602082019050818103600083015261187c818461165b565b905092915050565b6000806040838503121561189b5761189a611335565b5b60006118a985828601611537565b92505060206118ba85828601611388565b9150509250929050565b6080820160008201516118da6000850182611473565b5060208201516118ed6020850182611473565b5060408201516119006040850182611473565b5060608201516119136060850182611473565b50505050565b600060808201905061192e60008301846118c4565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261195957611958611934565b5b8235905067ffffffffffffffff81111561197657611975611939565b5b6020830191508360208202830111156119925761199161193e565b5b9250929050565b600080602083850312156119b0576119af611335565b5b600083013567ffffffffffffffff8111156119ce576119cd61133a565b5b6119da85828601611943565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610300830160008301518482036000860152611a3082826115f1565b91505060208301518482036020860152611a4a82826115f1565b9150506040830151611a5f60408601826113ca565b506060830151611a7260608601826113ca565b506080830151611a8560808601826113ca565b5060a0830151611a9860a0860182611473565b5060c0830151611aab60c0860182611473565b5060e0830151611abe60e0860182611473565b50610100830151611ad3610100860182611473565b50610120830151611ae8610120860182611473565b50610140830151611afd610140860182611585565b50610160830151611b12610160860182611473565b50610180830151611b27610180860182611473565b506101a0830151611b3c6101a0860182611473565b506101c0830151611b516101c0860182611473565b506101e0830151611b666101e0860182611473565b50610200830151611b7b610200860182611473565b50610220830151611b90610220860182611473565b50610240830151611ba5610240860182611473565b50610260830151611bba610260860182611473565b50610280830151611bcf610280860182611473565b506102a0830151611be46102a0860182611585565b506102c0830151611bf96102c0860182611473565b506102e0830151611c0e6102e0860182611473565b508091505092915050565b6000611c258383611a12565b905092915050565b6000602082019050919050565b6000611c45826119e6565b611c4f81856119f1565b935083602082028501611c6185611a02565b8060005b85811015611c9d5784840389528151611c7e8582611c19565b9450611c8983611c2d565b925060208a01995050600181019050611c65565b50829750879550505050505092915050565b60006020820190508181036000830152611cc98184611c3a565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611d0e8261141f565b810181811067ffffffffffffffff82111715611d2d57611d2c611cd6565b5b80604052505050565b6000611d4061132b565b9050611d4c8282611d05565b919050565b600067ffffffffffffffff821115611d6c57611d6b611cd6565b5b611d758261141f565b9050602081019050919050565b6000611d95611d9084611d51565b611d36565b905082815260208101848484011115611db157611db0611cd1565b5b611dbc8482856113f5565b509392505050565b600082601f830112611dd957611dd8611934565b5b8151611de9848260208601611d82565b91505092915050565b600060208284031215611e0857611e07611335565b5b600082015167ffffffffffffffff811115611e2657611e2561133a565b5b611e3284828501611dc4565b91505092915050565b600060ff82169050919050565b611e5181611e3b565b8114611e5c57600080fd5b50565b600081519050611e6e81611e48565b92915050565b600060208284031215611e8a57611e89611335565b5b6000611e9884828501611e5f565b91505092915050565b600081519050611eb081611371565b92915050565b600060208284031215611ecc57611ecb611335565b5b6000611eda84828501611ea1565b91505092915050565b611eec8161135f565b82525050565b6000602082019050611f076000830184611ee3565b92915050565b60006fffffffffffffffffffffffffffffffff82169050919050565b611f3281611f0d565b8114611f3d57600080fd5b50565b600081519050611f4f81611f29565b92915050565b60008060408385031215611f6c57611f6b611335565b5b6000611f7a85828601611f40565b9250506020611f8b85828601611f40565b9150509250929050565b611f9e81611469565b8114611fa957600080fd5b50565b600081519050611fbb81611f95565b92915050565b600060208284031215611fd757611fd6611335565b5b6000611fe584828501611fac565b91505092915050565b600080fd5b60006cffffffffffffffffffffffffff82169050919050565b61201581611ff3565b811461202057600080fd5b50565b6000815190506120328161200c565b92915050565b61204181611579565b811461204c57600080fd5b50565b60008151905061205e81612038565b92915050565b600061ffff82169050919050565b61207b81612064565b811461208657600080fd5b50565b60008151905061209881612072565b92915050565b600063ffffffff82169050919050565b6120b78161209e565b81146120c257600080fd5b50565b6000815190506120d4816120ae565b92915050565b60006dffffffffffffffffffffffffffff82169050919050565b6120fd816120da565b811461210857600080fd5b50565b60008151905061211a816120f4565b92915050565b6000610100828403121561213757612136611fee565b5b612142610100611d36565b9050600061215284828501611f40565b600083015250602061216684828501612023565b602083015250604061217a8482850161204f565b604083015250606061218e84828501612089565b60608301525060806121a284828501612089565b60808301525060a06121b6848285016120c5565b60a08301525060c06121ca8482850161210b565b60c08301525060e06121de848285016120c5565b60e08301525092915050565b6000610100828403121561220157612200611335565b5b600061220f84828501612120565b91505092915050565b600060408201905061222d6000830185611ee3565b61223a6020830184611ee3565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006122aa82611469565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122dc576122db612270565b5b60018201905091905056fea2646970667358221220fe27ab5f0dadd10a33f750028aaaab49b242d14a23b93d28585d529b4ab4710264736f6c63430008110033";
|
|
17
|
+
static readonly abi: readonly [{
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly internalType: "contract DebtTokenBase";
|
|
20
|
+
readonly name: "vault";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}, {
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "account";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}];
|
|
27
|
+
readonly name: "getAccountVaultInfo";
|
|
28
|
+
readonly outputs: readonly [{
|
|
29
|
+
readonly components: readonly [{
|
|
30
|
+
readonly internalType: "uint256";
|
|
31
|
+
readonly name: "scaledBalance";
|
|
32
|
+
readonly type: "uint256";
|
|
33
|
+
}, {
|
|
34
|
+
readonly internalType: "uint256";
|
|
35
|
+
readonly name: "normalizedBalance";
|
|
36
|
+
readonly type: "uint256";
|
|
37
|
+
}, {
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
readonly name: "underlyingBalance";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}, {
|
|
42
|
+
readonly internalType: "uint256";
|
|
43
|
+
readonly name: "underlyingApproval";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}];
|
|
46
|
+
readonly internalType: "struct AccountVaultInfo";
|
|
47
|
+
readonly name: "info";
|
|
48
|
+
readonly type: "tuple";
|
|
49
|
+
}];
|
|
50
|
+
readonly stateMutability: "view";
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly internalType: "contract DebtTokenBase";
|
|
55
|
+
readonly name: "vault";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
}];
|
|
58
|
+
readonly name: "getControlStatus";
|
|
59
|
+
readonly outputs: readonly [{
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly internalType: "bool";
|
|
62
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
63
|
+
readonly type: "bool";
|
|
64
|
+
}, {
|
|
65
|
+
readonly internalType: "uint256";
|
|
66
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
67
|
+
readonly type: "uint256";
|
|
68
|
+
}, {
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
71
|
+
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
|
+
}, {
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "decimals";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
readonly internalType: "struct TokenMetadata";
|
|
105
|
+
readonly name: "info";
|
|
106
|
+
readonly type: "tuple";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "view";
|
|
109
|
+
readonly type: "function";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly internalType: "contract DebtTokenBase";
|
|
113
|
+
readonly name: "vault";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "getVaultData";
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly components: readonly [{
|
|
119
|
+
readonly components: readonly [{
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
readonly name: "token";
|
|
122
|
+
readonly type: "address";
|
|
123
|
+
}, {
|
|
124
|
+
readonly internalType: "string";
|
|
125
|
+
readonly name: "name";
|
|
126
|
+
readonly type: "string";
|
|
127
|
+
}, {
|
|
128
|
+
readonly internalType: "string";
|
|
129
|
+
readonly name: "symbol";
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
}, {
|
|
132
|
+
readonly internalType: "uint256";
|
|
133
|
+
readonly name: "decimals";
|
|
134
|
+
readonly type: "uint256";
|
|
135
|
+
}];
|
|
136
|
+
readonly internalType: "struct TokenMetadata";
|
|
137
|
+
readonly name: "vaultToken";
|
|
138
|
+
readonly type: "tuple";
|
|
139
|
+
}, {
|
|
140
|
+
readonly components: readonly [{
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
readonly name: "token";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly internalType: "string";
|
|
146
|
+
readonly name: "name";
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "string";
|
|
150
|
+
readonly name: "symbol";
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
}, {
|
|
153
|
+
readonly internalType: "uint256";
|
|
154
|
+
readonly name: "decimals";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
}];
|
|
157
|
+
readonly internalType: "struct TokenMetadata";
|
|
158
|
+
readonly name: "underlyingToken";
|
|
159
|
+
readonly type: "tuple";
|
|
160
|
+
}, {
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
readonly name: "borrower";
|
|
163
|
+
readonly type: "address";
|
|
164
|
+
}, {
|
|
165
|
+
readonly internalType: "address";
|
|
166
|
+
readonly name: "controller";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
}, {
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
readonly name: "feeRecipient";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
}, {
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
readonly name: "interestFeeBips";
|
|
175
|
+
readonly type: "uint256";
|
|
176
|
+
}, {
|
|
177
|
+
readonly internalType: "uint256";
|
|
178
|
+
readonly name: "penaltyFeeBips";
|
|
179
|
+
readonly type: "uint256";
|
|
180
|
+
}, {
|
|
181
|
+
readonly internalType: "uint256";
|
|
182
|
+
readonly name: "gracePeriod";
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
}, {
|
|
185
|
+
readonly internalType: "uint256";
|
|
186
|
+
readonly name: "annualInterestBips";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
}, {
|
|
189
|
+
readonly internalType: "uint256";
|
|
190
|
+
readonly name: "liquidityCoverageRatio";
|
|
191
|
+
readonly type: "uint256";
|
|
192
|
+
}, {
|
|
193
|
+
readonly internalType: "bool";
|
|
194
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
195
|
+
readonly type: "bool";
|
|
196
|
+
}, {
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}, {
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
203
|
+
readonly type: "uint256";
|
|
204
|
+
}, {
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
readonly name: "borrowableAssets";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}, {
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
readonly name: "maxTotalSupply";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}, {
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
readonly name: "scaledTotalSupply";
|
|
215
|
+
readonly type: "uint256";
|
|
216
|
+
}, {
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
readonly name: "totalSupply";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
}, {
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly name: "totalAssets";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly name: "coverageLiquidity";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly internalType: "uint256";
|
|
230
|
+
readonly name: "scaleFactor";
|
|
231
|
+
readonly type: "uint256";
|
|
232
|
+
}, {
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "lastAccruedProtocolFees";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}, {
|
|
237
|
+
readonly internalType: "bool";
|
|
238
|
+
readonly name: "isDelinquent";
|
|
239
|
+
readonly type: "bool";
|
|
240
|
+
}, {
|
|
241
|
+
readonly internalType: "uint256";
|
|
242
|
+
readonly name: "timeDelinquent";
|
|
243
|
+
readonly type: "uint256";
|
|
244
|
+
}, {
|
|
245
|
+
readonly internalType: "uint256";
|
|
246
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
247
|
+
readonly type: "uint256";
|
|
248
|
+
}];
|
|
249
|
+
readonly internalType: "struct VaultData";
|
|
250
|
+
readonly name: "data";
|
|
251
|
+
readonly type: "tuple";
|
|
252
|
+
}];
|
|
253
|
+
readonly stateMutability: "view";
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
}, {
|
|
256
|
+
readonly inputs: readonly [{
|
|
257
|
+
readonly internalType: "contract DebtTokenBase[]";
|
|
258
|
+
readonly name: "vaults";
|
|
259
|
+
readonly type: "address[]";
|
|
260
|
+
}];
|
|
261
|
+
readonly name: "getVaultsMetadata";
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly components: readonly [{
|
|
264
|
+
readonly components: readonly [{
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly name: "token";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}, {
|
|
269
|
+
readonly internalType: "string";
|
|
270
|
+
readonly name: "name";
|
|
271
|
+
readonly type: "string";
|
|
272
|
+
}, {
|
|
273
|
+
readonly internalType: "string";
|
|
274
|
+
readonly name: "symbol";
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
}, {
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "decimals";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}];
|
|
281
|
+
readonly internalType: "struct TokenMetadata";
|
|
282
|
+
readonly name: "vaultToken";
|
|
283
|
+
readonly type: "tuple";
|
|
284
|
+
}, {
|
|
285
|
+
readonly components: readonly [{
|
|
286
|
+
readonly internalType: "address";
|
|
287
|
+
readonly name: "token";
|
|
288
|
+
readonly type: "address";
|
|
289
|
+
}, {
|
|
290
|
+
readonly internalType: "string";
|
|
291
|
+
readonly name: "name";
|
|
292
|
+
readonly type: "string";
|
|
293
|
+
}, {
|
|
294
|
+
readonly internalType: "string";
|
|
295
|
+
readonly name: "symbol";
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
}, {
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
readonly name: "decimals";
|
|
300
|
+
readonly type: "uint256";
|
|
301
|
+
}];
|
|
302
|
+
readonly internalType: "struct TokenMetadata";
|
|
303
|
+
readonly name: "underlyingToken";
|
|
304
|
+
readonly type: "tuple";
|
|
305
|
+
}, {
|
|
306
|
+
readonly internalType: "address";
|
|
307
|
+
readonly name: "borrower";
|
|
308
|
+
readonly type: "address";
|
|
309
|
+
}, {
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "controller";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly internalType: "address";
|
|
315
|
+
readonly name: "feeRecipient";
|
|
316
|
+
readonly type: "address";
|
|
317
|
+
}, {
|
|
318
|
+
readonly internalType: "uint256";
|
|
319
|
+
readonly name: "interestFeeBips";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}, {
|
|
322
|
+
readonly internalType: "uint256";
|
|
323
|
+
readonly name: "penaltyFeeBips";
|
|
324
|
+
readonly type: "uint256";
|
|
325
|
+
}, {
|
|
326
|
+
readonly internalType: "uint256";
|
|
327
|
+
readonly name: "gracePeriod";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
}, {
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "annualInterestBips";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "uint256";
|
|
335
|
+
readonly name: "liquidityCoverageRatio";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "bool";
|
|
339
|
+
readonly name: "temporaryLiquidityCoverage";
|
|
340
|
+
readonly type: "bool";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
readonly name: "originalLiquidityCoverageRatio";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}, {
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "temporaryLiquidityCoverageExpiry";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
readonly name: "borrowableAssets";
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
}, {
|
|
354
|
+
readonly internalType: "uint256";
|
|
355
|
+
readonly name: "maxTotalSupply";
|
|
356
|
+
readonly type: "uint256";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
readonly name: "scaledTotalSupply";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}, {
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "totalSupply";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}, {
|
|
366
|
+
readonly internalType: "uint256";
|
|
367
|
+
readonly name: "totalAssets";
|
|
368
|
+
readonly type: "uint256";
|
|
369
|
+
}, {
|
|
370
|
+
readonly internalType: "uint256";
|
|
371
|
+
readonly name: "coverageLiquidity";
|
|
372
|
+
readonly type: "uint256";
|
|
373
|
+
}, {
|
|
374
|
+
readonly internalType: "uint256";
|
|
375
|
+
readonly name: "scaleFactor";
|
|
376
|
+
readonly type: "uint256";
|
|
377
|
+
}, {
|
|
378
|
+
readonly internalType: "uint256";
|
|
379
|
+
readonly name: "lastAccruedProtocolFees";
|
|
380
|
+
readonly type: "uint256";
|
|
381
|
+
}, {
|
|
382
|
+
readonly internalType: "bool";
|
|
383
|
+
readonly name: "isDelinquent";
|
|
384
|
+
readonly type: "bool";
|
|
385
|
+
}, {
|
|
386
|
+
readonly internalType: "uint256";
|
|
387
|
+
readonly name: "timeDelinquent";
|
|
388
|
+
readonly type: "uint256";
|
|
389
|
+
}, {
|
|
390
|
+
readonly internalType: "uint256";
|
|
391
|
+
readonly name: "lastInterestAccruedTimestamp";
|
|
392
|
+
readonly type: "uint256";
|
|
393
|
+
}];
|
|
394
|
+
readonly internalType: "struct VaultData[]";
|
|
395
|
+
readonly name: "data";
|
|
396
|
+
readonly type: "tuple[]";
|
|
397
|
+
}];
|
|
398
|
+
readonly stateMutability: "view";
|
|
399
|
+
readonly type: "function";
|
|
400
|
+
}];
|
|
401
|
+
static createInterface(): VaultLensInterface;
|
|
402
|
+
static connect(address: string, signerOrProvider: Signer | Provider): VaultLens;
|
|
403
|
+
}
|
|
404
|
+
export {};
|
|
405
|
+
//# sourceMappingURL=VaultLens__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VaultLens__factory.d.ts","sourceRoot":"","sources":["../../../src/typechain/factories/VaultLens__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAqflE,KAAK,0BAA0B,GAC3B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kBAAmB,SAAQ,eAAe;gBACzC,GAAG,IAAI,EAAE,0BAA0B;IAQtC,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,SAAS,CAAC;IAGZ,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;KAAE,GACxD,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS;IAGlC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB;IAIpD,MAAM,CAAC,QAAQ,CAAC,QAAQ,kojBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kBAAkB;IAG5C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,SAAS;CAGb"}
|