[ { "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": "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": [ { "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": [ { "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" } ]
60806040523480156200001157600080fd5b5060405162001734380380620017348339810160408190526200003491620002bd565b8151829082906200004d9060049060208501906200014a565b508051620000639060059060208401906200014a565b506200007591506000905033620000a9565b620000a17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000a9565b505062000364565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000146576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001053390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b828054620001589062000327565b90600052602060002090601f0160209004810192826200017c5760008555620001c7565b82601f106200019757805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c7578251825591602001919060010190620001aa565b50620001d5929150620001d9565b5090565b5b80821115620001d55760008155600101620001da565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200021857600080fd5b81516001600160401b0380821115620002355762000235620001f0565b604051601f8301601f19908116603f01168101908282118183101715620002605762000260620001f0565b816040528381526020925086838588010111156200027d57600080fd5b600091505b83821015620002a1578582018301518183018401529082019062000282565b83821115620002b35760008385830101525b9695505050505050565b60008060408385031215620002d157600080fd5b82516001600160401b0380821115620002e957600080fd5b620002f78683870162000206565b935060208501519150808211156200030e57600080fd5b506200031d8582860162000206565b9150509250929050565b600181811c908216806200033c57607f821691505b602082108114156200035e57634e487b7160e01b600052602260045260246000fd5b50919050565b6113c080620003746000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806340c10f19116100c3578063a217fddf1161007c578063a217fddf146102b9578063a457c2d7146102c1578063a9059cbb146102d4578063d5391393146102e7578063d547741f1461030e578063dd62ed3e1461032157600080fd5b806340c10f191461023c57806342966c681461024f57806370a082311461026257806379cc67901461028b57806391d148541461029e57806395d89b41146102b157600080fd5b8063248a9ca311610115578063248a9ca3146101c75780632f2ff15d146101ea578063313ce567146101ff57806332cb6b0c1461020e57806336568abe14610216578063395093511461022957600080fd5b806301ffc9a71461015257806306fdde031461017a578063095ea7b31461018f57806318160ddd146101a257806323b872dd146101b4575b600080fd5b610165610160366004610fc5565b610334565b60405190151581526020015b60405180910390f35b61018261036b565b604051610171919061101b565b61016561019d36600461106a565b6103fd565b6003545b604051908152602001610171565b6101656101c2366004611094565b610415565b6101a66101d53660046110d0565b60009081526020819052604090206001015490565b6101fd6101f83660046110e9565b610439565b005b60405160128152602001610171565b6101a6610463565b6101fd6102243660046110e9565b610480565b61016561023736600461106a565b610503565b6101fd61024a36600461106a565b610525565b6101fd61025d3660046110d0565b610653565b6101a6610270366004611115565b6001600160a01b031660009081526001602052604090205490565b6101fd61029936600461106a565b610660565b6101656102ac3660046110e9565b610675565b61018261069e565b6101a6600081565b6101656102cf36600461106a565b6106ad565b6101656102e236600461106a565b610728565b6101a67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6101fd61031c3660046110e9565b610736565b6101a661032f366004611130565b61075b565b60006001600160e01b03198216637965db0b60e01b148061036557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606004805461037a9061115a565b80601f01602080910402602001604051908101604052809291908181526020018280546103a69061115a565b80156103f35780601f106103c8576101008083540402835291602001916103f3565b820191906000526020600020905b8154815290600101906020018083116103d657829003601f168201915b5050505050905090565b60003361040b818585610786565b5060019392505050565b6000336104238582856108aa565b61042e858585610924565b506001949350505050565b60008281526020819052604090206001015461045481610acf565b61045e8383610ad9565b505050565b61046f6012600a61128f565b61047d90633b9aca0061129b565b81565b6001600160a01b03811633146104f55760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6104ff8282610b5d565b5050565b60003361040b818585610516838361075b565b61052091906112ba565b610786565b61054f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610675565b6105ba5760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016104ec565b6105c66012600a61128f565b6105d490633b9aca0061129b565b816105de60035490565b6105e891906112ba565b11156106495760405162461bcd60e51b815260206004820152602a60248201527f4d696e743a2043616e6e6f74206d696e74206d6f7265207468616e20696e697460448201526969616c20737570706c7960b01b60648201526084016104ec565b6104ff8282610bc2565b61065d3382610c83565b50565b61066b8233836108aa565b6104ff8282610c83565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606005805461037a9061115a565b600033816106bb828661075b565b90508381101561071b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104ec565b61042e8286868403610786565b60003361040b818585610924565b60008281526020819052604090206001015461075181610acf565b61045e8383610b5d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b0383166107e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104ec565b6001600160a01b0382166108495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104ec565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006108b6848461075b565b9050600019811461091e57818110156109115760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104ec565b61091e8484848403610786565b50505050565b6001600160a01b0383166109885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104ec565b6001600160a01b0382166109ea5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104ec565b6001600160a01b03831660009081526001602052604090205481811015610a625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104ec565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ac29086815260200190565b60405180910390a361091e565b61065d8133610db7565b610ae38282610675565b6104ff576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610b193390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610b678282610675565b156104ff576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610c185760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ec565b8060036000828254610c2a91906112ba565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610ce35760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104ec565b6001600160a01b03821660009081526001602052604090205481811015610d575760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104ec565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610dc18282610675565b6104ff57610dce81610e10565b610dd9836020610e22565b604051602001610dea9291906112d2565b60408051601f198184030181529082905262461bcd60e51b82526104ec9160040161101b565b60606103656001600160a01b03831660145b60606000610e3183600261129b565b610e3c9060026112ba565b67ffffffffffffffff811115610e5457610e54611347565b6040519080825280601f01601f191660200182016040528015610e7e576020820181803683370190505b509050600360fc1b81600081518110610e9957610e9961135d565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610ec857610ec861135d565b60200101906001600160f81b031916908160001a9053506000610eec84600261129b565b610ef79060016112ba565b90505b6001811115610f6f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610f2b57610f2b61135d565b1a60f81b828281518110610f4157610f4161135d565b60200101906001600160f81b031916908160001a90535060049490941c93610f6881611373565b9050610efa565b508315610fbe5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104ec565b9392505050565b600060208284031215610fd757600080fd5b81356001600160e01b031981168114610fbe57600080fd5b60005b8381101561100a578181015183820152602001610ff2565b8381111561091e5750506000910152565b602081526000825180602084015261103a816040850160208701610fef565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461106557600080fd5b919050565b6000806040838503121561107d57600080fd5b6110868361104e565b946020939093013593505050565b6000806000606084860312156110a957600080fd5b6110b28461104e565b92506110c06020850161104e565b9150604084013590509250925092565b6000602082840312156110e257600080fd5b5035919050565b600080604083850312156110fc57600080fd5b8235915061110c6020840161104e565b90509250929050565b60006020828403121561112757600080fd5b610fbe8261104e565b6000806040838503121561114357600080fd5b61114c8361104e565b915061110c6020840161104e565b600181811c9082168061116e57607f821691505b6020821081141561118f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156111e65781600019048211156111cc576111cc611195565b808516156111d957918102915b93841c93908002906111b0565b509250929050565b6000826111fd57506001610365565b8161120a57506000610365565b8160018114611220576002811461122a57611246565b6001915050610365565b60ff84111561123b5761123b611195565b50506001821b610365565b5060208310610133831016604e8410600b8410161715611269575081810a610365565b61127383836111ab565b806000190482111561128757611287611195565b029392505050565b6000610fbe83836111ee565b60008160001904831182151516156112b5576112b5611195565b500290565b600082198211156112cd576112cd611195565b500190565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161130a816017850160208801610fef565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161133b816028840160208801610fef565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161138257611382611195565b50600019019056fea264697066735822122075171524ae44817881bfed4b1f6621af71d0366d5595a4f7136d8d7b931ddb2d64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000653656b75796100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004534b594100000000000000000000000000000000000000000000000000000000