@@ -162,7 +162,7 @@ Initialize the storage of L1ERC1155Gateway.
162
162
| Name | Type | Description |
163
163
| ---| ---| ---|
164
164
| _ counterpart | address | The address of L2ERC1155Gateway in L2. |
165
- | _ messenger | address | The address of L1ScrollMessenger. |
165
+ | _ messenger | address | The address of L1ScrollMessenger in L1 . |
166
166
167
167
### messenger
168
168
@@ -389,12 +389,12 @@ Emitted when the ERC1155 NFT is batch deposited to gateway on layer 1.
389
389
390
390
| Name | Type | Description |
391
391
| ---| ---| ---|
392
- | _ l1Token ` indexed ` | address | undefined |
393
- | _ l2Token ` indexed ` | address | undefined |
394
- | _ from ` indexed ` | address | undefined |
395
- | _ to | address | undefined |
396
- | _ tokenIds | uint256[ ] | undefined |
397
- | _ amounts | uint256[ ] | undefined |
392
+ | _ l1Token ` indexed ` | address | The address of ERC1155 NFT on layer 1. |
393
+ | _ l2Token ` indexed ` | address | The address of ERC1155 NFT on layer 2. |
394
+ | _ from ` indexed ` | address | The address of sender on layer 1. |
395
+ | _ to | address | The address of recipient on layer 2. |
396
+ | _ tokenIds | uint256[ ] | The list of token ids of the ERC1155 NFT to deposit on layer 1. |
397
+ | _ amounts | uint256[ ] | The list of corresponding number of token to deposit on layer 1. |
398
398
399
399
### BatchRefundERC1155
400
400
@@ -410,10 +410,10 @@ Emitted when some ERC1155 token is refunded.
410
410
411
411
| Name | Type | Description |
412
412
| ---| ---| ---|
413
- | token ` indexed ` | address | undefined |
414
- | recipient ` indexed ` | address | undefined |
415
- | tokenIds | uint256[ ] | undefined |
416
- | amounts | uint256[ ] | undefined |
413
+ | token ` indexed ` | address | The address of the token in L1. |
414
+ | recipient ` indexed ` | address | The address of receiver in L1. |
415
+ | tokenIds | uint256[ ] | The list of ids of token refunded. |
416
+ | amounts | uint256[ ] | The list of amount of token refunded. |
417
417
418
418
### DepositERC1155
419
419
@@ -429,12 +429,12 @@ Emitted when the ERC1155 NFT is deposited to gateway on layer 1.
429
429
430
430
| Name | Type | Description |
431
431
| ---| ---| ---|
432
- | _ l1Token ` indexed ` | address | undefined |
433
- | _ l2Token ` indexed ` | address | undefined |
434
- | _ from ` indexed ` | address | undefined |
435
- | _ to | address | undefined |
436
- | _ tokenId | uint256 | undefined |
437
- | _ amount | uint256 | undefined |
432
+ | _ l1Token ` indexed ` | address | The address of ERC1155 NFT on layer 1. |
433
+ | _ l2Token ` indexed ` | address | The address of ERC1155 NFT on layer 2. |
434
+ | _ from ` indexed ` | address | The address of sender on layer 1. |
435
+ | _ to | address | The address of recipient on layer 2. |
436
+ | _ tokenId | uint256 | The token id of the ERC1155 NFT to deposit on layer 1. |
437
+ | _ amount | uint256 | The number of token to deposit on layer 1. |
438
438
439
439
### FinalizeBatchWithdrawERC1155
440
440
@@ -450,12 +450,12 @@ Emitted when the ERC1155 NFT is batch transferred to recipient on layer 1.
450
450
451
451
| Name | Type | Description |
452
452
| ---| ---| ---|
453
- | _ l1Token ` indexed ` | address | undefined |
454
- | _ l2Token ` indexed ` | address | undefined |
455
- | _ from ` indexed ` | address | undefined |
456
- | _ to | address | undefined |
457
- | _ tokenIds | uint256[ ] | undefined |
458
- | _ amounts | uint256[ ] | undefined |
453
+ | _ l1Token ` indexed ` | address | The address of ERC1155 NFT on layer 1. |
454
+ | _ l2Token ` indexed ` | address | The address of ERC1155 NFT on layer 2. |
455
+ | _ from ` indexed ` | address | The address of sender on layer 2. |
456
+ | _ to | address | The address of recipient on layer 1. |
457
+ | _ tokenIds | uint256[ ] | The list of token ids of the ERC1155 NFT to withdraw from layer 2. |
458
+ | _ amounts | uint256[ ] | The list of corresponding number of token to withdraw from layer 2. |
459
459
460
460
### FinalizeWithdrawERC1155
461
461
@@ -471,12 +471,12 @@ Emitted when the ERC1155 NFT is transferred to recipient on layer 1.
471
471
472
472
| Name | Type | Description |
473
473
| ---| ---| ---|
474
- | _ l1Token ` indexed ` | address | undefined |
475
- | _ l2Token ` indexed ` | address | undefined |
476
- | _ from ` indexed ` | address | undefined |
477
- | _ to | address | undefined |
478
- | _ tokenId | uint256 | undefined |
479
- | _ amount | uint256 | undefined |
474
+ | _ l1Token ` indexed ` | address | The address of ERC1155 NFT on layer 1. |
475
+ | _ l2Token ` indexed ` | address | The address of ERC1155 NFT on layer 2. |
476
+ | _ from ` indexed ` | address | The address of sender on layer 2. |
477
+ | _ to | address | The address of recipient on layer 1. |
478
+ | _ tokenId | uint256 | The token id of the ERC1155 NFT to withdraw from layer 2. |
479
+ | _ amount | uint256 | The number of token to withdraw from layer 2. |
480
480
481
481
### Initialized
482
482
@@ -486,7 +486,7 @@ event Initialized(uint8 version)
486
486
487
487
488
488
489
-
489
+ * Triggered when the contract has been initialized or reinitialized. *
490
490
491
491
#### Parameters
492
492
@@ -525,10 +525,10 @@ Emitted when some ERC1155 token is refunded.
525
525
526
526
| Name | Type | Description |
527
527
| ---| ---| ---|
528
- | token ` indexed ` | address | undefined |
529
- | recipient ` indexed ` | address | undefined |
530
- | tokenId | uint256 | undefined |
531
- | amount | uint256 | undefined |
528
+ | token ` indexed ` | address | The address of the token in L1. |
529
+ | recipient ` indexed ` | address | The address of receiver in L1. |
530
+ | tokenId | uint256 | The id of token refunded. |
531
+ | amount | uint256 | The amount of token refunded. |
532
532
533
533
### UpdateTokenMapping
534
534
0 commit comments