@across-protocol/sdk 4.3.164 → 4.3.165

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.
Files changed (103) hide show
  1. package/dist/cjs/src/utils/abi/typechain/ITokenMessengerV2.d.ts +11 -1
  2. package/dist/cjs/src/utils/abi/typechain/ITokenMinter.d.ts +12 -2
  3. package/dist/cjs/src/utils/abi/typechain/SponsoredCCTPDstPeriphery.d.ts +9 -1
  4. package/dist/cjs/src/utils/abi/typechain/TronMulticallHandler.d.ts +153 -0
  5. package/dist/cjs/src/utils/abi/typechain/TronMulticallHandler.js +3 -0
  6. package/dist/cjs/src/utils/abi/typechain/TronMulticallHandler.js.map +1 -0
  7. package/dist/cjs/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.d.ts +10 -0
  8. package/dist/cjs/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.js +13 -0
  9. package/dist/cjs/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.js.map +1 -1
  10. package/dist/cjs/src/utils/abi/typechain/factories/ITokenMinter__factory.d.ts +18 -0
  11. package/dist/cjs/src/utils/abi/typechain/factories/ITokenMinter__factory.js +24 -0
  12. package/dist/cjs/src/utils/abi/typechain/factories/ITokenMinter__factory.js.map +1 -1
  13. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.d.ts +26 -0
  14. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.js +33 -0
  15. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.js.map +1 -1
  16. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.d.ts +12 -0
  17. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.js +15 -0
  18. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.js.map +1 -1
  19. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.d.ts +12 -0
  20. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.js +15 -0
  21. package/dist/cjs/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.js.map +1 -1
  22. package/dist/cjs/src/utils/abi/typechain/factories/TronMulticallHandler__factory.d.ts +231 -0
  23. package/dist/cjs/src/utils/abi/typechain/factories/TronMulticallHandler__factory.js +306 -0
  24. package/dist/cjs/src/utils/abi/typechain/factories/TronMulticallHandler__factory.js.map +1 -0
  25. package/dist/cjs/src/utils/abi/typechain/factories/index.d.ts +1 -0
  26. package/dist/cjs/src/utils/abi/typechain/factories/index.js +4 -2
  27. package/dist/cjs/src/utils/abi/typechain/factories/index.js.map +1 -1
  28. package/dist/cjs/src/utils/abi/typechain/index.d.ts +2 -0
  29. package/dist/cjs/src/utils/abi/typechain/index.js +4 -2
  30. package/dist/cjs/src/utils/abi/typechain/index.js.map +1 -1
  31. package/dist/esm/src/utils/abi/typechain/ITokenMessengerV2.d.ts +11 -1
  32. package/dist/esm/src/utils/abi/typechain/ITokenMinter.d.ts +12 -2
  33. package/dist/esm/src/utils/abi/typechain/SponsoredCCTPDstPeriphery.d.ts +9 -1
  34. package/dist/esm/src/utils/abi/typechain/TronMulticallHandler.d.ts +153 -0
  35. package/dist/esm/src/utils/abi/typechain/TronMulticallHandler.js +2 -0
  36. package/dist/esm/src/utils/abi/typechain/TronMulticallHandler.js.map +1 -0
  37. package/dist/esm/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.d.ts +10 -0
  38. package/dist/esm/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.js +13 -0
  39. package/dist/esm/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.js.map +1 -1
  40. package/dist/esm/src/utils/abi/typechain/factories/ITokenMinter__factory.d.ts +18 -0
  41. package/dist/esm/src/utils/abi/typechain/factories/ITokenMinter__factory.js +24 -0
  42. package/dist/esm/src/utils/abi/typechain/factories/ITokenMinter__factory.js.map +1 -1
  43. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.d.ts +26 -0
  44. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.js +33 -0
  45. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.js.map +1 -1
  46. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.d.ts +12 -0
  47. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.js +15 -0
  48. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.js.map +1 -1
  49. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.d.ts +12 -0
  50. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.js +15 -0
  51. package/dist/esm/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.js.map +1 -1
  52. package/dist/esm/src/utils/abi/typechain/factories/TronMulticallHandler__factory.d.ts +231 -0
  53. package/dist/esm/src/utils/abi/typechain/factories/TronMulticallHandler__factory.js +305 -0
  54. package/dist/esm/src/utils/abi/typechain/factories/TronMulticallHandler__factory.js.map +1 -0
  55. package/dist/esm/src/utils/abi/typechain/factories/index.d.ts +1 -0
  56. package/dist/esm/src/utils/abi/typechain/factories/index.js +1 -0
  57. package/dist/esm/src/utils/abi/typechain/factories/index.js.map +1 -1
  58. package/dist/esm/src/utils/abi/typechain/index.d.ts +2 -0
  59. package/dist/esm/src/utils/abi/typechain/index.js +1 -0
  60. package/dist/esm/src/utils/abi/typechain/index.js.map +1 -1
  61. package/dist/types/src/utils/abi/typechain/ITokenMessengerV2.d.ts +11 -1
  62. package/dist/types/src/utils/abi/typechain/ITokenMessengerV2.d.ts.map +1 -1
  63. package/dist/types/src/utils/abi/typechain/ITokenMinter.d.ts +12 -2
  64. package/dist/types/src/utils/abi/typechain/ITokenMinter.d.ts.map +1 -1
  65. package/dist/types/src/utils/abi/typechain/SponsoredCCTPDstPeriphery.d.ts +9 -1
  66. package/dist/types/src/utils/abi/typechain/SponsoredCCTPDstPeriphery.d.ts.map +1 -1
  67. package/dist/types/src/utils/abi/typechain/TronMulticallHandler.d.ts +154 -0
  68. package/dist/types/src/utils/abi/typechain/TronMulticallHandler.d.ts.map +1 -0
  69. package/dist/types/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.d.ts +10 -0
  70. package/dist/types/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.d.ts.map +1 -1
  71. package/dist/types/src/utils/abi/typechain/factories/ITokenMinter__factory.d.ts +18 -0
  72. package/dist/types/src/utils/abi/typechain/factories/ITokenMinter__factory.d.ts.map +1 -1
  73. package/dist/types/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.d.ts +26 -0
  74. package/dist/types/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.d.ts.map +1 -1
  75. package/dist/types/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.d.ts +12 -0
  76. package/dist/types/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.d.ts.map +1 -1
  77. package/dist/types/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.d.ts +12 -0
  78. package/dist/types/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.d.ts.map +1 -1
  79. package/dist/types/src/utils/abi/typechain/factories/TronMulticallHandler__factory.d.ts +232 -0
  80. package/dist/types/src/utils/abi/typechain/factories/TronMulticallHandler__factory.d.ts.map +1 -0
  81. package/dist/types/src/utils/abi/typechain/factories/index.d.ts +1 -0
  82. package/dist/types/src/utils/abi/typechain/factories/index.d.ts.map +1 -1
  83. package/dist/types/src/utils/abi/typechain/index.d.ts +2 -0
  84. package/dist/types/src/utils/abi/typechain/index.d.ts.map +1 -1
  85. package/package.json +2 -2
  86. package/src/utils/abi/contracts/ITokenMessengerV2.json +13 -0
  87. package/src/utils/abi/contracts/ITokenMinter.json +24 -0
  88. package/src/utils/abi/contracts/SponsoredCCTPDstPeriphery.json +33 -0
  89. package/src/utils/abi/contracts/SponsoredCCTPInterface.json +15 -0
  90. package/src/utils/abi/contracts/SponsoredCCTPSrcPeriphery.json +15 -0
  91. package/src/utils/abi/contracts/TronMulticallHandler.json +291 -0
  92. package/src/utils/abi/typechain/ITokenMessengerV2.ts +25 -1
  93. package/src/utils/abi/typechain/ITokenMinter.ts +43 -1
  94. package/src/utils/abi/typechain/SponsoredCCTPDstPeriphery.ts +22 -0
  95. package/src/utils/abi/typechain/TronMulticallHandler.ts +327 -0
  96. package/src/utils/abi/typechain/factories/ITokenMessengerV2__factory.ts +13 -0
  97. package/src/utils/abi/typechain/factories/ITokenMinter__factory.ts +24 -0
  98. package/src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.ts +33 -0
  99. package/src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.ts +15 -0
  100. package/src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.ts +15 -0
  101. package/src/utils/abi/typechain/factories/TronMulticallHandler__factory.ts +319 -0
  102. package/src/utils/abi/typechain/factories/index.ts +1 -0
  103. package/src/utils/abi/typechain/index.ts +2 -0
