[ { "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": 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": "BURNER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "CAP_AMOUNT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "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": [ { "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": "cap", "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": "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" } ]
60a06040523480156200001157600080fd5b506b033b2e3c9fd0803ce80000006040518060400160405280600c81526020016b29ba32b63630902a37b5b2b760a11b8152506040518060400160405280600381526020016214d51360ea1b81525081600490816200007191906200028c565b5060056200008082826200028c565b50505060008111620000d85760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b608052620000e860003362000146565b620001147f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000146565b620001407f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8483362000146565b62000358565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001e3576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001a23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200021257607f821691505b6020821081036200023357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200028757600081815260208120601f850160051c81016020861015620002625750805b601f850160051c820191505b8181101562000283578281556001016200026e565b5050505b505050565b81516001600160401b03811115620002a857620002a8620001e7565b620002c081620002b98454620001fd565b8462000239565b602080601f831160018114620002f85760008415620002df5750858301515b600019600386901b1c1916600185901b17855562000283565b600085815260208120601f198616915b82811015620003295788860151825594840194600190910190840162000308565b5085821015620003485787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6080516113156200037b6000396000818161025d0152610b4e01526113156000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806340c10f19116100de57806395d89b4111610097578063a9059cbb11610071578063a9059cbb14610352578063d539139314610365578063d547741f1461038c578063dd62ed3e1461039f57600080fd5b806395d89b411461032f578063a217fddf14610337578063a457c2d71461033f57600080fd5b806340c10f19146102a757806342966c68146102ba57806345c8302b146102cd57806370a08231146102e057806379cc67901461030957806391d148541461031c57600080fd5b8063282c51f311610130578063282c51f3146102105780632f2ff15d14610237578063313ce5671461024c578063355274ea1461025b57806336568abe14610281578063395093511461029457600080fd5b806301ffc9a71461017857806306fdde03146101a0578063095ea7b3146101b557806318160ddd146101c857806323b872dd146101da578063248a9ca3146101ed575b600080fd5b61018b61018636600461100d565b6103b2565b60405190151581526020015b60405180910390f35b6101a86103e9565b604051610197919061105b565b61018b6101c33660046110aa565b61047b565b6003545b604051908152602001610197565b61018b6101e83660046110d4565b610493565b6101cc6101fb366004611110565b60009081526020819052604090206001015490565b6101cc7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61024a610245366004611129565b6104b7565b005b60405160128152602001610197565b7f00000000000000000000000000000000000000000000000000000000000000006101cc565b61024a61028f366004611129565b6104e1565b61018b6102a23660046110aa565b610564565b61024a6102b53660046110aa565b610586565b61024a6102c8366004611110565b6105ba565b6101cc6b033b2e3c9fd0803ce800000081565b6101cc6102ee366004611155565b6001600160a01b031660009081526001602052604090205490565b61024a6103173660046110aa565b6105c7565b61018b61032a366004611129565b6105dc565b6101a8610605565b6101cc600081565b61018b61034d3660046110aa565b610614565b61018b6103603660046110aa565b61068f565b6101cc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61024a61039a366004611129565b61069d565b6101cc6103ad366004611170565b6106c2565b60006001600160e01b03198216637965db0b60e01b14806103e357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600480546103f89061119a565b80601f01602080910402602001604051908101604052809291908181526020018280546104249061119a565b80156104715780601f1061044657610100808354040283529160200191610471565b820191906000526020600020905b81548152906001019060200180831161045457829003601f168201915b5050505050905090565b6000336104898185856106ed565b5060019392505050565b6000336104a1858285610811565b6104ac85858561088b565b506001949350505050565b6000828152602081905260409020600101546104d281610a59565b6104dc8383610a63565b505050565b6001600160a01b03811633146105565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105608282610ae7565b5050565b60003361048981858561057783836106c2565b61058191906111ea565b6106ed565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66105b081610a59565b6104dc8383610b4c565b6105c43382610bd9565b50565b6105d2823383610811565b6105608282610bd9565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600580546103f89061119a565b6000338161062282866106c2565b9050838110156106825760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161054d565b6104ac82868684036106ed565b60003361048981858561088b565b6000828152602081905260409020600101546106b881610a59565b6104dc8383610ae7565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b03831661074f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161054d565b6001600160a01b0382166107b05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161054d565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061081d84846106c2565b9050600019811461088557818110156108785760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161054d565b61088584848484036106ed565b50505050565b6001600160a01b0383166108ef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161054d565b6001600160a01b0382166109515760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161054d565b6001600160a01b038316600090815260016020526040902054818110156109c95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161054d565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610a009084906111ea565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a4c91815260200190565b60405180910390a3610885565b6105c48133610d27565b610a6d82826105dc565b610560576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610aa33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610af182826105dc565b15610560576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f000000000000000000000000000000000000000000000000000000000000000081610b7760035490565b610b8191906111ea565b1115610bcf5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015260640161054d565b6105608282610d8b565b6001600160a01b038216610c395760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161054d565b6001600160a01b03821660009081526001602052604090205481811015610cad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161054d565b6001600160a01b0383166000908152600160205260408120838303905560038054849290610cdc9084906111fd565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b610d3182826105dc565b61056057610d49816001600160a01b03166014610e6a565b610d54836020610e6a565b604051602001610d65929190611210565b60408051601f198184030181529082905262461bcd60e51b825261054d9160040161105b565b6001600160a01b038216610de15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161054d565b8060036000828254610df391906111ea565b90915550506001600160a01b03821660009081526001602052604081208054839290610e209084906111ea565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60606000610e79836002611285565b610e849060026111ea565b67ffffffffffffffff811115610e9c57610e9c61129c565b6040519080825280601f01601f191660200182016040528015610ec6576020820181803683370190505b509050600360fc1b81600081518110610ee157610ee16112b2565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610f1057610f106112b2565b60200101906001600160f81b031916908160001a9053506000610f34846002611285565b610f3f9060016111ea565b90505b6001811115610fb7576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610f7357610f736112b2565b1a60f81b828281518110610f8957610f896112b2565b60200101906001600160f81b031916908160001a90535060049490941c93610fb0816112c8565b9050610f42565b5083156110065760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161054d565b9392505050565b60006020828403121561101f57600080fd5b81356001600160e01b03198116811461100657600080fd5b60005b8381101561105257818101518382015260200161103a565b50506000910152565b602081526000825180602084015261107a816040850160208701611037565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146110a557600080fd5b919050565b600080604083850312156110bd57600080fd5b6110c68361108e565b946020939093013593505050565b6000806000606084860312156110e957600080fd5b6110f28461108e565b92506111006020850161108e565b9150604084013590509250925092565b60006020828403121561112257600080fd5b5035919050565b6000806040838503121561113c57600080fd5b8235915061114c6020840161108e565b90509250929050565b60006020828403121561116757600080fd5b6110068261108e565b6000806040838503121561118357600080fd5b61118c8361108e565b915061114c6020840161108e565b600181811c908216806111ae57607f821691505b6020821081036111ce57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103e3576103e36111d4565b818103818111156103e3576103e36111d4565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611248816017850160208801611037565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611279816028840160208801611037565b01602801949350505050565b80820281158282048414176103e3576103e36111d4565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816112d7576112d76111d4565b50600019019056fea264697066735822122069830124ed8b8b607d2f910b62f9a7393534be6f8c114451d69ac01b8848262164736f6c63430008110033