@augustdigital/sdk 4.0.6-alpha → 4.0.6-beta

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 (246) hide show
  1. package/README.md +169 -11
  2. package/lib/abis/AddressResolver.d.ts +28 -0
  3. package/lib/abis/AddressResolver.js +23 -0
  4. package/lib/abis/AddressResolver.js.map +1 -0
  5. package/lib/abis/ChainlinkV3.d.ts +87 -0
  6. package/lib/abis/ChainlinkV3.js +117 -0
  7. package/lib/abis/ChainlinkV3.js.map +1 -0
  8. package/lib/abis/ERC20.d.ts +168 -0
  9. package/lib/abis/ERC20.js +226 -0
  10. package/lib/abis/ERC20.js.map +1 -0
  11. package/lib/abis/ERC20_Bytes32.d.ts +135 -0
  12. package/lib/abis/ERC20_Bytes32.js +192 -0
  13. package/lib/abis/ERC20_Bytes32.js.map +1 -0
  14. package/lib/abis/ERC4626.d.ts +363 -0
  15. package/lib/abis/ERC4626.js +506 -0
  16. package/lib/abis/ERC4626.js.map +1 -0
  17. package/lib/abis/ERC721.d.ts +230 -0
  18. package/lib/abis/ERC721.js +320 -0
  19. package/lib/abis/ERC721.js.map +1 -0
  20. package/lib/abis/FeeOracle.d.ts +120 -0
  21. package/lib/abis/FeeOracle.js +161 -0
  22. package/lib/abis/FeeOracle.js.map +1 -0
  23. package/lib/abis/LendingPool.d.ts +1393 -0
  24. package/lib/abis/LendingPool.js +1806 -0
  25. package/lib/abis/LendingPool.js.map +1 -0
  26. package/lib/abis/LendingPoolV2.d.ts +55 -0
  27. package/lib/abis/LendingPoolV2.js +1832 -0
  28. package/lib/abis/LendingPoolV2.js.map +1 -0
  29. package/lib/abis/LendingPoolV3.d.ts +35 -0
  30. package/lib/abis/LendingPoolV3.js +1160 -0
  31. package/lib/abis/LendingPoolV3.js.map +1 -0
  32. package/lib/abis/Loan.d.ts +837 -0
  33. package/lib/abis/Loan.js +1080 -0
  34. package/lib/abis/Loan.js.map +1 -0
  35. package/lib/abis/Multicall3.d.ts +30 -0
  36. package/lib/abis/Multicall3.js +94 -0
  37. package/lib/abis/Multicall3.js.map +1 -0
  38. package/lib/abis/PoolAdapter.d.ts +76 -0
  39. package/lib/abis/PoolAdapter.js +412 -0
  40. package/lib/abis/PoolAdapter.js.map +1 -0
  41. package/lib/abis/RewardDistributor.d.ts +46 -0
  42. package/lib/abis/RewardDistributor.js +352 -0
  43. package/lib/abis/RewardDistributor.js.map +1 -0
  44. package/lib/abis/SmartAccount.d.ts +16 -0
  45. package/lib/abis/SmartAccount.js +16 -0
  46. package/lib/abis/SmartAccount.js.map +1 -0
  47. package/lib/abis/TextResolver.d.ts +16 -0
  48. package/lib/abis/TextResolver.js +16 -0
  49. package/lib/abis/TextResolver.js.map +1 -0
  50. package/lib/abis/TokenizedVaultV2.d.ts +1354 -0
  51. package/lib/abis/TokenizedVaultV2.js +1028 -0
  52. package/lib/abis/TokenizedVaultV2.js.map +1 -0
  53. package/lib/abis/TokenizedVaultV2Receipt.d.ts +1568 -0
  54. package/lib/abis/TokenizedVaultV2Receipt.js +1061 -0
  55. package/lib/abis/TokenizedVaultV2Receipt.js.map +1 -0
  56. package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +274 -0
  57. package/lib/abis/TokenizedVaultV2WhitelistedAssets.js +167 -0
  58. package/lib/abis/TokenizedVaultV2WhitelistedAssets.js.map +1 -0
  59. package/lib/abis/UniversalResolverResolve.d.ts +69 -0
  60. package/lib/abis/UniversalResolverResolve.js +35 -0
  61. package/lib/abis/UniversalResolverResolve.js.map +1 -0
  62. package/lib/abis/UniversalSignatureValidator.d.ts +17 -0
  63. package/lib/abis/UniversalSignatureValidator.js +27 -0
  64. package/lib/abis/UniversalSignatureValidator.js.map +1 -0
  65. package/lib/abis/WrapperAdapter.d.ts +60 -0
  66. package/lib/abis/WrapperAdapter.js +150 -0
  67. package/lib/abis/WrapperAdapter.js.map +1 -0
  68. package/lib/abis/index.d.ts +22 -0
  69. package/lib/abis/index.js +39 -0
  70. package/lib/abis/index.js.map +1 -0
  71. package/lib/adapters/evm/getters.d.ts +4 -0
  72. package/lib/adapters/evm/getters.js +152 -0
  73. package/lib/adapters/evm/getters.js.map +1 -0
  74. package/lib/adapters/evm/index.d.ts +19 -0
  75. package/lib/adapters/evm/index.js +54 -0
  76. package/lib/adapters/evm/index.js.map +1 -0
  77. package/lib/adapters/evm/utils.d.ts +2 -0
  78. package/lib/adapters/evm/utils.js +43 -0
  79. package/lib/adapters/evm/utils.js.map +1 -0
  80. package/lib/adapters/solana/constants.d.ts +25 -0
  81. package/lib/adapters/solana/constants.js +32 -0
  82. package/lib/adapters/solana/constants.js.map +1 -0
  83. package/lib/adapters/solana/getters.d.ts +3 -0
  84. package/lib/adapters/solana/getters.js +135 -0
  85. package/lib/adapters/solana/getters.js.map +1 -0
  86. package/lib/adapters/solana/idl/vault-idl.d.ts +338 -0
  87. package/lib/adapters/solana/idl/vault-idl.js +1075 -0
  88. package/lib/adapters/solana/idl/vault-idl.js.map +1 -0
  89. package/lib/adapters/solana/index.d.ts +136 -0
  90. package/lib/adapters/solana/index.js +174 -0
  91. package/lib/adapters/solana/index.js.map +1 -0
  92. package/lib/adapters/solana/types.d.ts +58 -0
  93. package/lib/adapters/solana/types.js +3 -0
  94. package/lib/adapters/solana/types.js.map +1 -0
  95. package/lib/adapters/solana/utils.d.ts +104 -0
  96. package/lib/adapters/solana/utils.js +380 -0
  97. package/lib/adapters/solana/utils.js.map +1 -0
  98. package/lib/adapters/solana/vault.actions.d.ts +18 -0
  99. package/lib/adapters/solana/vault.actions.js +235 -0
  100. package/lib/adapters/solana/vault.actions.js.map +1 -0
  101. package/lib/adapters/sui/index.d.ts +0 -0
  102. package/lib/adapters/sui/index.js +1 -0
  103. package/lib/adapters/sui/index.js.map +1 -0
  104. package/lib/core/auth/index.d.ts +1 -0
  105. package/lib/core/auth/index.js +18 -0
  106. package/lib/core/auth/index.js.map +1 -0
  107. package/lib/{verify.js → core/auth/verify.js} +3 -2
  108. package/lib/core/auth/verify.js.map +1 -0
  109. package/lib/core/base.class.d.ts +33 -0
  110. package/lib/core/base.class.js +66 -0
  111. package/lib/core/base.class.js.map +1 -0
  112. package/lib/core/constants.core.d.ts +59 -0
  113. package/lib/core/constants.core.js +63 -0
  114. package/lib/core/constants.core.js.map +1 -0
  115. package/lib/core/constants.d.ts +88 -0
  116. package/lib/core/constants.js +148 -0
  117. package/lib/core/constants.js.map +1 -0
  118. package/lib/core/constants.vaults.d.ts +19 -0
  119. package/lib/core/constants.vaults.js +130 -0
  120. package/lib/core/constants.vaults.js.map +1 -0
  121. package/lib/core/constants.web3.d.ts +30 -0
  122. package/lib/core/constants.web3.js +89 -0
  123. package/lib/core/constants.web3.js.map +1 -0
  124. package/lib/core/core.helpers.d.ts +23 -0
  125. package/lib/core/core.helpers.js +210 -0
  126. package/lib/core/core.helpers.js.map +1 -0
  127. package/lib/core/fetcher.d.ts +22 -0
  128. package/lib/core/fetcher.js +374 -0
  129. package/lib/core/fetcher.js.map +1 -0
  130. package/lib/core/helpers.core.d.ts +23 -0
  131. package/lib/core/helpers.core.js +210 -0
  132. package/lib/core/helpers.core.js.map +1 -0
  133. package/lib/core/helpers.vaults.d.ts +15 -0
  134. package/lib/core/helpers.vaults.js +118 -0
  135. package/lib/core/helpers.vaults.js.map +1 -0
  136. package/lib/core/helpers.web3.d.ts +29 -0
  137. package/lib/core/helpers.web3.js +365 -0
  138. package/lib/core/helpers.web3.js.map +1 -0
  139. package/lib/core/index.d.ts +10 -0
  140. package/lib/core/index.js +27 -0
  141. package/lib/core/index.js.map +1 -0
  142. package/lib/core/logger/index.d.ts +21 -0
  143. package/lib/core/logger/index.js +80 -0
  144. package/lib/core/logger/index.js.map +1 -0
  145. package/lib/core/logger/slack.d.ts +12 -0
  146. package/lib/core/logger/slack.js +49 -0
  147. package/lib/core/logger/slack.js.map +1 -0
  148. package/lib/core/read.actions.d.ts +3 -0
  149. package/lib/core/read.actions.js +39 -0
  150. package/lib/core/read.actions.js.map +1 -0
  151. package/lib/core/vault.utils.d.ts +4 -0
  152. package/lib/core/vault.utils.js +35 -0
  153. package/lib/core/vault.utils.js.map +1 -0
  154. package/lib/core/web3.helpers.d.ts +29 -0
  155. package/lib/core/web3.helpers.js +365 -0
  156. package/lib/core/web3.helpers.js.map +1 -0
  157. package/lib/core/write.actions.d.ts +9 -0
  158. package/lib/core/write.actions.js +51 -0
  159. package/lib/core/write.actions.js.map +1 -0
  160. package/lib/index.d.ts +5 -6
  161. package/lib/index.js +13 -7
  162. package/lib/index.js.map +1 -1
  163. package/lib/main.d.ts +88 -14
  164. package/lib/main.js +54 -17
  165. package/lib/main.js.map +1 -1
  166. package/lib/modules/vaults/constants.d.ts +63 -0
  167. package/lib/modules/vaults/constants.js +186 -0
  168. package/lib/modules/vaults/constants.js.map +1 -0
  169. package/lib/modules/vaults/fetcher.d.ts +101 -0
  170. package/lib/modules/vaults/fetcher.js +257 -0
  171. package/lib/modules/vaults/fetcher.js.map +1 -0
  172. package/lib/modules/vaults/getters.d.ts +67 -0
  173. package/lib/modules/vaults/getters.js +900 -0
  174. package/lib/modules/vaults/getters.js.map +1 -0
  175. package/lib/modules/vaults/index.d.ts +3 -0
  176. package/lib/modules/vaults/index.js +20 -0
  177. package/lib/modules/vaults/index.js.map +1 -0
  178. package/lib/modules/vaults/main.d.ts +98 -0
  179. package/lib/modules/vaults/main.js +519 -0
  180. package/lib/modules/vaults/main.js.map +1 -0
  181. package/lib/modules/vaults/read.actions.d.ts +3 -0
  182. package/lib/modules/vaults/read.actions.js +39 -0
  183. package/lib/modules/vaults/read.actions.js.map +1 -0
  184. package/lib/modules/vaults/utils.d.ts +12 -0
  185. package/lib/modules/vaults/utils.js +170 -0
  186. package/lib/modules/vaults/utils.js.map +1 -0
  187. package/lib/modules/vaults/vault.actions.d.ts +10 -0
  188. package/lib/modules/vaults/vault.actions.js +95 -0
  189. package/lib/modules/vaults/vault.actions.js.map +1 -0
  190. package/lib/modules/vaults/write.actions.d.ts +17 -0
  191. package/lib/modules/vaults/write.actions.js +143 -0
  192. package/lib/modules/vaults/write.actions.js.map +1 -0
  193. package/lib/services/coingecko/fetcher.d.ts +1 -0
  194. package/lib/services/coingecko/fetcher.js +36 -0
  195. package/lib/services/coingecko/fetcher.js.map +1 -0
  196. package/lib/services/coingecko/index.d.ts +2 -0
  197. package/lib/services/coingecko/index.js +19 -0
  198. package/lib/services/coingecko/index.js.map +1 -0
  199. package/lib/services/coingecko/utils.d.ts +1 -0
  200. package/lib/services/coingecko/utils.js +24 -0
  201. package/lib/services/coingecko/utils.js.map +1 -0
  202. package/lib/services/debank/fetcher.d.ts +2 -0
  203. package/lib/services/debank/fetcher.js +16 -0
  204. package/lib/services/debank/fetcher.js.map +1 -0
  205. package/lib/services/debank/index.d.ts +2 -0
  206. package/lib/services/debank/index.js +19 -0
  207. package/lib/services/debank/index.js.map +1 -0
  208. package/lib/services/debank/utils.d.ts +32 -0
  209. package/lib/services/debank/utils.js +229 -0
  210. package/lib/services/debank/utils.js.map +1 -0
  211. package/lib/services/subgraph/fetcher.d.ts +2 -0
  212. package/lib/services/subgraph/fetcher.js +59 -0
  213. package/lib/services/subgraph/fetcher.js.map +1 -0
  214. package/lib/services/subgraph/index.d.ts +2 -0
  215. package/lib/services/subgraph/index.js +19 -0
  216. package/lib/services/subgraph/index.js.map +1 -0
  217. package/lib/services/subgraph/vaults.d.ts +10 -0
  218. package/lib/services/subgraph/vaults.js +471 -0
  219. package/lib/services/subgraph/vaults.js.map +1 -0
  220. package/lib/types/index.d.ts +8 -0
  221. package/lib/types/index.js +24 -0
  222. package/lib/types/index.js.map +1 -0
  223. package/lib/types/pools.d.ts +141 -0
  224. package/lib/types/pools.js +3 -0
  225. package/lib/types/pools.js.map +1 -0
  226. package/lib/types/staking.d.ts +28 -0
  227. package/lib/types/staking.js +3 -0
  228. package/lib/types/staking.js.map +1 -0
  229. package/lib/types/subgraph.d.ts +45 -0
  230. package/lib/types/subgraph.js +3 -0
  231. package/lib/types/subgraph.js.map +1 -0
  232. package/lib/types/user.d.ts +1 -0
  233. package/lib/types/user.js +3 -0
  234. package/lib/types/user.js.map +1 -0
  235. package/lib/types/vaults.d.ts +170 -0
  236. package/lib/types/vaults.js +3 -0
  237. package/lib/types/vaults.js.map +1 -0
  238. package/lib/types/web3.d.ts +24 -0
  239. package/lib/types/web3.js +3 -0
  240. package/lib/types/web3.js.map +1 -0
  241. package/lib/types/webserver.d.ts +489 -0
  242. package/lib/types/webserver.js +3 -0
  243. package/lib/types/webserver.js.map +1 -0
  244. package/package.json +16 -10
  245. package/lib/verify.js.map +0 -1
  246. /package/lib/{verify.d.ts → core/auth/verify.d.ts} +0 -0
