[ { "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" }, { "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "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": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "mintMeMillion", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "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": "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" } ]
608060405234801561000f575f80fd5b506040518060400160405280601081526020017f546573745374616b696e67546f6b656e000000000000000000000000000000008152506040518060400160405280600381526020017f5453540000000000000000000000000000000000000000000000000000000000815250816003908161008b91906105ca565b50806004908161009b91906105ca565b5050506100ac6100b160201b60201c565b610974565b6100e8336100c36100ea60201b60201c565b600a6100cf9190610801565b620f42406100dd919061084b565b6100f260201b60201c565b565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610162575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161015991906108cb565b60405180910390fd5b6101735f838361017760201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036101c7578060025f8282546101bb91906108e4565b92505081905550610295565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610250578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161024793929190610926565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102dc578060025f8282540392505081905550610326565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610383919061095b565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061040b57607f821691505b60208210810361041e5761041d6103c7565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026104807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610445565b61048a8683610445565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6104ce6104c96104c4846104a2565b6104ab565b6104a2565b9050919050565b5f819050919050565b6104e7836104b4565b6104fb6104f3826104d5565b848454610451565b825550505050565b5f90565b61050f610503565b61051a8184846104de565b505050565b5b8181101561053d576105325f82610507565b600181019050610520565b5050565b601f8211156105825761055381610424565b61055c84610436565b8101602085101561056b578190505b61057f61057785610436565b83018261051f565b50505b505050565b5f82821c905092915050565b5f6105a25f1984600802610587565b1980831691505092915050565b5f6105ba8383610593565b9150826002028217905092915050565b6105d382610390565b67ffffffffffffffff8111156105ec576105eb61039a565b5b6105f682546103f4565b610601828285610541565b5f60209050601f831160018114610632575f8415610620578287015190505b61062a85826105af565b865550610691565b601f19841661064086610424565b5f5b8281101561066757848901518255600182019150602085019450602081019050610642565b868310156106845784890151610680601f891682610593565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561071b578086048111156106f7576106f6610699565b5b60018516156107065780820291505b8081029050610714856106c6565b94506106db565b94509492505050565b5f8261073357600190506107ee565b81610740575f90506107ee565b816001811461075657600281146107605761078f565b60019150506107ee565b60ff84111561077257610771610699565b5b8360020a91508482111561078957610788610699565b5b506107ee565b5060208310610133831016604e8410600b84101617156107c45782820a9050838111156107bf576107be610699565b5b6107ee565b6107d184848460016106d2565b925090508184048111156107e8576107e7610699565b5b81810290505b9392505050565b5f60ff82169050919050565b5f61080b826104a2565b9150610816836107f5565b92506108437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610724565b905092915050565b5f610855826104a2565b9150610860836104a2565b925082820261086e816104a2565b9150828204841483151761088557610884610699565b5b5092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6108b58261088c565b9050919050565b6108c5816108ab565b82525050565b5f6020820190506108de5f8301846108bc565b92915050565b5f6108ee826104a2565b91506108f9836104a2565b925082820190508082111561091157610910610699565b5b92915050565b610920816104a2565b82525050565b5f6060820190506109395f8301866108bc565b6109466020830185610917565b6109536040830184610917565b949350505050565b5f60208201905061096e5f830184610917565b92915050565b611091806109815f395ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c806340c10f191161006f57806340c10f191461016557806370a082311461018157806370d15e53146101b157806395d89b41146101bb578063a9059cbb146101d9578063dd62ed3e14610209576100a7565b806306fdde03146100ab578063095ea7b3146100c957806318160ddd146100f957806323b872dd14610117578063313ce56714610147575b5f80fd5b6100b3610239565b6040516100c09190610b50565b60405180910390f35b6100e360048036038101906100de9190610c01565b6102c9565b6040516100f09190610c59565b60405180910390f35b6101016102eb565b60405161010e9190610c81565b60405180910390f35b610131600480360381019061012c9190610c9a565b6102f4565b60405161013e9190610c59565b60405180910390f35b61014f610322565b60405161015c9190610d05565b60405180910390f35b61017f600480360381019061017a9190610c01565b61032a565b005b61019b60048036038101906101969190610d1e565b610338565b6040516101a89190610c81565b60405180910390f35b6101b961037d565b005b6101c36103aa565b6040516101d09190610b50565b60405180910390f35b6101f360048036038101906101ee9190610c01565b61043a565b6040516102009190610c59565b60405180910390f35b610223600480360381019061021e9190610d49565b61045c565b6040516102309190610c81565b60405180910390f35b60606003805461024890610db4565b80601f016020809104026020016040519081016040528092919081815260200182805461027490610db4565b80156102bf5780601f10610296576101008083540402835291602001916102bf565b820191905f5260205f20905b8154815290600101906020018083116102a257829003601f168201915b5050505050905090565b5f806102d36104de565b90506102e08185856104e5565b600191505092915050565b5f600254905090565b5f806102fe6104de565b905061030b8582856104f7565b610316858585610589565b60019150509392505050565b5f6012905090565b6103348282610679565b5050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6103a833610389610322565b600a6103959190610f40565b620f42406103a39190610f8a565b610679565b565b6060600480546103b990610db4565b80601f01602080910402602001604051908101604052809291908181526020018280546103e590610db4565b80156104305780601f1061040757610100808354040283529160200191610430565b820191905f5260205f20905b81548152906001019060200180831161041357829003601f168201915b5050505050905090565b5f806104446104de565b9050610451818585610589565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b6104f283838360016106f8565b505050565b5f610502848461045c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105835781811015610574578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161056b93929190610fda565b60405180910390fd5b61058284848484035f6106f8565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105f9575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105f0919061100f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610669575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610660919061100f565b60405180910390fd5b6106748383836108c7565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106e9575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106e0919061100f565b60405180910390fd5b6106f45f83836108c7565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610768575f6040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161075f919061100f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107d8575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107cf919061100f565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156108c1578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108b89190610c81565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610917578060025f82825461090b9190611028565b925050819055506109e5565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156109a0578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161099793929190610fda565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a2c578060025f8282540392505081905550610a76565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ad39190610c81565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610b2282610ae0565b610b2c8185610aea565b9350610b3c818560208601610afa565b610b4581610b08565b840191505092915050565b5f6020820190508181035f830152610b688184610b18565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610b9d82610b74565b9050919050565b610bad81610b93565b8114610bb7575f80fd5b50565b5f81359050610bc881610ba4565b92915050565b5f819050919050565b610be081610bce565b8114610bea575f80fd5b50565b5f81359050610bfb81610bd7565b92915050565b5f8060408385031215610c1757610c16610b70565b5b5f610c2485828601610bba565b9250506020610c3585828601610bed565b9150509250929050565b5f8115159050919050565b610c5381610c3f565b82525050565b5f602082019050610c6c5f830184610c4a565b92915050565b610c7b81610bce565b82525050565b5f602082019050610c945f830184610c72565b92915050565b5f805f60608486031215610cb157610cb0610b70565b5b5f610cbe86828701610bba565b9350506020610ccf86828701610bba565b9250506040610ce086828701610bed565b9150509250925092565b5f60ff82169050919050565b610cff81610cea565b82525050565b5f602082019050610d185f830184610cf6565b92915050565b5f60208284031215610d3357610d32610b70565b5b5f610d4084828501610bba565b91505092915050565b5f8060408385031215610d5f57610d5e610b70565b5b5f610d6c85828601610bba565b9250506020610d7d85828601610bba565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610dcb57607f821691505b602082108103610dde57610ddd610d87565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115610e6657808604811115610e4257610e41610de4565b5b6001851615610e515780820291505b8081029050610e5f85610e11565b9450610e26565b94509492505050565b5f82610e7e5760019050610f39565b81610e8b575f9050610f39565b8160018114610ea15760028114610eab57610eda565b6001915050610f39565b60ff841115610ebd57610ebc610de4565b5b8360020a915084821115610ed457610ed3610de4565b5b50610f39565b5060208310610133831016604e8410600b8410161715610f0f5782820a905083811115610f0a57610f09610de4565b5b610f39565b610f1c8484846001610e1d565b92509050818404811115610f3357610f32610de4565b5b81810290505b9392505050565b5f610f4a82610bce565b9150610f5583610cea565b9250610f827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610e6f565b905092915050565b5f610f9482610bce565b9150610f9f83610bce565b9250828202610fad81610bce565b91508282048414831517610fc457610fc3610de4565b5b5092915050565b610fd481610b93565b82525050565b5f606082019050610fed5f830186610fcb565b610ffa6020830185610c72565b6110076040830184610c72565b949350505050565b5f6020820190506110225f830184610fcb565b92915050565b5f61103282610bce565b915061103d83610bce565b925082820190508082111561105557611054610de4565b5b9291505056fea2646970667358221220dc133db74d719535210c74c2090da40131300380f1bb57bc43a9b10f6c9a8ae464736f6c634300081a0033