@kasufinance/kasu-sdk 1.0.1 → 1.0.2
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/.github/workflows/ci.yml +39 -0
- package/.github/workflows/main.yml +17 -13
- package/README.md +146 -0
- package/package.json +1 -1
- package/src/contracts/IClearingCoordinatorAbi.ts +0 -406
- package/src/contracts/IERC20MetadataAbi.ts +0 -364
- package/src/contracts/IFeeManagerAbi.ts +0 -182
- package/src/contracts/IKSULockingAbi.ts +0 -965
- package/src/contracts/IKasuAllowListAbi.ts +0 -605
- package/src/contracts/IKasuControllerAbi.ts +0 -703
- package/src/contracts/IKasuNFTsAbi.ts +0 -2744
- package/src/contracts/IKsuPriceAbi.ts +0 -87
- package/src/contracts/ILendingPoolAbi.ts +0 -2081
- package/src/contracts/ILendingPoolFactoryAbi.ts +0 -161
- package/src/contracts/ILendingPoolManagerAbi.ts +0 -1917
- package/src/contracts/ILendingPoolTrancheAbi.ts +0 -1911
- package/src/contracts/ISystemVariablesAbi.ts +0 -908
- package/src/contracts/IUserLoyaltyRewardsAbi.ts +0 -544
- package/src/contracts/IUserManagerAbi.ts +0 -612
- package/src/contracts/KSULockBonusAbi.ts +0 -124
- package/src/contracts/KasuPoolExternalTVLAbi.ts +0 -1071
- package/src/contracts/SwapperAbi.ts +0 -266
- package/src/contracts/common.ts +0 -44
- package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +0 -438
- package/src/contracts/factories/IERC20MetadataAbi__factory.ts +0 -248
- package/src/contracts/factories/IFeeManagerAbi__factory.ts +0 -90
- package/src/contracts/factories/IKSULockingAbi__factory.ts +0 -778
- package/src/contracts/factories/IKasuAllowListAbi__factory.ts +0 -479
- package/src/contracts/factories/IKasuControllerAbi__factory.ts +0 -447
- package/src/contracts/factories/IKasuNFTsAbi__factory.ts +0 -2116
- package/src/contracts/factories/IKsuPriceAbi__factory.ts +0 -36
- package/src/contracts/factories/ILendingPoolAbi__factory.ts +0 -1455
- package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +0 -125
- package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +0 -1375
- package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +0 -1345
- package/src/contracts/factories/ISystemVariablesAbi__factory.ts +0 -455
- package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +0 -316
- package/src/contracts/factories/IUserManagerAbi__factory.ts +0 -345
- package/src/contracts/factories/KSULockBonusAbi__factory.ts +0 -115
- package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +0 -840
- package/src/contracts/factories/SwapperAbi__factory.ts +0 -167
- package/src/contracts/factories/index.ts +0 -21
- package/src/contracts/index.ts +0 -40
- package/tsconfig.tsbuildinfo +0 -1
- package/versioner.sh +0 -6
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { Contract, Signer, utils } from "ethers";
|
|
6
|
-
import type { Provider } from "@ethersproject/providers";
|
|
7
|
-
import type {
|
|
8
|
-
ILendingPoolFactoryAbi,
|
|
9
|
-
ILendingPoolFactoryAbiInterface,
|
|
10
|
-
} from "../ILendingPoolFactoryAbi";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
inputs: [
|
|
15
|
-
{
|
|
16
|
-
components: [
|
|
17
|
-
{
|
|
18
|
-
internalType: "string",
|
|
19
|
-
name: "poolName",
|
|
20
|
-
type: "string",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
internalType: "string",
|
|
24
|
-
name: "poolSymbol",
|
|
25
|
-
type: "string",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
internalType: "uint256",
|
|
29
|
-
name: "targetExcessLiquidityPercentage",
|
|
30
|
-
type: "uint256",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
components: [
|
|
34
|
-
{
|
|
35
|
-
internalType: "uint256",
|
|
36
|
-
name: "ratio",
|
|
37
|
-
type: "uint256",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
internalType: "uint256",
|
|
41
|
-
name: "interestRate",
|
|
42
|
-
type: "uint256",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "minDepositAmount",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
internalType: "uint256",
|
|
51
|
-
name: "maxDepositAmount",
|
|
52
|
-
type: "uint256",
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
internalType: "struct CreateTrancheConfig[]",
|
|
56
|
-
name: "tranches",
|
|
57
|
-
type: "tuple[]",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
internalType: "address",
|
|
61
|
-
name: "poolAdmin",
|
|
62
|
-
type: "address",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
internalType: "address",
|
|
66
|
-
name: "drawRecipient",
|
|
67
|
-
type: "address",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
internalType: "uint256",
|
|
71
|
-
name: "desiredDrawAmount",
|
|
72
|
-
type: "uint256",
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
internalType: "struct CreatePoolConfig",
|
|
76
|
-
name: "createPoolConfig",
|
|
77
|
-
type: "tuple",
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
name: "createPool",
|
|
81
|
-
outputs: [
|
|
82
|
-
{
|
|
83
|
-
components: [
|
|
84
|
-
{
|
|
85
|
-
internalType: "address",
|
|
86
|
-
name: "lendingPool",
|
|
87
|
-
type: "address",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
internalType: "address",
|
|
91
|
-
name: "pendingPool",
|
|
92
|
-
type: "address",
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
internalType: "address[]",
|
|
96
|
-
name: "tranches",
|
|
97
|
-
type: "address[]",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
internalType: "struct LendingPoolDeployment",
|
|
101
|
-
name: "lendingPoolDeployment",
|
|
102
|
-
type: "tuple",
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
stateMutability: "nonpayable",
|
|
106
|
-
type: "function",
|
|
107
|
-
},
|
|
108
|
-
] as const;
|
|
109
|
-
|
|
110
|
-
export class ILendingPoolFactoryAbi__factory {
|
|
111
|
-
static readonly abi = _abi;
|
|
112
|
-
static createInterface(): ILendingPoolFactoryAbiInterface {
|
|
113
|
-
return new utils.Interface(_abi) as ILendingPoolFactoryAbiInterface;
|
|
114
|
-
}
|
|
115
|
-
static connect(
|
|
116
|
-
address: string,
|
|
117
|
-
signerOrProvider: Signer | Provider
|
|
118
|
-
): ILendingPoolFactoryAbi {
|
|
119
|
-
return new Contract(
|
|
120
|
-
address,
|
|
121
|
-
_abi,
|
|
122
|
-
signerOrProvider
|
|
123
|
-
) as ILendingPoolFactoryAbi;
|
|
124
|
-
}
|
|
125
|
-
}
|