work-sample/src/Airdrop.json

106 lines
14 KiB
JSON
Raw Normal View History

2022-12-07 21:31:13 -08:00
{
"_format": "hh-sol-artifact-1",
"contractName": "Airdrop",
"sourceName": "contracts/Airdrop.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_token",
"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": [
{
"internalType": "address[]",
"name": "_recipients",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "amount",
"type": "uint256[]"
}
],
"name": "airdropTokens",
"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": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b50604051610d0c380380610d0c833981810160405281019061003291906101c4565b61004e61004361009560201b60201c565b61009d60201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506101f1565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061019182610166565b9050919050565b6101a181610186565b81146101ac57600080fd5b50565b6000815190506101be81610198565b92915050565b6000602082840312156101da576101d9610161565b5b60006101e8848285016101af565b91505092915050565b610b0c806102006000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063706f69371461005c578063715018a6146100785780638da5cb5b14610082578063f2fde38b146100a0578063fc0c546a146100bc575b600080fd5b61007660048036038101906100719190610715565b6100da565b005b610080610221565b005b61008a610235565b604051610097919061079c565b60405180910390f35b6100ba60048036038101906100b591906107b7565b61025e565b005b6100c46102e1565b6040516100d1919061079c565b60405180910390f35b6100e2610307565b8051825114610126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161011d90610867565b60405180910390fd5b60005b825181101561021c57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3385848151811061018457610183610887565b5b602002602001015185858151811061019f5761019e610887565b5b60200260200101516040518463ffffffff1660e01b81526004016101c5939291906108c5565b6020604051808303816000875af11580156101e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102089190610934565b50808061021490610990565b915050610129565b505050565b610229610307565b6102336000610385565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610266610307565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cc90610a4a565b60405180910390fd5b6102de81610385565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61030f610449565b73ffffffffffffffffffffffffffffffffffffffff1661032d610235565b73ffffffffffffffffffffffffffffffffffffffff1614610383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037a90610ab6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104b38261046a565b810181811067ffffffffffffffff821117156104d2576104d161047b565b5b80604052505050565b60006104e5610451565b90506104f182826104aa565b919050565b600067ffffffffffffffff8211156105115761051061047b565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061055282610527565b9050919050565b61056281610547565b811461056d57600080fd5b50565b60008135905061057f81610559565b92915050565b6000610598610593846104f6565b6104db565b905080838252602082019050602084028301858111156105bb576105ba610522565b5b835b818110156105e457806105d08882610570565b8452602084019350506020810190506105bd565b5050509392505050565b600082601f830112
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063706f69371461005c578063715018a6146100785780638da5cb5b14610082578063f2fde38b146100a0578063fc0c546a146100bc575b600080fd5b61007660048036038101906100719190610715565b6100da565b005b610080610221565b005b61008a610235565b604051610097919061079c565b60405180910390f35b6100ba60048036038101906100b591906107b7565b61025e565b005b6100c46102e1565b6040516100d1919061079c565b60405180910390f35b6100e2610307565b8051825114610126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161011d90610867565b60405180910390fd5b60005b825181101561021c57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3385848151811061018457610183610887565b5b602002602001015185858151811061019f5761019e610887565b5b60200260200101516040518463ffffffff1660e01b81526004016101c5939291906108c5565b6020604051808303816000875af11580156101e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102089190610934565b50808061021490610990565b915050610129565b505050565b610229610307565b6102336000610385565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610266610307565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cc90610a4a565b60405180910390fd5b6102de81610385565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61030f610449565b73ffffffffffffffffffffffffffffffffffffffff1661032d610235565b73ffffffffffffffffffffffffffffffffffffffff1614610383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037a90610ab6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6104b38261046a565b810181811067ffffffffffffffff821117156104d2576104d161047b565b5b80604052505050565b60006104e5610451565b90506104f182826104aa565b919050565b600067ffffffffffffffff8211156105115761051061047b565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061055282610527565b9050919050565b61056281610547565b811461056d57600080fd5b50565b60008135905061057f81610559565b92915050565b6000610598610593846104f6565b6104db565b905080838252602082019050602084028301858111156105bb576105ba610522565b5b835b818110156105e457806105d08882610570565b8452602084019350506020810190506105bd565b5050509392505050565b600082601f83011261060357610602610465565b5b8135610613848260208601610585565b91505092915050565b600067ffffffffffffffff8211156106375761063661047b565b5b602082029050602081019050919050565b6000819050919050565b61065b81610648565b811461066657600080fd5b50565b60008135905061067881610652565b92915050565b600061069161068c8461061c565b6104db565b905080838252602082019050602084028301858111156106b4576106b3610522565b5b835b818110156106dd57806106c98882610669565b8452602084019350506020810190506106b6565b5050509392505050565b600082601f8301126106fc576106fb610465565b5b813561070c84826020860161067e565b91505092915050565b6000806040838503121561072c5761072b61045b565b5b600083013567ffffffffffffffff81111561074a57610749610460565b5b610756858286016105ee565b925050602083013567ffffffffffffffff81111561077757610776610460565b5b610783858286016106e7565b9150509250929050565b61079681610547565b82525050565b60006020820190506107b1600083018461078d565b92915050565b6000602082840312156107cd576107cc61045b565b5b60006107db84828501610570565b91505092915050565b6000828252602082019050929150
"linkReferences": {},
"deployedLinkReferences": {}
}