@snowbridge/contract-types 0.1.2 → 0.1.3
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/dist/IERC20Metadata.d.ts +142 -0
- package/dist/IERC20Metadata.d.ts.map +1 -0
- package/dist/IERC20Metadata.js +2 -0
- package/dist/WETH9.d.ts +180 -0
- package/dist/WETH9.d.ts.map +1 -0
- package/dist/WETH9.js +2 -0
- package/dist/factories/IERC20Metadata__factory.d.ts +182 -0
- package/dist/factories/IERC20Metadata__factory.d.ts.map +1 -0
- package/dist/factories/IERC20Metadata__factory.js +246 -0
- package/dist/factories/WETH9__factory.d.ts +242 -0
- package/dist/factories/WETH9__factory.d.ts.map +1 -0
- package/dist/factories/WETH9__factory.js +323 -0
- package/dist/factories/index.d.ts +2 -0
- package/dist/factories/index.d.ts.map +1 -1
- package/dist/factories/index.js +5 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/package.json +3 -3
|
@@ -0,0 +1,142 @@
|
|
|
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 IERC20MetadataInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "decimals" | "name" | "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: "name", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
15
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
16
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace ApprovalEvent {
|
|
26
|
+
type InputTuple = [
|
|
27
|
+
owner: AddressLike,
|
|
28
|
+
spender: AddressLike,
|
|
29
|
+
value: BigNumberish
|
|
30
|
+
];
|
|
31
|
+
type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
32
|
+
interface OutputObject {
|
|
33
|
+
owner: string;
|
|
34
|
+
spender: string;
|
|
35
|
+
value: bigint;
|
|
36
|
+
}
|
|
37
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
38
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
39
|
+
type Log = TypedEventLog<Event>;
|
|
40
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace TransferEvent {
|
|
43
|
+
type InputTuple = [
|
|
44
|
+
from: AddressLike,
|
|
45
|
+
to: AddressLike,
|
|
46
|
+
value: BigNumberish
|
|
47
|
+
];
|
|
48
|
+
type OutputTuple = [from: string, to: string, value: bigint];
|
|
49
|
+
interface OutputObject {
|
|
50
|
+
from: string;
|
|
51
|
+
to: string;
|
|
52
|
+
value: bigint;
|
|
53
|
+
}
|
|
54
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
55
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
56
|
+
type Log = TypedEventLog<Event>;
|
|
57
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
58
|
+
}
|
|
59
|
+
export interface IERC20Metadata extends BaseContract {
|
|
60
|
+
connect(runner?: ContractRunner | null): IERC20Metadata;
|
|
61
|
+
waitForDeployment(): Promise<this>;
|
|
62
|
+
interface: IERC20MetadataInterface;
|
|
63
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
64
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
65
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
66
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
67
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
68
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
69
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
70
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
71
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
72
|
+
allowance: TypedContractMethod<[
|
|
73
|
+
owner: AddressLike,
|
|
74
|
+
spender: AddressLike
|
|
75
|
+
], [
|
|
76
|
+
bigint
|
|
77
|
+
], "view">;
|
|
78
|
+
approve: TypedContractMethod<[
|
|
79
|
+
spender: AddressLike,
|
|
80
|
+
amount: BigNumberish
|
|
81
|
+
], [
|
|
82
|
+
boolean
|
|
83
|
+
], "nonpayable">;
|
|
84
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
85
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
86
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
87
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
88
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
89
|
+
transfer: TypedContractMethod<[
|
|
90
|
+
recipient: AddressLike,
|
|
91
|
+
amount: BigNumberish
|
|
92
|
+
], [
|
|
93
|
+
boolean
|
|
94
|
+
], "nonpayable">;
|
|
95
|
+
transferFrom: TypedContractMethod<[
|
|
96
|
+
sender: AddressLike,
|
|
97
|
+
recipient: AddressLike,
|
|
98
|
+
amount: BigNumberish
|
|
99
|
+
], [
|
|
100
|
+
boolean
|
|
101
|
+
], "nonpayable">;
|
|
102
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
103
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
104
|
+
owner: AddressLike,
|
|
105
|
+
spender: AddressLike
|
|
106
|
+
], [
|
|
107
|
+
bigint
|
|
108
|
+
], "view">;
|
|
109
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
110
|
+
spender: AddressLike,
|
|
111
|
+
amount: BigNumberish
|
|
112
|
+
], [
|
|
113
|
+
boolean
|
|
114
|
+
], "nonpayable">;
|
|
115
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
116
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
117
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
118
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
119
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
120
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
121
|
+
recipient: AddressLike,
|
|
122
|
+
amount: BigNumberish
|
|
123
|
+
], [
|
|
124
|
+
boolean
|
|
125
|
+
], "nonpayable">;
|
|
126
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
127
|
+
sender: AddressLike,
|
|
128
|
+
recipient: AddressLike,
|
|
129
|
+
amount: BigNumberish
|
|
130
|
+
], [
|
|
131
|
+
boolean
|
|
132
|
+
], "nonpayable">;
|
|
133
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
134
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
135
|
+
filters: {
|
|
136
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
137
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
138
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
139
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=IERC20Metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IERC20Metadata.d.ts","sourceRoot":"","sources":["../src/IERC20Metadata.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,WAAW,CACT,eAAe,EACX,WAAW,GACX,SAAS,GACT,WAAW,GACX,UAAU,GACV,MAAM,GACN,QAAQ,GACR,aAAa,GACb,UAAU,GACV,cAAc,GACjB,gBAAgB,CAAC;IAEpB,QAAQ,CAAC,sBAAsB,EAAE,UAAU,GAAG,UAAU,GAAG,aAAa,CAAC;IAEzE,kBAAkB,CAChB,gBAAgB,EAAE,WAAW,EAC7B,MAAM,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,GACjC,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,EAAE,SAAS,EAC3B,MAAM,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,GAClC,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,EAAE,WAAW,EAC7B,MAAM,EAAE,CAAC,WAAW,CAAC,GACpB,MAAM,CAAC;IACV,kBAAkB,CAAC,gBAAgB,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7E,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,SAAS,GA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E,WAAW;QAAE,MAAM,EAAE,YAAY;KAAC,EAC9C;QAAC,OAAO;KAAC,EACT,YAAY,CACb,CAAC;IACF,WAAW,CACT,eAAe,EAAE,cAAc,GAC9B,mBAAmB,CACpB;QAAC,MAAM,EAAE,WAAW;QAAE,SAAS,EAAE,WAAW;QAAE,MAAM,EAAE,YAAY;KAAC,EACnE;QAAC,OAAO;KAAC,EACT,YAAY,CACb,CAAC;IAEF,QAAQ,CACN,GAAG,EAAE,UAAU,GACd,kBAAkB,CACnB,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;IACF,QAAQ,CACN,GAAG,EAAE,UAAU,GACd,kBAAkB,CACnB,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;IAEF,OAAO,EAAE;QACP,mCAAmC,EAAE,kBAAkB,CACrD,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QACF,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QAEF,mCAAmC,EAAE,kBAAkB,CACrD,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QACF,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;KACH,CAAC;CACH"}
|
package/dist/WETH9.d.ts
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
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 WETH9Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "decimals" | "deposit" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom" | "withdraw"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "Deposit" | "Transfer" | "Withdrawal"): 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: "deposit", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "withdraw", values: [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: "deposit", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "withdraw", 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 DepositEvent {
|
|
47
|
+
type InputTuple = [dst: AddressLike, wad: BigNumberish];
|
|
48
|
+
type OutputTuple = [dst: string, wad: bigint];
|
|
49
|
+
interface OutputObject {
|
|
50
|
+
dst: string;
|
|
51
|
+
wad: bigint;
|
|
52
|
+
}
|
|
53
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
54
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
55
|
+
type Log = TypedEventLog<Event>;
|
|
56
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace TransferEvent {
|
|
59
|
+
type InputTuple = [
|
|
60
|
+
src: AddressLike,
|
|
61
|
+
dst: AddressLike,
|
|
62
|
+
wad: BigNumberish
|
|
63
|
+
];
|
|
64
|
+
type OutputTuple = [src: string, dst: string, wad: bigint];
|
|
65
|
+
interface OutputObject {
|
|
66
|
+
src: string;
|
|
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 WETH9 extends BaseContract {
|
|
88
|
+
connect(runner?: ContractRunner | null): WETH9;
|
|
89
|
+
waitForDeployment(): Promise<this>;
|
|
90
|
+
interface: WETH9Interface;
|
|
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
|
+
allowance: TypedContractMethod<[
|
|
101
|
+
arg0: AddressLike,
|
|
102
|
+
arg1: AddressLike
|
|
103
|
+
], [
|
|
104
|
+
bigint
|
|
105
|
+
], "view">;
|
|
106
|
+
approve: TypedContractMethod<[
|
|
107
|
+
guy: AddressLike,
|
|
108
|
+
wad: BigNumberish
|
|
109
|
+
], [
|
|
110
|
+
boolean
|
|
111
|
+
], "nonpayable">;
|
|
112
|
+
balanceOf: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
113
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
114
|
+
deposit: TypedContractMethod<[], [void], "payable">;
|
|
115
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
116
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
117
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
118
|
+
transfer: TypedContractMethod<[
|
|
119
|
+
dst: AddressLike,
|
|
120
|
+
wad: BigNumberish
|
|
121
|
+
], [
|
|
122
|
+
boolean
|
|
123
|
+
], "nonpayable">;
|
|
124
|
+
transferFrom: TypedContractMethod<[
|
|
125
|
+
src: AddressLike,
|
|
126
|
+
dst: AddressLike,
|
|
127
|
+
wad: BigNumberish
|
|
128
|
+
], [
|
|
129
|
+
boolean
|
|
130
|
+
], "nonpayable">;
|
|
131
|
+
withdraw: TypedContractMethod<[wad: BigNumberish], [void], "nonpayable">;
|
|
132
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
133
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
134
|
+
arg0: AddressLike,
|
|
135
|
+
arg1: AddressLike
|
|
136
|
+
], [
|
|
137
|
+
bigint
|
|
138
|
+
], "view">;
|
|
139
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
140
|
+
guy: AddressLike,
|
|
141
|
+
wad: BigNumberish
|
|
142
|
+
], [
|
|
143
|
+
boolean
|
|
144
|
+
], "nonpayable">;
|
|
145
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
146
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
147
|
+
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[], [void], "payable">;
|
|
148
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
149
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
150
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
151
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
152
|
+
dst: AddressLike,
|
|
153
|
+
wad: BigNumberish
|
|
154
|
+
], [
|
|
155
|
+
boolean
|
|
156
|
+
], "nonpayable">;
|
|
157
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
158
|
+
src: AddressLike,
|
|
159
|
+
dst: AddressLike,
|
|
160
|
+
wad: BigNumberish
|
|
161
|
+
], [
|
|
162
|
+
boolean
|
|
163
|
+
], "nonpayable">;
|
|
164
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[wad: BigNumberish], [void], "nonpayable">;
|
|
165
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
166
|
+
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
167
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.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
|
+
"Deposit(address,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
173
|
+
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
174
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
175
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
176
|
+
"Withdrawal(address,uint256)": TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
|
|
177
|
+
Withdrawal: TypedContractEvent<WithdrawalEvent.InputTuple, WithdrawalEvent.OutputTuple, WithdrawalEvent.OutputObject>;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=WETH9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WETH9.d.ts","sourceRoot":"","sources":["../src/WETH9.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,E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AAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QACF,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QAEF,0BAA0B,EAAE,kBAAkB,CAC5C,YAAY,CAAC,UAAU,EACvB,YAAY,CAAC,WAAW,EACxB,YAAY,CAAC,YAAY,CAC1B,CAAC;QACF,OAAO,EAAE,kBAAkB,CACzB,YAAY,CAAC,UAAU,EACvB,YAAY,CAAC,WAAW,EACxB,YAAY,CAAC,YAAY,CAC1B,CAAC;QAEF,mCAAmC,EAAE,kBAAkB,CACrD,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QACF,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,YAAY,CAC3B,CAAC;QAEF,6BAA6B,EAAE,kBAAkB,CAC/C,eAAe,CAAC,UAAU,EAC1B,eAAe,CAAC,WAAW,EAC3B,eAAe,CAAC,YAAY,CAC7B,CAAC;QACF,UAAU,EAAE,kBAAkB,CAC5B,eAAe,CAAC,UAAU,EAC1B,eAAe,CAAC,WAAW,EAC3B,eAAe,CAAC,YAAY,CAC7B,CAAC;KACH,CAAC;CACH"}
|
package/dist/WETH9.js
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IERC20Metadata, IERC20MetadataInterface } from "../IERC20Metadata";
|
|
3
|
+
export declare class IERC20Metadata__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly type: "function";
|
|
6
|
+
readonly name: "allowance";
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly name: "owner";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "spender";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "address";
|
|
15
|
+
}];
|
|
16
|
+
readonly outputs: readonly [{
|
|
17
|
+
readonly name: "";
|
|
18
|
+
readonly type: "uint256";
|
|
19
|
+
readonly internalType: "uint256";
|
|
20
|
+
}];
|
|
21
|
+
readonly stateMutability: "view";
|
|
22
|
+
}, {
|
|
23
|
+
readonly type: "function";
|
|
24
|
+
readonly name: "approve";
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly name: "spender";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
}, {
|
|
30
|
+
readonly name: "amount";
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
}];
|
|
34
|
+
readonly outputs: readonly [{
|
|
35
|
+
readonly name: "";
|
|
36
|
+
readonly type: "bool";
|
|
37
|
+
readonly internalType: "bool";
|
|
38
|
+
}];
|
|
39
|
+
readonly stateMutability: "nonpayable";
|
|
40
|
+
}, {
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
readonly name: "balanceOf";
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly name: "account";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
}];
|
|
48
|
+
readonly outputs: readonly [{
|
|
49
|
+
readonly name: "";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
readonly internalType: "uint256";
|
|
52
|
+
}];
|
|
53
|
+
readonly stateMutability: "view";
|
|
54
|
+
}, {
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
readonly name: "decimals";
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly outputs: readonly [{
|
|
59
|
+
readonly name: "";
|
|
60
|
+
readonly type: "uint8";
|
|
61
|
+
readonly internalType: "uint8";
|
|
62
|
+
}];
|
|
63
|
+
readonly stateMutability: "view";
|
|
64
|
+
}, {
|
|
65
|
+
readonly type: "function";
|
|
66
|
+
readonly name: "name";
|
|
67
|
+
readonly inputs: readonly [];
|
|
68
|
+
readonly outputs: readonly [{
|
|
69
|
+
readonly name: "";
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly internalType: "string";
|
|
72
|
+
}];
|
|
73
|
+
readonly stateMutability: "view";
|
|
74
|
+
}, {
|
|
75
|
+
readonly type: "function";
|
|
76
|
+
readonly name: "symbol";
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly outputs: readonly [{
|
|
79
|
+
readonly name: "";
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
readonly internalType: "string";
|
|
82
|
+
}];
|
|
83
|
+
readonly stateMutability: "view";
|
|
84
|
+
}, {
|
|
85
|
+
readonly type: "function";
|
|
86
|
+
readonly name: "totalSupply";
|
|
87
|
+
readonly inputs: readonly [];
|
|
88
|
+
readonly outputs: readonly [{
|
|
89
|
+
readonly name: "";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
readonly internalType: "uint256";
|
|
92
|
+
}];
|
|
93
|
+
readonly stateMutability: "view";
|
|
94
|
+
}, {
|
|
95
|
+
readonly type: "function";
|
|
96
|
+
readonly name: "transfer";
|
|
97
|
+
readonly inputs: readonly [{
|
|
98
|
+
readonly name: "recipient";
|
|
99
|
+
readonly type: "address";
|
|
100
|
+
readonly internalType: "address";
|
|
101
|
+
}, {
|
|
102
|
+
readonly name: "amount";
|
|
103
|
+
readonly type: "uint256";
|
|
104
|
+
readonly internalType: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
readonly outputs: readonly [{
|
|
107
|
+
readonly name: "";
|
|
108
|
+
readonly type: "bool";
|
|
109
|
+
readonly internalType: "bool";
|
|
110
|
+
}];
|
|
111
|
+
readonly stateMutability: "nonpayable";
|
|
112
|
+
}, {
|
|
113
|
+
readonly type: "function";
|
|
114
|
+
readonly name: "transferFrom";
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly name: "sender";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "recipient";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
}, {
|
|
124
|
+
readonly name: "amount";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
readonly internalType: "uint256";
|
|
127
|
+
}];
|
|
128
|
+
readonly outputs: readonly [{
|
|
129
|
+
readonly name: "";
|
|
130
|
+
readonly type: "bool";
|
|
131
|
+
readonly internalType: "bool";
|
|
132
|
+
}];
|
|
133
|
+
readonly stateMutability: "nonpayable";
|
|
134
|
+
}, {
|
|
135
|
+
readonly type: "event";
|
|
136
|
+
readonly name: "Approval";
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly name: "owner";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
readonly indexed: true;
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "spender";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
readonly indexed: true;
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "value";
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
readonly indexed: false;
|
|
151
|
+
readonly internalType: "uint256";
|
|
152
|
+
}];
|
|
153
|
+
readonly anonymous: false;
|
|
154
|
+
}, {
|
|
155
|
+
readonly type: "event";
|
|
156
|
+
readonly name: "Transfer";
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly name: "from";
|
|
159
|
+
readonly type: "address";
|
|
160
|
+
readonly indexed: true;
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "to";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
readonly indexed: true;
|
|
166
|
+
readonly internalType: "address";
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "value";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
readonly indexed: false;
|
|
171
|
+
readonly internalType: "uint256";
|
|
172
|
+
}];
|
|
173
|
+
readonly anonymous: false;
|
|
174
|
+
}, {
|
|
175
|
+
readonly type: "error";
|
|
176
|
+
readonly name: "InvalidAccount";
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
}];
|
|
179
|
+
static createInterface(): IERC20MetadataInterface;
|
|
180
|
+
static connect(address: string, runner?: ContractRunner | null): IERC20Metadata;
|
|
181
|
+
}
|
|
182
|
+
//# sourceMappingURL=IERC20Metadata__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IERC20Metadata__factory.d.ts","sourceRoot":"","sources":["../../src/factories/IERC20Metadata__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAwO3B,qBAAa,uBAAuB;IAClC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,uBAAuB;IAGjD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,cAAc;CAGlB"}
|