[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint8", "name": "_decimal", "type": "uint8" }, { "internalType": "uint256", "name": "_maxSupply", "type": "uint256" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_cashier", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "user", "type": "address" } ], "name": "AddBlackList", "type": "event" }, { "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": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "user", "type": "address" } ], "name": "RemoveBlackList", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "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" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "inputs": [], "name": "CASHIER", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_address", "type": "address" } ], "name": "addBlackList", "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": "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": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "blacklist", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "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": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "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": [], "name": "maxSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "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": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_address", "type": "address" } ], "name": "removeBlackList", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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" }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60c06040523480156200001157600080fd5b5060405162001a5438038062001a54833981016040819052620000349162000222565b8585600362000044838262000363565b50600462000053828262000363565b50506006805460ff191690555060ff841660805260a0839052620000796000836200009b565b6200008f6621a0a9a424a2a960c91b826200009b565b5050505050506200042f565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff166200013c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620000fb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200016857600080fd5b81516001600160401b038082111562000185576200018562000140565b604051601f8301601f19908116603f01168101908282118183101715620001b057620001b062000140565b81604052838152602092508683858801011115620001cd57600080fd5b600091505b83821015620001f15785820183015181830184015290820190620001d2565b600093810190920192909252949350505050565b80516001600160a01b03811681146200021d57600080fd5b919050565b60008060008060008060c087890312156200023c57600080fd5b86516001600160401b03808211156200025457600080fd5b620002628a838b0162000156565b975060208901519150808211156200027957600080fd5b506200028889828a0162000156565b955050604087015160ff81168114620002a057600080fd5b60608801519094509250620002b86080880162000205565b9150620002c860a0880162000205565b90509295509295509295565b600181811c90821680620002e957607f821691505b6020821081036200030a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035e57600081815260208120601f850160051c81016020861015620003395750805b601f850160051c820191505b818110156200035a5782815560010162000345565b5050505b505050565b81516001600160401b038111156200037f576200037f62000140565b6200039781620003908454620002d4565b8462000310565b602080601f831160018114620003cf5760008415620003b65750858301515b600019600386901b1c1916600185901b1785556200035a565b600085815260208120601f198616915b828110156200040057888601518255948401946001909101908401620003df565b50858210156200041f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a0516115f86200045c600039600081816103bc01526106970152600061029001526115f86000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80635c975abb116100f9578063a457c2d711610097578063d5abeb0111610071578063d5abeb01146103b7578063dd62ed3e146103de578063e4997dc5146103f1578063f9f92be41461040457600080fd5b8063a457c2d71461037e578063a9059cbb14610391578063d547741f146103a457600080fd5b80638456cb59116100d35780638456cb591461035357806391d148541461035b57806395d89b411461036e578063a217fddf1461037657600080fd5b80635c975abb1461030e57806370a08231146103195780638016bbb61461034257600080fd5b80632f2ff15d11610166578063395093511161014057806339509351146102cd5780633f4ba83a146102e057806340c10f19146102e857806342966c68146102fb57600080fd5b80632f2ff15d14610276578063313ce5671461028957806336568abe146102ba57600080fd5b80630ecb93c0116101a25780630ecb93c01461021957806318160ddd1461022e57806323b872dd14610240578063248a9ca31461025357600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d73660046112e0565b610427565b60405190151581526020015b60405180910390f35b6101f961045e565b6040516101e8919061132e565b6101dc61021436600461137d565b6104f0565b61022c6102273660046113a7565b610508565b005b6002545b6040519081526020016101e8565b6101dc61024e3660046113c2565b61056f565b6102326102613660046113fe565b60009081526005602052604090206001015490565b61022c610284366004611417565b610593565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101e8565b61022c6102c8366004611417565b6105bd565b6101dc6102db36600461137d565b610640565b61022c610662565b61022c6102f636600461137d565b610678565b61022c6103093660046113fe565b610756565b60065460ff166101dc565b6102326103273660046113a7565b6001600160a01b031660009081526020819052604090205490565b6102326621a0a9a424a2a960c91b81565b61022c61077c565b6101dc610369366004611417565b61078f565b6101f96107ba565b610232600081565b6101dc61038c36600461137d565b6107c9565b6101dc61039f36600461137d565b610844565b61022c6103b2366004611417565b610852565b6102327f000000000000000000000000000000000000000000000000000000000000000081565b6102326103ec366004611443565b610877565b61022c6103ff3660046113a7565b6108a2565b6101dc6104123660046113a7565b60076020526000908152604090205460ff1681565b60006001600160e01b03198216637965db0b60e01b148061045857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461046d9061146d565b80601f01602080910402602001604051908101604052809291908181526020018280546104999061146d565b80156104e65780601f106104bb576101008083540402835291602001916104e6565b820191906000526020600020905b8154815290600101906020018083116104c957829003601f168201915b5050505050905090565b6000336104fe8185856108fe565b5060019392505050565b600061051381610a22565b6001600160a01b038216600081815260076020908152604091829020805460ff1916600117905590519182527ff9dfc5050bb4c9b200f093a995458a80fb19943585b189fe5d317391abdc764591015b60405180910390a15050565b60003361057d858285610a2c565b610588858585610aa0565b506001949350505050565b6000828152600560205260409020600101546105ae81610a22565b6105b88383610b30565b505050565b6001600160a01b03811633146106325760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61063c8282610bb6565b5050565b6000336104fe8185856106538383610877565b61065d91906114bd565b6108fe565b600061066d81610a22565b610675610c1d565b50565b6621a0a9a424a2a960c91b61068c81610a22565b610694610c6f565b817f0000000000000000000000000000000000000000000000000000000000000000816106c060025490565b6106ca91906114bd565b111561070d5760405162461bcd60e51b815260206004820152601260248201527113585e14dd5c1c1b1e48115e18d95959195960721b6044820152606401610629565b6001600160a01b03841660009081526007602052604090205460ff16156107465760405162461bcd60e51b8152600401610629906114d0565b6107508484610cb7565b50505050565b6621a0a9a424a2a960c91b61076a81610a22565b610772610c6f565b61063c3383610d76565b600061078781610a22565b610675610ea8565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461046d9061146d565b600033816107d78286610877565b9050838110156108375760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610629565b61058882868684036108fe565b6000336104fe818585610aa0565b60008281526005602052604090206001015461086d81610a22565b6105b88383610bb6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006108ad81610a22565b6001600160a01b038216600081815260076020908152604091829020805460ff1916905590519182527f2234edb6f393cd207251f6579b5852192c144c4c12b9cc32e80539ef12faed3f9101610563565b6001600160a01b0383166109605760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610629565b6001600160a01b0382166109c15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610629565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6106758133610ee5565b6000610a388484610877565b905060001981146107505781811015610a935760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610629565b61075084848484036108fe565b610aa8610c6f565b6001600160a01b0383166000908152600760205260409020548390839060ff1615610ae55760405162461bcd60e51b8152600401610629906114d0565b6001600160a01b03811660009081526007602052604090205460ff1615610b1e5760405162461bcd60e51b8152600401610629906114d0565b610b29858585610f3e565b5050505050565b610b3a828261078f565b61063c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610b723390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bc0828261078f565b1561063c5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610c256110e2565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60065460ff1615610cb55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610629565b565b6001600160a01b038216610d0d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610629565b8060026000828254610d1f91906114bd565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610dd65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610629565b6001600160a01b03821660009081526020819052604090205481811015610e4a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610629565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610eb0610c6f565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c523390565b610eef828261078f565b61063c57610efc8161112b565b610f0783602061113d565b604051602001610f189291906114f3565b60408051601f198184030181529082905262461bcd60e51b82526106299160040161132e565b6001600160a01b038316610fa25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610629565b6001600160a01b0382166110045760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610629565b6001600160a01b0383166000908152602081905260409020548181101561107c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610629565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610750565b60065460ff16610cb55760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610629565b60606104586001600160a01b03831660145b6060600061114c836002611568565b6111579060026114bd565b67ffffffffffffffff81111561116f5761116f61157f565b6040519080825280601f01601f191660200182016040528015611199576020820181803683370190505b509050600360fc1b816000815181106111b4576111b4611595565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111e3576111e3611595565b60200101906001600160f81b031916908160001a9053506000611207846002611568565b6112129060016114bd565b90505b600181111561128a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061124657611246611595565b1a60f81b82828151811061125c5761125c611595565b60200101906001600160f81b031916908160001a90535060049490941c93611283816115ab565b9050611215565b5083156112d95760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610629565b9392505050565b6000602082840312156112f257600080fd5b81356001600160e01b0319811681146112d957600080fd5b60005b8381101561132557818101518382015260200161130d565b50506000910152565b602081526000825180602084015261134d81604085016020870161130a565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461137857600080fd5b919050565b6000806040838503121561139057600080fd5b61139983611361565b946020939093013593505050565b6000602082840312156113b957600080fd5b6112d982611361565b6000806000606084860312156113d757600080fd5b6113e084611361565b92506113ee60208501611361565b9150604084013590509250925092565b60006020828403121561141057600080fd5b5035919050565b6000806040838503121561142a57600080fd5b8235915061143a60208401611361565b90509250929050565b6000806040838503121561145657600080fd5b61145f83611361565b915061143a60208401611361565b600181811c9082168061148157607f821691505b6020821081036114a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610458576104586114a7565b602080825260099082015268189b1858dadb1a5cdd60ba1b604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161152b81601785016020880161130a565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161155c81602884016020880161130a565b01602801949350505050565b8082028115828204841417610458576104586114a7565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816115ba576115ba6114a7565b50600019019056fea26469706673582212203edad960602ef5db60bb96f1973f06028723ced440085252f6d5abc69e88029c64736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000b2bcc0c96f2fe2334413c299e6cbe667b131ff4d000000000000000000000000b2bcc0c96f2fe2334413c299e6cbe667b131ff4d0000000000000000000000000000000000000000000000000000000000000004415243410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044152434100000000000000000000000000000000000000000000000000000000