Content pfp
Content
@
https://ethereum.org
0 reply
0 recast
0 reaction

tldr (tim reilly) pfp
tldr (tim reilly)
@tldr
Anyone know of a reliable contract for creating a "permissioned" erc-20? ie, a token that is only allowed to interact with certain contract addresses.
4 replies
0 recast
14 reactions

Joe Toledano pfp
Joe Toledano
@joetoledano
@thatalexpalmer.eth
1 reply
0 recast
0 reaction

Alex Palmer pfp
Alex Palmer
@thatalexpalmer.eth
@tldr we list some here. What should this token interact with and for what use case? https://docs.plumenetwork.xyz/plume/developer-resources/token-standards
1 reply
0 recast
0 reaction

tldr (tim reilly) pfp
tldr (tim reilly)
@tldr
Onchain game currency — can interact with certain contracts (eg, the game contract and the player accounts) but not with others (eg, farmer aggregators or dexes)
1 reply
0 recast
1 reaction

Alex Palmer pfp
Alex Palmer
@thatalexpalmer.eth
Interesting. So something with a beforeTransfer hook for example? This one came to mind as directionally correct but not quite (is this getting warmer or colder lol) https://vittominacori.github.io/erc1363-payable-token/
1 reply
0 recast
1 reaction

max pfp
max
@maxp.eth
the exact use case is: erc-20 compatible token that can only be transferred to/from a known, approved address on one side. very much not my wheelhouse but is it as simple as short-circuiting the `transfer` function by checking `msg.sender` and `to`?
0 reply
0 recast
1 reaction