[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "address", "name": "_bridge", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "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": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "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": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "bridge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "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": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "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": "string", "name": "_newMetadataUri", "type": "string" } ], "name": "setMetadataUri", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "name": "zkBridgeBurn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_tokenId", "type": "uint256" }, { "internalType": "string", "name": "tokenURI_", "type": "string" } ], "name": "zkBridgeMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b50604051620019d8380380620019d883398101604081905262000034916200025c565b8282620000413362000099565b815162000056906001906020850190620000e9565b5080516200006c906002906020840190620000e9565b5050600780546001600160a01b0319166001600160a01b0393909316929092179091555062000326915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000f790620002e9565b90600052602060002090601f0160209004810192826200011b576000855562000166565b82601f106200013657805160ff191683800117855562000166565b8280016001018555821562000166579182015b828111156200016657825182559160200191906001019062000149565b506200017492915062000178565b5090565b5b8082111562000174576000815560010162000179565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001b757600080fd5b81516001600160401b0380821115620001d457620001d46200018f565b604051601f8301601f19908116603f01168101908282118183101715620001ff57620001ff6200018f565b816040528381526020925086838588010111156200021c57600080fd5b600091505b8382101562000240578582018301518183018401529082019062000221565b83821115620002525760008385830101525b9695505050505050565b6000806000606084860312156200027257600080fd5b83516001600160401b03808211156200028a57600080fd5b6200029887838801620001a5565b94506020860151915080821115620002af57600080fd5b50620002be86828701620001a5565b604086015190935090506001600160a01b0381168114620002de57600080fd5b809150509250925092565b600181811c90821680620002fe57607f821691505b602082108114156200032057634e487b7160e01b600052602260045260246000fd5b50919050565b6116a280620003366000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde14610275578063c87b56dd14610288578063e78cea921461029b578063e985e9c5146102ae578063f2fde38b146102ea57600080fd5b806370a0823114610220578063715018a6146102415780638da5cb5b1461024957806395d89b411461025a578063a22cb4651461026257600080fd5b806323b872dd116100f457806323b872dd146101c15780632a4a361d146101d457806342842e0e146101e75780635d4dacc9146101fa5780636352211e1461020d57600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b3146101995780631130630c146101ae575b600080fd5b61014461013f366004611196565b6102fd565b60405190151581526020015b60405180910390f35b61016161034f565b6040516101509190611207565b61018161017c36600461121a565b6103e1565b6040516001600160a01b039091168152602001610150565b6101ac6101a736600461124f565b610408565b005b6101ac6101bc366004611325565b610523565b6101ac6101cf36600461135a565b610542565b6101ac6101e2366004611396565b610573565b6101ac6101f536600461135a565b6105d2565b6101ac61020836600461121a565b6105ed565b61018161021b36600461121a565b6106b2565b61023361022e3660046113ed565b610712565b604051908152602001610150565b6101ac610798565b6000546001600160a01b0316610181565b6101616107ac565b6101ac610270366004611408565b6107bb565b6101ac610283366004611444565b6107c6565b61016161029636600461121a565b6107fe565b600754610181906001600160a01b031681565b6101446102bc3660046114c0565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6101ac6102f83660046113ed565b6108f7565b60006001600160e01b031982166380ac58cd60e01b148061032e57506001600160e01b03198216635b5e139f60e01b145b8061034957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461035e906114f3565b80601f016020809104026020016040519081016040528092919081815260200182805461038a906114f3565b80156103d75780601f106103ac576101008083540402835291602001916103d7565b820191906000526020600020905b8154815290600101906020018083116103ba57829003601f168201915b5050505050905090565b60006103ec8261096d565b506000908152600560205260409020546001600160a01b031690565b6000610413826106b2565b9050806001600160a01b0316836001600160a01b031614156104865760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104a257506104a281336102bc565b6105145760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161047d565b61051e83836109cc565b505050565b61052b610a3a565b805161053e9060089060208401906110e7565b5050565b61054c3382610a94565b6105685760405162461bcd60e51b815260040161047d9061152e565b61051e838383610b13565b6007546001600160a01b031633146105c85760405162461bcd60e51b815260206004820152601860248201527763616c6c6572206973206e6f74207468652062726964676560401b604482015260640161047d565b61051e8383610c77565b61051e838383604051806020016040528060008152506107c6565b6007546001600160a01b031633146106425760405162461bcd60e51b815260206004820152601860248201527763616c6c6572206973206e6f74207468652062726964676560401b604482015260640161047d565b6000818152600360205260409020546001600160a01b03166106a65760405162461bcd60e51b815260206004820152601960248201527f4275726e206f66206e6f6e6578697374656e7420746f6b656e00000000000000604482015260640161047d565b6106af81610e02565b50565b6000818152600360205260408120546001600160a01b0316806103495760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161047d565b60006001600160a01b03821661077c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161047d565b506001600160a01b031660009081526004602052604090205490565b6107a0610a3a565b6107aa6000610e97565b565b60606002805461035e906114f3565b61053e338383610ee7565b6107d03383610a94565b6107ec5760405162461bcd60e51b815260040161047d9061152e565b6107f884848484610fb6565b50505050565b6000818152600360205260409020546060906001600160a01b03166108655760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161047d565b60088054610872906114f3565b80601f016020809104026020016040519081016040528092919081815260200182805461089e906114f3565b80156108eb5780601f106108c0576101008083540402835291602001916108eb565b820191906000526020600020905b8154815290600101906020018083116108ce57829003601f168201915b50505050509050919050565b6108ff610a3a565b6001600160a01b0381166109645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047d565b6106af81610e97565b6000818152600360205260409020546001600160a01b03166106af5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161047d565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610a01826106b2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000546001600160a01b031633146107aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047d565b600080610aa0836106b2565b9050806001600160a01b0316846001600160a01b03161480610ae757506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610b0b5750836001600160a01b0316610b00846103e1565b6001600160a01b0316145b949350505050565b826001600160a01b0316610b26826106b2565b6001600160a01b031614610b4c5760405162461bcd60e51b815260040161047d9061157b565b6001600160a01b038216610bae5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161047d565b826001600160a01b0316610bc1826106b2565b6001600160a01b031614610be75760405162461bcd60e51b815260040161047d9061157b565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216610ccd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161047d565b6000818152600360205260409020546001600160a01b031615610d325760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161047d565b6000818152600360205260409020546001600160a01b031615610d975760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161047d565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610e0d826106b2565b9050610e18826106b2565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415610f495760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161047d565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fc1848484610b13565b610fcd84848484610fe9565b6107f85760405162461bcd60e51b815260040161047d906115c0565b60006001600160a01b0384163b156110dc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061102d903390899088908890600401611612565b6020604051808303816000875af1925050508015611068575060408051601f3d908101601f191682019092526110659181019061164f565b60015b6110c2573d808015611096576040519150601f19603f3d011682016040523d82523d6000602084013e61109b565b606091505b5080516110ba5760405162461bcd60e51b815260040161047d906115c0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b0b565b506001949350505050565b8280546110f3906114f3565b90600052602060002090601f016020900481019282611115576000855561115b565b82601f1061112e57805160ff191683800117855561115b565b8280016001018555821561115b579182015b8281111561115b578251825591602001919060010190611140565b5061116792915061116b565b5090565b5b80821115611167576000815560010161116c565b6001600160e01b0319811681146106af57600080fd5b6000602082840312156111a857600080fd5b81356111b381611180565b9392505050565b6000815180845260005b818110156111e0576020818501810151868301820152016111c4565b818111156111f2576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006111b360208301846111ba565b60006020828403121561122c57600080fd5b5035919050565b80356001600160a01b038116811461124a57600080fd5b919050565b6000806040838503121561126257600080fd5b61126b83611233565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112aa576112aa611279565b604051601f8501601f19908116603f011681019082821181831017156112d2576112d2611279565b816040528093508581528686860111156112eb57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261131657600080fd5b6111b38383356020850161128f565b60006020828403121561133757600080fd5b813567ffffffffffffffff81111561134e57600080fd5b610b0b84828501611305565b60008060006060848603121561136f57600080fd5b61137884611233565b925061138660208501611233565b9150604084013590509250925092565b6000806000606084860312156113ab57600080fd5b6113b484611233565b925060208401359150604084013567ffffffffffffffff8111156113d757600080fd5b6113e386828701611305565b9150509250925092565b6000602082840312156113ff57600080fd5b6111b382611233565b6000806040838503121561141b57600080fd5b61142483611233565b91506020830135801515811461143957600080fd5b809150509250929050565b6000806000806080858703121561145a57600080fd5b61146385611233565b935061147160208601611233565b925060408501359150606085013567ffffffffffffffff81111561149457600080fd5b8501601f810187136114a557600080fd5b6114b48782356020840161128f565b91505092959194509250565b600080604083850312156114d357600080fd5b6114dc83611233565b91506114ea60208401611233565b90509250929050565b600181811c9082168061150757607f821691505b6020821081141561152857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611645908301846111ba565b9695505050505050565b60006020828403121561166157600080fd5b81516111b38161118056fea26469706673582212203fd8af4670745ef55ceb1092cc9999dcb1cb962826a1da112c089ffefbdd701d64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005e6d2a7aa45277ca3037feba4a30cbb8f8cad3b9000000000000000000000000000000000000000000000000000000000000001350616e6472613a2045636f477561726469616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001350616e6472613a2045636f477561726469616e00000000000000000000000000