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