fedimovies/contracts/Minter.json

152 lines
21 KiB
JSON
Raw Normal View History

2021-04-09 00:22:17 +00:00
{
"_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": "0x60c06040523480156200001157600080fd5b5060405162001323380380620013238339818101604052810190620000379190620001c7565b620000576200004b620000cd60201b60201c565b620000d560201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505062000284565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001aa8162000250565b92915050565b600081519050620001c1816200026a565b92915050565b60008060408385031215620001db57600080fd5b6000620001eb85828601620001b0565b9250506020620001fe8582860162000199565b9150509250929050565b6000620002158262000230565b9050919050565b6000620002298262000208565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200025b8162000208565b81146200026757600080fd5b50565b62000275816200021c565b81146200028157600080fd5b50565b60805160601c60a05160601c61105e620002c56000396000818161035d015261057f0152600081816101b801528181610416015261069b015261105e6000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100c4578063bf7e214f146100e2578063f2fde38b14610100578063fc0c546a1461011c5761007d565b806321e6b53d146100825780635e5b7c181461009e578063715018a6146100ba575b600080fd5b61009c60048036038101906100979190610845565b61013a565b005b6100b860048036038101906100b3919061086e565b610244565b005b6100c26104cc565b005b6100cc610554565b6040516100d99190610b75565b60405180910390f35b6100ea61057d565b6040516100f79190610b75565b60405180910390f35b61011a60048036038101906101159190610845565b6105a1565b005b610124610699565b6040516101319190610c05565b60405180910390f35b6101426106bd565b73ffffffffffffffffffffffffffffffffffffffff16610160610554565b73ffffffffffffffffffffffffffffffffffffffff16146101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad90610c80565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161020f9190610b75565b600060405180830381600087803b15801561022957600080fd5b505af115801561023d573d6000803e3d6000fd5b5050505050565b60004630878760405160200161025d9493929190610b20565b6040516020818303038152906040528051906020012090506000816040516020016102889190610afa565b604051602081830303815290604052805190602001209050600115156001600083815260200190815260200160002060009054906101000a900460ff1615151415610308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ff90610c60565b60405180910390fd5b60006001828787876040516000815260200160405260405161032d9493929190610bc0565b6020604051602081039080840390855afa15801561034f573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146103e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e090610c20565b60405180910390fd5b600180600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0def52189896040518363ffffffff1660e01b815260040161046f929190610b90565b602060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906108fd565b505050505050505050565b6104d46106bd565b73ffffffffffffffffffffffffffffffffffffffff166104f2610554565b73ffffffffffffffffffffffffffffffffffffffff1614610548576040517f08c379a000000000000000000000000000000000000000000000000000000000
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100c4578063bf7e214f146100e2578063f2fde38b14610100578063fc0c546a1461011c5761007d565b806321e6b53d146100825780635e5b7c181461009e578063715018a6146100ba575b600080fd5b61009c60048036038101906100979190610845565b61013a565b005b6100b860048036038101906100b3919061086e565b610244565b005b6100c26104cc565b005b6100cc610554565b6040516100d99190610b75565b60405180910390f35b6100ea61057d565b6040516100f79190610b75565b60405180910390f35b61011a60048036038101906101159190610845565b6105a1565b005b610124610699565b6040516101319190610c05565b60405180910390f35b6101426106bd565b73ffffffffffffffffffffffffffffffffffffffff16610160610554565b73ffffffffffffffffffffffffffffffffffffffff16146101b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ad90610c80565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161020f9190610b75565b600060405180830381600087803b15801561022957600080fd5b505af115801561023d573d6000803e3d6000fd5b5050505050565b60004630878760405160200161025d9493929190610b20565b6040516020818303038152906040528051906020012090506000816040516020016102889190610afa565b604051602081830303815290604052805190602001209050600115156001600083815260200190815260200160002060009054906101000a900460ff1615151415610308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ff90610c60565b60405180910390fd5b60006001828787876040516000815260200160405260405161032d9493929190610bc0565b6020604051602081039080840390855afa15801561034f573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146103e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e090610c20565b60405180910390fd5b600180600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0def52189896040518363ffffffff1660e01b815260040161046f929190610b90565b602060405180830381600087803b15801561048957600080fd5b505af115801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906108fd565b505050505050505050565b6104d46106bd565b73ffffffffffffffffffffffffffffffffffffffff166104f2610554565b73ffffffffffffffffffffffffffffffffffffffff1614610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f90610c80565b60405180910390fd5b61055260006106c5565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6105a96106bd565b73ffffffffffffffffffffffffffffffffffffffff166105c7610554565b73ffffffffffffffffffffffffffffffffffffffff161461061d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061490610c80565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561068d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068490610c40565b60405180910390fd5b610696816106c5565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061079c61079784610cc5565b610ca0565b9050828152602081018484840111156107b457600080fd5b6107bf848285610db8565b509392505050565b6000813590506107d681610fcc565b92915050565b6000813590506107eb81610fe3565b92915050565b60
"linkReferences": {},
"deployedLinkReferences": {}
}