@animoca/ethereum-contracts-sale
Version:
127 lines (126 loc) • 6.71 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "PurchaseNotificationsReceiverMock",
"sourceName": "contracts/mocks/sale/abstract/PurchaseNotificationsReceiverMock.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes4",
"name": "result",
"type": "bytes4"
}
],
"name": "OnPurchaseNotificationReceivedResult",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "PurchaseNotificationReceived",
"type": "event"
},
{
"inputs": [],
"name": "PURCHASE_NOTIFICATION_RECEIVED_RESULT",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
},
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
},
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"name": "onPurchaseNotificationReceived",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b506103d3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806301ffc9a71461004657806361eceae814610099578063c9dde55614610273575b600080fd5b6100856004803603602081101561005c57600080fd5b50357fffffffff000000000000000000000000000000000000000000000000000000001661027b565b604080519115158252519081900360200190f35b61023e60048036036101408110156100b057600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013582169260408201359092169160608201359160808101359181019060c0810160a082013564010000000081111561010557600080fd5b82018360208201111561011757600080fd5b8035906020019184600183028401116401000000008311171561013957600080fd5b9193909282359260408101906020013564010000000081111561015b57600080fd5b82018360208201111561016d57600080fd5b8035906020019184602083028401116401000000008311171561018f57600080fd5b9193909290916020810190356401000000008111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460208302840111640100000000831117156101e157600080fd5b9193909290916020810190356401000000008111156101ff57600080fd5b82018360208201111561021157600080fd5b8035906020019184602083028401116401000000008311171561023357600080fd5b5090925090506102c5565b604080517fffffffff000000000000000000000000000000000000000000000000000000009092168252519081900360200190f35b61023e610379565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f61eceae80000000000000000000000000000000000000000000000000000000014919050565b6040516000907faf051f3618aad08c47795b5fe3dabc284d5a7594e8ede9bddeea3c3012395edb908290a1604080517f61eceae800000000000000000000000000000000000000000000000000000000815290517f61eceae836ef303712cdd0c44537fcca4d240bda4dd998b83d4cb046607177a9917fffb5331ec0adf770cdc2542b0aaddc707717dba63305d6d89077e8e93e001821919081900360200190a19f9e505050505050505050505050505050565b7f61eceae836ef303712cdd0c44537fcca4d240bda4dd998b83d4cb046607177a98156fea2646970667358221220d34aa86f50e30f366e967f0b54f9875cdafa5eed1b36db3cf29227105af7f6bb64736f6c63430007060033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806301ffc9a71461004657806361eceae814610099578063c9dde55614610273575b600080fd5b6100856004803603602081101561005c57600080fd5b50357fffffffff000000000000000000000000000000000000000000000000000000001661027b565b604080519115158252519081900360200190f35b61023e60048036036101408110156100b057600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013582169260408201359092169160608201359160808101359181019060c0810160a082013564010000000081111561010557600080fd5b82018360208201111561011757600080fd5b8035906020019184600183028401116401000000008311171561013957600080fd5b9193909282359260408101906020013564010000000081111561015b57600080fd5b82018360208201111561016d57600080fd5b8035906020019184602083028401116401000000008311171561018f57600080fd5b9193909290916020810190356401000000008111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460208302840111640100000000831117156101e157600080fd5b9193909290916020810190356401000000008111156101ff57600080fd5b82018360208201111561021157600080fd5b8035906020019184602083028401116401000000008311171561023357600080fd5b5090925090506102c5565b604080517fffffffff000000000000000000000000000000000000000000000000000000009092168252519081900360200190f35b61023e610379565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f61eceae80000000000000000000000000000000000000000000000000000000014919050565b6040516000907faf051f3618aad08c47795b5fe3dabc284d5a7594e8ede9bddeea3c3012395edb908290a1604080517f61eceae800000000000000000000000000000000000000000000000000000000815290517f61eceae836ef303712cdd0c44537fcca4d240bda4dd998b83d4cb046607177a9917fffb5331ec0adf770cdc2542b0aaddc707717dba63305d6d89077e8e93e001821919081900360200190a19f9e505050505050505050505050505050565b7f61eceae836ef303712cdd0c44537fcca4d240bda4dd998b83d4cb046607177a98156fea2646970667358221220d34aa86f50e30f366e967f0b54f9875cdafa5eed1b36db3cf29227105af7f6bb64736f6c63430007060033",
"linkReferences": {},
"deployedLinkReferences": {}
}