[ { "inputs": [ { "internalType": "address", "name": "deployer", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AlreadyLinked", "type": "error" }, { "inputs": [], "name": "CannotLink", "type": "error" }, { "inputs": [], "name": "FnSelectorNotRecognized", "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": "oldOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": "nftOwner", "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": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "nftOwner", "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": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "ownerAt", "outputs": [ { "internalType": "address", "name": "result", "type": "address" } ], "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": [], "name": "pullOwner", "outputs": [], "stateMutability": "nonpayable", "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" } ]
608060405234801561001057600080fd5b50604051610d21380380610d2183398101604081905261002f9161005c565b683602298b8c10b0123180546001600160a01b0319166001600160a01b039290921691909117905561008c565b60006020828403121561006e57600080fd5b81516001600160a01b038116811461008557600080fd5b9392505050565b610c868061009b6000396000f3fe60806040526004361061010d5760003560e01c80636cef16e61161009557806397e5311c1161006457806397e5311c14610471578063a22cb46514610486578063b88d4fde146104a6578063c87b56dd146104c6578063e985e9c5146104e65761011f565b80636cef16e61461040157806370a08231146104165780638da5cb5b1461043657806395d89b411461045c5761011f565b806318160ddd116100dc57806318160ddd1461036b57806323b872dd1461038e57806324359879146103ae57806342842e0e146103ce5780636352211e146103e15761011f565b806301ffc9a71461029f57806306fdde03146102f1578063081812fc14610313578063095ea7b31461034b5761011f565b3661011f57341561011d57600080fd5b005b683602298b8c10b0123060003560e01c63263c69d68190036101eb5781546001600160a01b0316331461016557604051631b1e598960e11b815260040160405180910390fd5b602036103d60003e6004356024018036103d60003e602081033560051b81018036103d60003e5b8082146101de5781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a450505081602001915061018c565b5050600160005260206000f35b80630f4599e5036102865760018201546001600160a01b0316156102415760018201546001600160a01b03166004356001600160a01b031614610241576040516362cf623d60e11b815260040160405180910390fd5b81546001600160a01b03161561026a57604051635fb2b52360e11b815260040160405180910390fd5b81546001600160a01b0319163317825560016000908152602090f35b604051631e085ca760e11b815260040160405180910390fd5b3480156102ab57600080fd5b506102dc6102ba366004610a10565b6301ffc9a760e09190911c9081146380ac58cd821417635b5e139f9091141790565b60405190151581526020015b60405180910390f35b3480156102fd57600080fd5b50610306610506565b6040516102e89190610a41565b34801561031f57600080fd5b5061033361032e366004610a90565b61051c565b6040516001600160a01b0390911681526020016102e8565b34801561035757600080fd5b5061011d610366366004610ac5565b610534565b34801561037757600080fd5b506103806105ba565b6040519081526020016102e8565b34801561039a57600080fd5b5061011d6103a9366004610aef565b6105cc565b3480156103ba57600080fd5b506103336103c9366004610a90565b61065b565b61011d6103dc366004610aef565b61066d565b3480156103ed57600080fd5b506103336103fc366004610a90565b61069f565b34801561040d57600080fd5b5061011d6106b1565b34801561042257600080fd5b50610380610431366004610b2b565b610764565b34801561044257600080fd5b50683602298b8c10b01232546001600160a01b0316610333565b34801561046857600080fd5b5061030661077f565b34801561047d57600080fd5b50610333610790565b34801561049257600080fd5b5061011d6104a1366004610b46565b6107c5565b3480156104b257600080fd5b5061011d6104c1366004610b82565b610848565b3480156104d257600080fd5b506103066104e1366004610a90565b6108a3565b3480156104f257600080fd5b506102dc610501366004610c1d565b6108b3565b60606105176306fdde0360006108df565b905090565b600061052e63081812fc83600061093c565b92915050565b600061053e610790565b90508260601b60601c925060405163d10b6e0c600052836020528260405233606052602060006064601c34865af1601f3d111661057e573d6000823e3d81fd5b806040525060006060528183600c5160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600038a4505050565b600061051763e2c7928160008061093c565b60006105d6610790565b90508360601b60601c93508260601b60601c925060405163e5eb36c881528460208201528360408201528260608201523360808201526020816084601c840134865af160018251141661062c573d6000823e3d81fd5b508183857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a450505050565b600061052e632435987983600061093c565b6106788383836105cc565b813b1561069a5761069a83838360405180602001604052806000815250610984565b505050565b600061052e636352211e83600061093c565b6000806106bc610790565b9050638da5cb5b600052602060006004601c845afa601f3d1116156106e457600c5160601c91505b683602298b8c10b0123254683602298b8c10b01230906001600160a01b03908116908416811461075e576002820180546001600160a01b0319166001600160a01b0386811691821790925560405190918316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35b50505050565b600061052e63f5b100ea836001600160a01b0316600061093c565b60606105176395d89b4160006108df565b683602298b8c10b01230546001600160a01b0316806107c257604051632d9523d760e11b815260040160405180910390fd5b90565b60006107cf610790565b90508260601b60601c925060405163813500fc6000528360205282151560405233606052602060006064601c34865af160016000511416610813573d6000823e3d81fd5b83337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206040a36040525050600060605250565b6108538585856105cc565b833b1561089c5761089c85858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061098492505050565b5050505050565b606061052e63c87b56dd836108df565b60006108d663e985e9c5846001600160a01b0316846001600160a01b031661093c565b15159392505050565b606060006108eb610790565b9050604051915083600052826020526000806024601c845afa610911573d6000833e3d82fd5b60206000803e6020600051833e8151602060005101602084013e815160208301016040525092915050565b600080610947610790565b9050604051856000528460205283604052602060006044601c855afa601f3d1116610975573d6000823e3d81fd5b60405250506000519392505050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a084015280156109cb578060c08401826020870160045afa505b60208360a48301601c860160008a5af16109ee573d156109ee573d6000843e3d83fd5b508060e01b825114610a085763d1a57ed66000526004601cfd5b505050505050565b600060208284031215610a2257600080fd5b81356001600160e01b031981168114610a3a57600080fd5b9392505050565b60006020808352835180602085015260005b81811015610a6f57858101830151858201604001528201610a53565b506000604082860101526040601f19601f8301168501019250505092915050565b600060208284031215610aa257600080fd5b5035919050565b80356001600160a01b0381168114610ac057600080fd5b919050565b60008060408385031215610ad857600080fd5b610ae183610aa9565b946020939093013593505050565b600080600060608486031215610b0457600080fd5b610b0d84610aa9565b9250610b1b60208501610aa9565b9150604084013590509250925092565b600060208284031215610b3d57600080fd5b610a3a82610aa9565b60008060408385031215610b5957600080fd5b610b6283610aa9565b915060208301358015158114610b7757600080fd5b809150509250929050565b600080600080600060808688031215610b9a57600080fd5b610ba386610aa9565b9450610bb160208701610aa9565b935060408601359250606086013567ffffffffffffffff80821115610bd557600080fd5b818801915088601f830112610be957600080fd5b813581811115610bf857600080fd5b896020828501011115610c0a57600080fd5b9699959850939650602001949392505050565b60008060408385031215610c3057600080fd5b610c3983610aa9565b9150610c4760208401610aa9565b9050925092905056fea2646970667358221220e174179792136cadc2111f82f592baaf2f65acf9c84bcb6ad85ecdf39ba46bac64736f6c6343000818003300000000000000000000000009b8c1b4e8851c206bafb80a769d92b2311e995c