From 3742f0aff4891ad7e09122e206128fe21c8e5453 Mon Sep 17 00:00:00 2001 From: Pandapip1 <45835846+Pandapip1@users.noreply.github.com> Date: Sat, 27 Aug 2022 17:01:16 -0400 Subject: [PATCH 1/2] Fix EIP-3475: Reference Implementation Typos --- assets/eip-3475/interfaces/IERC3475.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/eip-3475/interfaces/IERC3475.sol b/assets/eip-3475/interfaces/IERC3475.sol index 93b240309543e..a9ee19a6a2664 100644 --- a/assets/eip-3475/interfaces/IERC3475.sol +++ b/assets/eip-3475/interfaces/IERC3475.sol @@ -10,7 +10,7 @@ interface IERC3475 { /** * @dev Values structure of the Metadata */ - struct Values{ + struct Values { string stringValue; uint uintValue; address addressValue; @@ -36,7 +36,7 @@ interface IERC3475 { struct Transaction { uint256 classId; uint256 nonceId; - uint256 amount; + uint256 _amount; } // WRITABLES From b1532cd69135c55b6c09fc42267440c1e846e173 Mon Sep 17 00:00:00 2001 From: Pandapip1 <45835846+Pandapip1@users.noreply.github.com> Date: Mon, 12 Sep 2022 08:35:53 -0400 Subject: [PATCH 2/2] Make minor change to satisfy @eth-bot --- EIPS/eip-3475.md | 1 - 1 file changed, 1 deletion(-) diff --git a/EIPS/eip-3475.md b/EIPS/eip-3475.md index d7fc9bffd5e93..f25ced1d1932c 100644 --- a/EIPS/eip-3475.md +++ b/EIPS/eip-3475.md @@ -19,7 +19,6 @@ requires: 20, 721, 1155 - Bonds created by this EIP can also be batched for issuance/redemption conditions for efficiency on gas costs and UX side. And finally, bonds created from this standard can be divided and exchanged in a secondary market. - ## Motivation Current LP (Liquidity Provider) tokens are simple [EIP-20](./eip-20.md) tokens with no complex data structure. To allow more complex reward and redemption logic to be stored on-chain, we need a new token standard that: