[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "address", "name": "_mekception", "type": "address" }, { "internalType": "address", "name": "_creator", "type": "address" }, { "internalType": "address", "name": "_author", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AddressZero", "type": "error" }, { "inputs": [], "name": "AmountZero", "type": "error" }, { "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": [], "name": "MaxAmountExceeded", "type": "error" }, { "inputs": [], "name": "OnlyProtocol", "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": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Mint", "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": "_author", "type": "address" } ], "name": "addAuthor", "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": [], "name": "author", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "creator", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mekception", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "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" } ]
60806040523480156200001157600080fd5b5060405162001e8138038062001e81833981810160405281019062000037919062000613565b848481600390816200004a919062000924565b5080600490816200005c919062000924565b50505082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506b033b2e3c9fd0803ce800000060088190555062000153836b033b2e3c9fd0803ce80000006200015e60201b60201c565b505050505062000b0e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001d35760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620001ca919062000a1c565b60405180910390fd5b620001e760008383620001eb60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200024157806002600082825462000234919062000a68565b9250508190555062000317565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620002d0578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620002c79392919062000ab4565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003625780600260008282540392505081905550620003af565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200040e919062000af1565b60405180910390a3505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004848262000439565b810181811067ffffffffffffffff82111715620004a657620004a56200044a565b5b80604052505050565b6000620004bb6200041b565b9050620004c9828262000479565b919050565b600067ffffffffffffffff821115620004ec57620004eb6200044a565b5b620004f78262000439565b9050602081019050919050565b60005b838110156200052457808201518184015260208101905062000507565b60008484015250505050565b6000620005476200054184620004ce565b620004af565b90508281526020810184848401111562000566576200056562000434565b5b6200057384828562000504565b509392505050565b600082601f8301126200059357620005926200042f565b5b8151620005a584826020860162000530565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005db82620005ae565b9050919050565b620005ed81620005ce565b8114620005f957600080fd5b50565b6000815190506200060d81620005e2565b92915050565b600080600080600060a0868803121562000632576200063162000425565b5b600086015167ffffffffffffffff8111156200065357620006526200042a565b5b62000661888289016200057b565b955050602086015167ffffffffffffffff8111156200068557620006846200042a565b5b62000693888289016200057b565b9450506040620006a688828901620005fc565b9350506060620006b988828901620005fc565b9250506080620006cc88828901620005fc565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072c57607f821691505b602082108103620007425762000741620006e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007ac7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200076d565b620007b886836200076d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000805620007ff620007f984620007d0565b620007da565b620007d0565b9050919050565b6000819050919050565b6200082183620007e4565b6200083962000830826200080c565b8484546200077a565b825550505050565b600090565b6200085062000841565b6200085d81848462000816565b505050565b5b8181101562000885576200087960008262000846565b60018101905062000863565b5050565b601f821115620008d4576200089e8162000748565b620008a9846200075d565b81016020851015620008b9578190505b620008d1620008c8856200075d565b83018262000862565b50505b505050565b600082821c905092915050565b6000620008f960001984600802620008d9565b1980831691505092915050565b6000620009148383620008e6565b9150826002028217905092915050565b6200092f82620006d9565b67ffffffffffffffff8111156200094b576200094a6200044a565b5b62000957825462000713565b6200096482828562000889565b600060209050601f8311600181146200099c576000841562000987578287015190505b62000993858262000906565b86555062000a03565b601f198416620009ac8662000748565b60005b82811015620009d657848901518255600182019150602085019450602081019050620009af565b86831015620009f65784890151620009f2601f891682620008e6565b8355505b6001600288020188555050505b505050505050565b62000a1681620005ce565b82525050565b600060208201905062000a33600083018462000a0b565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000a7582620007d0565b915062000a8283620007d0565b925082820190508082111562000a9d5762000a9c62000a39565b5b92915050565b62000aae81620007d0565b82525050565b600060608201905062000acb600083018662000a0b565b62000ada602083018562000aa3565b62000ae9604083018462000aa3565b949350505050565b600060208201905062000b08600083018462000aa3565b92915050565b6113638062000b1e6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063313ce56711610097578063a6c3e6b911610066578063a6c3e6b914610276578063a9059cbb14610294578063d5abeb01146102c4578063dd62ed3e146102e2576100f5565b8063313ce567146101ee57806340c10f191461020c57806370a082311461022857806395d89b4114610258576100f5565b80630f6533c4116100d35780630f6533c41461016657806318160ddd1461018457806323b872dd146101a25780632ddbc97e146101d2576100f5565b806302d05d3f146100fa57806306fdde0314610118578063095ea7b314610136575b600080fd5b610102610312565b60405161010f9190610f68565b60405180910390f35b610120610338565b60405161012d9190611013565b60405180910390f35b610150600480360381019061014b919061109c565b6103ca565b60405161015d91906110f7565b60405180910390f35b61016e6103ed565b60405161017b9190610f68565b60405180910390f35b61018c610413565b6040516101999190611121565b60405180910390f35b6101bc60048036038101906101b7919061113c565b61041d565b6040516101c991906110f7565b60405180910390f35b6101ec60048036038101906101e7919061118f565b61044c565b005b6101f661057d565b60405161020391906111d8565b60405180910390f35b6102266004803603810190610221919061109c565b610586565b005b610242600480360381019061023d919061118f565b610757565b60405161024f9190611121565b60405180910390f35b61026061079f565b60405161026d9190611013565b60405180910390f35b61027e610831565b60405161028b9190610f68565b60405180910390f35b6102ae60048036038101906102a9919061109c565b610857565b6040516102bb91906110f7565b60405180910390f35b6102cc61087a565b6040516102d99190611121565b60405180910390f35b6102fc60048036038101906102f791906111f3565b610880565b6040516103099190611121565b60405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461034790611262565b80601f016020809104026020016040519081016040528092919081815260200182805461037390611262565b80156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b5050505050905090565b6000806103d5610907565b90506103e281858561090f565b600191505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b600080610428610907565b9050610435858285610921565b6104408585856109b5565b60019150509392505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104d3576040517fd35a97ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610539576040517f9fabe1c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006012905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461060d576040517fd35a97ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610673576040517f9fabe1c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081036106ad576040517fcbca5aa200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600854816106b9610413565b6106c391906112c2565b11156106fb576040517fa049dfc700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107058282610aa9565b8173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161074b9190611121565b60405180910390a25050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546107ae90611262565b80601f01602080910402602001604051908101604052809291908181526020018280546107da90611262565b80156108275780601f106107fc57610100808354040283529160200191610827565b820191906000526020600020905b81548152906001019060200180831161080a57829003601f168201915b5050505050905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610862610907565b905061086f8185856109b5565b600191505092915050565b60085481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b61091c8383836001610b2b565b505050565b600061092d8484610880565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109af578181101561099f578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401610996939291906112f6565b60405180910390fd5b6109ae84848484036000610b2b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a275760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610a1e9190610f68565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a995760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610a909190610f68565b60405180910390fd5b610aa4838383610d02565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b1b5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610b129190610f68565b60405180910390fd5b610b2760008383610d02565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610b9d5760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610b949190610f68565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c0f5760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610c069190610f68565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015610cfc578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610cf39190611121565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d54578060026000828254610d4891906112c2565b92505081905550610e27565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610de0578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610dd7939291906112f6565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e705780600260008282540392505081905550610ebd565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f1a9190611121565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f5282610f27565b9050919050565b610f6281610f47565b82525050565b6000602082019050610f7d6000830184610f59565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610fbd578082015181840152602081019050610fa2565b60008484015250505050565b6000601f19601f8301169050919050565b6000610fe582610f83565b610fef8185610f8e565b9350610fff818560208601610f9f565b61100881610fc9565b840191505092915050565b6000602082019050818103600083015261102d8184610fda565b905092915050565b600080fd5b61104381610f47565b811461104e57600080fd5b50565b6000813590506110608161103a565b92915050565b6000819050919050565b61107981611066565b811461108457600080fd5b50565b60008135905061109681611070565b92915050565b600080604083850312156110b3576110b2611035565b5b60006110c185828601611051565b92505060206110d285828601611087565b9150509250929050565b60008115159050919050565b6110f1816110dc565b82525050565b600060208201905061110c60008301846110e8565b92915050565b61111b81611066565b82525050565b60006020820190506111366000830184611112565b92915050565b60008060006060848603121561115557611154611035565b5b600061116386828701611051565b935050602061117486828701611051565b925050604061118586828701611087565b9150509250925092565b6000602082840312156111a5576111a4611035565b5b60006111b384828501611051565b91505092915050565b600060ff82169050919050565b6111d2816111bc565b82525050565b60006020820190506111ed60008301846111c9565b92915050565b6000806040838503121561120a57611209611035565b5b600061121885828601611051565b925050602061122985828601611051565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061127a57607f821691505b60208210810361128d5761128c611233565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006112cd82611066565b91506112d883611066565b92508282019050808211156112f0576112ef611293565b5b92915050565b600060608201905061130b6000830186610f59565b6113186020830185611112565b6113256040830184611112565b94935050505056fea2646970667358221220f7a993c0f336f38fda2651178d8226c110d00a5df4bf374444e67d2875041a5064736f6c6343000818003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f13f05306e9e1e06baa11ca882497022a7a669090000000000000000000000005eeb462b06e0fc72d1018224d3ed96a7e739b9930000000000000000000000005eeb462b06e0fc72d1018224d3ed96a7e739b99300000000000000000000000000000000000000000000000000000000000000064d4f4e444159000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d4f4e4441590000000000000000000000000000000000000000000000000000