@tonappchain/sdk 0.7.0-rc24-test-7 → 0.7.0-rc24-test-8

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 (34) hide show
  1. package/dist/artifacts/dev/tac/artifacts.d.ts +2 -24
  2. package/dist/artifacts/dev/tac/artifacts.js +4 -4
  3. package/dist/artifacts/dev/tac/internal/artifacts/@openzeppelin/contracts/token/{ERC20/ERC20.sol/ERC20.json → ERC721/IERC721.sol/IERC721.json} +116 -139
  4. package/dist/artifacts/dev/tac/internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json +207 -0
  5. package/dist/artifacts/{testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts → dev/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts} +5 -17
  6. package/dist/artifacts/{mainnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts → dev/tac/internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals.d.ts} +6 -14
  7. package/dist/artifacts/dev/tac/wrappers.d.ts +2 -2
  8. package/dist/artifacts/mainnet/tac/artifacts.d.ts +2 -24
  9. package/dist/artifacts/mainnet/tac/artifacts.js +4 -4
  10. package/dist/artifacts/{testnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json → mainnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json} +116 -139
  11. package/dist/artifacts/mainnet/tac/internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json +207 -0
  12. package/dist/artifacts/mainnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/{ERC721.d.ts → IERC721.d.ts} +5 -17
  13. package/dist/artifacts/{testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts → mainnet/tac/internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals.d.ts} +6 -14
  14. package/dist/artifacts/mainnet/tac/wrappers.d.ts +2 -2
  15. package/dist/artifacts/tacTypes.d.ts +2 -2
  16. package/dist/artifacts/testnet/tac/artifacts.d.ts +2 -24
  17. package/dist/artifacts/testnet/tac/artifacts.js +4 -4
  18. package/dist/artifacts/{mainnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json → testnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json} +116 -139
  19. package/dist/artifacts/testnet/tac/internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json +207 -0
  20. package/dist/artifacts/{dev/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts → testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts} +5 -17
  21. package/dist/artifacts/{dev/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts → testnet/tac/internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals.d.ts} +6 -14
  22. package/dist/artifacts/testnet/tac/wrappers.d.ts +2 -2
  23. package/dist/src/assets/FT.js +2 -2
  24. package/dist/src/sdk/TACTransactionManager.js +2 -2
  25. package/package.json +1 -1
  26. package/dist/artifacts/dev/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -444
  27. package/dist/artifacts/mainnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -444
  28. package/dist/artifacts/testnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -444
  29. /package/dist/artifacts/dev/tac/internal/typechain-types/@openzeppelin/contracts/token/{ERC20/ERC20.js → ERC721/IERC721.js} +0 -0
  30. /package/dist/artifacts/dev/tac/internal/typechain-types/{@openzeppelin/contracts/token/ERC721/ERC721.js → contracts/interfaces/tokens/IERC20WithDecimals.js} +0 -0
  31. /package/dist/artifacts/mainnet/tac/internal/typechain-types/@openzeppelin/contracts/token/{ERC20/ERC20.js → ERC721/IERC721.js} +0 -0
  32. /package/dist/artifacts/mainnet/tac/internal/typechain-types/{@openzeppelin/contracts/token/ERC721/ERC721.js → contracts/interfaces/tokens/IERC20WithDecimals.js} +0 -0
  33. /package/dist/artifacts/testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/{ERC20/ERC20.js → ERC721/IERC721.js} +0 -0
  34. /package/dist/artifacts/testnet/tac/internal/typechain-types/{@openzeppelin/contracts/token/ERC721/ERC721.js → contracts/interfaces/tokens/IERC20WithDecimals.js} +0 -0