@@ -0,0 +1,154 @@
1
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
2
+ import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
5
+ export declare namespace MulticallHandler {
6
+ type CallStruct = {
7
+ target: string;
8
+ callData: BytesLike;
9
+ value: BigNumberish;
10
+ };
11
+ type CallStructOutput = [string, string, BigNumber] & {
12
+ target: string;
13
+ callData: string;
14
+ value: BigNumber;
15
+ };
16
+ type ReplacementStruct = {
17
+ token: string;
18
+ offset: BigNumberish;
19
+ };
20
+ type ReplacementStructOutput = [string, BigNumber] & {
21
+ token: string;
22
+ offset: BigNumber;
23
+ };
24
+ }
25
+ export interface TronMulticallHandlerInterface extends utils.Interface {
26
+ functions: {
27
+ "attemptCalls((address,bytes,uint256)[])": FunctionFragment;
28
+ "drainLeftoverTokens(address,address)": FunctionFragment;
29
+ "handleV3AcrossMessage(address,uint256,address,bytes)": FunctionFragment;
30
+ "makeCallWithBalance(address,bytes,uint256,(address,uint256)[])": FunctionFragment;
31
+ };
32
+ getFunction(nameOrSignatureOrTopic: "attemptCalls" | "drainLeftoverTokens" | "handleV3AcrossMessage" | "makeCallWithBalance"): FunctionFragment;
33
+ encodeFunctionData(functionFragment: "attemptCalls", values: [MulticallHandler.CallStruct[]]): string;
34
+ encodeFunctionData(functionFragment: "drainLeftoverTokens", values: [string, string]): string;
35
+ encodeFunctionData(functionFragment: "handleV3AcrossMessage", values: [string, BigNumberish, string, BytesLike]): string;
36
+ encodeFunctionData(functionFragment: "makeCallWithBalance", values: [
37
+ string,
38
+ BytesLike,
39
+ BigNumberish,
40
+ MulticallHandler.ReplacementStruct[]
41
+ ]): string;
42
+ decodeFunctionResult(functionFragment: "attemptCalls", data: BytesLike): Result;
43
+ decodeFunctionResult(functionFragment: "drainLeftoverTokens", data: BytesLike): Result;
44
+ decodeFunctionResult(functionFragment: "handleV3AcrossMessage", data: BytesLike): Result;
45
+ decodeFunctionResult(functionFragment: "makeCallWithBalance", data: BytesLike): Result;
46
+ events: {
47
+ "CallsFailed((address,bytes,uint256)[],address)": EventFragment;
48
+ "DrainedTokens(address,address,uint256)": EventFragment;
49
+ };
50
+ getEvent(nameOrSignatureOrTopic: "CallsFailed"): EventFragment;
51
+ getEvent(nameOrSignatureOrTopic: "DrainedTokens"): EventFragment;
52
+ }
53
+ export interface CallsFailedEventObject {
54
+ calls: MulticallHandler.CallStructOutput[];
55
+ fallbackRecipient: string;
56
+ }
57
+ export type CallsFailedEvent = TypedEvent<[
58
+ MulticallHandler.CallStructOutput[],
59
+ string
60
+ ], CallsFailedEventObject>;
61
+ export type CallsFailedEventFilter = TypedEventFilter<CallsFailedEvent>;
62
+ export interface DrainedTokensEventObject {
63
+ recipient: string;
64
+ token: string;
65
+ amount: BigNumber;
66
+ }
67
+ export type DrainedTokensEvent = TypedEvent<[
68
+ string,
69
+ string,
70
+ BigNumber
71
+ ], DrainedTokensEventObject>;
72
+ export type DrainedTokensEventFilter = TypedEventFilter<DrainedTokensEvent>;
73
+ export interface TronMulticallHandler extends BaseContract {
74
+ connect(signerOrProvider: Signer | Provider | string): this;
75
+ attach(addressOrName: string): this;
76
+ deployed(): Promise<this>;
77
+ interface: TronMulticallHandlerInterface;
78
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
79
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
80
+ listeners(eventName?: string): Array<Listener>;
81
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
82
+ removeAllListeners(eventName?: string): this;
83
+ off: OnEvent<this>;
84
+ on: OnEvent<this>;
85
+ once: OnEvent<this>;
86
+ removeListener: OnEvent<this>;
87
+ functions: {
88
+ attemptCalls(calls: MulticallHandler.CallStruct[], overrides?: Overrides & {
89
+ from?: string;
90
+ }): Promise<ContractTransaction>;
91
+ drainLeftoverTokens(token: string, destination: string, overrides?: Overrides & {
92
+ from?: string;
93
+ }): Promise<ContractTransaction>;
94
+ handleV3AcrossMessage(token: string, arg1: BigNumberish, arg2: string, message: BytesLike, overrides?: Overrides & {
95
+ from?: string;
96
+ }): Promise<ContractTransaction>;
97
+ makeCallWithBalance(target: string, callData: BytesLike, value: BigNumberish, replacement: MulticallHandler.ReplacementStruct[], overrides?: Overrides & {
98
+ from?: string;
99
+ }): Promise<ContractTransaction>;
100
+ };
101
+ attemptCalls(calls: MulticallHandler.CallStruct[], overrides?: Overrides & {
102
+ from?: string;
103
+ }): Promise<ContractTransaction>;
104
+ drainLeftoverTokens(token: string, destination: string, overrides?: Overrides & {
105
+ from?: string;
106
+ }): Promise<ContractTransaction>;
107
+ handleV3AcrossMessage(token: string, arg1: BigNumberish, arg2: string, message: BytesLike, overrides?: Overrides & {
108
+ from?: string;
109
+ }): Promise<ContractTransaction>;
110
+ makeCallWithBalance(target: string, callData: BytesLike, value: BigNumberish, replacement: MulticallHandler.ReplacementStruct[], overrides?: Overrides & {
111
+ from?: string;
112
+ }): Promise<ContractTransaction>;
113
+ callStatic: {
114
+ attemptCalls(calls: MulticallHandler.CallStruct[], overrides?: CallOverrides): Promise<void>;
115
+ drainLeftoverTokens(token: string, destination: string, overrides?: CallOverrides): Promise<void>;
116
+ handleV3AcrossMessage(token: string, arg1: BigNumberish, arg2: string, message: BytesLike, overrides?: CallOverrides): Promise<void>;
117
+ makeCallWithBalance(target: string, callData: BytesLike, value: BigNumberish, replacement: MulticallHandler.ReplacementStruct[], overrides?: CallOverrides): Promise<void>;
118
+ };
119
+ filters: {
120
+ "CallsFailed((address,bytes,uint256)[],address)"(calls?: null, fallbackRecipient?: string | null): CallsFailedEventFilter;
121
+ CallsFailed(calls?: null, fallbackRecipient?: string | null): CallsFailedEventFilter;
122
+ "DrainedTokens(address,address,uint256)"(recipient?: string | null, token?: string | null, amount?: BigNumberish | null): DrainedTokensEventFilter;
123
+ DrainedTokens(recipient?: string | null, token?: string | null, amount?: BigNumberish | null): DrainedTokensEventFilter;
124
+ };
125
+ estimateGas: {
126
+ attemptCalls(calls: MulticallHandler.CallStruct[], overrides?: Overrides & {
127
+ from?: string;
128
+ }): Promise<BigNumber>;
129
+ drainLeftoverTokens(token: string, destination: string, overrides?: Overrides & {
130
+ from?: string;
131
+ }): Promise<BigNumber>;
132
+ handleV3AcrossMessage(token: string, arg1: BigNumberish, arg2: string, message: BytesLike, overrides?: Overrides & {
133
+ from?: string;
134
+ }): Promise<BigNumber>;
135
+ makeCallWithBalance(target: string, callData: BytesLike, value: BigNumberish, replacement: MulticallHandler.ReplacementStruct[], overrides?: Overrides & {
136
+ from?: string;
137
+ }): Promise<BigNumber>;
138
+ };
139
+ populateTransaction: {
140
+ attemptCalls(calls: MulticallHandler.CallStruct[], overrides?: Overrides & {
141
+ from?: string;
142
+ }): Promise<PopulatedTransaction>;
143
+ drainLeftoverTokens(token: string, destination: string, overrides?: Overrides & {
144
+ from?: string;
145
+ }): Promise<PopulatedTransaction>;
146
+ handleV3AcrossMessage(token: string, arg1: BigNumberish, arg2: string, message: BytesLike, overrides?: Overrides & {
147
+ from?: string;
148
+ }): Promise<PopulatedTransaction>;
149
+ makeCallWithBalance(target: string, callData: BytesLike, value: BigNumberish, replacement: MulticallHandler.ReplacementStruct[], overrides?: Overrides & {
150
+ from?: string;
151
+ }): Promise<PopulatedTransaction>;
152
+ };
153
+ }
154
+ //# sourceMappingURL=TronMulticallHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TronMulticallHandler.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/abi/typechain/TronMulticallHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,gBAAgB,EAChB,MAAM,EACN,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,UAAU,CAAC;AAElB,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,KAAY,UAAU,GAAG;QACvB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,SAAS,CAAC;QACpB,K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AAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,GACxC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,mBAAmB,CACjB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,GACxC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,SAAS,EAClB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,GACxC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,mBAAmB,CACjB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,SAAS,EACnB,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,gBAAgB,CAAC,iBAAiB,EAAE,EACjD,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,GACxC,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"}
@@ -74,6 +74,16 @@ export declare class ITokenMessengerV2__factory {
74
74
  }];
