[ { "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": 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": "MAX_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "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" } ]
60806040523480156200001157600080fd5b5060405162001a9938038062001a998339810160408190526200003491620002f1565b8151829082906200004d9060049060208501906200017e565b508051620000639060059060208401906200017e565b50506006805460ff19169055506200007d600033620000dd565b620000a97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000dd565b620000d57f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620000dd565b505062000398565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200017a576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001393390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b8280546200018c906200035b565b90600052602060002090601f016020900481019282620001b05760008555620001fb565b82601f10620001cb57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fb578251825591602001919060010190620001de565b50620002099291506200020d565b5090565b5b808211156200020957600081556001016200020e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200024c57600080fd5b81516001600160401b038082111562000269576200026962000224565b604051601f8301601f19908116603f0116810190828211818310171562000294576200029462000224565b81604052838152602092508683858801011115620002b157600080fd5b600091505b83821015620002d55785820183015181830184015290820190620002b6565b83821115620002e75760008385830101525b9695505050505050565b600080604083850312156200030557600080fd5b82516001600160401b03808211156200031d57600080fd5b6200032b868387016200023a565b935060208501519150808211156200034257600080fd5b5062000351858286016200023a565b9150509250929050565b600181811c908216806200037057607f821691505b602082108114156200039257634e487b7160e01b600052602260045260246000fd5b50919050565b6116f180620003a86000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806342966c68116100f9578063a217fddf11610097578063d539139311610071578063d53913931461035e578063d547741f14610385578063dd62ed3e14610398578063e63ab1e9146103ab57600080fd5b8063a217fddf14610330578063a457c2d714610338578063a9059cbb1461034b57600080fd5b806379cc6790116100d357806379cc6790146102fa5780638456cb591461030d57806391d148541461031557806395d89b411461032857600080fd5b806342966c68146102b35780635c975abb146102c657806370a08231146102d157600080fd5b80632f2ff15d1161016657806336568abe1161014057806336568abe1461027257806339509351146102855780633f4ba83a1461029857806340c10f19146102a057600080fd5b80632f2ff15d14610246578063313ce5671461025b57806332cb6b0c1461026a57600080fd5b806301ffc9a7146101ae57806306fdde03146101d6578063095ea7b3146101eb57806318160ddd146101fe57806323b872dd14610210578063248a9ca314610223575b600080fd5b6101c16101bc3660046112f6565b6103d2565b60405190151581526020015b60405180910390f35b6101de610409565b6040516101cd919061134c565b6101c16101f936600461139b565b61049b565b6003545b6040519081526020016101cd565b6101c161021e3660046113c5565b6104b3565b610202610231366004611401565b60009081526020819052604090206001015490565b61025961025436600461141a565b6104d7565b005b604051600681526020016101cd565b610202610501565b61025961028036600461141a565b61051e565b6101c161029336600461139b565b6105a1565b6102596105c3565b6102596102ae36600461139b565b610669565b6102596102c1366004611401565b610797565b60065460ff166101c1565b6102026102df366004611446565b6001600160a01b031660009081526001602052604090205490565b61025961030836600461139b565b6107a4565b6102596107b9565b6101c161032336600461141a565b61085d565b6101de610886565b610202600081565b6101c161034636600461139b565b610895565b6101c161035936600461139b565b610910565b6102027f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025961039336600461141a565b61091e565b6102026103a6366004611461565b610943565b6102027f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006001600160e01b03198216637965db0b60e01b148061040357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600480546104189061148b565b80601f01602080910402602001604051908101604052809291908181526020018280546104449061148b565b80156104915780601f1061046657610100808354040283529160200191610491565b820191906000526020600020905b81548152906001019060200180831161047457829003601f168201915b5050505050905090565b6000336104a981858561096e565b5060019392505050565b6000336104c1858285610a92565b6104cc858585610b0c565b506001949350505050565b6000828152602081905260409020600101546104f281610cc2565b6104fc8383610ccc565b505050565b61050d6006600a6115c0565b61051b90633b9aca006115cc565b81565b6001600160a01b03811633146105935760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61059d8282610d50565b5050565b6000336104a98185856105b48383610943565b6105be91906115eb565b61096e565b6105ed7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3361085d565b61065f5760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e706175736500000000000000606482015260840161058a565b610667610db5565b565b6106937f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63361085d565b6106fe5760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b606482015260840161058a565b61070a6006600a6115c0565b61071890633b9aca006115cc565b8161072260035490565b61072c91906115eb565b111561078d5760405162461bcd60e51b815260206004820152602a60248201527f4d696e743a2043616e6e6f74206d696e74206d6f7265207468616e20696e697460448201526969616c20737570706c7960b01b606482015260840161058a565b61059d8282610e07565b6107a13382610ed4565b50565b6107af823383610a92565b61059d8282610ed4565b6107e37f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3361085d565b6108555760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f207061757365000000000000000000606482015260840161058a565b610667611014565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600580546104189061148b565b600033816108a38286610943565b9050838110156109035760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161058a565b6104cc828686840361096e565b6000336104a9818585610b0c565b60008281526020819052604090206001015461093981610cc2565b6104fc8383610d50565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b0383166109d05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161058a565b6001600160a01b038216610a315760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161058a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a9e8484610943565b90506000198114610b065781811015610af95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161058a565b610b06848484840361096e565b50505050565b6001600160a01b038316610b705760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161058a565b6001600160a01b038216610bd25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161058a565b610bdd838383611051565b6001600160a01b03831660009081526001602052604090205481811015610c555760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161058a565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610cb59086815260200190565b60405180910390a3610b06565b6107a18133611059565b610cd6828261085d565b61059d576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610d0c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610d5a828261085d565b1561059d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610dbd6110b2565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610e5d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161058a565b610e6960008383611051565b8060036000828254610e7b91906115eb565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610f345760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161058a565b610f4082600083611051565b6001600160a01b03821660009081526001602052604090205481811015610fb45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161058a565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b61101c6110fb565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dea3390565b6104fc6110fb565b611063828261085d565b61059d5761107081611141565b61107b836020611153565b60405160200161108c929190611603565b60408051601f198184030181529082905262461bcd60e51b825261058a9160040161134c565b60065460ff166106675760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161058a565b60065460ff16156106675760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161058a565b60606104036001600160a01b03831660145b606060006111628360026115cc565b61116d9060026115eb565b67ffffffffffffffff81111561118557611185611678565b6040519080825280601f01601f1916602001820160405280156111af576020820181803683370190505b509050600360fc1b816000815181106111ca576111ca61168e565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111f9576111f961168e565b60200101906001600160f81b031916908160001a905350600061121d8460026115cc565b6112289060016115eb565b90505b60018111156112a0576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061125c5761125c61168e565b1a60f81b8282815181106112725761127261168e565b60200101906001600160f81b031916908160001a90535060049490941c93611299816116a4565b905061122b565b5083156112ef5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161058a565b9392505050565b60006020828403121561130857600080fd5b81356001600160e01b0319811681146112ef57600080fd5b60005b8381101561133b578181015183820152602001611323565b83811115610b065750506000910152565b602081526000825180602084015261136b816040850160208701611320565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461139657600080fd5b919050565b600080604083850312156113ae57600080fd5b6113b78361137f565b946020939093013593505050565b6000806000606084860312156113da57600080fd5b6113e38461137f565b92506113f16020850161137f565b9150604084013590509250925092565b60006020828403121561141357600080fd5b5035919050565b6000806040838503121561142d57600080fd5b8235915061143d6020840161137f565b90509250929050565b60006020828403121561145857600080fd5b6112ef8261137f565b6000806040838503121561147457600080fd5b61147d8361137f565b915061143d6020840161137f565b600181811c9082168061149f57607f821691505b602082108114156114c057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156115175781600019048211156114fd576114fd6114c6565b8085161561150a57918102915b93841c93908002906114e1565b509250929050565b60008261152e57506001610403565b8161153b57506000610403565b8160018114611551576002811461155b57611577565b6001915050610403565b60ff84111561156c5761156c6114c6565b50506001821b610403565b5060208310610133831016604e8410600b841016171561159a575081810a610403565b6115a483836114dc565b80600019048211156115b8576115b86114c6565b029392505050565b60006112ef838361151f565b60008160001904831182151516156115e6576115e66114c6565b500290565b600082198211156115fe576115fe6114c6565b500190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161163b816017850160208801611320565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161166c816028840160208801611320565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816116b3576116b36114c6565b50600019019056fea26469706673582212201c1c023fe8b9ff30a9616ba376b45f98102af8b77396211d7708aaa75084296764736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c52656a75766520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003524a560000000000000000000000000000000000000000000000000000000000