EIP editors apprenticeship meeting
Ethereum Cat Herders · 12 Jan 2022 · 51:02
The first EIP apprenticeship call of 2022, led by EIP editor Matt Garnett with newcomer Michael Blau joining to help with ERC editing, especially around NFTs. The group walks through open pull requests, including a combined ERC-721 and ERC-20 transfer function, naming conventions for mainnet, the meaning of semi-fungible tokens, and how older ERCs get modernised. It closes with a discussion of how core EIPs and ERCs are reviewed differently.
Speakers
Topics
From Ethereum Cat Herders; community: ECH Institute.
Transcript
welcome to the eip apprenticeship call this is the first call of year 2022 so happy new year to everyone for this wonderful year and thank you for joining the call today as some of you may know that generally in these calls we go through some of the pull requests that are already existing in eip's github repository and if you come across any questions you can always ask we have matt garnett who is one of the lead eip editor he would be answering questions while explaining the process and we can follow along so
yeah over to you matt hello all happy new year um let's see what we've got going on today 40 notifications oh wait sorry what is this thing that's not related uh okay 40 notifications i've kind of been going through this a bit here and there so i don't think there's a whole lot of things to do but we'll just start here
um 721 near c20 compatible transfer i just noticed uh michael um just wondering if you are xor on the discard yes yes that's me all right michael thank you so much for
joining the call and if you would like to take a moment to uh introduce and let us know your interest just for everyone to know here uh michael is interested in um erc editing and um currently liteclient is helping us with that michael awesome yeah yeah hi everyone i'm michael blau um yeah i'm definitely interested to help out with the erc editing specifically around nfts um on i know you mentioned on discord i my name is uh xor x0r and that's sort of like my alias um an nft artist name that i use so yeah definitely excited to be here and learn more about it welcome
thank you [Music] um yeah please go ahead oh i was about to start asking a question about this eve but if you have other things to mention go ahead i know i see a couple of new names so just for their information i wanted to let them know that in this call we generally go by the proposals which are already existing in github and if you have any question or if you have already have looked into any other proposal and if you have related questions please feel free to shine in great um okay this person wants to implement the
transfer function on erc721s [Music] which does not wait uh yeah it only has transfer from um i guess this doesn't make sense for 11 55 because well i don't know nothing much just because why does it why is it not make a special since for 1155 sorry i have that but also where mike will be up here for like the first couple minutes i'm talking sorry wait what did
you ask about 155s um he wants to implement this transfer function and i'm thinking this also would make sense on 1155 no like to me 1155 it's just another nft standard with more fun yeah i know the concept does but the problem that the 1155s have the additional amount are whereas uh 721 20s have the same number of arguments and transfer oh i see okay so basically what he's trying to do he's trying to make a function which can be like kind of bad from both sides of the plate as it were like you you can call it from a 721 or regarding a 721 or from a 20.
gotcha [Music] i think this title doesn't make any sense 721 20 compatible transfer and it's a transfer function that's compatible with both i do get what he's getting at i get what he's getting at but he should put erc there if he really wants to oh i see what you're saying yeah yeah
um other than that it's got his abstract motivation i don't know should this require years c20 um the truth is i mean one or the other like either both or neither i suspect that that is a good way actually maybe the contract is supposed to be an erc20 contract though i'm not sure replicate the erc20 transfer with just a minor change to accurately reflect that a unique token id rather than a fungible sum is being sent where's that that's in the rationale yeah so normally it's the transfers to and amount and now it's two token id
but the name isn't hashed into the interface so that's fine i think i'll just merge this anyways because it looks acceptable other than the title and i'll just enforce that he changes the title before he moves to like review or something makes sense to me and russell like i i know ross just like crypto twitter now um he's a solid dev he knows what he's doing like you know i read through this also i thought it was pretty well put together like i'd seen his rationale also like the idea is basically just being able to have um contracts that are able to use the same
functions to either call 721 or 20 with without needing like two sets of functions yeah makes sense [Music] righty i don't think these things are going to merge been having problems merging things um so i'm going to leave that tab open come back to it all right what does micah want to talk about here there's just a standard for a main nut oh boy
um i don't know it just doesn't have weird to me at the end of it oh sorry doesn't love have an e at the end of that yeah it does i think that's it that's an information in it eip right oh it can be spelled without the e my spelling things like i think it was an informational eap but it feels like if we're gonna finalize an informational eip around how to use the term mainnet we should adopt this in the each repository i don't know by the definition informational eip there is nothing that we need to follow as a mandate uh that is the definition of meta eip for informational eip as for
the uh like description provided in eip1 people are free to ignore if they would like to but it's good to have a standard i do agree to the point that if we are using minute in this particular fashion everywhere that will help us make a standard but uh i'd put the present definition i don't think it's a mandate yeah that's fair [Music] i just think it's weird that we're finalizing things and then not using them like i really dislike this part of the eep's repository i think that if something's final it should be used in
practice rather than quote-unquote the standard but that's it's a battle that we've lost all right this one unfortunately is not i think gonna make any progress so basically oh no sorry this is different oh no this is micah asking to change this i don't think this can be changed like i think i think that's kind of its own
like standards based kind of war because it made it to final with that in there but like first of all it's not enforced anywhere if you take a look it opens up once 165 implementation for instance they don't enforce that it only uses 30 000 gas yeah and it probably shouldn't be in the eip that it's already final so it's like yeah it's on thing yeah i agree with you i think that i would be okay if we included information about it but i don't like fully removing it i would like to acknowledge that it existed so
yeah i guess i'll just sit there um semi fungible token
which one was this 2635 i don't think i've reviewed this one yet oh yeah i was like looking around on sunday i must have missed him we i'm almost certain we've seen other standards with this exact name though preamble looks good what is semi-fungible mean
yeah i don't see it being defined here but i suspect they mean that it's a fungible erc20 type token that can turn itself into a non-fungible token but i'm not certain this like defeats the purpose of the term fungible it's either fungible or not fungible like fractionalized drc721s are a thing like creating punchability within the non-fungible token and of course there's like the great pedantic argument about if you have two nfts with the exact same metadata is it now a functional token or not um but it's like a pretty pedantic argument
like i'm debating like if we're really going into like full language nerd sniping mode i thought that it probably would have been better to use the word discrete as opposed to fungible [Music] but then again they called to centralized autonomous organizations so i mean it's hardly the worst acronym in the space what do you mean they are decentralized autonomous organizations which one which one like most of them are like these manual things with a central
authority that's just like a dictator over a bunch of people who are contributing work to it no i'm just kidding i okay i agree there was a i really do try to be nice on crypto twitter there was someone who had a tweet though asking who the best dow leaders were and it was just kind of like come on please that's hilarious i love it the language here is a bit hard to
follow yeah i'm going try and just figure it out from the spec i think so we have some nets when value tokens sft minted operator two indexed token type that's for semi so it's that type of type thing again for all seminars yes
so i mean basically what this is doing it looks like is it's adding a second i mean if you take a look at an erc 721 token is kind of a ledger of ownership of token 80s so it looks like it's adding another kind of series of indexes that could be owned which are like the i i think that might be the sft type like more than a bit confused myself though uh william just checking like uh do you think it would uh fit to the case that we were discussing in uh uh while we were discussing about ep721 like if you make an nft which is one of n
uh is it fungible or non-fungible then like that can be a semi fungible uh category i i mean i think linguistically you've got a point there but um i don't think that's what the author of this standard is doing sounds like the author of this standard has like a fungible token that can automatically be transformed into an nft like as in a token id in a 721 contract um though i mean there i think it might depend on your i don't know about definition of fungible but like kind of your ambitions for how fungible something non-functional should be
like a dollar is usually the classic example of something that is fungible because one dollar equals one dollar and it doesn't make a difference which bill you have whereas william entrekin would tell you that it is that it is actually non-fungible because the serial number will be different um so then you just get into like the linguistics argument about how fungible you want your fungible things to be or how non-fungible you want your non-fungible things to be yeah i was just trying to like you know understand this proposal with respect to that like is semi-functional here means that kind of status for a token
something like uh having um having a voucher that's currently fungible and it can be traded against or exchanged against another similar uh similar watcher that has similar kind of properties and once you redeem that it converts into an nft and loses all its face value that's that might be generally i think that's what this standard is doing you're saying yeah i'm trying to guess that because i kind of read that or the proposal so it seems like that would be a good not a good use if that would be a use case or something like an uh let's say you're attending a concert and you have multiple tickets right everybody's a lot of tickets and these are being traded before the uh concert starts and as soon as the concert starts
now it has to be redeemed in order for you to enter the concert and now it becomes an nft and you own that nfl something like that maybe why would you need i i guess i don't understand why why the transformation or even really what the difference is like what's the difference in what i own before and after the concert so there you can actually trade those uh vouchers or coupons and earn some money from that right that that that might be the idea you can also trade nfcs though you auction the nfd where you really can't trade anything i can't put it on a deck because they are currently the 721 is
not fractionalized by default rate it shouldn't need to be fractionalized to trade it like i could put it up for sale i can offer to swap it for something else like but i can't have a trade pair on an exchange with an nft right i can i cannot have a erc720 that that would that would require a smart contract so you would stake the nft in a smart contract which would then admit the erc20 i uh uh a trade pair is also generally a smart contract owning an asset though like i i i i guess what you're saying is before the contract it should be in the rc20 and afterwards in the rc 721 but i guess i'm failing to understand why either of those should be axiomatic you could sell tickets to the rc721s and you
could have mementos and zrc20s i'm just trying to do a little bit of guesswork there yeah yeah i don't yeah i don't mean to like try and cut you down for it either like you might be right but if that'd be the case then i'd just kind of say about the entire idea that i don't really understand like the point i guess i don't know is there anywhere in the entire eip where they define what an sft type is awesome like i'm a bit confused by that like they have this thing called an sft type that's an argument it's it's an argument a number of places in the specification like whenever they're dealing with these like uh semi-fungible token
so one of the arguments will be token type which is the semi-functional token type and they i don't see anywhere here where they actually define what that means i assume that it was like id from 1155. uh yeah that makes sense why rename it yeah and if that's the case also then i guess the whole standard would be just a single contract which has both a 721 and an 1155 and uh
which is possible operator so operator is something that you get across a lot of uh erc erc2721 1155 things which is it's the it's like the message.sender that way you know who's creating the transaction or who's causing the transaction to happen even if it's not their assets like even if it's just something they were approved on but like why are they not using message.sender because i can just like however it's an event that would almost for sure so then you trust the contract to do it yeah yeah yeah okay so like you'll see a similar thing in in like 721 or 20s or 1155s events um oh wait but you're right they're using
in the function saw so that's that's yeah to be fair i was looking at the events i didn't realize that was not a function yeah but you are right they are so using them but i don't understand why you would use that in a function because that should be messages i should delete this also these parameters just wrong like there is no owner parameter on this function uh
which is interesting also because that means solidity won't compile because the nat spec won't let it compile if it asks for params that don't exist in the function is the semi-french ability or whatever that term is is it more focused toward the gaming industry maybe not sure like i i might have a couple of hammers like 1000 hammers crc 20 harmless and you might have erc 20 10 000 shields i might want to trade those and then when i use
it in the game then i'm basically redeeming those or whatever i have it's a possibility it's a possibility but even even so 1155 should satisfy the use case right so why is that right but regarding the argument and the comment did you isn't the comments coming first before the argument so did you not look at it wrong the wrong way so did not the comments match the arguments here i'm sorry so i think you made a comment about the arguments not matching the comments but
then the comments come first and then the the function header so did you know you're right good point i thought i saw one that actually didn't match up though but i might be wrong up hmm
all right i see your concert ticket sentence now you missed it before at the end of motivation and it's basically so that you can assign non-fungible details to a fungible token turned into an nft in the process i'm like
and practically speaking though even the the concert idea it's like kind of hard for me to grock from an engineering perspective like i definitely don't want to make it sound like i'm an authority on solidity but if it were me and i wanted to record the unique seat number and owner name i would just use a struct initialize them with zero in an empty string and then have the ability to set those properties later and keep it as an erc721 straight through because anyway you're gonna need to do that like why have it be a fully fungible like erc20 in the beginning
am i on a slightly separate note i see a comment in chat by alpha key about the eip proposal validated um i'm not sure if that can be a good uh enhancement on the present vip part uh maybe light client and uh shishanka you guys can take a look at it now later on sure i moved on to a new one
which one is this 416 uh what's the point of a delegate if it
can't do anything so it could be the front ends would recognize a delegator of a token and see like check if there's a delegator and then let them do it let them like you know treat them as a owner of the asset or someone who can utilize the asset but and at the same time if that is the case that means that i think we've seen two different implementations of the same thing another in other eit's i don't know if any of them have ever been merged but it seems to be a bit of a recurring concept i feel like one of them was actually give me a second remember like a user let me know you know one that like specified a user
or something erc [Music] let's take a look at this assemble asset though the first one i find over here is assemble assets into nfts which i mean your c721 edition i know that's nice
oh consumable i think it's this one for me a second yeah um 4400 actually there's some more i mean obviously there are some differences i have some big technical questions on this implementation which is he overloads the the safe transfer from function but never specifies what the canonical safe transfer from should do at least that i see as in like let's say i called the regular safe transfer from
with arguments from two token id for were the delegated delegator does it not right so like that's why he has his overloaded function but what happens to the old version maybe he doesn't realize that that doesn't actually overload the old yeah because it has different interface arguments yeah um i don't know if you want to comment those things on there i can do it yeah okay cool i can do it i'll let you take care of that one then i'll mention 440 also for 400. um
you i see this one interesting proposal
which is already merged so probably it is not in the pull request anymore uh the eip3668 by nick johnson um that proposal is in last call and it is an erc which will enable access to retrieve off-chain data sounds like an interesting one well there's not even a view function
here for this system we have got just 15 minutes left
as a reminder to everyone especially to the new people who have joined here for the first time if you have any question related to the process that you think is not covered in this call probably it was covered in some of the other calls or somewhere else you can either ask us here or join us on the ech discord the eip editors chat feel free to drop in your questions or concerns there all right submitted
nice i hate that this didn't get merged wait what is it i'm always just like i forget we were on some call and we were trying to share a screen and tim was like why is it so hard to read this thing on the eep site and then he made a pr to bolt them and i approved it and then micah said this should be a style sheet update and it died after that excellent and here's dean's eve that never
progressed joey i'm pretty sure this should auto merge i don't understand why this is an auto merging i'll close it oh oh cause there's maybe a spelling here oh
a little automars now [Music] are we about there oh there's one that's not showing up in your queue um i actually submitted one for bumping uh 2612 to review um was that the one the wall oh wait that's token permits like you're seeing 20 token permits oh you have comments there you requested 15 minutes ago i must have been on another screen and it didn't say okay all right so yeah i'll i'll try and do that yeah sorry just like mobs through a couple of those pr's
yeah yeah [Music] it's the thing with like these older ercs that like didn't push for final like they're still on older templates so then like once they start moving forward then all of a sudden they have this like backlog of just like modernizing the eip what's the snake
i don't think so [Music] this is the metaproxy standard fishing uh foreign
cool we did it excellent i guess we can pop through the pr's and see if there's anything that we're missing uh doesn't look like it
cool sweet uh i don't know we got 10 minutes get anything we want to talk about pokey so yeah i was wondering like if there is any anything in specific that you think that newcomers can consider like we went through the process you especially
highlighted with sections to look into but do you find anything uh you know different uh from the uh review perspective for the core eips or the erc zips i think we try to hold corey a piece to a higher standard than erc's there's a lot of reasons i would say you know partially there's not as many people reviewing the ercs and i don't understand the application side of things as well as understand core so it's harder for me to give like really solid feedback there's just there's a lot less core eips that come through it's easier to you know focus on those and give them a
fair bit of feedback but i think in an ideal world they we would we would you know give an equal amount of feedback to both of them right yeah i mean we have been seeing that there are like quite a handful of proposals which are coming up every week on erc category and yes it will be nice to have reviews some of the projects implementing those proposals are coming forward to review so yeah if this new group if they are interested and they would like to you know provide some review on that side it would be interesting to keep the important point
in mind all right anyone else has any question for today um i mean i understand sometimes it can look monitored and just just looking on to the screen review work that matt is doing but the questions if you have uh it's important to get answered so you're you are around to keep looking into the different proposals all right in that case i think we can give this five to seven minutes back to everyone to prepare for next call if they have any thank you everyone for
joining us today i hope to post the recording uh today um sometimes today and uh see you all in two weeks we are planning to keep this these calls uh in the interval of two weeks so we get enough time to review the proposals in the meanwhile and yeah of course we can discuss if there is any question comment that we would want to get answered by ap editors thank you everyone for joining us today thank you matt williams and everyone thanks a lot future thanks everybody yeah thanks ben alright cheers
Related talks
- EIP editor's apprenticeship meeting 13
- EIP editor apprenticeship meeting
- Understanding NFT royalties | Michael Blau
- What Happens When Your AI Agent Gets a Wallet?
- Ethereum's Latest Upgrade: Fusaka
- Ethereum's Roadmap, Simplified: What Changes Next and Why
- Ethereum (Roadmap) in 30min by Vitalik Buterin
- gigagas L1
- Ethereum Update by Tomasz Stanczak
