[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AlreadyLinked", "type": "error" }, { "inputs": [], "name": "CannotLink", "type": "error" }, { "inputs": [], "name": "NotLinked", "type": "error" }, { "inputs": [], "name": "SenderNotBase", "type": "error" }, { "inputs": [], "name": "SenderNotDeployer", "type": "error" }, { "inputs": [], "name": "TransferToNonERC721ReceiverImplementer", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isApproved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "result", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseERC20", "outputs": [ { "internalType": "address", "name": "base", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "result", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "result", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "result", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "result", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "result", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "result", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "result", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "result", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
608060405234801561001057600080fd5b50683602298b8c10b0123180546001600160a01b03191632179055610c0b8061003a6000396000f3fe6080604052600436106100ec5760003560e01c80636352211e1161008a578063a22cb46511610059578063a22cb465146103e8578063b88d4fde14610408578063c87b56dd14610428578063e985e9c514610448576100f3565b80636352211e1461037e57806370a082311461039e57806395d89b41146103be57806397e5311c146103d3576100f3565b8063095ea7b3116100c6578063095ea7b31461030857806318160ddd1461032857806323b872dd1461034b57806342842e0e1461036b576100f3565b806301ffc9a71461025c57806306fdde03146102ae578063081812fc146102d0576100f3565b366100f357005b683602298b8c10b0123060003560e01c63263c69d68190036101bf5781546001600160a01b0316331461013957604051631b1e598960e11b815260040160405180910390fd5b602036103d60003e6004356024018036103d60003e602081033560051b81018036103d60003e5b8082146101b25781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a4505050816020019150610160565b5050600160005260206000f35b80630f4599e50361025a5760018201546001600160a01b0316156102155760018201546001600160a01b03166004356001600160a01b031614610215576040516362cf623d60e11b815260040160405180910390fd5b81546001600160a01b03161561023e57604051635fb2b52360e11b815260040160405180910390fd5b81546001600160a01b0319163317825560016000908152602090f35b005b34801561026857600080fd5b50610299610277366004610996565b6301ffc9a760e09190911c9081146380ac58cd821417635b5e139f9091141790565b60405190151581526020015b60405180910390f35b3480156102ba57600080fd5b506102c3610468565b6040516102a591906109c7565b3480156102dc57600080fd5b506102f06102eb366004610a15565b6104c2565b6040516001600160a01b0390911681526020016102a5565b34801561031457600080fd5b5061025a610323366004610a4a565b610509565b34801561033457600080fd5b5061033d61058f565b6040519081526020016102a5565b34801561035757600080fd5b5061025a610366366004610a74565b6105cd565b61025a610379366004610a74565b61065c565b34801561038a57600080fd5b506102f0610399366004610a15565b61068e565b3480156103aa57600080fd5b5061033d6103b9366004610ab0565b6106c8565b3480156103ca57600080fd5b506102c3610712565b3480156103df57600080fd5b506102f0610744565b3480156103f457600080fd5b5061025a610403366004610acb565b610779565b34801561041457600080fd5b5061025a610423366004610b07565b6107fc565b34801561043457600080fd5b506102c3610443366004610a15565b610857565b34801561045457600080fd5b50610299610463366004610ba2565b6108b7565b60606000610474610744565b905060405191506306fdde036000526000806004601c845afa61049a573d6000833e3d82fd5b60206000803e6020600051833e8151602060005101602084013e815160208301016040525090565b6000806104cd610744565b905063081812fc60005282602052602060006024601c845afa601f3d11166104fc573d60006040513e3d604051fd5b5050600c5160601c919050565b6000610513610744565b90508260601b60601c925060405163d10b6e0c600052836020528260405233606052602060006064601c34865af1601f3d1116610553573d6000823e3d81fd5b806040525060006060528183600c5160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600038a4505050565b60008061059a610744565b905063e2c79281600052602060006004601c845afa601f3d11166105c5573d60006040513e3d604051fd5b505060005190565b60006105d7610744565b90508360601b60601c93508260601b60601c925060405163e5eb36c881528460208201528360408201528260608201523360808201526020816084601c840134865af160018251141661062d573d6000823e3d81fd5b508183857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a450505050565b6106678383836105cd565b813b15610689576106898383836040518060200160405280600081525061090a565b505050565b600080610699610744565b9050636352211e60005282602052602060006024601c845afa601f3d11166104fc573d60006040513e3d604051fd5b6000806106d3610744565b90508260601b60601c60205263f5b100ea600052602060006024601c845afa601f3d1116610708573d60006040513e3d604051fd5b5050600051919050565b6060600061071e610744565b905060405191506395d89b416000526000806004601c845afa61049a573d6000833e3d82fd5b683602298b8c10b01230546001600160a01b03168061077657604051632d9523d760e11b815260040160405180910390fd5b90565b6000610783610744565b90508260601b60601c925060405163813500fc6000528360205282151560405233606052602060006064601c34865af1600160005114166107c7573d6000823e3d81fd5b83337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206040a36040525050600060605250565b6108078585856105cd565b833b156108505761085085858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061090a92505050565b5050505050565b60606000610863610744565b905060405191508260205263c87b56dd6000526000806024601c845afa61088d573d6000833e3d82fd5b60206000803e6020600051833e8151602060005101602084013e8151602083010160405250919050565b6000806108c2610744565b9050604051836040528460601b602c5263e985e9c560601b600c52602060006044601c855afa601f3d11166108fa573d6000823e3d81fd5b6040525050600051151592915050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a08401528015610951578060c08401826020870160045afa505b60208360a48301601c860160008a5af1610974573d15610974573d6000843e3d83fd5b508060e01b82511461098e5763d1a57ed66000526004601cfd5b505050505050565b6000602082840312156109a857600080fd5b81356001600160e01b0319811681146109c057600080fd5b9392505050565b600060208083528351808285015260005b818110156109f4578581018301518582016040015282016109d8565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215610a2757600080fd5b5035919050565b80356001600160a01b0381168114610a4557600080fd5b919050565b60008060408385031215610a5d57600080fd5b610a6683610a2e565b946020939093013593505050565b600080600060608486031215610a8957600080fd5b610a9284610a2e565b9250610aa060208501610a2e565b9150604084013590509250925092565b600060208284031215610ac257600080fd5b6109c082610a2e565b60008060408385031215610ade57600080fd5b610ae783610a2e565b915060208301358015158114610afc57600080fd5b809150509250929050565b600080600080600060808688031215610b1f57600080fd5b610b2886610a2e565b9450610b3660208701610a2e565b935060408601359250606086013567ffffffffffffffff80821115610b5a57600080fd5b818801915088601f830112610b6e57600080fd5b813581811115610b7d57600080fd5b896020828501011115610b8f57600080fd5b9699959850939650602001949392505050565b60008060408385031215610bb557600080fd5b610bbe83610a2e565b9150610bcc60208401610a2e565b9050925092905056fea2646970667358221220815cce727f0f66ced93bc5857b76a31a6da5ca5e4f723295de19280b36338b0964736f6c63430008130033