75
75
  readonly outputs: readonly [];
76
76
  readonly stateMutability: "nonpayable";
77
+ }, {
78
+ readonly type: "function";
79
+ readonly name: "localMinter";
80
+ readonly inputs: readonly [];
81
+ readonly outputs: readonly [{
82
+ readonly name: "minter";
83
+ readonly type: "address";
84
+ readonly internalType: "contract ITokenMinter";
85
+ }];
86
+ readonly stateMutability: "view";
77
87
  }];
78
88
  static createInterface(): ITokenMessengerV2Interface;
79
89
  static connect(address: string, signerOrProvider: Signer | Provider): ITokenMessengerV2;
@@ -1 +1 @@
1
- {"version":3,"file":"ITokenMessengerV2__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/ITokenMessengerV2__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAgG9B,qBAAa,0BAA0B;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"}
1
+ {"version":3,"file":"ITokenMessengerV2__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/ITokenMessengerV2__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AA6G9B,qBAAa,0BAA0B;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"}
@@ -16,6 +16,24 @@ export declare class ITokenMinter__factory {
16
16
  readonly internalType: "uint256";
17
17
  }];
18
18
  readonly stateMutability: "view";
19
+ }, {
20
+ readonly type: "function";
21
+ readonly name: "getLocalToken";
22
+ readonly inputs: readonly [{
23
+ readonly name: "remoteDomain";
24
+ readonly type: "uint32";
25
+ readonly internalType: "uint32";
26
+ }, {
27
+ readonly name: "remoteToken";
28
+ readonly type: "bytes32";
29
+ readonly internalType: "bytes32";
30
+ }];
31
+ readonly outputs: readonly [{
32
+ readonly name: "localToken";
33
+ readonly type: "address";
34
+ readonly internalType: "address";
35
+ }];
36
+ readonly stateMutability: "view";
19
37
  }];
