189 lines
24 KiB
JSON
189 lines
24 KiB
JSON
|
{
|
||
|
"_format": "hh-sol-artifact-1",
|
||
|
"contractName": "Manager",
|
||
|
"sourceName": "contracts/Manager.sol",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "contract MembershipToken",
|
||
|
"name": "token_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "contract Collectible",
|
||
|
"name": "collectible_",
|
||
|
"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": [],
|
||
|
"name": "collectible",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract Collectible",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "user",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "isAllowedUser",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "membershipToken",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract MembershipToken",
|
||
|
"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": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "to",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "transferCollectibleTokenOwnership",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "newOwner",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "transferOwnership",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"bytecode": "0x60e06040523480156200001157600080fd5b506040516200158938038062001589833981810160405281019062000037919062000216565b620000576200004b6200010560201b60201c565b6200010d60201b60201c565b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050505062000316565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001e281620002c8565b92915050565b600081519050620001f981620002e2565b92915050565b6000815190506200021081620002fc565b92915050565b6000806000606084860312156200022c57600080fd5b60006200023c86828701620001ff565b93505060206200024f86828701620001e8565b92505060406200026286828701620001d1565b9150509250925092565b60006200027982620002a8565b9050919050565b60006200028d826200026c565b9050919050565b6000620002a1826200026c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002d3816200026c565b8114620002df57600080fd5b50565b620002ed8162000280565b8114620002f957600080fd5b50565b620003078162000294565b81146200031357600080fd5b50565b60805160601c60a05160601c60c05160601c61121e6200036b600039600081816102b701526106bb0152600081816103700152818161062d01526106df0152600081816104280152610500015261121e6000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80639fe34d9f116100665780639fe34d9f146100fa578063bc37b5731461012a578063bf7e214f14610146578063ea05a7d014610164578063f2fde38b1461018257610093565b80635e5b7c181461009857806362ad351b146100b4578063715018a6146100d25780638da5cb5b146100dc575b600080fd5b6100b260048036038101906100ad91906109aa565b61019e565b005b6100bc610426565b6040516100c99190610d95565b60405180910390f35b6100da61044a565b005b6100e46104d2565b6040516100f19190610ccf565b60405180910390f35b610114600480360381019061010f9190610981565b6104fb565b6040516101219190610d1a565b60405180910390f35b610144600480360381019061013f9190610981565b6105af565b005b61014e6106b9565b60405161015b9190610ccf565b60405180910390f35b61016c6106dd565b6040516101799190610d7a565b60405180910390f35b61019c60048036038101906101979190610981565b610701565b005b6000463087876040516020016101b79493929190610c7a565b6040516020818303038152906040528051906020012090506000816040516020016101e29190610c54565b604051602081830303815290604052805190602001209050600115156001600083815260200190815260200160002060009054906101000a900460ff1615151415610262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025990610dd0565b60405180910390fd5b6000600182878787604051600081526020016040526040516102879493929190610d35565b6020604051602081039080840390855afa1580156102a9573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033a90610e10565b60405180910390fd5b600180600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0def52189896040518363ffffffff1660e01b81526004016103c9929190610cea565b602060405180830381600087803b1580156103e357600080fd5b505af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190610a39565b505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6104526107f9565b73ffffffffffffffffffffffffffffffffffffffff166104706104d2565b73ffffffffffffffffffffffffffffffffffffffff16146104c657
|
||
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c80639fe34d9f116100665780639fe34d9f146100fa578063bc37b5731461012a578063bf7e214f14610146578063ea05a7d014610164578063f2fde38b1461018257610093565b80635e5b7c181461009857806362ad351b146100b4578063715018a6146100d25780638da5cb5b146100dc575b600080fd5b6100b260048036038101906100ad91906109aa565b61019e565b005b6100bc610426565b6040516100c99190610d95565b60405180910390f35b6100da61044a565b005b6100e46104d2565b6040516100f19190610ccf565b60405180910390f35b610114600480360381019061010f9190610981565b6104fb565b6040516101219190610d1a565b60405180910390f35b610144600480360381019061013f9190610981565b6105af565b005b61014e6106b9565b60405161015b9190610ccf565b60405180910390f35b61016c6106dd565b6040516101799190610d7a565b60405180910390f35b61019c60048036038101906101979190610981565b610701565b005b6000463087876040516020016101b79493929190610c7a565b6040516020818303038152906040528051906020012090506000816040516020016101e29190610c54565b604051602081830303815290604052805190602001209050600115156001600083815260200190815260200160002060009054906101000a900460ff1615151415610262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025990610dd0565b60405180910390fd5b6000600182878787604051600081526020016040526040516102879493929190610d35565b6020604051602081039080840390855afa1580156102a9573d6000803e3d6000fd5b5050506020604051035190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033a90610e10565b60405180910390fd5b600180600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0def52189896040518363ffffffff1660e01b81526004016103c9929190610cea565b602060405180830381600087803b1580156103e357600080fd5b505af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190610a39565b505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6104526107f9565b73ffffffffffffffffffffffffffffffffffffffff166104706104d2565b73ffffffffffffffffffffffffffffffffffffffff16146104c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bd90610df0565b60405180910390fd5b6104d06000610801565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016105579190610ccf565b60206040518083038186803b15801561056f57600080fd5b505afa158015610583573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a79190610a39565b119050919050565b6105b76107f9565b73ffffffffffffffffffffffffffffffffffffffff166105d56104d2565b73ffffffffffffffffffffffffffffffffffffffff161461062b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062290610df0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b81526004016106849190610ccf565b600060405180830381600087803b15801561069e57600080fd5b505af11580156106b2573d6000803e3d6000fd5b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6107096107f9565b73ffffffffffffffffffffffffffffffffffffffff166107276104d2565b73ffffffffffffffffffffffffffffffffffffffff161461077d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077490610df0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e490610db0565b60405180910390fd5b6107f68161
|
||
|
"linkReferences": {},
|
||
|
"deployedLinkReferences": {}
|
||
|
}
|