[ { "inputs": [ { "internalType": "address", "name": "admin", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "NotRoleAdmin", "type": "error" }, { "inputs": [], "name": "PermissionDenied", "type": "error" }, { "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": "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": [ { "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": "_from", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "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": [], "name": "getBurnerRole", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getMinterRole", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "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" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "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": "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" } ]
60806040523480156200001157600080fd5b5060405162001469380380620014698339810160408190526200003491620003a0565b81816004620000448382620004b8565b506005620000538282620004b8565b506200006a9150635ddc5a3f60e11b90506200018c565b6200007c631a002f2d60e31b6200018c565b6200008e6335dce68b60e11b6200018c565b620000b0836a084595161401484a0000006200021160201b620006b61760201c565b50506001600160a01b031660009081527f15e730a082bd931bd9f1fc81c9aa2c9308a74dbdf27de2bec5058a0e60fe64aa602090815260408083208054600160ff1991821681179092557f4e686283402f72de62620fd26e24e5a6c7bd1d6067c734dda678ed6e18ad6ab3845282852080548216831790557fc9597e0dd7b45d7b4c627952a921a5050cad933a06ad3e737ecde71f09857812845282852080548216831790557f30a921b2188042103ab7d696490f6fa125548bb0385c7319673533fb2dce7e5b909352922080549091169091179055620005ac565b6001600160e01b03198082169003620001ec5760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e746572666163652069640000000060448201526064015b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6001600160a01b038216620002695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001e3565b80600360008282546200027d919062000584565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200030357600080fd5b81516001600160401b0380821115620003205762000320620002db565b604051601f8301601f19908116603f011681019082821181831017156200034b576200034b620002db565b816040528381526020925086838588010111156200036857600080fd5b600091505b838210156200038c57858201830151818301840152908201906200036d565b600093810190920192909252949350505050565b600080600060608486031215620003b657600080fd5b83516001600160a01b0381168114620003ce57600080fd5b60208501519093506001600160401b0380821115620003ec57600080fd5b620003fa87838801620002f1565b935060408601519150808211156200041157600080fd5b506200042086828701620002f1565b9150509250925092565b600181811c908216806200043f57607f821691505b6020821081036200046057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002d657600081815260208120601f850160051c810160208610156200048f5750805b601f850160051c820191505b81811015620004b0578281556001016200049b565b505050505050565b81516001600160401b03811115620004d457620004d4620002db565b620004ec81620004e584546200042a565b8462000466565b602080601f8311600181146200052457600084156200050b5750858301515b600019600386901b1c1916600185901b178555620004b0565b600085815260208120601f198616915b82811015620005555788860151825594840194600190910190840162000534565b5085821015620005745787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620005a657634e487b7160e01b600052601160045260246000fd5b92915050565b610ead80620005bc6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063a9059cbb11610071578063a9059cbb14610275578063c5b66dc914610288578063d547741f146102ae578063dd62ed3e146102c1578063ea35f36c146102d457600080fd5b806370a08231146101e557806391d148541461020e57806394d008ef1461024757806395d89b411461025a578063a457c2d71461026257600080fd5b806323b872dd116100f457806323b872dd146101885780632f2ff15d1461019b578063313ce567146101b057806339509351146101bf57806344d17187146101d257600080fd5b806301ffc9a71461012657806306fdde031461014e578063095ea7b31461016357806318160ddd14610176575b600080fd5b610139610134366004610c23565b6102fa565b60405190151581526020015b60405180910390f35b61015661030b565b6040516101459190610c54565b610139610171366004610cbe565b61039d565b6003545b604051908152602001610145565b610139610196366004610ce8565b6103b5565b6101ae6101a9366004610d24565b6103d9565b005b60405160128152602001610145565b6101396101cd366004610cbe565b610443565b6101ae6101e0366004610d50565b610465565b61017a6101f3366004610dd7565b6001600160a01b031660009081526001602052604090205490565b61013961021c366004610d24565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6101ae610255366004610d50565b6104f9565b610156610587565b610139610270366004610cbe565b610596565b610139610283366004610cbe565b610616565b7fe7ba54b021ea26ee9c797c92a7485e5bb59d2b07365aae349635a1bf8d0bd7af61017a565b6101ae6102bc366004610d24565b610624565b61017a6102cf366004610df2565b61068b565b7f71c3f5d1e4abab6db588a0fd893947888ebf8abda567a125ca9d5845ef22dda561017a565b600061030582610777565b92915050565b60606004805461031a90610e1c565b80601f016020809104026020016040519081016040528092919081815260200182805461034690610e1c565b80156103935780601f1061036857610100808354040283529160200191610393565b820191906000526020600020905b81548152906001019060200180831161037657829003601f168201915b5050505050905090565b6000336103ab8185856107b3565b5060019392505050565b6000336103c38582856108d8565b6103ce85858561094c565b506001949350505050565b600082815260076020908152604080832033845290915290205460ff166104135760405163521128ff60e01b815260040160405180910390fd5b60009182526006602090815260408084206001600160a01b0390931684529190529020805460ff19166001179055565b6000336103ab818585610456838361068b565b6104609190610e56565b6107b3565b3360009081527fc9597e0dd7b45d7b4c627952a921a5050cad933a06ad3e737ecde71f09857812602052604090205460ff161580156104cb57506104c97fe7ba54b021ea26ee9c797c92a7485e5bb59d2b07365aae349635a1bf8d0bd7af3361021c565b155b156104e957604051630782484160e21b815260040160405180910390fd5b6104f38484610af7565b50505050565b3360009081527f15e730a082bd931bd9f1fc81c9aa2c9308a74dbdf27de2bec5058a0e60fe64aa602052604090205460ff1615801561055f575061055d7f71c3f5d1e4abab6db588a0fd893947888ebf8abda567a125ca9d5845ef22dda53361021c565b155b1561057d57604051630782484160e21b815260040160405180910390fd5b6104f384846106b6565b60606005805461031a90610e1c565b600033816105a4828661068b565b9050838110156106095760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103ce82868684036107b3565b6000336103ab81858561094c565b600082815260076020908152604080832033845290915290205460ff1661065e5760405163521128ff60e01b815260040160405180910390fd5b60009182526006602090815260408084206001600160a01b0390931684529190529020805460ff19169055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b03821661070c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610600565b806003600082825461071e9190610e56565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006301ffc9a760e01b6001600160e01b0319831614806103055750506001600160e01b03191660009081526020819052604090205460ff1690565b6001600160a01b0383166108155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610600565b6001600160a01b0382166108765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610600565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006108e4848461068b565b905060001981146104f3578181101561093f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610600565b6104f384848484036107b3565b6001600160a01b0383166109b05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610600565b6001600160a01b038216610a125760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610600565b6001600160a01b03831660009081526001602052604090205481811015610a8a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610600565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610aea9086815260200190565b60405180910390a36104f3565b6001600160a01b038216610b575760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610600565b6001600160a01b03821660009081526001602052604090205481811015610bcb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610600565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016108cb565b600060208284031215610c3557600080fd5b81356001600160e01b031981168114610c4d57600080fd5b9392505050565b600060208083528351808285015260005b81811015610c8157858101830151858201604001528201610c65565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610cb957600080fd5b919050565b60008060408385031215610cd157600080fd5b610cda83610ca2565b946020939093013593505050565b600080600060608486031215610cfd57600080fd5b610d0684610ca2565b9250610d1460208501610ca2565b9150604084013590509250925092565b60008060408385031215610d3757600080fd5b82359150610d4760208401610ca2565b90509250929050565b60008060008060608587031215610d6657600080fd5b610d6f85610ca2565b935060208501359250604085013567ffffffffffffffff80821115610d9357600080fd5b818701915087601f830112610da757600080fd5b813581811115610db657600080fd5b886020828501011115610dc857600080fd5b95989497505060200194505050565b600060208284031215610de957600080fd5b610c4d82610ca2565b60008060408385031215610e0557600080fd5b610e0e83610ca2565b9150610d4760208401610ca2565b600181811c90821680610e3057607f821691505b602082108103610e5057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561030557634e487b7160e01b600052601160045260246000fdfea2646970667358221220b28c3558d7b36e6c0bfd5448c76c6bd09d0217168c4caceb61efdd0bd01a03b364736f6c6343000811003300000000000000000000000000046e40b355d40a5b3731e9fd584ff4c3446cd6000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000164879706572627269646765205465737420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000004434f524500000000000000000000000000000000000000000000000000000000