20
38
  static createInterface(): ITokenMinterInterface;
21
39
  static connect(address: string, signerOrProvider: Signer | Provider): ITokenMinter;
@@ -1 +1 @@
1
- {"version":3,"file":"ITokenMinter__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/ITokenMinter__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAwB3E,qBAAa,qBAAqB;IAChC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qBAAqB;IAG/C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,YAAY;CAGhB"}
1
+ {"version":3,"file":"ITokenMinter__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/ITokenMinter__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAgD3E,qBAAa,qBAAqB;IAChC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qBAAqB;IAG/C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,YAAY;CAGhB"}
@@ -8,6 +8,10 @@ export declare class SponsoredCCTPDstPeriphery__factory {
8
8
  readonly name: "_cctpMessageTransmitter";
9
9
  readonly type: "address";
10
10
  readonly internalType: "address";
11
+ }, {
12
+ readonly name: "_cctpTokenMessenger";
13
+ readonly type: "address";
14
+ readonly internalType: "address";
11
15
  }, {
12
16
  readonly name: "_signer";
13
17
  readonly type: "address";
@@ -102,6 +106,16 @@ export declare class SponsoredCCTPDstPeriphery__factory {
102
106
  readonly internalType: "contract IMessageTransmitterV2";
103
107
  }];
