@zebec-network/admin-sdk 1.0.0
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/LICENSE +21 -0
- package/README.md +730 -0
- package/dist/artifacts/abi/index.d.ts +161 -0
- package/dist/artifacts/abi/index.js +7 -0
- package/dist/artifacts/abi/token.json +350 -0
- package/dist/artifacts/abi/weth.json +153 -0
- package/dist/artifacts/abi/zebecCard.json +1229 -0
- package/dist/artifacts/index.d.ts +11 -0
- package/dist/artifacts/index.js +11 -0
- package/dist/artifacts/typechain-types/OdysseyZebecCard.d.ts +559 -0
- package/dist/artifacts/typechain-types/OdysseyZebecCard.js +1 -0
- package/dist/artifacts/typechain-types/Token.d.ts +149 -0
- package/dist/artifacts/typechain-types/Token.js +1 -0
- package/dist/artifacts/typechain-types/Weth.d.ts +179 -0
- package/dist/artifacts/typechain-types/Weth.js +1 -0
- package/dist/artifacts/typechain-types/ZebecCard.d.ts +723 -0
- package/dist/artifacts/typechain-types/ZebecCard.js +1 -0
- package/dist/artifacts/typechain-types/common.d.ts +50 -0
- package/dist/artifacts/typechain-types/common.js +1 -0
- package/dist/artifacts/typechain-types/factories/OdysseyZebecCard__factory.d.ts +735 -0
- package/dist/artifacts/typechain-types/factories/OdysseyZebecCard__factory.js +959 -0
- package/dist/artifacts/typechain-types/factories/Token__factory.d.ts +280 -0
- package/dist/artifacts/typechain-types/factories/Token__factory.js +374 -0
- package/dist/artifacts/typechain-types/factories/Weth__factory.d.ts +219 -0
- package/dist/artifacts/typechain-types/factories/Weth__factory.js +292 -0
- package/dist/artifacts/typechain-types/factories/ZebecCard__factory.d.ts +966 -0
- package/dist/artifacts/typechain-types/factories/ZebecCard__factory.js +1253 -0
- package/dist/artifacts/typechain-types/factories/index.d.ts +4 -0
- package/dist/artifacts/typechain-types/factories/index.js +7 -0
- package/dist/artifacts/typechain-types/index.d.ts +9 -0
- package/dist/artifacts/typechain-types/index.js +8 -0
- package/dist/artifacts/zebec_instant_card.d.ts +3683 -0
- package/dist/artifacts/zebec_instant_card.js +1 -0
- package/dist/artifacts/zebec_instant_card.json +2801 -0
- package/dist/artifacts/zebec_proxy_stream.d.ts +1933 -0
- package/dist/artifacts/zebec_proxy_stream.js +1 -0
- package/dist/artifacts/zebec_proxy_stream.json +1497 -0
- package/dist/artifacts/zebec_stake_v1.d.ts +1679 -0
- package/dist/artifacts/zebec_stake_v1.js +1 -0
- package/dist/artifacts/zebec_stake_v1.json +1255 -0
- package/dist/artifacts/zebec_stream.d.ts +1481 -0
- package/dist/artifacts/zebec_stream.js +1 -0
- package/dist/artifacts/zebec_stream.json +1243 -0
- package/dist/constants.d.ts +32 -0
- package/dist/constants.js +115 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/pda.d.ts +23 -0
- package/dist/pda.js +125 -0
- package/dist/services/evmCardService.d.ts +189 -0
- package/dist/services/evmCardService.js +322 -0
- package/dist/services/index.d.ts +6 -0
- package/dist/services/index.js +6 -0
- package/dist/services/proxyStreamService.d.ts +72 -0
- package/dist/services/proxyStreamService.js +302 -0
- package/dist/services/solanaCardV2Service.d.ts +50 -0
- package/dist/services/solanaCardV2Service.js +717 -0
- package/dist/services/stakingService.d.ts +39 -0
- package/dist/services/stakingService.js +265 -0
- package/dist/services/streamServices.d.ts +50 -0
- package/dist/services/streamServices.js +322 -0
- package/dist/services/suiCardService.d.ts +91 -0
- package/dist/services/suiCardService.js +487 -0
- package/dist/types.d.ts +433 -0
- package/dist/types.js +1 -0
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +39 -0
- package/package.json +57 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
3
|
+
export interface TokenInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "decimals" | "minter" | "name" | "started" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "minter", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "started", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
17
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "minter", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "started", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace ApprovalEvent {
|
|
30
|
+
type InputTuple = [
|
|
31
|
+
owner: AddressLike,
|
|
32
|
+
spender: AddressLike,
|
|
33
|
+
value: BigNumberish
|
|
34
|
+
];
|
|
35
|
+
type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
36
|
+
interface OutputObject {
|
|
37
|
+
owner: string;
|
|
38
|
+
spender: string;
|
|
39
|
+
value: bigint;
|
|
40
|
+
}
|
|
41
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
42
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
43
|
+
type Log = TypedEventLog<Event>;
|
|
44
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace TransferEvent {
|
|
47
|
+
type InputTuple = [
|
|
48
|
+
from: AddressLike,
|
|
49
|
+
to: AddressLike,
|
|
50
|
+
value: BigNumberish
|
|
51
|
+
];
|
|
52
|
+
type OutputTuple = [from: string, to: string, value: bigint];
|
|
53
|
+
interface OutputObject {
|
|
54
|
+
from: string;
|
|
55
|
+
to: string;
|
|
56
|
+
value: bigint;
|
|
57
|
+
}
|
|
58
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
59
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
60
|
+
type Log = TypedEventLog<Event>;
|
|
61
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
62
|
+
}
|
|
63
|
+
export interface Token extends BaseContract {
|
|
64
|
+
connect(runner?: ContractRunner | null): Token;
|
|
65
|
+
waitForDeployment(): Promise<this>;
|
|
66
|
+
interface: TokenInterface;
|
|
67
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
68
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
69
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
70
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
71
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
72
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
73
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
74
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
75
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
76
|
+
allowance: TypedContractMethod<[
|
|
77
|
+
owner: AddressLike,
|
|
78
|
+
spender: AddressLike
|
|
79
|
+
], [
|
|
80
|
+
bigint
|
|
81
|
+
], "view">;
|
|
82
|
+
approve: TypedContractMethod<[
|
|
83
|
+
spender: AddressLike,
|
|
84
|
+
value: BigNumberish
|
|
85
|
+
], [
|
|
86
|
+
boolean
|
|
87
|
+
], "nonpayable">;
|
|
88
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
89
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
90
|
+
minter: TypedContractMethod<[], [string], "view">;
|
|
91
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
92
|
+
started: TypedContractMethod<[], [boolean], "view">;
|
|
93
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
94
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
95
|
+
transfer: TypedContractMethod<[
|
|
96
|
+
to: AddressLike,
|
|
97
|
+
value: BigNumberish
|
|
98
|
+
], [
|
|
99
|
+
boolean
|
|
100
|
+
], "nonpayable">;
|
|
101
|
+
transferFrom: TypedContractMethod<[
|
|
102
|
+
from: AddressLike,
|
|
103
|
+
to: AddressLike,
|
|
104
|
+
value: BigNumberish
|
|
105
|
+
], [
|
|
106
|
+
boolean
|
|
107
|
+
], "nonpayable">;
|
|
108
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
109
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
110
|
+
owner: AddressLike,
|
|
111
|
+
spender: AddressLike
|
|
112
|
+
], [
|
|
113
|
+
bigint
|
|
114
|
+
], "view">;
|
|
115
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
116
|
+
spender: AddressLike,
|
|
117
|
+
value: BigNumberish
|
|
118
|
+
], [
|
|
119
|
+
boolean
|
|
120
|
+
], "nonpayable">;
|
|
121
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
122
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
123
|
+
getFunction(nameOrSignature: "minter"): TypedContractMethod<[], [string], "view">;
|
|
124
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
125
|
+
getFunction(nameOrSignature: "started"): TypedContractMethod<[], [boolean], "view">;
|
|
126
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
127
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
128
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
129
|
+
to: AddressLike,
|
|
130
|
+
value: BigNumberish
|
|
131
|
+
], [
|
|
132
|
+
boolean
|
|
133
|
+
], "nonpayable">;
|
|
134
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
135
|
+
from: AddressLike,
|
|
136
|
+
to: AddressLike,
|
|
137
|
+
value: BigNumberish
|
|
138
|
+
], [
|
|
139
|
+
boolean
|
|
140
|
+
], "nonpayable">;
|
|
141
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
142
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
143
|
+
filters: {
|
|
144
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
145
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
146
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
147
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
148
|
+
};
|
|
149
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
3
|
+
export interface WethInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "name" | "approve" | "totalSupply" | "transferFrom" | "withdraw" | "decimals" | "balanceOf" | "symbol" | "transfer" | "deposit" | "allowance"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer" | "Deposit" | "Withdrawal"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "deposit", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
17
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace ApprovalEvent {
|
|
30
|
+
type InputTuple = [
|
|
31
|
+
src: AddressLike,
|
|
32
|
+
guy: AddressLike,
|
|
33
|
+
wad: BigNumberish
|
|
34
|
+
];
|
|
35
|
+
type OutputTuple = [src: string, guy: string, wad: bigint];
|
|
36
|
+
interface OutputObject {
|
|
37
|
+
src: string;
|
|
38
|
+
guy: string;
|
|
39
|
+
wad: bigint;
|
|
40
|
+
}
|
|
41
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
42
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
43
|
+
type Log = TypedEventLog<Event>;
|
|
44
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace TransferEvent {
|
|
47
|
+
type InputTuple = [
|
|
48
|
+
src: AddressLike,
|
|
49
|
+
dst: AddressLike,
|
|
50
|
+
wad: BigNumberish
|
|
51
|
+
];
|
|
52
|
+
type OutputTuple = [src: string, dst: string, wad: bigint];
|
|
53
|
+
interface OutputObject {
|
|
54
|
+
src: string;
|
|
55
|
+
dst: string;
|
|
56
|
+
wad: bigint;
|
|
57
|
+
}
|
|
58
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
59
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
60
|
+
type Log = TypedEventLog<Event>;
|
|
61
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace DepositEvent {
|
|
64
|
+
type InputTuple = [dst: AddressLike, wad: BigNumberish];
|
|
65
|
+
type OutputTuple = [dst: string, wad: bigint];
|
|
66
|
+
interface OutputObject {
|
|
67
|
+
dst: string;
|
|
68
|
+
wad: bigint;
|
|
69
|
+
}
|
|
70
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
71
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
72
|
+
type Log = TypedEventLog<Event>;
|
|
73
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace WithdrawalEvent {
|
|
76
|
+
type InputTuple = [src: AddressLike, wad: BigNumberish];
|
|
77
|
+
type OutputTuple = [src: string, wad: bigint];
|
|
78
|
+
interface OutputObject {
|
|
79
|
+
src: string;
|
|
80
|
+
wad: bigint;
|
|
81
|
+
}
|
|
82
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
83
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
84
|
+
type Log = TypedEventLog<Event>;
|
|
85
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
86
|
+
}
|
|
87
|
+
export interface Weth extends BaseContract {
|
|
88
|
+
connect(runner?: ContractRunner | null): Weth;
|
|
89
|
+
waitForDeployment(): Promise<this>;
|
|
90
|
+
interface: WethInterface;
|
|
91
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
92
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
93
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
94
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
95
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
96
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
97
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
98
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
99
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
100
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
101
|
+
approve: TypedContractMethod<[
|
|
102
|
+
guy: AddressLike,
|
|
103
|
+
wad: BigNumberish
|
|
104
|
+
], [
|
|
105
|
+
boolean
|
|
106
|
+
], "nonpayable">;
|
|
107
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
108
|
+
transferFrom: TypedContractMethod<[
|
|
109
|
+
src: AddressLike,
|
|
110
|
+
dst: AddressLike,
|
|
111
|
+
wad: BigNumberish
|
|
112
|
+
], [
|
|
113
|
+
boolean
|
|
114
|
+
], "nonpayable">;
|
|
115
|
+
withdraw: TypedContractMethod<[wad: BigNumberish], [void], "nonpayable">;
|
|
116
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
117
|
+
balanceOf: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
118
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
119
|
+
transfer: TypedContractMethod<[
|
|
120
|
+
dst: AddressLike,
|
|
121
|
+
wad: BigNumberish
|
|
122
|
+
], [
|
|
123
|
+
boolean
|
|
124
|
+
], "nonpayable">;
|
|
125
|
+
deposit: TypedContractMethod<[], [void], "payable">;
|
|
126
|
+
allowance: TypedContractMethod<[
|
|
127
|
+
arg0: AddressLike,
|
|
128
|
+
arg1: AddressLike
|
|
129
|
+
], [
|
|
130
|
+
bigint
|
|
131
|
+
], "view">;
|
|
132
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
133
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
134
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
135
|
+
guy: AddressLike,
|
|
136
|
+
wad: BigNumberish
|
|
137
|
+
], [
|
|
138
|
+
boolean
|
|
139
|
+
], "nonpayable">;
|
|
140
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
141
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
142
|
+
src: AddressLike,
|
|
143
|
+
dst: AddressLike,
|
|
144
|
+
wad: BigNumberish
|
|
145
|
+
], [
|
|
146
|
+
boolean
|
|
147
|
+
], "nonpayable">;
|
|
148
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[wad: BigNumberish], [void], "nonpayable">;
|
|
149
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
150
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
151
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
152
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
153
|
+
dst: AddressLike,
|
|
154
|
+
wad: BigNumberish
|
|
155
|
+
], [
|
|
156
|
+
boolean
|
|
157
|
+
], "nonpayable">;
|
|
158
|
+
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[], [void], "payable">;
|
|
159
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
160
|
+
arg0: AddressLike,
|
|
161
|
+
arg1: AddressLike
|
|
162
|
+
], [
|
|
163
|
+
bigint
|
|
164
|
+
], "view">;
|
|
165
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
166
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
167
|
+
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
168
|
+
getEvent(key: "Withdrawal"): TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
|
|
169
|
+
filters: {
|
|
170
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
171
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
172
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
173
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
174
|
+
"Deposit(address,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
175
|
+
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
176
|
+
"Withdrawal(address,uint256)": TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
|
|
177
|
+
Withdrawal: TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|