@@ -13,7 +13,7 @@ The `L1ERC1155Gateway` is used to deposit ERC1155 compatible NFT in layer 1 and
13
13
### batchDepositERC1155
14
14
15
15
``` solidity
16
- function batchDepositERC1155(address _token, uint256[] _tokenIds, uint256[] _amounts, uint256 _gasLimit) external nonpayable
16
+ function batchDepositERC1155(address _token, uint256[] _tokenIds, uint256[] _amounts, uint256 _gasLimit) external payable
17
17
```
18
18
19
19
Deposit a list of some ERC1155 NFT to caller' ; s account on layer 2.
@@ -32,7 +32,7 @@ Deposit a list of some ERC1155 NFT to caller's account on layer 2.
32
32
### batchDepositERC1155
33
33
34
34
``` solidity
35
- function batchDepositERC1155(address _token, address _to, uint256[] _tokenIds, uint256[] _amounts, uint256 _gasLimit) external nonpayable
35
+ function batchDepositERC1155(address _token, address _to, uint256[] _tokenIds, uint256[] _amounts, uint256 _gasLimit) external payable
36
36
```
37
37
38
38
Deposit a list of some ERC1155 NFT to a recipient' ; s account on layer 2.
@@ -69,7 +69,7 @@ The address of corresponding L1/L2 Gateway contract.
69
69
### depositERC1155
70
70
71
71
``` solidity
72
- function depositERC1155(address _token, address _to, uint256 _tokenId, uint256 _amount, uint256 _gasLimit) external nonpayable
72
+ function depositERC1155(address _token, address _to, uint256 _tokenId, uint256 _amount, uint256 _gasLimit) external payable
73
73
```
74
74
75
75
Deposit some ERC1155 NFT to a recipient' ; s account on layer 2.
@@ -89,7 +89,7 @@ Deposit some ERC1155 NFT to a recipient's account on layer 2.
89
89
### depositERC1155
90
90
91
91
``` solidity
92
- function depositERC1155(address _token, uint256 _tokenId, uint256 _amount, uint256 _gasLimit) external nonpayable
92
+ function depositERC1155(address _token, uint256 _tokenId, uint256 _amount, uint256 _gasLimit) external payable
93
93
```
94
94
95
95
Deposit some ERC1155 NFT to caller' ; s account on layer 2.
@@ -126,17 +126,6 @@ Complete ERC1155 batch withdraw from layer 2 to layer 1 and send fund to recipie
126
126
| _ tokenIds | uint256[ ] | The list of token ids to withdraw. |
127
127
| _ amounts | uint256[ ] | The list of corresponding number of token to withdraw. |
128
128
129
- ### finalizeDropMessage
130
-
131
- ``` solidity
132
- function finalizeDropMessage() external payable
133
- ```
134
-
135
-
136
-
137
-
138
-
139
-
140
129
### finalizeWithdrawERC1155
141
130
142
131
``` solidity
@@ -164,24 +153,24 @@ Complete ERC1155 withdraw from layer 2 to layer 1 and send fund to recipient'
164
153
function initialize(address _counterpart, address _messenger) external nonpayable
165
154
```
166
155
167
-
156
+ Initialize the storage of L1ERC1155Gateway.
168
157
169
158
170
159
171
160
#### Parameters
172
161
173
162
| Name | Type | Description |
174
163
| ---| ---| ---|
175
- | _ counterpart | address | undefined |
176
- | _ messenger | address | undefined |
164
+ | _ counterpart | address | The address of L2ERC1155Gateway in L2. |
165
+ | _ messenger | address | The address of L1ScrollMessenger. |
177
166
178
167
### messenger
179
168
180
169
``` solidity
181
170
function messenger() external view returns (address)
182
171
```
183
172
184
- The address of L1ScrollMessenger/L2ScrollMessenger contract.
173
+ The address of corresponding L1ScrollMessenger/L2ScrollMessenger contract.
185
174
186
175
187
176
0 commit comments