104
108
  readonly stateMutability: "view";
109
+ }, {
110
+ readonly type: "function";
111
+ readonly name: "cctpTokenMessenger";
112
+ readonly inputs: readonly [];
113
+ readonly outputs: readonly [{
114
+ readonly name: "";
115
+ readonly type: "address";
116
+ readonly internalType: "contract ITokenMessengerV2";
117
+ }];
118
+ readonly stateMutability: "view";
105
119
  }, {
106
120
  readonly type: "function";
107
121
  readonly name: "directReceiveMessage";
@@ -672,10 +686,22 @@ export declare class SponsoredCCTPDstPeriphery__factory {
672
686
  readonly type: "error";
673
687
  readonly name: "InvalidInitialization";
674
688
  readonly inputs: readonly [];
689
+ }, {
690
+ readonly type: "error";
691
+ readonly name: "InvalidMintedAmount";
692
+ readonly inputs: readonly [];
693
+ }, {
694
+ readonly type: "error";
695
+ readonly name: "InvalidMintedToken";
696
+ readonly inputs: readonly [];
675
697
  }, {
676
698
  readonly type: "error";
677
699
  readonly name: "InvalidNonce";
678
700
  readonly inputs: readonly [];
701
+ }, {
702
+ readonly type: "error";
703
+ readonly name: "InvalidRecipient";
704
+ readonly inputs: readonly [];
679
705
  }, {
680
706
  readonly type: "error";
681
707
  readonly name: "InvalidSignature";
@@ -1 +1 @@
1
- {"version":3,"file":"SponsoredCCTPDstPeriphery__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,8BAA8B,CAAC;AA+3BtC,qBAAa,kCAAkC;IAC7C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"}
1
+ {"version":3,"file":"SponsoredCCTPDstPeriphery__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SponsoredCCTPDstPeriphery__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,8BAA8B,CAAC;AAg6BtC,qBAAa,kCAAkC;IAC7C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"}
@@ -153,10 +153,22 @@ export declare class SponsoredCCTPInterface__factory {
153
153
  readonly type: "error";
154
154
  readonly name: "InvalidDirectHandler";
155
155
  readonly inputs: readonly [];
156
+ }, {
157
+ readonly type: "error";
158
+ readonly name: "InvalidMintedAmount";
159
+ readonly inputs: readonly [];
160
+ }, {
161
+ readonly type: "error";
162
+ readonly name: "InvalidMintedToken";
163
+ readonly inputs: readonly [];
156
164
  }, {
157
165
  readonly type: "error";
158
166
  readonly name: "InvalidNonce";
159
167
  readonly inputs: readonly [];
168
+ }, {
169
+ readonly type: "error";
170
+ readonly name: "InvalidRecipient";
171
+ readonly inputs: readonly [];
160
172
  }, {
161
173
  readonly type: "error";
162
174
  readonly name: "InvalidSignature";
@@ -1 +1 @@
1
- {"version":3,"file":"SponsoredCCTPInterface__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,2BAA2B,CAAC;AA6MnC,qBAAa,+BAA+B;IAC1C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,+BAA+B;IAGzD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,sBAAsB;CAO1B"}
1
+ {"version":3,"file":"SponsoredCCTPInterface__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SponsoredCCTPInterface__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,2BAA2B,CAAC;AA4NnC,qBAAa,+BAA+B;IAC1C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,+BAA+B;IAGzD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,sBAAsB;CAO1B"}
@@ -355,10 +355,22 @@ export declare class SponsoredCCTPSrcPeriphery__factory {
355
355
  readonly type: "error";
356
356
  readonly name: "InvalidDirectHandler";
357
357
  readonly inputs: readonly [];
358
+ }, {
359
+ readonly type: "error";
360
+ readonly name: "InvalidMintedAmount";
361
+ readonly inputs: readonly [];
362
+ }, {
363
+ readonly type: "error";
364
+ readonly name: "InvalidMintedToken";
365
+ readonly inputs: readonly [];
358
366
  }, {
359
367
  readonly type: "error";
360
368
  readonly name: "InvalidNonce";
361
369
  readonly inputs: readonly [];
370
+ }, {
371
+ readonly type: "error";
372
+ readonly name: "InvalidRecipient";
373
+ readonly inputs: readonly [];
362
374
  }, {
363
375
  readonly type: "error";
364
376
  readonly name: "InvalidSignature";
@@ -1 +1 @@
1
- {"version":3,"file":"SponsoredCCTPSrcPeriphery__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,8BAA8B,CAAC;AAgdtC,qBAAa,kCAAkC;IAC7C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"}
1
+ {"version":3,"file":"SponsoredCCTPSrcPeriphery__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/SponsoredCCTPSrcPeriphery__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,8BAA8B,CAAC;AA+dtC,qBAAa,kCAAkC;IAC7C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,yBAAyB;CAO7B"}
@@ -0,0 +1,232 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { TronMulticallHandler, TronMulticallHandlerInterface } from "../TronMulticallHandler";
4
+ export declare class TronMulticallHandler__factory {
5
+ static readonly abi: readonly [{
6
+ readonly type: "receive";
7
+ readonly stateMutability: "payable";
8
+ }, {
9
+ readonly type: "function";
10
+ readonly name: "attemptCalls";
11
+ readonly inputs: readonly [{
12
+ readonly name: "calls";
13
+ readonly type: "tuple[]";
14
+ readonly internalType: "struct MulticallHandler.Call[]";
15
+ readonly components: readonly [{
16
+ readonly name: "target";
17
+ readonly type: "address";
18
+ readonly internalType: "address";
19
+ }, {
20
+ readonly name: "callData";
21
+ readonly type: "bytes";
22
+ readonly internalType: "bytes";
23
+ }, {
24
+ readonly name: "value";
25
+ readonly type: "uint256";
26
+ readonly internalType: "uint256";
27
+ }];
28
+ }];
29
+ readonly outputs: readonly [];
30
+ readonly stateMutability: "nonpayable";
31
+ }, {
32
+ readonly type: "function";
33
+ readonly name: "drainLeftoverTokens";
34
+ readonly inputs: readonly [{
35
+ readonly name: "token";
36
+ readonly type: "address";
37
+ readonly internalType: "address";
38
+ }, {
39
+ readonly name: "destination";
40
+ readonly type: "address";
41
+ readonly internalType: "address payable";
42
+ }];
43
+ readonly outputs: readonly [];
44
+ readonly stateMutability: "nonpayable";
45
+ }, {
46
+ readonly type: "function";
47
+ readonly name: "handleV3AcrossMessage";
48
+ readonly inputs: readonly [{
49
+ readonly name: "token";
50
+ readonly type: "address";
51
+ readonly internalType: "address";
52
+ }, {
53
+ readonly name: "";
54
+ readonly type: "uint256";
55
+ readonly internalType: "uint256";
56
+ }, {
57
+ readonly name: "";
58
+ readonly type: "address";
59
+ readonly internalType: "address";
60
+ }, {
61
+ readonly name: "message";
62
+ readonly type: "bytes";
63
+ readonly internalType: "bytes";
64
+ }];
65
+ readonly outputs: readonly [];
66
+ readonly stateMutability: "nonpayable";
67
+ }, {
68
+ readonly type: "function";
69
+ readonly name: "makeCallWithBalance";
70
+ readonly inputs: readonly [{
71
+ readonly name: "target";
72
+ readonly type: "address";
73
+ readonly internalType: "address";
74
+ }, {
75
+ readonly name: "callData";
76
+ readonly type: "bytes";
77
+ readonly internalType: "bytes";
78
+ }, {
79
+ readonly name: "value";
80
+ readonly type: "uint256";
81
+ readonly internalType: "uint256";
82
+ }, {
83
+ readonly name: "replacement";
84
+ readonly type: "tuple[]";
85
+ readonly internalType: "struct MulticallHandler.Replacement[]";
86
+ readonly components: readonly [{
87
+ readonly name: "token";
88
+ readonly type: "address";
89
+ readonly internalType: "address";
90
+ }, {
91
+ readonly name: "offset";
92
+ readonly type: "uint256";
93
+ readonly internalType: "uint256";
94
+ }];
95
+ }];
96
+ readonly outputs: readonly [];
97
+ readonly stateMutability: "nonpayable";
98
+ }, {
99
+ readonly type: "event";
100
+ readonly name: "CallsFailed";
101
+ readonly inputs: readonly [{
102
+ readonly name: "calls";
103
+ readonly type: "tuple[]";
104
+ readonly indexed: false;
105
+ readonly internalType: "struct MulticallHandler.Call[]";
106
+ readonly components: readonly [{
107
+ readonly name: "target";
108
+ readonly type: "address";
109
+ readonly internalType: "address";
110
+ }, {
111
+ readonly name: "callData";
112
+ readonly type: "bytes";
113
+ readonly internalType: "bytes";
114
+ }, {
115
+ readonly name: "value";
116
+ readonly type: "uint256";
117
+ readonly internalType: "uint256";
118
+ }];
119
+ }, {
120
+ readonly name: "fallbackRecipient";
121
+ readonly type: "address";
122
+ readonly indexed: true;
123
+ readonly internalType: "address";
124
+ }];
125
+ readonly anonymous: false;
126
+ }, {
127
+ readonly type: "event";
128
+ readonly name: "DrainedTokens";
129
+ readonly inputs: readonly [{
130
+ readonly name: "recipient";
131
+ readonly type: "address";
132
+ readonly indexed: true;
133
+ readonly internalType: "address";
134
+ }, {
135
+ readonly name: "token";
136
+ readonly type: "address";
137
+ readonly indexed: true;
138
+ readonly internalType: "address";
139
+ }, {
140
+ readonly name: "amount";
141
+ readonly type: "uint256";
142
+ readonly indexed: true;
143
+ readonly internalType: "uint256";
144
+ }];
145
+ readonly anonymous: false;
146
+ }, {
147
+ readonly type: "error";
148
+ readonly name: "CallReverted";
149
+ readonly inputs: readonly [{
150
+ readonly name: "index";
151
+ readonly type: "uint256";
152
+ readonly internalType: "uint256";
153
+ }, {
154
+ readonly name: "calls";
155
+ readonly type: "tuple[]";
156
+ readonly internalType: "struct MulticallHandler.Call[]";
157
+ readonly components: readonly [{
158
+ readonly name: "target";
159
+ readonly type: "address";
160
+ readonly internalType: "address";
161
+ }, {
162
+ readonly name: "callData";
163
+ readonly type: "bytes";
164
+ readonly internalType: "bytes";
165
+ }, {
166
+ readonly name: "value";
167
+ readonly type: "uint256";
168
+ readonly internalType: "uint256";
169
+ }];
170
+ }];
171
+ }, {
172
+ readonly type: "error";
173
+ readonly name: "CalldataTooShort";
174
+ readonly inputs: readonly [{
175
+ readonly name: "callDataLength";
176
+ readonly type: "uint256";
177
+ readonly internalType: "uint256";
178
+ }, {
179
+ readonly name: "offset";
180
+ readonly type: "uint256";
181
+ readonly internalType: "uint256";
182
+ }];
183
+ }, {
184
+ readonly type: "error";
185
+ readonly name: "InvalidCall";
186
+ readonly inputs: readonly [{
187
+ readonly name: "index";
188
+ readonly type: "uint256";
189
+ readonly internalType: "uint256";
190
+ }, {
191
+ readonly name: "calls";
192
+ readonly type: "tuple[]";
193
+ readonly internalType: "struct MulticallHandler.Call[]";
194
+ readonly components: readonly [{
195
+ readonly name: "target";
196
+ readonly type: "address";
197
+ readonly internalType: "address";
198
+ }, {
199
+ readonly name: "callData";
200
+ readonly type: "bytes";
201
+ readonly internalType: "bytes";
202
+ }, {
203
+ readonly name: "value";
204
+ readonly type: "uint256";
205
+ readonly internalType: "uint256";
206
+ }];
207
+ }];
208
+ }, {
209
+ readonly type: "error";
210
+ readonly name: "NotSelf";
211
+ readonly inputs: readonly [];
212
+ }, {
213
+ readonly type: "error";
214
+ readonly name: "ReplacementCallFailed";
215
+ readonly inputs: readonly [{
216
+ readonly name: "callData";
217
+ readonly type: "bytes";
218
+ readonly internalType: "bytes";
219
+ }];
220
+ }, {
221
+ readonly type: "error";
222
+ readonly name: "TronTransferBalanceMismatch";
223
+ readonly inputs: readonly [];
224
+ }, {
225
+ readonly type: "error";
226
+ readonly name: "TronTransferCallReverted";
227
+ readonly inputs: readonly [];
228
+ }];
229
+ static createInterface(): TronMulticallHandlerInterface;
230
+ static connect(address: string, signerOrProvider: Signer | Provider): TronMulticallHandler;
231
+ }
232
+ //# sourceMappingURL=TronMulticallHandler__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TronMulticallHandler__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/utils/abi/typechain/factories/TronMulticallHandler__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,yBAAyB,CAAC;AAsSjC,qBAAa,6BAA6B;IACxC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,6BAA6B;IAGvD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,oBAAoB;CAOxB"}
@@ -280,6 +280,7 @@ export { Testable__factory } from "./Testable__factory";
280
280
  export { Timer__factory } from "./Timer__factory";
281
281
  export { TransferProxy__factory } from "./TransferProxy__factory";
282
282
  export { TransparentUpgradeableProxy__factory } from "./TransparentUpgradeableProxy__factory";
283
+ export { TronMulticallHandler__factory } from "./TronMulticallHandler__factory";
283
284
  export { TronTransferLib__factory } from "./TronTransferLib__factory";
284
285
  export { Tron_SpokePool__factory } from "./Tron_SpokePool__factory";
285
286
  export { USDYieldManager__factory } from "./USDYieldManager__factory";