@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,90 +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
|
-
IFeeManagerAbi,
|
|
9
|
-
IFeeManagerAbiInterface,
|
|
10
|
-
} from "../IFeeManagerAbi";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
anonymous: false,
|
|
15
|
-
inputs: [
|
|
16
|
-
{
|
|
17
|
-
indexed: true,
|
|
18
|
-
internalType: "address",
|
|
19
|
-
name: "lendingPoolAddress",
|
|
20
|
-
type: "address",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
indexed: false,
|
|
24
|
-
internalType: "uint256",
|
|
25
|
-
name: "ecosystemFeeAmount",
|
|
26
|
-
type: "uint256",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
indexed: false,
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "protocolFeeAmount",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
name: "FeesEmitted",
|
|
36
|
-
type: "event",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
anonymous: false,
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
indexed: true,
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "user",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: false,
|
|
49
|
-
internalType: "uint256",
|
|
50
|
-
name: "amount",
|
|
51
|
-
type: "uint256",
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
name: "ProtocolFeesClaimed",
|
|
55
|
-
type: "event",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
inputs: [],
|
|
59
|
-
name: "claimProtocolFees",
|
|
60
|
-
outputs: [],
|
|
61
|
-
stateMutability: "nonpayable",
|
|
62
|
-
type: "function",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
inputs: [
|
|
66
|
-
{
|
|
67
|
-
internalType: "uint256",
|
|
68
|
-
name: "amount",
|
|
69
|
-
type: "uint256",
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
name: "emitFees",
|
|
73
|
-
outputs: [],
|
|
74
|
-
stateMutability: "nonpayable",
|
|
75
|
-
type: "function",
|
|
76
|
-
},
|
|
77
|
-
] as const;
|
|
78
|
-
|
|
79
|
-
export class IFeeManagerAbi__factory {
|
|
80
|
-
static readonly abi = _abi;
|
|
81
|
-
static createInterface(): IFeeManagerAbiInterface {
|
|
82
|
-
return new utils.Interface(_abi) as IFeeManagerAbiInterface;
|
|
83
|
-
}
|
|
84
|
-
static connect(
|
|
85
|
-
address: string,
|
|
86
|
-
signerOrProvider: Signer | Provider
|
|
87
|
-
): IFeeManagerAbi {
|
|
88
|
-
return new Contract(address, _abi, signerOrProvider) as IFeeManagerAbi;
|
|
89
|
-
}
|
|
90
|
-
}
|