@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,124 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
|
-
BytesLike,
|
|
8
|
-
CallOverrides,
|
|
9
|
-
ContractTransaction,
|
|
10
|
-
Overrides,
|
|
11
|
-
PopulatedTransaction,
|
|
12
|
-
Signer,
|
|
13
|
-
utils,
|
|
14
|
-
} from "ethers";
|
|
15
|
-
import type {
|
|
16
|
-
FunctionFragment,
|
|
17
|
-
Result,
|
|
18
|
-
EventFragment,
|
|
19
|
-
} from "@ethersproject/abi";
|
|
20
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
21
|
-
import type {
|
|
22
|
-
TypedEventFilter,
|
|
23
|
-
TypedEvent,
|
|
24
|
-
TypedListener,
|
|
25
|
-
OnEvent,
|
|
26
|
-
} from "./common";
|
|
27
|
-
|
|
28
|
-
export interface KSULockBonusAbiInterface extends utils.Interface {
|
|
29
|
-
functions: {
|
|
30
|
-
"initialize(address,address)": FunctionFragment;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
getFunction(nameOrSignatureOrTopic: "initialize"): FunctionFragment;
|
|
34
|
-
|
|
35
|
-
encodeFunctionData(
|
|
36
|
-
functionFragment: "initialize",
|
|
37
|
-
values: [string, string]
|
|
38
|
-
): string;
|
|
39
|
-
|
|
40
|
-
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
41
|
-
|
|
42
|
-
events: {
|
|
43
|
-
"Initialized(uint64)": EventFragment;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface InitializedEventObject {
|
|
50
|
-
version: BigNumber;
|
|
51
|
-
}
|
|
52
|
-
export type InitializedEvent = TypedEvent<[BigNumber], InitializedEventObject>;
|
|
53
|
-
|
|
54
|
-
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
55
|
-
|
|
56
|
-
export interface KSULockBonusAbi extends BaseContract {
|
|
57
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
58
|
-
attach(addressOrName: string): this;
|
|
59
|
-
deployed(): Promise<this>;
|
|
60
|
-
|
|
61
|
-
interface: KSULockBonusAbiInterface;
|
|
62
|
-
|
|
63
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
64
|
-
event: TypedEventFilter<TEvent>,
|
|
65
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
66
|
-
toBlock?: string | number | undefined
|
|
67
|
-
): Promise<Array<TEvent>>;
|
|
68
|
-
|
|
69
|
-
listeners<TEvent extends TypedEvent>(
|
|
70
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
71
|
-
): Array<TypedListener<TEvent>>;
|
|
72
|
-
listeners(eventName?: string): Array<Listener>;
|
|
73
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
74
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
75
|
-
): this;
|
|
76
|
-
removeAllListeners(eventName?: string): this;
|
|
77
|
-
off: OnEvent<this>;
|
|
78
|
-
on: OnEvent<this>;
|
|
79
|
-
once: OnEvent<this>;
|
|
80
|
-
removeListener: OnEvent<this>;
|
|
81
|
-
|
|
82
|
-
functions: {
|
|
83
|
-
initialize(
|
|
84
|
-
ksuLocking_: string,
|
|
85
|
-
ksuToken_: string,
|
|
86
|
-
overrides?: Overrides & { from?: string }
|
|
87
|
-
): Promise<ContractTransaction>;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
initialize(
|
|
91
|
-
ksuLocking_: string,
|
|
92
|
-
ksuToken_: string,
|
|
93
|
-
overrides?: Overrides & { from?: string }
|
|
94
|
-
): Promise<ContractTransaction>;
|
|
95
|
-
|
|
96
|
-
callStatic: {
|
|
97
|
-
initialize(
|
|
98
|
-
ksuLocking_: string,
|
|
99
|
-
ksuToken_: string,
|
|
100
|
-
overrides?: CallOverrides
|
|
101
|
-
): Promise<void>;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
filters: {
|
|
105
|
-
"Initialized(uint64)"(version?: null): InitializedEventFilter;
|
|
106
|
-
Initialized(version?: null): InitializedEventFilter;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
estimateGas: {
|
|
110
|
-
initialize(
|
|
111
|
-
ksuLocking_: string,
|
|
112
|
-
ksuToken_: string,
|
|
113
|
-
overrides?: Overrides & { from?: string }
|
|
114
|
-
): Promise<BigNumber>;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
populateTransaction: {
|
|
118
|
-
initialize(
|
|
119
|
-
ksuLocking_: string,
|
|
120
|
-
ksuToken_: string,
|
|
121
|
-
overrides?: Overrides & { from?: string }
|
|
122
|
-
): Promise<PopulatedTransaction>;
|
|
123
|
-
};
|
|
124
|
-
}
|