[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "NAME", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "SYMBOL", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TOKENS_PER_MINT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "addresses", "type": "address[]" } ], "name": "addToWhitelist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasMinted", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "isWhitelisted", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "addresses", "type": "address[]" } ], "name": "removeFromWhitelist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b5033604051806040016040528060078152602001665745423343584960c81b81525060405180604001604052806005815260200164573343584960d81b8152508160039081620000629190620001ae565b506004620000718282620001ae565b5050506001600160a01b038116620000a357604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000ae81620000b5565b506200027a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013257607f821691505b6020821081036200015357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a9576000816000526020600020601f850160051c81016020861015620001845750805b601f850160051c820191505b81811015620001a55782815560010162000190565b5050505b505050565b81516001600160401b03811115620001ca57620001ca62000107565b620001e281620001db84546200011d565b8462000159565b602080601f8311600181146200021a5760008415620002015750858301515b600019600386901b1c1916600185901b178555620001a5565b600085815260208120601f198616915b828110156200024b578886015182559484019460019091019084016200022a565b50858210156200026a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610cf3806200028a6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a9059cbb11610071578063a9059cbb146102a8578063dd62ed3e146102bb578063ed016a46146102f4578063f2fde38b14610303578063f76f8d781461031657600080fd5b8063715018a6146102445780637f6497831461024c5780638da5cb5b1461025f57806395d89b411461027a578063a3f4df7e1461028257600080fd5b8063313ce567116100f4578063313ce567146101a157806338e21cce146101b05780633af32abf146101dc578063548db1741461020857806370a082311461021b57600080fd5b806306fdde0314610131578063095ea7b31461014f5780631249c58b1461017257806318160ddd1461017c57806323b872dd1461018e575b600080fd5b61013961033a565b6040516101469190610a4b565b60405180910390f35b61016261015d366004610ab6565b6103cc565b6040519015158152602001610146565b61017a6103e6565b005b6002545b604051908152602001610146565b61016261019c366004610ae0565b6104d8565b60405160128152602001610146565b6101626101be366004610b1c565b6001600160a01b031660009081526007602052604090205460ff1690565b6101626101ea366004610b1c565b6001600160a01b031660009081526006602052604090205460ff1690565b61017a610216366004610b54565b6104fc565b610180610229366004610b1c565b6001600160a01b031660009081526020819052604090205490565b61017a610566565b61017a61025a366004610b54565b610578565b6005546040516001600160a01b039091168152602001610146565b6101396105de565b610139604051806040016040528060078152602001665745423343584960c81b81525081565b6101626102b6366004610ab6565b6105ed565b6101806102c9366004610c19565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610180670de0b6b3a764000081565b61017a610311366004610b1c565b6105fb565b61013960405180604001604052806005815260200164573343584960d81b81525081565b60606003805461034990610c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461037590610c4c565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b6000336103da818585610639565b60019150505b92915050565b3360009081526006602052604090205460ff1661044a5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c697374656400000000000060448201526064015b60405180910390fd5b3360009081526007602052604090205460ff16156104aa5760405162461bcd60e51b815260206004820152601a60248201527f416464726573732068617320616c7265616479206d696e7465640000000000006044820152606401610441565b336000818152600760205260409020805460ff191660011790556104d690670de0b6b3a764000061064b565b565b6000336104e6858285610681565b6104f18585856106ff565b506001949350505050565b61050461075e565b60005b81518110156105625760006006600084848151811061052857610528610c86565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610507565b5050565b61056e61075e565b6104d6600061078b565b61058061075e565b60005b8151811015610562576001600660008484815181106105a4576105a4610c86565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610583565b60606004805461034990610c4c565b6000336103da8185856106ff565b61060361075e565b6001600160a01b03811661062d57604051631e4fbdf760e01b815260006004820152602401610441565b6106368161078b565b50565b61064683838360016107dd565b505050565b6001600160a01b0382166106755760405163ec442f0560e01b815260006004820152602401610441565b610562600083836108b2565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146106f957818110156106ea57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610441565b6106f9848484840360006107dd565b50505050565b6001600160a01b03831661072957604051634b637e8f60e11b815260006004820152602401610441565b6001600160a01b0382166107535760405163ec442f0560e01b815260006004820152602401610441565b6106468383836108b2565b6005546001600160a01b031633146104d65760405163118cdaa760e01b8152336004820152602401610441565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166108075760405163e602df0560e01b815260006004820152602401610441565b6001600160a01b03831661083157604051634a1406b160e11b815260006004820152602401610441565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156106f957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108a491815260200190565b60405180910390a350505050565b6001600160a01b03831615806108cf57506001600160a01b038216155b61091b5760405162461bcd60e51b815260206004820152601e60248201527f5468697320746f6b656e206973206e6f74207472616e7366657261626c6500006044820152606401610441565b6106468383836001600160a01b03831661094c5780600260008282546109419190610c9c565b909155506109be9050565b6001600160a01b0383166000908152602081905260409020548181101561099f5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610441565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166109da576002805482900390556109f9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a3e91815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b81811015610a7957858101830151858201604001528201610a5d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ab157600080fd5b919050565b60008060408385031215610ac957600080fd5b610ad283610a9a565b946020939093013593505050565b600080600060608486031215610af557600080fd5b610afe84610a9a565b9250610b0c60208501610a9a565b9150604084013590509250925092565b600060208284031215610b2e57600080fd5b610b3782610a9a565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610b6757600080fd5b823567ffffffffffffffff80821115610b7f57600080fd5b818501915085601f830112610b9357600080fd5b813581811115610ba557610ba5610b3e565b8060051b604051601f19603f83011681018181108582111715610bca57610bca610b3e565b604052918252848201925083810185019188831115610be857600080fd5b938501935b82851015610c0d57610bfe85610a9a565b84529385019392850192610bed565b98975050505050505050565b60008060408385031215610c2c57600080fd5b610c3583610a9a565b9150610c4360208401610a9a565b90509250929050565b600181811c90821680610c6057607f821691505b602082108103610c8057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b808201808211156103e057634e487b7160e01b600052601160045260246000fdfea26469706673582212205310f13bc8c221e235d92161d36ac57a561cb0532a75a4d75331ac5762ed6aef64736f6c63430008180033