Meet Object Tokens
December 3, 2024
Create Sets
cast send sreg.0xpre.eth 'register(bytes32,bytes32)(uint64)'
forge init hello cd hello forge install everythingfun/pre-periphery
create a new contract
contract Hello() {
// abc
}
forge build
forge create ''
cast send sreg.0xpre.eth 'register()(uint64)' x y z
Mint Objects
cast send mint
cast call oops.0xpre.eth 'move()(address)'
cast call sreg.0xpre.eth 'codeOf(uint64)(address)' setid
cast send 'upgrade(uint64,uint32,uint32)' cast send 'touch' cast send 'transfer(uint64,address)' abc
forge create SimpelSet 18 --verify
cast send 'relate(uint,uint128)' abc