[ { "inputs": [], "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": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "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": "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": "PAUSER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "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": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burnFrom", "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": "uint256", "name": "index", "type": "uint256" } ], "name": "getRoleMember", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleMemberCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": "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" } ]
60806040523480156200001157600080fd5b50604051806040016040528060098152602001685368657a6d7542544360b81b815250604051806040016040528060078152602001665368657a42544360c81b81525081600590816200006591906200029d565b5060066200007482826200029d565b50506007805460ff19169055506200008e60003362000094565b62000369565b620000a08282620000a4565b5050565b620000bb8282620000e760201b620009091760201c565b6000828152600160209081526040909120620000e29183906200098d62000187821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a0576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001433390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200019e836001600160a01b038416620001a7565b90505b92915050565b6000818152600183016020526040812054620001f057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001a1565b506000620001a1565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620000e257600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b505050505050565b81516001600160401b03811115620002b957620002b9620001f9565b620002d181620002ca84546200020f565b846200024b565b602080601f831160018114620003095760008415620002f05750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033a5788860151825594840194600190910190840162000319565b5085821015620003595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61185880620003796000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d539139311610071578063d5391393146103af578063d547741f146103d6578063dd62ed3e146103e9578063e63ab1e9146103fc57600080fd5b8063a457c2d714610376578063a9059cbb14610389578063ca15c8731461039c57600080fd5b80639010d07c116100d35780639010d07c1461032857806391d148541461035357806395d89b4114610366578063a217fddf1461036e57600080fd5b806370a08231146102e457806379cc67901461030d5780638456cb591461032057600080fd5b8063313ce567116101665780633f4ba83a116101405780633f4ba83a146102ab57806340c10f19146102b357806342966c68146102c65780635c975abb146102d957600080fd5b8063313ce5671461027657806336568abe14610285578063395093511461029857600080fd5b806318160ddd116101a257806318160ddd1461021957806323b872dd1461022b578063248a9ca31461023e5780632f2ff15d1461026157600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d7366004611518565b610423565b60405190151581526020015b60405180910390f35b6101f961044e565b6040516101e89190611566565b6101dc6102143660046115b5565b6104e0565b6004545b6040519081526020016101e8565b6101dc6102393660046115df565b6104f8565b61021d61024c36600461161b565b60009081526020819052604090206001015490565b61027461026f366004611634565b61051c565b005b604051601281526020016101e8565b610274610293366004611634565b610546565b6101dc6102a63660046115b5565b6105c9565b6102746105eb565b6102746102c13660046115b5565b61067f565b6102746102d436600461161b565b610710565b60075460ff166101dc565b61021d6102f2366004611660565b6001600160a01b031660009081526002602052604090205490565b61027461031b3660046115b5565b61071d565b610274610732565b61033b61033636600461167b565b6107c2565b6040516001600160a01b0390911681526020016101e8565b6101dc610361366004611634565b6107e1565b6101f961080a565b61021d600081565b6101dc6103843660046115b5565b610819565b6101dc6103973660046115b5565b610894565b61021d6103aa36600461161b565b6108a2565b61021d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102746103e4366004611634565b6108b9565b61021d6103f736600461169d565b6108de565b61021d7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006001600160e01b03198216635a05180f60e01b14806104485750610448826109a2565b92915050565b60606005805461045d906116c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610489906116c7565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b6000336104ee8185856109d7565b5060019392505050565b600033610506858285610afb565b610511858585610b75565b506001949350505050565b60008281526020819052604090206001015461053781610d2b565b6105418383610d35565b505050565b6001600160a01b03811633146105bb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105c58282610d57565b5050565b6000336104ee8185856105dc83836108de565b6105e69190611717565b6109d7565b6106157f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336107e1565b6106755760405162461bcd60e51b815260206004820152602b60248201527f5368657a6d754254433a206d75737420686176652070617573657220726f6c6560448201526a20746f20756e706175736560a81b60648201526084016105b2565b61067d610d79565b565b6106a97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336107e1565b6107065760405162461bcd60e51b815260206004820152602860248201527f5368657a6d754254433a206d7573742068617665206d696e74657220726f6c65604482015267081d1bc81b5a5b9d60c21b60648201526084016105b2565b6105c58282610dcb565b61071a3382610e98565b50565b610728823383610afb565b6105c58282610e98565b61075c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336107e1565b6107ba5760405162461bcd60e51b815260206004820152602960248201527f5368657a6d754254433a206d75737420686176652070617573657220726f6c6560448201526820746f20706175736560b81b60648201526084016105b2565b61067d610fd8565b60008281526001602052604081206107da9083611015565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606006805461045d906116c7565b6000338161082782866108de565b9050838110156108875760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105b2565b61051182868684036109d7565b6000336104ee818585610b75565b600081815260016020526040812061044890611021565b6000828152602081905260409020600101546108d481610d2b565b6105418383610d57565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61091382826107e1565b6105c5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556109493390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006107da836001600160a01b03841661102b565b60006001600160e01b03198216637965db0b60e01b148061044857506301ffc9a760e01b6001600160e01b0319831614610448565b6001600160a01b038316610a395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105b2565b6001600160a01b038216610a9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105b2565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b0784846108de565b90506000198114610b6f5781811015610b625760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105b2565b610b6f84848484036109d7565b50505050565b6001600160a01b038316610bd95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105b2565b6001600160a01b038216610c3b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105b2565b610c4683838361107a565b6001600160a01b03831660009081526002602052604090205481811015610cbe5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105b2565b6001600160a01b0380851660008181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d1e9086815260200190565b60405180910390a3610b6f565b61071a8133611085565b610d3f8282610909565b6000828152600160205260409020610541908261098d565b610d6182826110de565b60008281526001602052604090206105419082611143565b610d81611158565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610e215760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105b2565b610e2d6000838361107a565b8060046000828254610e3f9190611717565b90915550506001600160a01b0382166000818152600260209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610ef85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105b2565b610f048260008361107a565b6001600160a01b03821660009081526002602052604090205481811015610f785760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105b2565b6001600160a01b03831660008181526002602090815260408083208686039055600480548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610fe06111a1565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dae3390565b60006107da83836111e7565b6000610448825490565b600081815260018301602052604081205461107257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610448565b506000610448565b610541838383611211565b61108f82826107e1565b6105c55761109c81611277565b6110a7836020611289565b6040516020016110b892919061172a565b60408051601f198184030181529082905262461bcd60e51b82526105b291600401611566565b6110e882826107e1565b156105c5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006107da836001600160a01b038416611425565b60075460ff1661067d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105b2565b60075460ff161561067d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105b2565b60008260000182815481106111fe576111fe61179f565b9060005260206000200154905092915050565b60075460ff16156105415760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105b2565b60606104486001600160a01b03831660145b606060006112988360026117b5565b6112a3906002611717565b67ffffffffffffffff8111156112bb576112bb6117cc565b6040519080825280601f01601f1916602001820160405280156112e5576020820181803683370190505b509050600360fc1b816000815181106113005761130061179f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061132f5761132f61179f565b60200101906001600160f81b031916908160001a90535060006113538460026117b5565b61135e906001611717565b90505b60018111156113d6576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113925761139261179f565b1a60f81b8282815181106113a8576113a861179f565b60200101906001600160f81b031916908160001a90535060049490941c936113cf816117e2565b9050611361565b5083156107da5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105b2565b6000818152600183016020526040812054801561150e5760006114496001836117f9565b855490915060009061145d906001906117f9565b90508181146114c257600086600001828154811061147d5761147d61179f565b90600052602060002001549050808760000184815481106114a0576114a061179f565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806114d3576114d361180c565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610448565b6000915050610448565b60006020828403121561152a57600080fd5b81356001600160e01b0319811681146107da57600080fd5b60005b8381101561155d578181015183820152602001611545565b50506000910152565b6020815260008251806020840152611585816040850160208701611542565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146115b057600080fd5b919050565b600080604083850312156115c857600080fd5b6115d183611599565b946020939093013593505050565b6000806000606084860312156115f457600080fd5b6115fd84611599565b925061160b60208501611599565b9150604084013590509250925092565b60006020828403121561162d57600080fd5b5035919050565b6000806040838503121561164757600080fd5b8235915061165760208401611599565b90509250929050565b60006020828403121561167257600080fd5b6107da82611599565b6000806040838503121561168e57600080fd5b50508035926020909101359150565b600080604083850312156116b057600080fd5b6116b983611599565b915061165760208401611599565b600181811c908216806116db57607f821691505b6020821081036116fb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561044857610448611701565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611762816017850160208801611542565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611793816028840160208801611542565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761044857610448611701565b634e487b7160e01b600052604160045260246000fd5b6000816117f1576117f1611701565b506000190190565b8181038181111561044857610448611701565b634e487b7160e01b600052603160045260246000fdfea26469706673582212203d890cce76b6431dde91fff71f06de1cc84e04c0af047343d136e5ae96367b8964736f6c63430008110033