@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,115 +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
|
-
KSULockBonusAbi,
|
|
9
|
-
KSULockBonusAbiInterface,
|
|
10
|
-
} from "../KSULockBonusAbi";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
inputs: [],
|
|
15
|
-
stateMutability: "nonpayable",
|
|
16
|
-
type: "constructor",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
inputs: [
|
|
20
|
-
{
|
|
21
|
-
internalType: "address",
|
|
22
|
-
name: "target",
|
|
23
|
-
type: "address",
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
name: "AddressEmptyCode",
|
|
27
|
-
type: "error",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
inputs: [
|
|
31
|
-
{
|
|
32
|
-
internalType: "address",
|
|
33
|
-
name: "account",
|
|
34
|
-
type: "address",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
name: "AddressInsufficientBalance",
|
|
38
|
-
type: "error",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
inputs: [],
|
|
42
|
-
name: "ConfigurationAddressZero",
|
|
43
|
-
type: "error",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
inputs: [],
|
|
47
|
-
name: "FailedInnerCall",
|
|
48
|
-
type: "error",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
inputs: [],
|
|
52
|
-
name: "InvalidInitialization",
|
|
53
|
-
type: "error",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
inputs: [],
|
|
57
|
-
name: "NotInitializing",
|
|
58
|
-
type: "error",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
inputs: [
|
|
62
|
-
{
|
|
63
|
-
internalType: "address",
|
|
64
|
-
name: "token",
|
|
65
|
-
type: "address",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
name: "SafeERC20FailedOperation",
|
|
69
|
-
type: "error",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
anonymous: false,
|
|
73
|
-
inputs: [
|
|
74
|
-
{
|
|
75
|
-
indexed: false,
|
|
76
|
-
internalType: "uint64",
|
|
77
|
-
name: "version",
|
|
78
|
-
type: "uint64",
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
name: "Initialized",
|
|
82
|
-
type: "event",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
inputs: [
|
|
86
|
-
{
|
|
87
|
-
internalType: "address",
|
|
88
|
-
name: "ksuLocking_",
|
|
89
|
-
type: "address",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
internalType: "contract IERC20",
|
|
93
|
-
name: "ksuToken_",
|
|
94
|
-
type: "address",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
name: "initialize",
|
|
98
|
-
outputs: [],
|
|
99
|
-
stateMutability: "nonpayable",
|
|
100
|
-
type: "function",
|
|
101
|
-
},
|
|
102
|
-
] as const;
|
|
103
|
-
|
|
104
|
-
export class KSULockBonusAbi__factory {
|
|
105
|
-
static readonly abi = _abi;
|
|
106
|
-
static createInterface(): KSULockBonusAbiInterface {
|
|
107
|
-
return new utils.Interface(_abi) as KSULockBonusAbiInterface;
|
|
108
|
-
}
|
|
109
|
-
static connect(
|
|
110
|
-
address: string,
|
|
111
|
-
signerOrProvider: Signer | Provider
|
|
112
|
-
): KSULockBonusAbi {
|
|
113
|
-
return new Contract(address, _abi, signerOrProvider) as KSULockBonusAbi;
|
|
114
|
-
}
|
|
115
|
-
}
|