0 txs
1 call
constructor
constructor(string uri_, string name_, uint256 primaryStartingPrice_, address marketplace_)
functions
balanceOf
viewfunction balanceOf(address account, uint256 id) view returns (uint256)
balanceOfBatch
viewfunction balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])
exists
viewfunction exists(uint256 id) view returns (bool)
isApprovedForAll
viewfunction isApprovedForAll(address account, address operator) view returns (bool)
marketplace
viewfunction marketplace() view returns (address)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
primaryStartingPrice
viewfunction primaryStartingPrice() view returns (uint256)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
totalSupply
viewfunction totalSupply() view returns (uint256)
totalSupply
viewfunction totalSupply(uint256 id) view returns (uint256)
uri
viewfunction uri(uint256) view returns (string)
burn
nonpayablefunction burn(address account, uint256 id, uint256 value)
burnBatch
nonpayablefunction burnBatch(address account, uint256[] ids, uint256[] values)
mint
nonpayablefunction mint(address to, uint256, uint256 amount)
safeBatchTransferFrom
nonpayablefunction safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
safeTransferFrom
nonpayablefunction safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
setApprovalForAll
nonpayablefunction setApprovalForAll(address operator, bool approved)
events
ApprovalForAll
event ApprovalForAll(address indexed account, address indexed operator, bool approved)
TransferBatch
event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
TransferSingle
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
URI
event URI(string value, uint256 indexed id)
errors
ERC1155InsufficientBalance
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId)
ERC1155InvalidApprover
error ERC1155InvalidApprover(address approver)
ERC1155InvalidArrayLength
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength)
ERC1155InvalidOperator
error ERC1155InvalidOperator(address operator)
ERC1155InvalidReceiver
error ERC1155InvalidReceiver(address receiver)
ERC1155InvalidSender
error ERC1155InvalidSender(address sender)
ERC1155MissingApprovalForAll
error ERC1155MissingApprovalForAll(address operator, address owner)
NotMarketplace
error NotMarketplace()
NotOwner
error NotOwner()
PriceTooLow
error PriceTooLow()
creation bytecode
0x6080604052346200034e5762001ca6803803806200001d8162000353565b92833981016080828203126200034e5781516001600160401b0392908381116200034e57826200004f91830162000379565b60209283830151908582116200034e576200006c91840162000379565b60408301516060909301516001600160a01b0381169591908690036200034e578251908282116200026057600254916001948584811c9416801562000343575b888510146200023f578190601f94858111620002ec575b508890858311600114620002825760009262000276575b5050600019600383901b1c191690851b176002555b60018060a01b03199532876008541617600855815193841162000260576006548581811c9116801562000255575b828210146200023f57838111620001f3575b50809284116001146200018657509282939183926000946200017a575b50501b916000199060031b1c1916176006555b60075560055416176005556040516118ba9081620003ec8239f35b0151925038806200014c565b919083601f198116600660005284600020946000905b88838310620001d85750505010620001be575b505050811b016006556200015f565b015160001960f88460031b161c19169055388080620001af565b8587015188559096019594850194879350908101906200019c565b6006600052816000208480870160051c82019284881062000235575b0160051c019086905b828110620002285750506200012f565b6000815501869062000218565b925081926200020f565b634e487b7160e01b600052602260045260246000fd5b90607f16906200011d565b634e487b7160e01b600052604160045260246000fd5b015190503880620000da565b90879350601f1983169160026000528a6000209260005b8c828210620002d55750508411620002bb575b505050811b01600255620000ef565b015160001960f88460031b161c19169055388080620002ac565b8385015186558b9790950194938401930162000299565b9091506002600052886000208580850160051c8201928b861062000339575b918991869594930160051c01915b82811062000329575050620000c3565b6000815585945089910162000319565b925081926200030b565b93607f1693620000ac565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200026057604052565b919080601f840112156200034e5782516001600160401b0381116200026057602090620003af601f8201601f1916830162000353565b928184528282870101116200034e5760005b818110620003d757508260009394955001015290565b8581018301518482018401528201620003c156fe6080604052600436101561001257600080fd5b60003560e01c8062fdd58e1461013657806301ffc9a71461013157806306fdde031461012c5780630e89341c14610127578063156e29f61461012257806318160ddd1461011d5780632eb2c2d6146101185780634e1273f4146101135780634f558e791461010e5780636b20c454146101095780638da5cb5b14610104578063a22cb465146100ff578063abc8c7af146100fa578063bd85b039146100f5578063bf9eaff3146100f0578063e985e9c5146100eb578063f242432a146100e65763f5298aca146100e157600080fd5b610c35565b610b76565b610b25565b610b07565b610adb565b610ab2565b610a01565b6109d8565b6108e7565b6108b9565b6107ff565b6106a4565b6105ad565b610518565b6103f5565b6102e6565b6101cd565b610180565b600435906001600160a01b038216820361015157565b600080fd5b602435906001600160a01b038216820361015157565b35906001600160a01b038216820361015157565b346101515760403660031901126101515760206101b261019e61013b565b602435600052600083526040600020610cbc565b54604051908152f35b6001600160e01b031981160361015157565b346101515760203660031901126101515760206004356101ec816101bb565b63ffffffff60e01b16636cdb3d1360e11b811490811561022a575b8115610219575b506040519015158152f35b6301ffc9a760e01b1490503861020e565b6303a24d0760e21b81149150610207565b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761026c57604052565b61023b565b90601f801991011681019081106001600160401b0382111761026c57604052565b919082519283825260005b8481106102be575050826000602080949584010152601f8019910116010190565b60208183018101518483018201520161029d565b9060206102e3928181520190610292565b90565b34610151576000806003193601126103f2576040519080600654906001918060011c92600182169283156103e8575b6020926020861085146103d45785885260208801949081156103b3575060011461035a575b6103568761034a81890382610271565b604051918291826102d2565b0390f35b600660005294509192917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b8386106103a2575050509101905061034a82610356388061033a565b805485870152948201948101610386565b60ff191685525050505090151560051b01905061034a82610356388061033a565b634e487b7160e01b82526022600452602482fd5b93607f1693610315565b80fd5b346101515760208060031936011261015157604051906000906002546001918160011c92600183169283156104e4575b6020851084146104d05784875260208701939081156104b15750600114610457575b6103568661034a81880382610271565b6002600090815294509192917f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b8386106104a0575050509101905061034a8261035638610447565b805485870152948201948101610485565b60ff1916845250505090151560051b01905061034a8261035638610447565b634e487b7160e01b86526022600452602486fd5b93607f1693610425565b6060906003190112610151576004356001600160a01b038116810361015157906024359060443590565b3461015157610526366104ee565b6005546001600160a01b0392508216330361059b576040519161054883610251565b600083528316156105825761058092604051906001825260016020830152604082019260018452606083015260808201604052610dfb565b005b604051632bfa23e760e11b815260006004820152602490fd5b60405163386317a360e01b8152600490fd5b34610151576000366003190112610151576020600454604051908152f35b6001600160401b03811161026c5760051b60200190565b9080601f830112156101515760209082356105fc816105cb565b9361060a6040519586610271565b81855260208086019260051b82010192831161015157602001905b828210610633575050505090565b81358152908301908301610625565b6001600160401b03811161026c57601f01601f191660200190565b81601f820112156101515780359061067482610642565b926106826040519485610271565b8284526020838301011161015157816000926020809301838601378301015290565b346101515760a0366003190112610151576106bd61013b565b6106c5610156565b90604435916001600160401b0390818411610151576106e9600494369086016105e2565b906064358381116101515761070190369087016105e2565b9260843590811161015157610719903690870161065d565b936001600160a01b03808216903382141580610798575b61077957831615610761571561074a576105809550610ff8565b604051626a0d4560e21b8152600081880152602490fd5b604051632bfa23e760e11b8152600081890152602490fd5b60405163711bec9160e11b8152806107948533838d01610ced565b0390fd5b5081600052600160205260ff6107b2336040600020610cbc565b541615610730565b90815180825260208080930193019160005b8281106107da575050505090565b8351855293810193928101926001016107cc565b9060206102e39281815201906107ba565b34610151576040366003190112610151576004356001600160401b03808211610151573660238301121561015157816004013561083b816105cb565b926108496040519485610271565b8184526020916024602086019160051b8301019136831161015157602401905b8282106108a2578560243586811161015157610356916108906108969236906004016105e2565b90610d31565b604051918291826107ee565b8380916108ae8461016c565b815201910190610869565b3461015157602036600319011261015157600435600052600360205260206040600020541515604051908152f35b346101515760603660031901126101515761090061013b565b6001600160401b03602435818111610151576109209036906004016105e2565b90604435908111610151576109399036906004016105e2565b906001600160a01b03831633811415806109a3575b610987571561096f5761058092600060405161096981610251565b52610f2d565b604051626a0d4560e21b815260006004820152602490fd5b60405163711bec9160e11b815280610794863360048401610ced565b5080600052600160205260ff6109bd336040600020610cbc565b54161561094e565b6001600160a01b03909116815260200190565b34610151576000366003190112610151576008546040516001600160a01b039091168152602090f35b3461015157604036600319011261015157610a1a61013b565b602435801515808203610151576001600160a01b038316928315610a9a57610a4f903360005260016020526040600020610cbc565b9060ff801983541691161790557f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160405180610a95339482919091602081019215159052565b0390a3005b60405162ced3e160e81b815260006004820152602490fd5b34610151576000366003190112610151576005546040516001600160a01b039091168152602090f35b346101515760203660031901126101515760043560005260036020526020604060002054604051908152f35b34610151576000366003190112610151576020600754604051908152f35b3461015157604036600319011261015157602060ff610b6a610b4561013b565b610b4d610156565b6001600160a01b0390911660009081526001855260409020610cbc565b54166040519015158152f35b346101515760a036600319011261015157610b8f61013b565b610b97610156565b6084356001600160401b03811161015157610bb690369060040161065d565b906001600160a01b03838116903382141580610c13575b610bf757821615610582571561096f5761058092610bef606435604435610dd6565b929091610ff8565b60405163711bec9160e11b815280610794873360048401610ced565b5081600052600160205260ff610c2d336040600020610cbc565b541615610bcd565b3461015157610c43366104ee565b91906001600160a01b0382163381141580610c9a575b610c7e571561096f5761058092610c6f91610dd6565b91600060405161096981610251565b60405163711bec9160e11b815280610794853360048401610ced565b5080600052600160205260ff610cb4336040600020610cbc565b541615610c59565b9060018060a01b0316600052602052604060002090565b610ce99160005260006020526040600020610cbc565b5490565b6001600160a01b0391821681529116602082015260400190565b8051821015610d1b5760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b91909180518351808203610db4575050805190610d66610d50836105cb565b92610d5e6040519485610271565b8084526105cb565b60209190601f1901368484013760005b8151811015610dac5780610d9b60019260051b85808287010151918a01015190610cd3565b610da58287610d07565b5201610d76565b509193505050565b604051635b05999160e01b815260048101919091526024810191909152604490fd5b9160405192600184526020840152604083019160018352606084015260808301604052565b93919091610e0a8284876114b3565b600094855b8451871015610e5d57610e556001918860051b90610e43602080848a010151938a0101516000526003602052604060002090565b610e4e838254611447565b9055611447565b960195610e0f565b610e77919594929650610e7290600454611447565b600455565b6001600160a01b0384161580610eca575b15610e94575b50505050565b8051600103610ebb5790602080610eb29593015191015191336113db565b38808080610e8e565b610ec593336111ed565b610eb2565b9360009591936000965b8551881015610f14576001908860051b90610f05602080848a010151938a0101516000526003602052604060002090565b82815403905501970196610ed4565b610f28919593975095919560045403600455565b610e88565b929192610f3b8483836115af565b6001600160a01b031615610fa2575b6000805b8251821015610f8e576001908260051b90610f7f602080848a01015193870101516000526003602052604060002090565b82815403905501910190610f4e565b915050610fa091925060045403600455565b565b6000805b8251821015610fe257610fda6001918360051b90610e43602080848b01015193880101516000526003602052604060002090565b910190610fa6565b610ff39150610e7290600454611447565b610f4a565b91939290611008828683866116d9565b6001600160a01b03838116156110c7575b81161580611066575b1561102f575b5050505050565b84516001036110555760208061104b9601519201519233611410565b3880808080611028565b611061949192336112dc565b61104b565b94936000939091845b86518610156110af576001908660051b906110a0602080848a010151938b0101516000526003602052604060002090565b8281540390550195019461106f565b6110c29193969792955060045403600455565b611022565b959192600094916000955b875187101561110e576111066001918860051b90610e43602080848c010151938d0101516000526003602052604060002090565b9601956110d2565b61112691939650610e72909892959498600454611447565b611019565b9081602091031261015157516102e3816101bb565b9261116f6102e3959361117d9360018060a01b031686526000602087015260a0604087015260a08601906107ba565b9084820360608601526107ba565b916080818403910152610292565b93906102e3959361116f9161117d9460018060a01b03809216885216602087015260a0604087015260a08601906107ba565b3d156111e8573d906111ce82610642565b916111dc6040519384610271565b82523d6000602084013e565b606090565b9293919093843b6111ff575050505050565b602091611222604051948593849363bc197c8160e01b9889865260048601611140565b038160006001600160a01b0388165af1600091816112ab575b5061127457826112496111bd565b805191908261126d57604051632bfa23e760e11b81528061079484600483016109c5565b9050602001fd5b6001600160e01b0319160361128e57503880808080611028565b604051632bfa23e760e11b815290819061079490600483016109c5565b6112ce91925060203d6020116112d5575b6112c68183610271565b81019061112b565b903861123b565b503d6112bc565b939290949194853b6112f1575b505050505050565b611314602093604051958694859463bc197c8160e01b998a87526004870161118b565b038160006001600160a01b0388165af160009181611356575b5061133b57826112496111bd565b6001600160e01b0319160361128e57503880808080806112e9565b61137091925060203d6020116112d5576112c68183610271565b903861132d565b909260a0926102e39594600180861b0316835260006020840152604083015260608201528160808201520190610292565b91926102e395949160a094600180871b038092168552166020840152604083015260608201528160808201520190610292565b9293919093843b6113ed575050505050565b602091611222604051948593849363f23a6e6160e01b9889865260048601611377565b939290949194853b61142457505050505050565b611314602093604051958694859463f23a6e6160e01b998a8752600487016113a8565b9190820180921161145457565b634e487b7160e01b600052601160045260246000fd5b90949392606092608083019660018060a01b03168352602083015260408201520152565b90916114a56102e3936040845260408401906107ba565b9160208184039101526107ba565b9190918251825190818103610db457505060005b835181101561153357600581901b84810160209081015191850101516001929184906001600160a01b038216611501575b505050016114c7565b6115299161151c611521926000526000602052604060002090565b610cbc565b918254611447565b90553883816114f8565b50916001815114600014611582576020908101519181015160408051938452918301526001600160a01b039092169160009133916000805160206118658339815191529190819081015b0390a4565b60008051602061184583398151915261157d6000939460405191829160018060a01b03169633958361148e565b9291908051825190818103610db457505060005b815181101561165e57600581901b82810160209081015191850101516001600160a01b0387166115f8575b50506001016115c3565b6116108761151c846000526000602052604060002090565b5481811061163f578761151c60019594936116379303936000526000602052604060002090565b5590386115ee565b8761079484846040519485946303dee4c560e01b86526004860161146a565b50906000929391600181511484146116ac576020908101519181015160408051938452918301526001600160a01b03909216913391600080516020611865833981519152918190810161157d565b6040516001600160a01b0390931692339260008051602061184583398151915292829161157d918361148e565b9392918051835190818103610db457505060005b81518110156117c357600581901b82810160209081015191860101516001600160a01b0392918590898516611755575b6001948216611730575b505050016116ed565b61174b9161151c611521926000526000602052604060002090565b9055388481611727565b91929390506117728961151c846000526000602052604060002090565b548381106117a4579186918460019695940361179c8c61151c856000526000602052604060002090565b55945061171d565b8961079484866040519485946303dee4c560e01b86526004860161146a565b508051939493919291600103611813576020908101519181015160408051938452918301526001600160a01b0392831693909216913391600080516020611865833981519152918190810161157d565b6040516001600160a01b039384169490931692339260008051602061184583398151915292829161157d918361148e56fe4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fbc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62a2646970667358221220a68921f825593eb366d500ed60b6f65a5d857fa0ef787dc0fd5f469d5589e53b64736f6c63430008160033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001168747470733a2f2f6563686f772e78797a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c566572696669636174696f6e0000000000000000000000000000000000000000