티스토리 뷰

https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4907.md

 

GitHub - ethereum/EIPs: The Ethereum Improvement Proposal repository

The Ethereum Improvement Proposal repository. Contribute to ethereum/EIPs development by creating an account on GitHub.

github.com


0. ERC?

https://www.prnewswire.com/news-releases/double-protocols-rentable-nft-standard-erc-4907-became-ethereums-final-standard-301579661.html

 

Double Protocol's Rentable NFT Standard "ERC-4907" Became Ethereum's Final Standard

/PRNewswire/ -- On June 28, the rentable NFT standard "EIP-4907" submitted by the NFT rental marketplace Double Protocol, passed the final review by the...

www.prnewswire.com

Ethereum ERC(Request for Comment  )는 Ethereum 프로토콜 자체에 영향을 미치지 않는 응용 프로그램 수준 변경과 관련된

EIP - Ethereum 개선 제안의 특수 하위 유형입니다. 간단히 말해서 EIP는 이더리움 생태계의 이해 관계자가 검토하기 위해 커뮤니티 구성원이 제안한 새로운 기능 또는 디자인 기능에 대한 아이디어 초안입니다.

 

모든 EIP는 6개월 동안 진행 없이 방치되면 ' 정체 ' 상태 로 푸시될 수 있습니다 . EIP를 제출하기 위해서는 높은 수준의 기술적 역량이 요구되며, 성공적인 ERC는 '최종' 상태에 진입했을 뿐만 아니라 프로젝트에서도 활용되고 있는 것이다.


1. ERC_4907?

컨트랙 일부를 살펴보면 ERC721위에 UserInfo라고 새로운 구조체가 생겼습니다.

    struct UserInfo 
    {
        address user;   // address of user role
        uint64 expires; // unix timestamp, user expires
    }

 

이를 토대로 봤을때 기존의 체계에서 탈피하여 User[사용자] / Owner[소유주] 개념으로 나누어지는 체계입니다.

 

 

또한 임대 방식과 , 유효기간 설정이 가능하며 

    function setUser(uint256 tokenId, address user, uint64 expires) public virtual{
        require(_isApprovedOrOwner(msg.sender, tokenId),"ERC721: transfer caller is not owner nor approved");
        UserInfo storage info =  _users[tokenId];
        info.user = user;
        info.expires = expires;
        emit UpdateUser(tokenId,user,expires);
    }

 

 

 

 

계약 expire 시, 추가적인 컨트랙(취소와 같은..)이 필요 없습니다.

    function userOf(uint256 tokenId) public view virtual returns(address){
        if( uint256(_users[tokenId].expires) >=  block.timestamp){
            return  _users[tokenId].user;
        }
        else{
            return address(0);
        }
    }

 

부동산 전세 월세와 같은 시스템이 블록체인에서도 생긴것이 신기합니다.

DeFi의 Flashing Loan과는 다른 느낌이여서 더욱 신기하게 느껴지네요

 


2. 이에 따른 결과는?

 

https://www.azuki.com/erc721a

 

Azuki

Gas prices on Ethereum have been consistently high for months, and the dev community needs to adapt. When popular NFT projects begin to mint, gas prices spike up, resulting in the entire ecosystem paying millions in gas fees to transact. At Azuki, we are b

www.azuki.com

이더리움 기반 NFT프로젝트인 Azuki도 ERC721A라는 컨트랙을 개발했는데 

 

"IERC721 with significant gas savings for minting multiple NFTs in a single transaction."

 

이러한 혁신을 바탕으로 가격 펌핑도 일어났었고. 큰 화제가 됫던 적도 있습니다. 

어찌보면 이러한 혁신보다 더욱 큰 혁신을 가져올 수 있다고 생각합니다.

 

 

반면, 새로운 컨트랙 / 코드는 항상 안전성, 보안 문제를 챙겨보게 됩니다.  어떤 혁신을 불러올지와 동시에 어떤 문제를 일으킬지도 

지켜볼만한 포인트라고 생각합니다

 

 

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함