@@ -0,0 +1,1061 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ABI_TOKENIZED_VAULT_V2_RECEIPT = void 0;
4
+ exports.ABI_TOKENIZED_VAULT_V2_RECEIPT = [
5
+ {
6
+ inputs: [{ internalType: 'address', name: '_lzEndpoint', type: 'address' }],
7
+ stateMutability: 'nonpayable',
8
+ type: 'constructor',
9
+ },
10
+ { inputs: [], name: 'AlreadyConfigured', type: 'error' },
11
+ {
12
+ inputs: [
13
+ { internalType: 'address', name: 'spender', type: 'address' },
14
+ { internalType: 'uint256', name: 'allowance', type: 'uint256' },
15
+ { internalType: 'uint256', name: 'needed', type: 'uint256' },
16
+ ],
17
+ name: 'ERC20InsufficientAllowance',
18
+ type: 'error',
19
+ },
20
+ {
21
+ inputs: [
22
+ { internalType: 'address', name: 'sender', type: 'address' },
23
+ { internalType: 'uint256', name: 'balance', type: 'uint256' },
24
+ { internalType: 'uint256', name: 'needed', type: 'uint256' },
25
+ ],
26
+ name: 'ERC20InsufficientBalance',
27
+ type: 'error',
28
+ },
29
+ {
30
+ inputs: [{ internalType: 'address', name: 'approver', type: 'address' }],
31
+ name: 'ERC20InvalidApprover',
32
+ type: 'error',
33
+ },
34
+ {
35
+ inputs: [{ internalType: 'address', name: 'receiver', type: 'address' }],
36
+ name: 'ERC20InvalidReceiver',
37
+ type: 'error',
38
+ },
39
+ {
40
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
41
+ name: 'ERC20InvalidSender',
42
+ type: 'error',
43
+ },
44
+ {
45
+ inputs: [{ internalType: 'address', name: 'spender', type: 'address' }],
46
+ name: 'ERC20InvalidSpender',
47
+ type: 'error',
48
+ },
49
+ { inputs: [], name: 'ExpiredDeadline', type: 'error' },
50
+ { inputs: [], name: 'InvalidDelegate', type: 'error' },
51
+ { inputs: [], name: 'InvalidDomainSeparator', type: 'error' },
52
+ { inputs: [], name: 'InvalidEndpointCall', type: 'error' },
53
+ { inputs: [], name: 'InvalidEpoch', type: 'error' },
54
+ { inputs: [], name: 'InvalidInitialization', type: 'error' },
55
+ { inputs: [], name: 'InvalidLocalDecimals', type: 'error' },
56
+ {
57
+ inputs: [{ internalType: 'bytes', name: 'options', type: 'bytes' }],
58
+ name: 'InvalidOptions',
59
+ type: 'error',
60
+ },
61
+ { inputs: [], name: 'InvalidSignature', type: 'error' },
62
+ { inputs: [], name: 'InvalidSignatureComponentS', type: 'error' },
63
+ { inputs: [], name: 'InvalidSigner', type: 'error' },
64
+ { inputs: [], name: 'LzTokenUnavailable', type: 'error' },
65
+ {
66
+ inputs: [{ internalType: 'uint32', name: 'eid', type: 'uint32' }],
67
+ name: 'NoPeer',
68
+ type: 'error',
69
+ },
70
+ { inputs: [], name: 'NotConfigured', type: 'error' },
71
+ {
72
+ inputs: [{ internalType: 'uint256', name: 'msgValue', type: 'uint256' }],
73
+ name: 'NotEnoughNative',
74
+ type: 'error',
75
+ },
76
+ { inputs: [], name: 'NotInitializing', type: 'error' },
77
+ {
78
+ inputs: [{ internalType: 'address', name: 'addr', type: 'address' }],
79
+ name: 'OnlyEndpoint',
80
+ type: 'error',
81
+ },
82
+ {
83
+ inputs: [
84
+ { internalType: 'uint32', name: 'eid', type: 'uint32' },
85
+ { internalType: 'bytes32', name: 'sender', type: 'bytes32' },
86
+ ],
87
+ name: 'OnlyPeer',
88
+ type: 'error',
89
+ },
90
+ { inputs: [], name: 'OnlySelf', type: 'error' },
91
+ {
92
+ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
93
+ name: 'OwnableInvalidOwner',
94
+ type: 'error',
95
+ },
96
+ {
97
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
98
+ name: 'OwnableUnauthorizedAccount',
99
+ type: 'error',
100
+ },
101
+ { inputs: [], name: 'ReentrantCall', type: 'error' },
102
+ {
103
+ inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
104
+ name: 'SafeERC20FailedOperation',
105
+ type: 'error',
106
+ },
107
+ {
108
+ inputs: [{ internalType: 'bytes', name: 'result', type: 'bytes' }],
109
+ name: 'SimulationResult',
110
+ type: 'error',
111
+ },
112
+ {
113
+ inputs: [
114
+ { internalType: 'uint256', name: 'amountLD', type: 'uint256' },
115
+ { internalType: 'uint256', name: 'minAmountLD', type: 'uint256' },
116
+ ],
117
+ name: 'SlippageExceeded',
118
+ type: 'error',
119
+ },
120
+ { inputs: [], name: 'TokensLocked', type: 'error' },
121
+ { inputs: [], name: 'Unauthorized', type: 'error' },
122
+ { inputs: [], name: 'UnauthorizedBurner', type: 'error' },
123
+ { inputs: [], name: 'UnauthorizedMinter', type: 'error' },
124
+ { inputs: [], name: 'ZeroAddress', type: 'error' },
125
+ {
126
+ anonymous: false,
127
+ inputs: [
128
+ {
129
+ indexed: true,
130
+ internalType: 'address',
131
+ name: 'owner',
132
+ type: 'address',
133
+ },
134
+ {
135
+ indexed: true,
136
+ internalType: 'address',
137
+ name: 'spender',
138
+ type: 'address',
139
+ },
140
+ {
141
+ indexed: false,
142
+ internalType: 'uint256',
143
+ name: 'value',
144
+ type: 'uint256',
145
+ },
146
+ ],
147
+ name: 'Approval',
148
+ type: 'event',
149
+ },
150
+ { anonymous: false, inputs: [], name: 'EIP712DomainChanged', type: 'event' },
151
+ {
152
+ anonymous: false,
153
+ inputs: [
154
+ {
155
+ components: [
156
+ { internalType: 'uint32', name: 'eid', type: 'uint32' },
157
+ { internalType: 'uint16', name: 'msgType', type: 'uint16' },
158
+ { internalType: 'bytes', name: 'options', type: 'bytes' },
159
+ ],
160
+ indexed: false,
161
+ internalType: 'struct EnforcedOptionParam[]',
162
+ name: '_enforcedOptions',
163
+ type: 'tuple[]',
164
+ },
165
+ ],
166
+ name: 'EnforcedOptionSet',
167
+ type: 'event',
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: false,
174
+ internalType: 'uint64',
175
+ name: 'version',
176
+ type: 'uint64',
177
+ },
178
+ ],
179
+ name: 'Initialized',
180
+ type: 'event',
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: false,
187
+ internalType: 'address',
188
+ name: 'inspector',
189
+ type: 'address',
190
+ },
191
+ ],
192
+ name: 'MsgInspectorSet',
193
+ type: 'event',
194
+ },
195
+ {
196
+ anonymous: false,
197
+ inputs: [
198
+ { indexed: true, internalType: 'bytes32', name: 'guid', type: 'bytes32' },
199
+ {
200
+ indexed: false,
201
+ internalType: 'uint32',
202
+ name: 'srcEid',
203
+ type: 'uint32',
204
+ },
205
+ {
206
+ indexed: true,
207
+ internalType: 'address',
208
+ name: 'toAddress',
209
+ type: 'address',
210
+ },
211
+ {
212
+ indexed: false,
213
+ internalType: 'uint256',
214
+ name: 'amountReceivedLD',
215
+ type: 'uint256',
216
+ },
217
+ ],
218
+ name: 'OFTReceived',
219
+ type: 'event',
220
+ },
221
+ {
222
+ anonymous: false,
223
+ inputs: [
224
+ { indexed: true, internalType: 'bytes32', name: 'guid', type: 'bytes32' },
225
+ {
226
+ indexed: false,
227
+ internalType: 'uint32',
228
+ name: 'dstEid',
229
+ type: 'uint32',
230
+ },
231
+ {
232
+ indexed: true,
233
+ internalType: 'address',
234
+ name: 'fromAddress',
235
+ type: 'address',
236
+ },
237
+ {
238
+ indexed: false,
239
+ internalType: 'uint256',
240
+ name: 'amountSentLD',
241
+ type: 'uint256',
242
+ },
243
+ {
244
+ indexed: false,
245
+ internalType: 'uint256',
246
+ name: 'amountReceivedLD',
247
+ type: 'uint256',
248
+ },
249
+ ],
250
+ name: 'OFTSent',
251
+ type: 'event',
252
+ },
253
+ {
254
+ anonymous: false,
255
+ inputs: [
256
+ {
257
+ indexed: false,
258
+ internalType: 'address',
259
+ name: 'holderAddr',
260
+ type: 'address',
261
+ },
262
+ {
263
+ indexed: false,
264
+ internalType: 'uint256',
265
+ name: 'untilEpoch',
266
+ type: 'uint256',
267
+ },
268
+ ],
269
+ name: 'OnTokensLocked',
270
+ type: 'event',
271
+ },
272
+ {
273
+ anonymous: false,
274
+ inputs: [
275
+ {
276
+ indexed: false,
277
+ internalType: 'address',
278
+ name: 'holderAddr',
279
+ type: 'address',
280
+ },
281
+ ],
282
+ name: 'OnTokensUnLocked',
283
+ type: 'event',
284
+ },
285
+ {
286
+ anonymous: false,
287
+ inputs: [
288
+ {
289
+ indexed: true,
290
+ internalType: 'address',
291
+ name: 'previousOwner',
292
+ type: 'address',
293
+ },
294
+ {
295
+ indexed: true,
296
+ internalType: 'address',
297
+ name: 'newOwner',
298
+ type: 'address',
299
+ },
300
+ ],
301
+ name: 'OwnershipTransferStarted',
302
+ type: 'event',
303
+ },
304
+ {
305
+ anonymous: false,
306
+ inputs: [
307
+ {
308
+ indexed: true,
309
+ internalType: 'address',
310
+ name: 'previousOwner',
311
+ type: 'address',
312
+ },
313
+ {
314
+ indexed: true,
315
+ internalType: 'address',
316
+ name: 'newOwner',
317
+ type: 'address',
318
+ },
319
+ ],
320
+ name: 'OwnershipTransferred',
321
+ type: 'event',
322
+ },
323
+ {
324
+ anonymous: false,
325
+ inputs: [
326
+ { indexed: false, internalType: 'uint32', name: 'eid', type: 'uint32' },
327
+ {
328
+ indexed: false,
329
+ internalType: 'bytes32',
330
+ name: 'peer',
331
+ type: 'bytes32',
332
+ },
333
+ ],
334
+ name: 'PeerSet',
335
+ type: 'event',
336
+ },
337
+ {
338
+ anonymous: false,
339
+ inputs: [
340
+ {
341
+ indexed: false,
342
+ internalType: 'address',
343
+ name: 'preCrimeAddress',
344
+ type: 'address',
345
+ },
346
+ ],
347
+ name: 'PreCrimeSet',
348
+ type: 'event',
349
+ },
350
+ {
351
+ anonymous: false,
352
+ inputs: [
353
+ { indexed: true, internalType: 'address', name: 'from', type: 'address' },
354
+ { indexed: true, internalType: 'address', name: 'to', type: 'address' },
355
+ {
356
+ indexed: false,
357
+ internalType: 'uint256',
358
+ name: 'value',
359
+ type: 'uint256',
360
+ },
361
+ ],
362
+ name: 'Transfer',
363
+ type: 'event',
364
+ },
365
+ {
366
+ inputs: [],
367
+ name: 'DOMAIN_SEPARATOR',
368
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
369
+ stateMutability: 'view',
370
+ type: 'function',
371
+ },
372
+ {
373
+ inputs: [],
374
+ name: 'PERMIT_TYPEHASH',
375
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
376
+ stateMutability: 'view',
377
+ type: 'function',
378
+ },
379
+ {
380
+ inputs: [],
381
+ name: 'SEND',
382
+ outputs: [{ internalType: 'uint16', name: '', type: 'uint16' }],
383
+ stateMutability: 'view',
384
+ type: 'function',
385
+ },
386
+ {
387
+ inputs: [],
388
+ name: 'SEND_AND_CALL',
389
+ outputs: [{ internalType: 'uint16', name: '', type: 'uint16' }],
390
+ stateMutability: 'view',
391
+ type: 'function',
392
+ },
393
+ {
394
+ inputs: [],
395
+ name: 'acceptOwnership',
396
+ outputs: [],
397
+ stateMutability: 'nonpayable',
398
+ type: 'function',
399
+ },
400
+ {
401
+ inputs: [
402
+ {
403
+ components: [
404
+ { internalType: 'uint32', name: 'srcEid', type: 'uint32' },
405
+ { internalType: 'bytes32', name: 'sender', type: 'bytes32' },
406
+ { internalType: 'uint64', name: 'nonce', type: 'uint64' },
407
+ ],
408
+ internalType: 'struct Origin',
409
+ name: 'origin',
410
+ type: 'tuple',
411
+ },
412
+ ],
413
+ name: 'allowInitializePath',
414
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
415
+ stateMutability: 'view',
416
+ type: 'function',
417
+ },
418
+ {
419
+ inputs: [
420
+ { internalType: 'address', name: 'owner', type: 'address' },
421
+ { internalType: 'address', name: 'spender', type: 'address' },
422
+ ],
423
+ name: 'allowance',
424
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
425
+ stateMutability: 'view',
426
+ type: 'function',
427
+ },
428
+ {
429
+ inputs: [],
430
+ name: 'approvalRequired',
431
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
432
+ stateMutability: 'pure',
433
+ type: 'function',
434
+ },
435
+ {
436
+ inputs: [
437
+ { internalType: 'address', name: 'spender', type: 'address' },
438
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
439
+ ],
440
+ name: 'approve',
441
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
442
+ stateMutability: 'nonpayable',
443
+ type: 'function',
444
+ },
445
+ {
446
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
447
+ name: 'balanceOf',
448
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
449
+ stateMutability: 'view',
450
+ type: 'function',
451
+ },
452
+ {
453
+ inputs: [
454
+ { internalType: 'address', name: 'addr', type: 'address' },
455
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
456
+ ],
457
+ name: 'burn',
458
+ outputs: [],
459
+ stateMutability: 'nonpayable',
460
+ type: 'function',
461
+ },
462
+ {
463
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
464
+ name: 'burners',
465
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
466
+ stateMutability: 'view',
467
+ type: 'function',
468
+ },
469
+ {
470
+ inputs: [
471
+ { internalType: 'uint32', name: '_eid', type: 'uint32' },
472
+ { internalType: 'uint16', name: '_msgType', type: 'uint16' },
473
+ { internalType: 'bytes', name: '_extraOptions', type: 'bytes' },
474
+ ],
475
+ name: 'combineOptions',
476
+ outputs: [{ internalType: 'bytes', name: '', type: 'bytes' }],
477
+ stateMutability: 'view',
478
+ type: 'function',
479
+ },
480
+ {
481
+ inputs: [
482
+ { internalType: 'address[]', name: 'newMinters', type: 'address[]' },
483
+ { internalType: 'address[]', name: 'newBurners', type: 'address[]' },
484
+ ],
485
+ name: 'configure',
486
+ outputs: [],
487
+ stateMutability: 'nonpayable',
488
+ type: 'function',
489
+ },
490
+ {
491
+ inputs: [],
492
+ name: 'decimalConversionRate',
493
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
494
+ stateMutability: 'view',
495
+ type: 'function',
496
+ },
497
+ {
498
+ inputs: [],
499
+ name: 'decimals',
500
+ outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
501
+ stateMutability: 'view',
502
+ type: 'function',
503
+ },
504
+ {
505
+ inputs: [],
506
+ name: 'eip712Domain',
507
+ outputs: [
508
+ { internalType: 'bytes1', name: 'fields', type: 'bytes1' },
509
+ { internalType: 'string', name: 'domainName', type: 'string' },
510
+ { internalType: 'string', name: 'domainVersion', type: 'string' },
511
+ { internalType: 'uint256', name: 'chainId', type: 'uint256' },
512
+ { internalType: 'address', name: 'verifyingContract', type: 'address' },
513
+ { internalType: 'bytes32', name: 'salt', type: 'bytes32' },
514
+ { internalType: 'uint256[]', name: 'extensions', type: 'uint256[]' },
515
+ ],
516
+ stateMutability: 'view',
517
+ type: 'function',
518
+ },
519
+ {
520
+ inputs: [],
521
+ name: 'endpoint',
522
+ outputs: [
523
+ {
524
+ internalType: 'contract ILayerZeroEndpointV2',
525
+ name: '',
526
+ type: 'address',
527
+ },
528
+ ],
529
+ stateMutability: 'view',
530
+ type: 'function',
531
+ },
532
+ {
533
+ inputs: [
534
+ { internalType: 'uint32', name: '_eid', type: 'uint32' },
535
+ { internalType: 'uint16', name: '_msgType', type: 'uint16' },
536
+ ],
537
+ name: 'enforcedOptions',
538
+ outputs: [{ internalType: 'bytes', name: '', type: 'bytes' }],
539
+ stateMutability: 'view',
540
+ type: 'function',
541
+ },
542
+ {
543
+ inputs: [
544
+ { internalType: 'address', name: 'newOwnerAddr', type: 'address' },
545
+ { internalType: 'uint8', name: 'erc20Decimals', type: 'uint8' },
546
+ { internalType: 'string', name: 'erc20Symbol', type: 'string' },
547
+ { internalType: 'string', name: 'erc20Name', type: 'string' },
548
+ ],
549
+ name: 'initialize',
550
+ outputs: [],
551
+ stateMutability: 'nonpayable',
552
+ type: 'function',
553
+ },
554
+ {
555
+ inputs: [
556
+ {
557
+ components: [
558
+ { internalType: 'uint32', name: 'srcEid', type: 'uint32' },
559
+ { internalType: 'bytes32', name: 'sender', type: 'bytes32' },
560
+ { internalType: 'uint64', name: 'nonce', type: 'uint64' },
561
+ ],
562
+ internalType: 'struct Origin',
563
+ name: '',
564
+ type: 'tuple',
565
+ },
566
+ { internalType: 'bytes', name: '', type: 'bytes' },
567
+ { internalType: 'address', name: '_sender', type: 'address' },
568
+ ],
569
+ name: 'isComposeMsgSender',
570
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
571
+ stateMutability: 'view',
572
+ type: 'function',
573
+ },
574
+ {
575
+ inputs: [
576
+ { internalType: 'uint32', name: '_eid', type: 'uint32' },
577
+ { internalType: 'bytes32', name: '_peer', type: 'bytes32' },
578
+ ],
579
+ name: 'isPeer',
580
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
581
+ stateMutability: 'view',
582
+ type: 'function',
583
+ },
584
+ {
585
+ inputs: [
586
+ { internalType: 'address', name: 'holderAddr', type: 'address' },
587
+ { internalType: 'uint256', name: 'untilEpoch', type: 'uint256' },
588
+ ],
589
+ name: 'lockTokens',
590
+ outputs: [],
591
+ stateMutability: 'nonpayable',
592
+ type: 'function',
593
+ },
594
+ {
595
+ inputs: [
596
+ {
597
+ components: [
598
+ { internalType: 'uint32', name: 'srcEid', type: 'uint32' },
599
+ { internalType: 'bytes32', name: 'sender', type: 'bytes32' },
600
+ { internalType: 'uint64', name: 'nonce', type: 'uint64' },
601
+ ],
602
+ internalType: 'struct Origin',
603
+ name: '_origin',
604
+ type: 'tuple',
605
+ },
606
+ { internalType: 'bytes32', name: '_guid', type: 'bytes32' },
607
+ { internalType: 'bytes', name: '_message', type: 'bytes' },
608
+ { internalType: 'address', name: '_executor', type: 'address' },
609
+ { internalType: 'bytes', name: '_extraData', type: 'bytes' },
610
+ ],
611
+ name: 'lzReceive',
612
+ outputs: [],
613
+ stateMutability: 'payable',
614
+ type: 'function',
615
+ },
616
+ {
617
+ inputs: [
618
+ {
619
+ components: [
620
+ {
621
+ components: [
622
+ { internalType: 'uint32', name: 'srcEid', type: 'uint32' },
623
+ { internalType: 'bytes32', name: 'sender', type: 'bytes32' },
624
+ { internalType: 'uint64', name: 'nonce', type: 'uint64' },
625
+ ],
626
+ internalType: 'struct Origin',
627
+ name: 'origin',
628
+ type: 'tuple',
629
+ },
630
+ { internalType: 'uint32', name: 'dstEid', type: 'uint32' },
631
+ { internalType: 'address', name: 'receiver', type: 'address' },
632
+ { internalType: 'bytes32', name: 'guid', type: 'bytes32' },
633
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
634
+ { internalType: 'address', name: 'executor', type: 'address' },
635
+ { internalType: 'bytes', name: 'message', type: 'bytes' },
636
+ { internalType: 'bytes', name: 'extraData', type: 'bytes' },
637
+ ],
638
+ internalType: 'struct InboundPacket[]',
639
+ name: '_packets',
640
+ type: 'tuple[]',
641
+ },
642
+ ],
643
+ name: 'lzReceiveAndRevert',
644
+ outputs: [],
645
+ stateMutability: 'payable',
646
+ type: 'function',
647
+ },
648
+ {
649
+ inputs: [
650
+ {
651
+ components: [
652
+ { internalType: 'uint32', name: 'srcEid', type: 'uint32' },
653
+ { internalType: 'bytes32', name: 'sender', type: 'bytes32' },
654
+ { internalType: 'uint64', name: 'nonce', type: 'uint64' },
655
+ ],
656
+ internalType: 'struct Origin',
657
+ name: '_origin',
658
+ type: 'tuple',
659
+ },
660
+ { internalType: 'bytes32', name: '_guid', type: 'bytes32' },
661
+ { internalType: 'bytes', name: '_message', type: 'bytes' },
662
+ { internalType: 'address', name: '_executor', type: 'address' },
663
+ { internalType: 'bytes', name: '_extraData', type: 'bytes' },
664
+ ],
665
+ name: 'lzReceiveSimulate',
666
+ outputs: [],
667
+ stateMutability: 'payable',
668
+ type: 'function',
669
+ },
670
+ {
671
+ inputs: [
672
+ { internalType: 'address', name: 'addr', type: 'address' },
673
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
674
+ ],
675
+ name: 'mint',
676
+ outputs: [],
677
+ stateMutability: 'nonpayable',
678
+ type: 'function',
679
+ },
680
+ {
681
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
682
+ name: 'minters',
683
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
684
+ stateMutability: 'view',
685
+ type: 'function',
686
+ },
687
+ {
688
+ inputs: [],
689
+ name: 'msgInspector',
690
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
691
+ stateMutability: 'view',
692
+ type: 'function',
693
+ },
694
+ {
695
+ inputs: [],
696
+ name: 'name',
697
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
698
+ stateMutability: 'view',
699
+ type: 'function',
700
+ },
701
+ {
702
+ inputs: [
703
+ { internalType: 'uint32', name: '', type: 'uint32' },
704
+ { internalType: 'bytes32', name: '', type: 'bytes32' },
705
+ ],
706
+ name: 'nextNonce',
707
+ outputs: [{ internalType: 'uint64', name: 'nonce', type: 'uint64' }],
708
+ stateMutability: 'view',
709
+ type: 'function',
710
+ },
711
+ {
712
+ inputs: [{ internalType: 'address', name: 'addr', type: 'address' }],
713
+ name: 'nonces',
714
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
715
+ stateMutability: 'view',
716
+ type: 'function',
717
+ },
718
+ {
719
+ inputs: [],
720
+ name: 'oApp',
721
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
722
+ stateMutability: 'view',
723
+ type: 'function',
724
+ },
725
+ {
726
+ inputs: [],
727
+ name: 'oAppVersion',
728
+ outputs: [
729
+ { internalType: 'uint64', name: 'senderVersion', type: 'uint64' },
730
+ { internalType: 'uint64', name: 'receiverVersion', type: 'uint64' },
731
+ ],
732
+ stateMutability: 'pure',
733
+ type: 'function',
734
+ },
735
+ {
736
+ inputs: [],
737
+ name: 'oftVersion',
738
+ outputs: [
739
+ { internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' },
740
+ { internalType: 'uint64', name: 'version', type: 'uint64' },
741
+ ],
742
+ stateMutability: 'pure',
743
+ type: 'function',
744
+ },
745
+ {
746
+ inputs: [],
747
+ name: 'owner',
748
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
749
+ stateMutability: 'view',
750
+ type: 'function',
751
+ },
752
+ {
753
+ inputs: [{ internalType: 'uint32', name: '_eid', type: 'uint32' }],
754
+ name: 'peers',
755
+ outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
756
+ stateMutability: 'view',
757
+ type: 'function',
758
+ },
759
+ {
760
+ inputs: [],
761
+ name: 'pendingOwner',
762
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
763
+ stateMutability: 'view',
764
+ type: 'function',
765
+ },
766
+ {
767
+ inputs: [
768
+ { internalType: 'address', name: 'holderAddr', type: 'address' },
769
+ { internalType: 'address', name: 'spenderAddr', type: 'address' },
770
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
771
+ { internalType: 'uint256', name: 'deadline', type: 'uint256' },
772
+ { internalType: 'uint8', name: 'v', type: 'uint8' },
773
+ { internalType: 'bytes32', name: 'r', type: 'bytes32' },
774
+ { internalType: 'bytes32', name: 's', type: 'bytes32' },
775
+ ],
776
+ name: 'permit',
777
+ outputs: [],
778
+ stateMutability: 'nonpayable',
779
+ type: 'function',
780
+ },
781
+ {
782
+ inputs: [],
783
+ name: 'preCrime',
784
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
785
+ stateMutability: 'view',
786
+ type: 'function',
787
+ },
788
+ {
789
+ inputs: [
790
+ {
791
+ components: [
792
+ { internalType: 'uint32', name: 'dstEid', type: 'uint32' },
793
+ { internalType: 'bytes32', name: 'to', type: 'bytes32' },
794
+ { internalType: 'uint256', name: 'amountLD', type: 'uint256' },
795
+ { internalType: 'uint256', name: 'minAmountLD', type: 'uint256' },
796
+ { internalType: 'bytes', name: 'extraOptions', type: 'bytes' },
797
+ { internalType: 'bytes', name: 'composeMsg', type: 'bytes' },
798
+ { internalType: 'bytes', name: 'oftCmd', type: 'bytes' },
799
+ ],
800
+ internalType: 'struct SendParam',
801
+ name: '_sendParam',
802
+ type: 'tuple',
803
+ },
804
+ ],
805
+ name: 'quoteOFT',
806
+ outputs: [
807
+ {
808
+ components: [
809
+ { internalType: 'uint256', name: 'minAmountLD', type: 'uint256' },
810
+ { internalType: 'uint256', name: 'maxAmountLD', type: 'uint256' },
811
+ ],
812
+ internalType: 'struct OFTLimit',
813
+ name: 'oftLimit',
814
+ type: 'tuple',
815
+ },
816
+ {
817
+ components: [
818
+ { internalType: 'int256', name: 'feeAmountLD', type: 'int256' },
819
+ { internalType: 'string', name: 'description', type: 'string' },
820
+ ],
821
+ internalType: 'struct OFTFeeDetail[]',
822
+ name: 'oftFeeDetails',
823
+ type: 'tuple[]',
824
+ },
825
+ {
826
+ components: [
827
+ { internalType: 'uint256', name: 'amountSentLD', type: 'uint256' },
828
+ {
829
+ internalType: 'uint256',
830
+ name: 'amountReceivedLD',
831
+ type: 'uint256',
832
+ },
833
+ ],
834
+ internalType: 'struct OFTReceipt',
835
+ name: 'oftReceipt',
836
+ type: 'tuple',
837
+ },
838
+ ],
839
+ stateMutability: 'view',
840
+ type: 'function',
841
+ },
842
+ {
843
+ inputs: [
844
+ {
845
+ components: [
846
+ { internalType: 'uint32', name: 'dstEid', type: 'uint32' },
847
+ { internalType: 'bytes32', name: 'to', type: 'bytes32' },
848
+ { internalType: 'uint256', name: 'amountLD', type: 'uint256' },
849
+ { internalType: 'uint256', name: 'minAmountLD', type: 'uint256' },
850
+ { internalType: 'bytes', name: 'extraOptions', type: 'bytes' },
851
+ { internalType: 'bytes', name: 'composeMsg', type: 'bytes' },
852
+ { internalType: 'bytes', name: 'oftCmd', type: 'bytes' },
853
+ ],
854
+ internalType: 'struct SendParam',
855
+ name: '_sendParam',
856
+ type: 'tuple',
857
+ },
858
+ { internalType: 'bool', name: '_payInLzToken', type: 'bool' },
859
+ ],
860
+ name: 'quoteSend',
861
+ outputs: [
862
+ {
863
+ components: [
864
+ { internalType: 'uint256', name: 'nativeFee', type: 'uint256' },
865
+ { internalType: 'uint256', name: 'lzTokenFee', type: 'uint256' },
866
+ ],
867
+ internalType: 'struct MessagingFee',
868
+ name: 'msgFee',
869
+ type: 'tuple',
870
+ },
871
+ ],
872
+ stateMutability: 'view',
873
+ type: 'function',
874
+ },
875
+ {
876
+ inputs: [],
877
+ name: 'renounceOwnership',
878
+ outputs: [],
879
+ stateMutability: 'nonpayable',
880
+ type: 'function',
881
+ },
882
+ {
883
+ inputs: [
884
+ {
885
+ components: [
886
+ { internalType: 'uint32', name: 'dstEid', type: 'uint32' },
887
+ { internalType: 'bytes32', name: 'to', type: 'bytes32' },
888
+ { internalType: 'uint256', name: 'amountLD', type: 'uint256' },
889
+ { internalType: 'uint256', name: 'minAmountLD', type: 'uint256' },
890
+ { internalType: 'bytes', name: 'extraOptions', type: 'bytes' },
891
+ { internalType: 'bytes', name: 'composeMsg', type: 'bytes' },
892
+ { internalType: 'bytes', name: 'oftCmd', type: 'bytes' },
893
+ ],
894
+ internalType: 'struct SendParam',
895
+ name: '_sendParam',
896
+ type: 'tuple',
897
+ },
898
+ {
899
+ components: [
900
+ { internalType: 'uint256', name: 'nativeFee', type: 'uint256' },
901
+ { internalType: 'uint256', name: 'lzTokenFee', type: 'uint256' },
902
+ ],
903
+ internalType: 'struct MessagingFee',
904
+ name: '_fee',
905
+ type: 'tuple',
906
+ },
907
+ { internalType: 'address', name: '_refundAddress', type: 'address' },
908
+ ],
909
+ name: 'send',
910
+ outputs: [
911
+ {
912
+ components: [
913
+ { internalType: 'bytes32', name: 'guid', type: 'bytes32' },
914
+ { internalType: 'uint64', name: 'nonce', type: 'uint64' },
915
+ {
916
+ components: [
917
+ { internalType: 'uint256', name: 'nativeFee', type: 'uint256' },
918
+ { internalType: 'uint256', name: 'lzTokenFee', type: 'uint256' },
919
+ ],
920
+ internalType: 'struct MessagingFee',
921
+ name: 'fee',
922
+ type: 'tuple',
923
+ },
924
+ ],
925
+ internalType: 'struct MessagingReceipt',
926
+ name: 'msgReceipt',
927
+ type: 'tuple',
928
+ },
929
+ {
930
+ components: [
931
+ { internalType: 'uint256', name: 'amountSentLD', type: 'uint256' },
932
+ {
933
+ internalType: 'uint256',
934
+ name: 'amountReceivedLD',
935
+ type: 'uint256',
936
+ },
937
+ ],
938
+ internalType: 'struct OFTReceipt',
939
+ name: 'oftReceipt',
940
+ type: 'tuple',
941
+ },
942
+ ],
943
+ stateMutability: 'payable',
944
+ type: 'function',
945
+ },
946
+ {
947
+ inputs: [{ internalType: 'address', name: '_delegate', type: 'address' }],
948
+ name: 'setDelegate',
949
+ outputs: [],
950
+ stateMutability: 'nonpayable',
951
+ type: 'function',
952
+ },
953
+ {
954
+ inputs: [
955
+ {
956
+ components: [
957
+ { internalType: 'uint32', name: 'eid', type: 'uint32' },
958
+ { internalType: 'uint16', name: 'msgType', type: 'uint16' },
959
+ { internalType: 'bytes', name: 'options', type: 'bytes' },
960
+ ],
961
+ internalType: 'struct EnforcedOptionParam[]',
962
+ name: '_enforcedOptions',
963
+ type: 'tuple[]',
964
+ },
965
+ ],
966
+ name: 'setEnforcedOptions',
967
+ outputs: [],
968
+ stateMutability: 'nonpayable',
969
+ type: 'function',
970
+ },
971
+ {
972
+ inputs: [
973
+ { internalType: 'address', name: '_msgInspector', type: 'address' },
974
+ ],
975
+ name: 'setMsgInspector',
976
+ outputs: [],
977
+ stateMutability: 'nonpayable',
978
+ type: 'function',
979
+ },
980
+ {
981
+ inputs: [
982
+ { internalType: 'uint32', name: '_eid', type: 'uint32' },
983
+ { internalType: 'bytes32', name: '_peer', type: 'bytes32' },
984
+ ],
985
+ name: 'setPeer',
986
+ outputs: [],
987
+ stateMutability: 'nonpayable',
988
+ type: 'function',
989
+ },
990
+ {
991
+ inputs: [{ internalType: 'address', name: '_preCrime', type: 'address' }],
992
+ name: 'setPreCrime',
993
+ outputs: [],
994
+ stateMutability: 'nonpayable',
995
+ type: 'function',
996
+ },
997
+ {
998
+ inputs: [],
999
+ name: 'sharedDecimals',
1000
+ outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
1001
+ stateMutability: 'pure',
1002
+ type: 'function',
1003
+ },
1004
+ {
1005
+ inputs: [],
1006
+ name: 'symbol',
1007
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
1008
+ stateMutability: 'view',
1009
+ type: 'function',
1010
+ },
1011
+ {
1012
+ inputs: [],
1013
+ name: 'token',
1014
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
1015
+ stateMutability: 'view',
1016
+ type: 'function',
1017
+ },
1018
+ {
1019
+ inputs: [],
1020
+ name: 'totalSupply',
1021
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1022
+ stateMutability: 'view',
1023
+ type: 'function',
1024
+ },
1025
+ {
1026
+ inputs: [
1027
+ { internalType: 'address', name: 'to', type: 'address' },
1028
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
1029
+ ],
1030
+ name: 'transfer',
1031
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1032
+ stateMutability: 'nonpayable',
1033
+ type: 'function',
1034
+ },
1035
+ {
1036
+ inputs: [
1037
+ { internalType: 'address', name: 'from', type: 'address' },
1038
+ { internalType: 'address', name: 'to', type: 'address' },
1039
+ { internalType: 'uint256', name: 'amount', type: 'uint256' },
1040
+ ],
1041
+ name: 'transferFrom',
1042
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1043
+ stateMutability: 'nonpayable',
1044
+ type: 'function',
1045
+ },
1046
+ {
1047
+ inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
1048
+ name: 'transferOwnership',
1049
+ outputs: [],
1050
+ stateMutability: 'nonpayable',
1051
+ type: 'function',
1052
+ },
1053
+ {
1054
+ inputs: [{ internalType: 'address', name: 'holderAddr', type: 'address' }],
1055
+ name: 'unlockTokens',
1056
+ outputs: [],
1057
+ stateMutability: 'nonpayable',
1058
+ type: 'function',
1059
+ },
1060
+ ];
1061
+ //# sourceMappingURL=TokenizedVaultV2Receipt.js.map