[ { "inputs": [ { "internalType": "string", "name": "_nameArg", "type": "string" }, { "internalType": "string", "name": "_symbolArg", "type": "string" } ], "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": [], "name": "Initialised", "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": "INIT_MINT_AMOUNT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_SUPPLY", "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": "", "type": "address" } ], "name": "allowedMinters", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "address", "name": "_minter", "type": "address" } ], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "minter", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "minterMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "operator", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_minter", "type": "address" }, { "internalType": "bool", "name": "_isAllowed", "type": "bool" } ], "name": "setAllowedMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_operator", "type": "address" } ], "name": "setOperator", "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": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040526000196008553480156200001757600080fd5b506040516200139b3803806200139b8339810160408190526200003a916200013c565b818160036200004a838262000235565b50600462000059828262000235565b5050600580546001600160a01b031916331790555062000301915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200009f57600080fd5b81516001600160401b0380821115620000bc57620000bc62000077565b604051601f8301601f19908116603f01168101908282118183101715620000e757620000e762000077565b816040528381526020925086838588010111156200010457600080fd5b600091505b8382101562000128578582018301518183018401529082019062000109565b600093810190920192909252949350505050565b600080604083850312156200015057600080fd5b82516001600160401b03808211156200016857600080fd5b62000176868387016200008d565b935060208501519150808211156200018d57600080fd5b506200019c858286016200008d565b9150509250929050565b600181811c90821680620001bb57607f821691505b602082108103620001dc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023057600081815260208120601f850160051c810160208610156200020b5750805b601f850160051c820191505b818110156200022c5782815560010162000217565b5050505b505050565b81516001600160401b0381111562000251576200025162000077565b6200026981620002628454620001a6565b84620001e2565b602080601f831160018114620002a15760008415620002885750858301515b600019600386901b1c1916600185901b1785556200022c565b600085815260208120601f198616915b82811015620002d257888601518255948401946001909101908401620002b1565b5085821015620002f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61108a80620003116000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c8063423afa66116100d857806395d89b411161008c578063b3ab15fb11610066578063b3ab15fb1461031b578063dd62ed3e1461032e578063f09a40161461036757600080fd5b806395d89b41146102ed578063a457c2d7146102f5578063a9059cbb1461030857600080fd5b80636af9c205116100bd5780636af9c2051461029f5780636cd16339146102b257806370a08231146102c457600080fd5b8063423afa6614610269578063570ca7351461028c57600080fd5b806323b872dd1161012f57806332cb6b0c1161011457806332cb6b0c14610231578063395093511461024357806340c10f191461025657600080fd5b806323b872dd1461020f578063313ce5671461022257600080fd5b8063095ea7b311610160578063095ea7b3146101c557806318160ddd146101e857806321f314ca146101fa57600080fd5b806306fdde031461017c578063075461721461019a575b600080fd5b61018461037a565b6040516101919190610e78565b60405180910390f35b6007546101ad906001600160a01b031681565b6040516001600160a01b039091168152602001610191565b6101d86101d3366004610f00565b61040c565b6040519015158152602001610191565b6002545b604051908152602001610191565b61020d610208366004610f00565b610423565b005b6101d861021d366004610f2a565b6104bf565b60405160128152602001610191565b6101ec6a52b7d2dcc80cd2e400000081565b6101d8610251366004610f00565b61057e565b61020d610264366004610f00565b6105ba565b6101d8610277366004610f66565b60066020526000908152604090205460ff1681565b6005546101ad906001600160a01b031681565b61020d6102ad366004610f81565b610698565b6101ec6a422ca8b0a00a425000000081565b6101ec6102d2366004610f66565b6001600160a01b031660009081526020819052604090205490565b61018461073b565b6101d8610303366004610f00565b61074a565b6101d8610316366004610f00565b6107fb565b61020d610329366004610f66565b610808565b6101ec61033c366004610fbd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61020d610375366004610fbd565b61089c565b60606003805461038990610ff0565b80601f01602080910402602001604051908101604052809291908181526020018280546103b590610ff0565b80156104025780601f106103d757610100808354040283529160200191610402565b820191906000526020600020905b8154815290600101906020018083116103e557829003601f168201915b5050505050905090565b6000610419338484610a16565b5060015b92915050565b6007546001600160a01b031633148061045057503360009081526006602052604090205460ff1615156001145b6104a15760405162461bcd60e51b815260206004820152600b60248201527f4f6e6c79206d696e74657200000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6008546104ae9082610b6e565b6008556104bb8282610b81565b5050565b60006104cc848484610c60565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105665760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610498565b6105738533858403610a16565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104199185906105b5908690611043565b610a16565b60025460000361060c5760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420696e697469616c6973656400000000000000000000000000000000006044820152606401610498565b6a52b7d2dcc80cd2e400000061062160025490565b61062b9083611043565b106106785760405162461bcd60e51b815260206004820152601760248201527f576f756c6420657863656564206d617820737570706c790000000000000000006044820152606401610498565b6005546001600160a01b0316331461068e575050565b6104bb8282610b81565b6005546001600160a01b031633146106f25760405162461bcd60e51b815260206004820152600d60248201527f4f6e6c79206f70657261746f72000000000000000000000000000000000000006044820152606401610498565b6001600160a01b0391909116600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60606004805461038990610ff0565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107e45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610498565b6107f13385858403610a16565b5060019392505050565b6000610419338484610c60565b6005546001600160a01b031633146108625760405162461bcd60e51b815260206004820152600d60248201527f4f6e6c79206f70657261746f72000000000000000000000000000000000000006044820152606401610498565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b031633146108f65760405162461bcd60e51b815260206004820152600d60248201527f4f6e6c79206f70657261746f72000000000000000000000000000000000000006044820152606401610498565b600254156109465760405162461bcd60e51b815260206004820152600960248201527f4f6e6c79206f6e636500000000000000000000000000000000000000000000006044820152606401610498565b6001600160a01b03811661099c5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964206d696e7465720000000000000000000000000000000000006044820152606401610498565b6109b1826a422ca8b0a00a4250000000610b81565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316179055600060088190556040517f09dfb9099a2610601d58030170fde7ae9db3e1bcb751c3d6800216cbe3b499b59190a15050565b6001600160a01b038316610a915760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610498565b6001600160a01b038216610b0d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610498565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b7a8284611043565b9392505050565b6001600160a01b038216610bd75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610498565b8060026000828254610be99190611043565b90915550506001600160a01b03821660009081526020819052604081208054839290610c16908490611043565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610cdc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610498565b6001600160a01b038216610d585760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610498565b6001600160a01b03831660009081526020819052604090205481811015610de75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610498565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e1e908490611043565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6a91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610ea557858101830151858201604001528201610e89565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b80356001600160a01b0381168114610efb57600080fd5b919050565b60008060408385031215610f1357600080fd5b610f1c83610ee4565b946020939093013593505050565b600080600060608486031215610f3f57600080fd5b610f4884610ee4565b9250610f5660208501610ee4565b9150604084013590509250925092565b600060208284031215610f7857600080fd5b610b7a82610ee4565b60008060408385031215610f9457600080fd5b610f9d83610ee4565b915060208301358015158114610fb257600080fd5b809150509250929050565b60008060408385031215610fd057600080fd5b610fd983610ee4565b9150610fe760208401610ee4565b90509250929050565b600181811c9082168061100457607f821691505b60208210810361103d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561041d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea164736f6c6343000813000a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000036b6169000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b41490000000000000000000000000000000000000000000000000000000000