@@ -0,0 +1,207 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IERC20WithDecimals",
4
+ "sourceName": "contracts/interfaces/tokens/IERC20WithDecimals.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "owner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "spender",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "Approval",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": true,
36
+ "internalType": "address",
37
+ "name": "from",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "indexed": true,
42
+ "internalType": "address",
43
+ "name": "to",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint256",
49
+ "name": "value",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "Transfer",
54
+ "type": "event"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "address",
60
+ "name": "owner",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "internalType": "address",
65
+ "name": "spender",
66
+ "type": "address"
67
+ }
68
+ ],
69
+ "name": "allowance",
70
+ "outputs": [
71
+ {
72
+ "internalType": "uint256",
73
+ "name": "",
74
+ "type": "uint256"
75
+ }
76
+ ],
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "spender",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "value",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "approve",
94
+ "outputs": [
95
+ {
96
+ "internalType": "bool",
97
+ "name": "",
98
+ "type": "bool"
99
+ }
100
+ ],
101
+ "stateMutability": "nonpayable",
102
+ "type": "function"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "account",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "balanceOf",
113
+ "outputs": [
114
+ {
115
+ "internalType": "uint256",
116
+ "name": "",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "decimals",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint8",
129
+ "name": "",
130
+ "type": "uint8"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "totalSupply",
139
+ "outputs": [
140
+ {
141
+ "internalType": "uint256",
142
+ "name": "",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "address",
153
+ "name": "to",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "internalType": "uint256",
158
+ "name": "value",
159
+ "type": "uint256"
160
+ }
161
+ ],
162
+ "name": "transfer",
163
+ "outputs": [
164
+ {
165
+ "internalType": "bool",
166
+ "name": "",
167
+ "type": "bool"
168
+ }
169
+ ],
170
+ "stateMutability": "nonpayable",
171
+ "type": "function"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "address",
177
+ "name": "from",
178
+ "type": "address"
179
+ },
180
+ {
181
+ "internalType": "address",
182
+ "name": "to",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "value",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "name": "transferFrom",
192
+ "outputs": [
193
+ {
194
+ "internalType": "bool",
195
+ "name": "",
196
+ "type": "bool"
197
+ }
198
+ ],
199
+ "stateMutability": "nonpayable",
200
+ "type": "function"
201
+ }
202
+ ],
203
+ "bytecode": "0x",
204
+ "deployedBytecode": "0x",
205
+ "linkReferences": {},
206
+ "deployedLinkReferences": {}
207
+ }
@@ -1,33 +1,27 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
3
- export interface ERC721Interface extends Interface {
4
- getFunction(nameOrSignature: "approve" | "balanceOf" | "getApproved" | "isApprovedForAll" | "name" | "ownerOf" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tokenURI" | "transferFrom"): FunctionFragment;
3
+ export interface IERC721Interface extends Interface {
4
+ getFunction(nameOrSignature: "approve" | "balanceOf" | "getApproved" | "isApprovedForAll" | "ownerOf" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "transferFrom"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "Transfer"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
7
7
  encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
8
8
  encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
9
9
  encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
10
- encodeFunctionData(functionFragment: "name", values?: undefined): string;
11
10
  encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
12
11
  encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
13
12
  encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
14
13
  encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
15
14
  encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
16
- encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
17
- encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string;
18
15
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
19
16
  decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
20
17
  decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
21
18
  decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
22
19
  decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
23
- decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
24
20
  decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
25
21
  decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
26
22
  decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
27
23
  decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
28
24
  decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
29
- decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
30
- decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result;
31
25
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
32
26
  }
33
27
  export declare namespace ApprovalEvent {
@@ -85,10 +79,10 @@ export declare namespace TransferEvent {
85
79
  type Log = TypedEventLog<Event>;
86
80
  type LogDescription = TypedLogDescription<Event>;
87
81
  }
88
- export interface ERC721 extends BaseContract {
89
- connect(runner?: ContractRunner | null): ERC721;
82
+ export interface IERC721 extends BaseContract {
83
+ connect(runner?: ContractRunner | null): IERC721;
90
84
  waitForDeployment(): Promise<this>;
91
- interface: ERC721Interface;
85
+ interface: IERC721Interface;
92
86
  queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
93
87
  queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
94
88
  on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
@@ -112,7 +106,6 @@ export interface ERC721 extends BaseContract {
112
106
  ], [
113
107
  boolean
114
108
  ], "view">;
115
- name: TypedContractMethod<[], [string], "view">;
116
109
  ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
117
110
  "safeTransferFrom(address,address,uint256)": TypedContractMethod<[
118
111
  from: AddressLike,
@@ -140,8 +133,6 @@ export interface ERC721 extends BaseContract {
140
133
  ], [
141
134
  boolean
142
135
  ], "view">;
143
- symbol: TypedContractMethod<[], [string], "view">;
144
- tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
145
136
  transferFrom: TypedContractMethod<[
146
137
  from: AddressLike,
147
138
  to: AddressLike,
@@ -164,7 +155,6 @@ export interface ERC721 extends BaseContract {
164
155
  ], [
165
156
  boolean
166
157
  ], "view">;
167
- getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
168
158
  getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
169
159
  getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[
170
160
  from: AddressLike,
@@ -188,8 +178,6 @@ export interface ERC721 extends BaseContract {
188
178
  void
189
179
  ], "nonpayable">;
190
180
  getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
191
- getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
192
- getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
193
181
  getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
194
182
  from: AddressLike,
195
183
  to: AddressLike,
@@ -1,14 +1,12 @@
1
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 ERC20Interface extends Interface {
4
- getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "decimals" | "name" | "symbol" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
3
+ export interface IERC20WithDecimalsInterface extends Interface {
4
+ getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "decimals" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
7
7
  encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
8
8
  encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
9
9
  encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
10
- encodeFunctionData(functionFragment: "name", values?: undefined): string;
11
- encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
12
10
  encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
13
11
  encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
14
12
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
@@ -16,8 +14,6 @@ export interface ERC20Interface extends Interface {
16
14
  decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
17
15
  decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
18
16
  decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
19
- decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
20
- decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
21
17
  decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
22
18
  decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
23
19
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
@@ -56,10 +52,10 @@ export declare namespace TransferEvent {
56
52
  type Log = TypedEventLog<Event>;
57
53
  type LogDescription = TypedLogDescription<Event>;
58
54
  }
59
- export interface ERC20 extends BaseContract {
60
- connect(runner?: ContractRunner | null): ERC20;
55
+ export interface IERC20WithDecimals extends BaseContract {
56
+ connect(runner?: ContractRunner | null): IERC20WithDecimals;
61
57
  waitForDeployment(): Promise<this>;
62
- interface: ERC20Interface;
58
+ interface: IERC20WithDecimalsInterface;
63
59
  queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
64
60
  queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
65
61
  on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
@@ -83,8 +79,6 @@ export interface ERC20 extends BaseContract {
83
79
  ], "nonpayable">;
84
80
  balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
85
81
  decimals: TypedContractMethod<[], [bigint], "view">;
86
- name: TypedContractMethod<[], [string], "view">;
87
- symbol: TypedContractMethod<[], [string], "view">;
88
82
  totalSupply: TypedContractMethod<[], [bigint], "view">;
89
83
  transfer: TypedContractMethod<[
90
84
  to: AddressLike,
@@ -114,8 +108,6 @@ export interface ERC20 extends BaseContract {
114
108
  ], "nonpayable">;
115
109
  getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
116
110
  getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
117
- getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
118
- getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
119
111
  getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
120
112
  getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
121
113
  to: AddressLike,
@@ -3,7 +3,7 @@ export { ISettings } from './internal/typechain-types/contracts/interfaces/ISett
3
3
  export { ITokenUtils } from './internal/typechain-types/contracts/interfaces/ITokenUtils';
4
4
  export { ISAFactory } from './internal/typechain-types/contracts/smart-account/interfaces/ISAFactory';
5
5
  export { ITacSmartAccount } from './internal/typechain-types/contracts/smart-account/interfaces/ITacSmartAccount';
6
- export { ERC20 } from './internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20';
7
- export { ERC721 } from './internal/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721';
6
+ export { IERC20WithDecimals } from './internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals';
7
+ export { IERC721 } from './internal/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721';
8
8
  export { ICrossChainLayerERC20 } from './internal/typechain-types/contracts/interfaces/tokens/ICrossChainLayerERC20';
9
9
  export { ICrossChainLayerERC721 } from './internal/typechain-types/contracts/interfaces/tokens/ICrossChainLayerERC721';
@@ -6,8 +6,8 @@ export type ISAFactory = Dev.tac.wrappers.ISAFactory | Testnet.tac.wrappers.ISAF
6
6
  export type ITacSmartAccount = Dev.tac.wrappers.ITacSmartAccount | Testnet.tac.wrappers.ITacSmartAccount | Mainnet.tac.wrappers.ITacSmartAccount;
7
7
  export type ISettings = Dev.tac.wrappers.ISettings | Testnet.tac.wrappers.ISettings | Mainnet.tac.wrappers.ISettings;
8
8
  export type ITokenUtils = Dev.tac.wrappers.ITokenUtils | Testnet.tac.wrappers.ITokenUtils | Mainnet.tac.wrappers.ITokenUtils;
9
- export type ERC20 = Dev.tac.wrappers.ERC20 | Testnet.tac.wrappers.ERC20 | Mainnet.tac.wrappers.ERC20;
10
- export type ERC721 = Dev.tac.wrappers.ERC721 | Testnet.tac.wrappers.ERC721 | Mainnet.tac.wrappers.ERC721;
9
+ export type IERC20WithDecimals = Dev.tac.wrappers.IERC20WithDecimals | Testnet.tac.wrappers.IERC20WithDecimals | Mainnet.tac.wrappers.IERC20WithDecimals;
10
+ export type IERC721 = Dev.tac.wrappers.IERC721 | Testnet.tac.wrappers.IERC721 | Mainnet.tac.wrappers.IERC721;
11
11
  export type ICrossChainLayerERC20 = Dev.tac.wrappers.ICrossChainLayerERC20 | Testnet.tac.wrappers.ICrossChainLayerERC20 | Mainnet.tac.wrappers.ICrossChainLayerERC20;
12
12
  export type ICrossChainLayerERC721 = Dev.tac.wrappers.ICrossChainLayerERC721 | Testnet.tac.wrappers.ICrossChainLayerERC721 | Mainnet.tac.wrappers.ICrossChainLayerERC721;
13
13
  export type OutMessageV1Struct = Dev.tac.structs.OutMessageV1Struct | Testnet.tac.structs.OutMessageV1Struct | Mainnet.tac.structs.OutMessageV1Struct;
@@ -253,22 +253,11 @@ export declare const compilationArtifacts: {
253
253
  linkReferences: {};
254
254
  deployedLinkReferences: {};
255
255
  };
256
- ERC20: {
256
+ IERC20WithDecimals: {
257
257
  _format: string;
258
258
  contractName: string;
259
259
  sourceName: string;
260
260
  abi: ({
261
- inputs: {
262
- internalType: string;
263
- name: string;
264
- type: string;
265
- }[];
266
- name: string;
267
- type: string;
268
- anonymous?: undefined;
269
- outputs?: undefined;
270
- stateMutability?: undefined;
271
- } | {
272
261
  anonymous: boolean;
273
262
  inputs: {
274
263
  indexed: boolean;
@@ -301,22 +290,11 @@ export declare const compilationArtifacts: {
301
290
  linkReferences: {};
302
291
  deployedLinkReferences: {};
303
292
  };
304
- ERC721: {
293
+ IERC721: {
305
294
  _format: string;
306
295
  contractName: string;
307
296
  sourceName: string;
308
297
  abi: ({
309
- inputs: {
310
- internalType: string;
311
- name: string;
312
- type: string;
313
- }[];
314
- name: string;
315
- type: string;
316
- anonymous?: undefined;
317
- outputs?: undefined;
318
- stateMutability?: undefined;
319
- } | {
320
298
  anonymous: boolean;
321
299
  inputs: {
322
300
  indexed: boolean;
@@ -11,8 +11,8 @@ const ICrossChainLayerERC20_json_1 = __importDefault(require("./internal/artifac
11
11
  const ICrossChainLayerERC721_json_1 = __importDefault(require("./internal/artifacts/contracts/interfaces/tokens/ICrossChainLayerERC721.sol/ICrossChainLayerERC721.json"));
12
12
  const ISAFactory_json_1 = __importDefault(require("./internal/artifacts/contracts/smart-account/interfaces/ISAFactory.sol/ISAFactory.json"));
13
13
  const ITacSmartAccount_json_1 = __importDefault(require("./internal/artifacts/contracts/smart-account/interfaces/ITacSmartAccount.sol/ITacSmartAccount.json"));
14
- const ERC20_json_1 = __importDefault(require("./internal/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json"));
15
- const ERC721_json_1 = __importDefault(require("./internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json"));
14
+ const IERC20WithDecimals_json_1 = __importDefault(require("./internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json"));
15
+ const IERC721_json_1 = __importDefault(require("./internal/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json"));
16
16
  exports.compilationArtifacts = {
17
17
  ICrossChainLayer: ICrossChainLayer_json_1.default,
18
18
  ISettings: ISettings_json_1.default,
@@ -21,6 +21,6 @@ exports.compilationArtifacts = {
21
21
  ICrossChainLayerERC721: ICrossChainLayerERC721_json_1.default,
22
22
  ISAFactory: ISAFactory_json_1.default,
23
23
  ITacSmartAccount: ITacSmartAccount_json_1.default,
24
- ERC20: ERC20_json_1.default,
25
- ERC721: ERC721_json_1.default,
24
+ IERC20WithDecimals: IERC20WithDecimals_json_1.default,
25
+ IERC721: IERC721_json_1.default,
26
26
  };