151 lines
21 KiB
JSON
151 lines
21 KiB
JSON
{
|
|
"_format": "hh-sol-artifact-1",
|
|
"contractName": "Minter",
|
|
"sourceName": "contracts/Minter.sol",
|
|
"abi": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "contract Collectible",
|
|
"name": "token_",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "address",
|
|
"name": "authority_",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "previousOwner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "OwnershipTransferred",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "authority",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "user",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "string",
|
|
"name": "tokenURI",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "v",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "r",
|
|
"type": "bytes32"
|
|
},
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "s",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "mint",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "owner",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "renounceOwnership",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "token",
|
|
"outputs": [
|
|
{
|
|
"internalType": "contract Collectible",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "transferOwnership",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "to",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "transferTokenOwnership",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"bytecode": "0x60c06040523480156200001157600080fd5b5060405162001323380380620013238339818101604052810190620000379190620001c7565b620000576200004b620000cd60201b60201c565b620000d560201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505062000284565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001aa8162000250565b92915050565b600081519050620001c1816200026a565b92915050565b60008060408385031215620001db57600080fd5b6000620001eb85828601620001b0565b9250506020620001fe8582860162000199565b9150509250929050565b6000620002158262000230565b9050919050565b6000620002298262000208565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200025b8162000208565b81146200026757600080fd5b50565b62000275816200021c565b81146200028157600080fd5b50565b60805160601c60a05160601c61105e620002c56000396000818161035d015261057f0152600081816101b801528181610416015261069b015261105e6000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100c4578063bf7e214f146100e2578063f2fde38b14610100578063fc0c546a1461011c5761007d565b806321e6b53d146100825780635e5b7c181461009e578063715018a6146100ba575b600080fd5b61009c60048036038101906100979190610845565b61013a565b005b6100b860048036038101906100b3919061086e565b610244565b005b6100c26104cc565b005b6100cc610554565b6040516100d99190610b75565b60405180910390f35b6100ea61057d565b6040516100f79190610b75565b60405180910390f35b61011a60048036038101906101159190610845565b6105a1565b005b610124610699565b6040516101319190610c05565b60405180910390f35b6101426106bd565b73ffffffffffffffffffffffffffffffffffffffff16610160610554565b73ffffffffffffffffffffffffffffffffffffffff16146101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad90610c80565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161020f9190610b75565b600060405180830381600087803b15801561022957600080fd5b505af115801561023d573d6000803e3d6000fd5b5050505050565b60004630878760405160200161025d9493929190610b20565b6040516020818303038152906040528051906020012090506000816040516020016102889190610afa565b604051602081830303815290604052805190602001209050600115156001600083815260200190815260200160002060009054906101000a900460ff1615151415610308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ff90610c60565b60405180910390fd5b60006001828787876040516000815260200160405260405161032d9493929190610bc0565b6020604051602081039080840390855afa15801561034f573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146103e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e090610c20565b60405180910390fd5b600180600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0def52189896040518363ffffffff1660e01b815260040161046f929190610b90565b602060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906108fd565b505050505050505050565b6104d46106bd565b73ffffffffffffffffffffffffffffffffffffffff166104f2610554565b73ffffffffffffffffffffffffffffffffffffffff1614610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f90610c80565b60405180910390fd5b61055260006106c5565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6105a96106bd565b73ffffffffffffffffffffffffffffffffffffffff166105c7610554565b73ffffffffffffffffffffffffffffffffffffffff161461061d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061490610c80565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561068d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068490610c40565b60405180910390fd5b610696816106c5565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061079c61079784610cc5565b610ca0565b9050828152602081018484840111156107b457600080fd5b6107bf848285610db8565b509392505050565b6000813590506107d681610fcc565b92915050565b6000813590506107eb81610fe3565b92915050565b600082601f83011261080257600080fd5b8135610812848260208601610789565b91505092915050565b60008151905061082a81610ffa565b92915050565b60008135905061083f81611011565b92915050565b60006020828403121561085757600080fd5b6000610865848285016107c7565b91505092915050565b600080600080600060a0868803121561088657600080fd5b6000610894888289016107c7565b955050602086013567ffffffffffffffff8111156108b157600080fd5b6108bd888289016107f1565b94505060406108ce88828901610830565b93505060606108df888289016107dc565b92505060806108f0888289016107dc565b9150509295509295909350565b60006020828403121561090f57600080fd5b600061091d8482850161081b565b91505092915050565b61092f81610d1d565b82525050565b61094661094182610d1d565b610e2b565b82525050565b61095581610d2f565b82525050565b61096c61096782610d2f565b610e3d565b82525050565b61097b81610d70565b82525050565b61099261098d82610d94565b610e2b565b82525050565b60006109a382610cf6565b6109ad8185610d01565b93506109bd818560208601610dc7565b6109c681610e92565b840191505092915050565b60006109dc82610cf6565b6109e68185610d12565b93506109f6818560208601610dc7565b80840191505092915050565b6000610a0f601c83610d12565b9150610a1a82610eb0565b601c82019050919050565b6000610a32601983610d01565b9150610a3d82610ed9565b602082019050919050565b6000610a55602683610d01565b9150610a6082610f02565b604082019050919050565b6000610a78601683610d01565b9150610a8382610f51565b602082019050919050565b6000610a9b602083610d01565b9150610aa682610f7a565b602082019050919050565b6000610abe600483610d12565b9150610ac982610fa3565b600482019050919050565b610ae5610ae082610d59565b610e59565b82525050565b610af481610d63565b82525050565b6000610b0582610a02565b9150610b11828461095b565b60208201915081905092915050565b6000610b2c8287610ad4565b602082019150610b3c8286610981565b601482019150610b4b82610ab1565b9150610b578285610935565b601482019150610b6782846109d1565b915081905095945050505050565b6000602082019050610b8a6000830184610926565b92915050565b6000604082019050610ba56000830185610926565b8181036020830152610bb78184610998565b90509392505050565b6000608082019050610bd5600083018761094c565b610be26020830186610aeb565b610bef604083018561094c565b610bfc606083018461094c565b95945050505050565b6000602082019050610c1a6000830184610972565b92915050565b60006020820190508181036000830152610c3981610a25565b9050919050565b60006020820190508181036000830152610c5981610a48565b9050919050565b60006020820190508181036000830152610c7981610a6b565b9050919050565b60006020820190508181036000830152610c9981610a8e565b9050919050565b6000610caa610cbb565b9050610cb68282610dfa565b919050565b6000604051905090565b600067ffffffffffffffff821115610ce057610cdf610e63565b5b610ce982610e92565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000610d2882610d39565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000610d7b82610d82565b9050919050565b6000610d8d82610d39565b9050919050565b6000610d9f82610da6565b9050919050565b6000610db182610d39565b9050919050565b82818337600083830152505050565b60005b83811015610de5578082015181840152602081019050610dca565b83811115610df4576000848401525b50505050565b610e0382610e92565b810181811067ffffffffffffffff82111715610e2257610e21610e63565b5b80604052505050565b6000610e3682610e47565b9050919050565b6000819050919050565b6000610e5282610ea3565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4d696e7465723a20696e76616c6964207369676e617475726500000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7465723a20616c7265616479206d696e74656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d696e7400000000000000000000000000000000000000000000000000000000600082015250565b610fd581610d1d565b8114610fe057600080fd5b50565b610fec81610d2f565b8114610ff757600080fd5b50565b61100381610d59565b811461100e57600080fd5b50565b61101a81610d63565b811461102557600080fd5b5056fea2646970667358221220dc905fe48fdfa15ef2f34b33a242665d78145271992215e171731c7f80edbf4f64736f6c63430008040033",
|
|
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100c4578063bf7e214f146100e2578063f2fde38b14610100578063fc0c546a1461011c5761007d565b806321e6b53d146100825780635e5b7c181461009e578063715018a6146100ba575b600080fd5b61009c60048036038101906100979190610845565b61013a565b005b6100b860048036038101906100b3919061086e565b610244565b005b6100c26104cc565b005b6100cc610554565b6040516100d99190610b75565b60405180910390f35b6100ea61057d565b6040516100f79190610b75565b60405180910390f35b61011a60048036038101906101159190610845565b6105a1565b005b610124610699565b6040516101319190610c05565b60405180910390f35b6101426106bd565b73ffffffffffffffffffffffffffffffffffffffff16610160610554565b73ffffffffffffffffffffffffffffffffffffffff16146101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad90610c80565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161020f9190610b75565b600060405180830381600087803b15801561022957600080fd5b505af115801561023d573d6000803e3d6000fd5b5050505050565b60004630878760405160200161025d9493929190610b20565b6040516020818303038152906040528051906020012090506000816040516020016102889190610afa565b604051602081830303815290604052805190602001209050600115156001600083815260200190815260200160002060009054906101000a900460ff1615151415610308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ff90610c60565b60405180910390fd5b60006001828787876040516000815260200160405260405161032d9493929190610bc0565b6020604051602081039080840390855afa15801561034f573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146103e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e090610c20565b60405180910390fd5b600180600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0def52189896040518363ffffffff1660e01b815260040161046f929190610b90565b602060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906108fd565b505050505050505050565b6104d46106bd565b73ffffffffffffffffffffffffffffffffffffffff166104f2610554565b73ffffffffffffffffffffffffffffffffffffffff1614610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f90610c80565b60405180910390fd5b61055260006106c5565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6105a96106bd565b73ffffffffffffffffffffffffffffffffffffffff166105c7610554565b73ffffffffffffffffffffffffffffffffffffffff161461061d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061490610c80565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561068d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068490610c40565b60405180910390fd5b610696816106c5565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061079c61079784610cc5565b610ca0565b9050828152602081018484840111156107b457600080fd5b6107bf848285610db8565b509392505050565b6000813590506107d681610fcc565b92915050565b6000813590506107eb81610fe3565b92915050565b600082601f83011261080257600080fd5b8135610812848260208601610789565b91505092915050565b60008151905061082a81610ffa565b92915050565b60008135905061083f81611011565b92915050565b60006020828403121561085757600080fd5b6000610865848285016107c7565b91505092915050565b600080600080600060a0868803121561088657600080fd5b6000610894888289016107c7565b955050602086013567ffffffffffffffff8111156108b157600080fd5b6108bd888289016107f1565b94505060406108ce88828901610830565b93505060606108df888289016107dc565b92505060806108f0888289016107dc565b9150509295509295909350565b60006020828403121561090f57600080fd5b600061091d8482850161081b565b91505092915050565b61092f81610d1d565b82525050565b61094661094182610d1d565b610e2b565b82525050565b61095581610d2f565b82525050565b61096c61096782610d2f565b610e3d565b82525050565b61097b81610d70565b82525050565b61099261098d82610d94565b610e2b565b82525050565b60006109a382610cf6565b6109ad8185610d01565b93506109bd818560208601610dc7565b6109c681610e92565b840191505092915050565b60006109dc82610cf6565b6109e68185610d12565b93506109f6818560208601610dc7565b80840191505092915050565b6000610a0f601c83610d12565b9150610a1a82610eb0565b601c82019050919050565b6000610a32601983610d01565b9150610a3d82610ed9565b602082019050919050565b6000610a55602683610d01565b9150610a6082610f02565b604082019050919050565b6000610a78601683610d01565b9150610a8382610f51565b602082019050919050565b6000610a9b602083610d01565b9150610aa682610f7a565b602082019050919050565b6000610abe600483610d12565b9150610ac982610fa3565b600482019050919050565b610ae5610ae082610d59565b610e59565b82525050565b610af481610d63565b82525050565b6000610b0582610a02565b9150610b11828461095b565b60208201915081905092915050565b6000610b2c8287610ad4565b602082019150610b3c8286610981565b601482019150610b4b82610ab1565b9150610b578285610935565b601482019150610b6782846109d1565b915081905095945050505050565b6000602082019050610b8a6000830184610926565b92915050565b6000604082019050610ba56000830185610926565b8181036020830152610bb78184610998565b90509392505050565b6000608082019050610bd5600083018761094c565b610be26020830186610aeb565b610bef604083018561094c565b610bfc606083018461094c565b95945050505050565b6000602082019050610c1a6000830184610972565b92915050565b60006020820190508181036000830152610c3981610a25565b9050919050565b60006020820190508181036000830152610c5981610a48565b9050919050565b60006020820190508181036000830152610c7981610a6b565b9050919050565b60006020820190508181036000830152610c9981610a8e565b9050919050565b6000610caa610cbb565b9050610cb68282610dfa565b919050565b6000604051905090565b600067ffffffffffffffff821115610ce057610cdf610e63565b5b610ce982610e92565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000610d2882610d39565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000610d7b82610d82565b9050919050565b6000610d8d82610d39565b9050919050565b6000610d9f82610da6565b9050919050565b6000610db182610d39565b9050919050565b82818337600083830152505050565b60005b83811015610de5578082015181840152602081019050610dca565b83811115610df4576000848401525b50505050565b610e0382610e92565b810181811067ffffffffffffffff82111715610e2257610e21610e63565b5b80604052505050565b6000610e3682610e47565b9050919050565b6000819050919050565b6000610e5282610ea3565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4d696e7465723a20696e76616c6964207369676e617475726500000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7465723a20616c7265616479206d696e74656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6d696e7400000000000000000000000000000000000000000000000000000000600082015250565b610fd581610d1d565b8114610fe057600080fd5b50565b610fec81610d2f565b8114610ff757600080fd5b50565b61100381610d59565b811461100e57600080fd5b50565b61101a81610d63565b811461102557600080fd5b5056fea2646970667358221220dc905fe48fdfa15ef2f34b33a242665d78145271992215e171731c7f80edbf4f64736f6c63430008040033",
|
|
"linkReferences": {},
|
|
"deployedLinkReferences": {}
|
|
}
|