From b2a6dc69550251531a9e9d672f672336bbf687dd Mon Sep 17 00:00:00 2001 From: goldroc <23410528@qq.com> Date: Mon, 12 Jun 2023 14:46:37 +0800 Subject: [PATCH] Removed blank sections from the document. --- EIPS/eip-7099.md | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/EIPS/eip-7099.md b/EIPS/eip-7099.md index 1e574015c96a1f..bc5c040078f4da 100644 --- a/EIPS/eip-7099.md +++ b/EIPS/eip-7099.md @@ -46,13 +46,13 @@ interface IERC20Check { * For bundled Check, beginId < endId, representing a Check sequence */ struct Check { -        address tokenAddr; -        address issuerAddr; -        address receiverAddr; -        uint256 beginId; -        uint256 endId; -        uint256 amt; -    } + address tokenAddr; + address issuerAddr; + address receiverAddr; + uint256 beginId; + uint256 endId; + uint256 amt; + } /** * Issuer register a token with the Check contract @@ -183,7 +183,7 @@ sequenceDiagram participant CheckContract actor Receiver - Issuer->>+CheckContract: "registers token addr and the Check signing addr with the Check contract" + Issuer->>+CheckContract: registers token addr and the Check signing addr with the Check contract CheckContract-->>-Issuer: success on chain Issuer->>+Erc-20 Token: authorizes the Check contract to mint tokens with the ERC-20 contract Erc-20 Token-->>-Issuer: success on chain @@ -207,26 +207,12 @@ sequenceDiagram end ``` -## Rationale - ## Backwards Compatibility No backward compatibility issues found -## Test Cases - -## Reference Implementation - ## Security Considerations - - To maintain the integrity of the Check sequence issued for a (tokenAddr, receiverAddr), Check ids must follow the numbering rules specified. The Check contract keeps the last minted Check id for each (tokenAddr, receiverAddr) and refuse to mint if the coming beginId in the mint request is out of order. Enforcing the Check sequencing numbers also defies same Check double issue by the issuer or double mint by the receiver. Off-chain checks are signed by the issuer and are not reputable once issued. After receiving multiple Checks from the issuer, if the issuer refuses to bundle, the receiver can still submit Checks to batch mint, albeit with reduced gas saving effect.