[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "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": [ { "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" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MINTER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "allowTransfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": [ { "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": [ { "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": [ { "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": "address[]", "name": "users", "type": "address[]" } ], "name": "revokeWhiteListsUsers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "_allowTransfer", "type": "bool" } ], "name": "setAllowTransfer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "setMinterRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "users", "type": "address[]" } ], "name": "setWhiteListsUsers", "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": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "transferWhitelist", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b50604051620019fe380380620019fe833981016040819052620000349162000390565b8181600362000044838262000488565b50600462000053828262000488565b506200006591506000905033620000d5565b620000917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000d5565b336000818152600660205260409020805460ff19166001179055620000c3906b19d971e4fe8401e7400000006200017a565b50506007805460ff191690556200057b565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620001765760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001353390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6001600160a01b038216620001d55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b620001e3600083836200024e565b8060026000828254620001f7919062000554565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60075460ff16806200027857506001600160a01b03831660009081526006602052604090205460ff165b806200029c57506001600160a01b03821660009081526006602052604090205460ff165b620002a657600080fd5b620002be838383620002be60201b6200050c1760201c565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002eb57600080fd5b81516001600160401b0380821115620003085762000308620002c3565b604051601f8301601f19908116603f01168101908282118183101715620003335762000333620002c3565b816040528381526020925086838588010111156200035057600080fd5b600091505b8382101562000374578582018301518183018401529082019062000355565b83821115620003865760008385830101525b9695505050505050565b60008060408385031215620003a457600080fd5b82516001600160401b0380821115620003bc57600080fd5b620003ca86838701620002d9565b93506020850151915080821115620003e157600080fd5b50620003f085828601620002d9565b9150509250929050565b600181811c908216806200040f57607f821691505b6020821081036200043057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002be57600081815260208120601f850160051c810160208610156200045f5750805b601f850160051c820191505b8181101562000480578281556001016200046b565b505050505050565b81516001600160401b03811115620004a457620004a4620002c3565b620004bc81620004b58454620003fa565b8462000436565b602080601f831160018114620004f45760008415620004db5750858301515b600019600386901b1c1916600185901b17855562000480565b600085815260208120601f198616915b82811015620005255788860151825594840194600190910190840162000504565b5085821015620005445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156200057657634e487b7160e01b600052601160045260246000fd5b500190565b611473806200058b6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80637ffbe241116100de578063a457c2d711610097578063d539139311610071578063d539139314610363578063d547741f1461038a578063dd62ed3e1461039d578063e354a83e146103b057600080fd5b8063a457c2d71461032a578063a9059cbb1461033d578063b225e96d1461035057600080fd5b80637ffbe241146102c457806391d14854146102e7578063945d1229146102fa57806395d89b411461030d5780639b08a22f14610315578063a217fddf1461032257600080fd5b8063248a9ca31161014b57806336568abe1161012557806336568abe14610262578063395093511461027557806340c10f191461028857806370a082311461029b57600080fd5b8063248a9ca31461021d5780632f2ff15d14610240578063313ce5671461025357600080fd5b806301ffc9a71461019357806306fdde03146101bb578063095ea7b3146101d05780630b81e216146101e357806318160ddd146101f857806323b872dd1461020a575b600080fd5b6101a66101a1366004611069565b6103c3565b60405190151581526020015b60405180910390f35b6101c36103fa565b6040516101b291906110bf565b6101a66101de36600461110e565b61048c565b6101f66101f1366004611138565b6104a4565b005b6002545b6040519081526020016101b2565b6101a661021836600461115a565b6104c3565b6101fc61022b366004611196565b60009081526005602052604090206001015490565b6101f661024e3660046111af565b6104e7565b604051601281526020016101b2565b6101f66102703660046111af565b610511565b6101a661028336600461110e565b610594565b6101f661029636600461110e565b6105b6565b6101fc6102a93660046111db565b6001600160a01b031660009081526020819052604090205490565b6101a66102d23660046111db565b60066020526000908152604090205460ff1681565b6101a66102f53660046111af565b6105ea565b6101f66103083660046111db565b610615565b6101c361064a565b6007546101a69060ff1681565b6101fc600081565b6101a661033836600461110e565b610659565b6101a661034b36600461110e565b6106d4565b6101f661035e36600461120c565b6106e2565b6101fc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6101f66103983660046111af565b6107c9565b6101fc6103ab3660046112d1565b6107ee565b6101f66103be36600461120c565b610819565b60006001600160e01b03198216637965db0b60e01b14806103f457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610409906112fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610435906112fb565b80156104825780601f1061045757610100808354040283529160200191610482565b820191906000526020600020905b81548152906001019060200180831161046557829003601f168201915b5050505050905090565b60003361049a8185856108fa565b5060019392505050565b60006104af81610a1e565b506007805460ff1916911515919091179055565b6000336104d1858285610a2b565b6104dc858585610a9f565b506001949350505050565b60008281526005602052604090206001015461050281610a1e565b61050c8383610c4e565b505050565b6001600160a01b03811633146105865760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105908282610cd4565b5050565b60003361049a8185856105a783836107ee565b6105b1919061134b565b6108fa565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66105e081610a1e565b61050c8383610d3b565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061062081610a1e565b6105907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683610c4e565b606060048054610409906112fb565b6000338161066782866107ee565b9050838110156106c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161057d565b6104dc82868684036108fa565b60003361049a818585610a9f565b60006106ed81610a1e565b815160005b818110156107c35760006001600160a01b031684828151811061071757610717611363565b60200260200101516001600160a01b0316036107675760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161057d565b60006006600086848151811061077f5761077f611363565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806107bb81611379565b9150506106f2565b50505050565b6000828152600560205260409020600101546107e481610a1e565b61050c8383610cd4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061082481610a1e565b815160005b818110156107c35760006001600160a01b031684828151811061084e5761084e611363565b60200260200101516001600160a01b03160361089e5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161057d565b6001600660008684815181106108b6576108b6611363565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806108f281611379565b915050610829565b6001600160a01b03831661095c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161057d565b6001600160a01b0382166109bd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161057d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610a288133610e06565b50565b6000610a3784846107ee565b905060001981146107c35781811015610a925760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161057d565b6107c384848484036108fa565b6001600160a01b038316610b035760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161057d565b6001600160a01b038216610b655760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161057d565b610b70838383610e5f565b6001600160a01b03831660009081526020819052604090205481811015610be85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161057d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36107c3565b610c5882826105ea565b6105905760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610c903390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610cde82826105ea565b156105905760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610d915760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161057d565b610d9d60008383610e5f565b8060026000828254610daf919061134b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b610e1082826105ea565b61059057610e1d81610eb4565b610e28836020610ec6565b604051602001610e39929190611392565b60408051601f198184030181529082905262461bcd60e51b825261057d916004016110bf565b60075460ff1680610e8857506001600160a01b03831660009081526006602052604090205460ff165b80610eab57506001600160a01b03821660009081526006602052604090205460ff165b61050c57600080fd5b60606103f46001600160a01b03831660145b60606000610ed5836002611407565b610ee090600261134b565b67ffffffffffffffff811115610ef857610ef86111f6565b6040519080825280601f01601f191660200182016040528015610f22576020820181803683370190505b509050600360fc1b81600081518110610f3d57610f3d611363565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610f6c57610f6c611363565b60200101906001600160f81b031916908160001a9053506000610f90846002611407565b610f9b90600161134b565b90505b6001811115611013576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610fcf57610fcf611363565b1a60f81b828281518110610fe557610fe5611363565b60200101906001600160f81b031916908160001a90535060049490941c9361100c81611426565b9050610f9e565b5083156110625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161057d565b9392505050565b60006020828403121561107b57600080fd5b81356001600160e01b03198116811461106257600080fd5b60005b838110156110ae578181015183820152602001611096565b838111156107c35750506000910152565b60208152600082518060208401526110de816040850160208701611093565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461110957600080fd5b919050565b6000806040838503121561112157600080fd5b61112a836110f2565b946020939093013593505050565b60006020828403121561114a57600080fd5b8135801515811461106257600080fd5b60008060006060848603121561116f57600080fd5b611178846110f2565b9250611186602085016110f2565b9150604084013590509250925092565b6000602082840312156111a857600080fd5b5035919050565b600080604083850312156111c257600080fd5b823591506111d2602084016110f2565b90509250929050565b6000602082840312156111ed57600080fd5b611062826110f2565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561121f57600080fd5b823567ffffffffffffffff8082111561123757600080fd5b818501915085601f83011261124b57600080fd5b81358181111561125d5761125d6111f6565b8060051b604051601f19603f83011681018181108582111715611282576112826111f6565b6040529182528482019250838101850191888311156112a057600080fd5b938501935b828510156112c5576112b6856110f2565b845293850193928501926112a5565b98975050505050505050565b600080604083850312156112e457600080fd5b6112ed836110f2565b91506111d2602084016110f2565b600181811c9082168061130f57607f821691505b60208210810361132f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561135e5761135e611335565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001820161138b5761138b611335565b5060010190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516113ca816017850160208801611093565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516113fb816028840160208801611093565b01602801949350505050565b600081600019048311821515161561142157611421611335565b500290565b60008161143557611435611335565b50600019019056fea26469706673582212202501f4fc0a7e1118e8e9d9e1650f4840c2ccf8a11522b4ccd8d35d76afa3180164736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001269506972617465426174746c65546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046950425400000000000000000000000000000000000000000000000000000000