[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "bytes32", "name": "maxSupply", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "_maxSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "_totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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": "amount", "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": [], "name": "getHolders", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "a", "type": "address" } ], "name": "isOwner", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": "amount", "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": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b5060405162000f5038038062000f5083398101604081905262000034916200016c565b60026200004284826200026e565b5060036200005183826200026e565b506004819055336000818152602081905260408082206a084595161401484a0000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35050506200033a565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000cf57600080fd5b81516001600160401b0380821115620000ec57620000ec620000a7565b604051601f8301601f19908116603f01168101908282118183101715620001175762000117620000a7565b816040528381526020925086838588010111156200013457600080fd5b600091505b8382101562000158578582018301518183018401529082019062000139565b600093810190920192909252949350505050565b6000806000606084860312156200018257600080fd5b83516001600160401b03808211156200019a57600080fd5b620001a887838801620000bd565b94506020860151915080821115620001bf57600080fd5b50620001ce86828701620000bd565b925050604084015190509250925092565b600181811c90821680620001f457607f821691505b6020821081036200021557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026957600081815260208120601f850160051c81016020861015620002445750805b601f850160051c820191505b81811015620002655782815560010162000250565b5050505b505050565b81516001600160401b038111156200028a576200028a620000a7565b620002a2816200029b8454620001df565b846200021b565b602080601f831160018114620002da5760008415620002c15750858301515b600019600386901b1c1916600185901b17855562000265565b600085815260208120601f198616915b828110156200030b57888601518255948401946001909101908401620002ea565b50858210156200032a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610c06806200034a6000396000f3fe608060405234801561001057600080fd5b50600436106100af5760003560e01c806306fdde03146100b4578063095ea7b3146100d257806318160ddd146100f557806322f4596f1461011057806323b872dd146101195780632f54bf6e1461012c578063313ce5671461013f5780633eaaf86b1461014e5780635fe8e7cc1461016057806370a082311461017557806395d89b411461019e578063a9059cbb146101a6578063dd62ed3e146101b9575b600080fd5b6100bc6101cc565b6040516100c99190610979565b60405180910390f35b6100e56100e03660046109c8565b61025e565b60405190151581526020016100c9565b6a084595161401484a0000005b6040519081526020016100c9565b61010260045481565b6100e56101273660046109f2565b610275565b6100e561013a366004610a2e565b610297565b604051601281526020016100c9565b6101026a084595161401484a00000081565b610168610352565b6040516100c99190610a49565b610102610183366004610a2e565b6001600160a01b031660009081526020819052604090205490565b6100bc6103b3565b6100e56101b43660046109c8565b6103c2565b6101026101c7366004610a96565b6103db565b6060600280546101db90610ac9565b80601f016020809104026020016040519081016040528092919081815260200182805461020790610ac9565b80156102545780601f1061022957610100808354040283529160200191610254565b820191906000526020600020905b81548152906001019060200180831161023757829003601f168201915b5050505050905090565b600061026b338484610406565b5060015b92915050565b60006102828433846104f7565b61028d8484846105a3565b5060019392505050565b60006004546002336040516020016102af9190610b03565b60408051601f19818403018152908290526102c991610b1b565b602060405180830381855afa1580156102e6573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906103099190610b37565b0361034a576001600160a01b03821660009081527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb4960205260409020600190555b506000919050565b6060600580548060200260200160405190810160405280929190818152602001828054801561025457602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161038c575050505050905090565b6060600380546101db90610ac9565b6000336103d08185846104f7565b61028d8185856105a3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104355760405162461bcd60e51b815260040161042c90610b50565b60405180910390fd5b6001600160a01b0382166104965760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161042c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006105046000856103db565b905080156105245760405162461bcd60e51b815260040161042c90610b50565b61052e84846103db565b9050600019811461059d57818110156105895760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161042c565b61059d84846105988486610875565b610406565b50505050565b6001600160a01b0383166106075760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161042c565b6001600160a01b0382166106695760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161042c565b60006106766000856103db565b905080156106965760405162461bcd60e51b815260040161042c90610b50565b6001600160a01b038416600090815260208181526040918290205460045492519092859290916002916106cb918a9101610b03565b60408051601f19818403018152908290526106e591610b1b565b602060405180830381855afa158015610702573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906107259190610b37565b0361073c578184106107375781610739565b835b90505b8082101561079b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161042c565b6107a58282610875565b6001600160a01b0380881660009081526020819052604080822093909355908716815220546107d490856108be565b6001600160a01b03808716600081815260208190526040808220949094556005805460018101825591527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b031916821790559151908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108659088815260200190565b60405180910390a3505050505050565b60006108b783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061091b565b9392505050565b6000806108cb8385610baa565b9050838110156108b75760405162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015260640161042c565b6000818484111561093f5760405162461bcd60e51b815260040161042c9190610979565b50600061094c8486610bbd565b95945050505050565b60005b83811015610970578181015183820152602001610958565b50506000910152565b6020815260008251806020840152610998816040850160208701610955565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146109c357600080fd5b919050565b600080604083850312156109db57600080fd5b6109e4836109ac565b946020939093013593505050565b600080600060608486031215610a0757600080fd5b610a10846109ac565b9250610a1e602085016109ac565b9150604084013590509250925092565b600060208284031215610a4057600080fd5b6108b7826109ac565b6020808252825182820181905260009190848201906040850190845b81811015610a8a5783516001600160a01b031683529284019291840191600101610a65565b50909695505050505050565b60008060408385031215610aa957600080fd5b610ab2836109ac565b9150610ac0602084016109ac565b90509250929050565b600181811c90821680610add57607f821691505b602082108103610afd57634e487b7160e01b600052602260045260246000fd5b50919050565b60609190911b6001600160601b031916815260140190565b60008251610b2d818460208701610955565b9190910192915050565b600060208284031215610b4957600080fd5b5051919050565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561026f5761026f610b94565b8181038181111561026f5761026f610b9456fea26469706673582212200c777064b82823d2b4af673e79a0bb13626905853801a2a72b49ec72352cea9a64736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0471bc2a93b578d8e3fefb2c36145eb5630c8c6ab4c31dc00a0ac6947f71871d5000000000000000000000000000000000000000000000000000000000000000e4c696e6561722046696e616e636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c494e4100000000000000000000000000000000000000000000000000000000