[ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "who", "type": "address" }, { "indexed": true, "internalType": "bool", "name": "canMint", "type": "bool" } ], "name": "MinterSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": "amount", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "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": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "isMinter", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "minters", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mintersLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "who", "type": "address" }, { "internalType": "bool", "name": "canMint", "type": "bool" } ], "name": "setMinter", "outputs": [], "stateMutability": "nonpayable", "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": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60e06040523480156200001157600080fd5b5060405180604001604052806007815260200166436f6e6361766560c81b8152506040518060400160405280600381526020016221a72b60e91b81525060126200006a62000064620000b860201b60201c565b620000bc565b82516200007f906001906020860190620001a8565b50815162000095906002906020850190620001a8565b5060ff81166080524660a052620000ab6200010c565b60c052506200032f915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60016040516200014091906200028b565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b828054620001b6906200024e565b90600052602060002090601f016020900481019282620001da576000855562000225565b82601f10620001f557805160ff191683800117855562000225565b8280016001018555821562000225579182015b828111156200022557825182559160200191906001019062000208565b506200023392915062000237565b5090565b5b8082111562000233576000815560010162000238565b600181811c908216806200026357607f821691505b602082108114156200028557634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c915080831680620002a857607f831692505b6020808410821415620002c957634e487b7160e01b86526022600452602486fd5b818015620002e05760018114620002f25762000321565b60ff1986168952848901965062000321565b60008a81526020902060005b86811015620003195781548b820152908501908301620002fe565b505084890196505b509498975050505050505050565b60805160a05160c0516110516200035f60003960006105830152600061054e015260006101de01526110516000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80638623ec7b116100b8578063aa271e1a1161007c578063aa271e1a146102e1578063c37bbabc14610304578063cf456ae71461030c578063d505accf1461031f578063dd62ed3e14610332578063f2fde38b1461035d57600080fd5b80638623ec7b146102775780638da5cb5b146102a257806395d89b41146102b35780639dc29fac146102bb578063a9059cbb146102ce57600080fd5b8063313ce5671161010a578063313ce567146101d95780633644e5151461021257806340c10f191461021a57806370a082311461022f578063715018a61461024f5780637ecebe001461025757600080fd5b806306fdde0314610147578063095ea7b31461016557806318160ddd1461018857806323b872dd1461019f57806330adf81f146101b2575b600080fd5b61014f610370565b60405161015c9190610cb6565b60405180910390f35b610178610173366004610d27565b6103fe565b604051901515815260200161015c565b61019160035481565b60405190815260200161015c565b6101786101ad366004610d51565b61046a565b6101917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b6102007f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161015c565b61019161054a565b61022d610228366004610d27565b6105a5565b005b61019161023d366004610d8d565b60046020526000908152604090205481565b61022d610601565b610191610265366004610d8d565b60066020526000908152604090205481565b61028a610285366004610daf565b610637565b6040516001600160a01b03909116815260200161015c565b6000546001600160a01b031661028a565b61014f610661565b61022d6102c9366004610d27565b61066e565b6101786102dc366004610d27565b6106c1565b6101786102ef366004610d8d565b60076020526000908152604090205460ff1681565b600854610191565b61022d61031a366004610dc8565b610727565b61022d61032d366004610e04565b610824565b610191610340366004610e77565b600560209081526000928352604080842090915290825290205481565b61022d61036b366004610d8d565b610a75565b6001805461037d90610eaa565b80601f01602080910402602001604051908101604052809291908181526020018280546103a990610eaa565b80156103f65780601f106103cb576101008083540402835291602001916103f6565b820191906000526020600020905b8154815290600101906020018083116103d957829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104599086815260200190565b60405180910390a350600192915050565b6001600160a01b038316600090815260056020908152604080832033845290915281205460001981146104c6576104a18382610efb565b6001600160a01b03861660009081526005602090815260408083203384529091529020555b6001600160a01b038516600090815260046020526040812080548592906104ee908490610efb565b90915550506001600160a01b0380851660008181526004602052604090819020805487019055519091871690600080516020610ffc833981519152906105379087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146105805761057b610b10565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b3360009081526007602052604090205460ff166105f35760405162461bcd60e51b815260206004820152600760248201526610a6a4a72a22a960c91b60448201526064015b60405180910390fd5b6105fd8282610baa565b5050565b6000546001600160a01b0316331461062b5760405162461bcd60e51b81526004016105ea90610f12565b6106356000610c04565b565b6008818154811061064757600080fd5b6000918252602090912001546001600160a01b0316905081565b6002805461037d90610eaa565b3360009081526007602052604090205460ff166106b75760405162461bcd60e51b815260206004820152600760248201526610a6a4a72a22a960c91b60448201526064016105ea565b6105fd8282610c54565b336000908152600460205260408120805483919083906106e2908490610efb565b90915550506001600160a01b03831660008181526004602052604090819020805485019055513390600080516020610ffc833981519152906104599086815260200190565b6000546001600160a01b031633146107515760405162461bcd60e51b81526004016105ea90610f12565b600181151514801561077c57506001600160a01b03821660009081526007602052604090205460ff16155b156107cd57600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319166001600160a01b0384161790555b6001600160a01b038216600081815260076020526040808220805460ff1916851515908117909155905190929133917f9e83b60577a847f7aec99ac60cc404d84b6fae0df5a54aaf535394add0fc7de79190a45050565b428410156108745760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016105ea565b600061087e61054a565b6001600160a01b0389811660008181526006602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938c166060840152608083018b905260a083019390935260c08083018a90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015610997573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906109cd5750886001600160a01b0316816001600160a01b0316145b610a0a5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016105ea565b6001600160a01b0390811660009081526005602090815260408083208b8516808552908352928190208a905551898152919350918a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6000546001600160a01b03163314610a9f5760405162461bcd60e51b81526004016105ea90610f12565b6001600160a01b038116610b045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ea565b610b0d81610c04565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6001604051610b429190610f47565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060036000828254610bbc9190610fe3565b90915550506001600160a01b038216600081815260046020908152604080832080548601905551848152600080516020610ffc83398151915291015b60405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526004602052604081208054839290610c7c908490610efb565b90915550506003805482900390556040518181526000906001600160a01b03841690600080516020610ffc83398151915290602001610bf8565b600060208083528351808285015260005b81811015610ce357858101830151858201604001528201610cc7565b81811115610cf5576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610d2257600080fd5b919050565b60008060408385031215610d3a57600080fd5b610d4383610d0b565b946020939093013593505050565b600080600060608486031215610d6657600080fd5b610d6f84610d0b565b9250610d7d60208501610d0b565b9150604084013590509250925092565b600060208284031215610d9f57600080fd5b610da882610d0b565b9392505050565b600060208284031215610dc157600080fd5b5035919050565b60008060408385031215610ddb57600080fd5b610de483610d0b565b915060208301358015158114610df957600080fd5b809150509250929050565b600080600080600080600060e0888a031215610e1f57600080fd5b610e2888610d0b565b9650610e3660208901610d0b565b95506040880135945060608801359350608088013560ff81168114610e5a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610e8a57600080fd5b610e9383610d0b565b9150610ea160208401610d0b565b90509250929050565b600181811c90821680610ebe57607f821691505b60208210811415610edf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610f0d57610f0d610ee5565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080835481600182811c915080831680610f6357607f831692505b6020808410821415610f8357634e487b7160e01b86526022600452602486fd5b818015610f975760018114610fa857610fd5565b60ff19861689528489019650610fd5565b60008a81526020902060005b86811015610fcd5781548b820152908501908301610fb4565b505084890196505b509498975050505050505050565b60008219821115610ff657610ff6610ee5565b50019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e2adcf16cd8ba83f47acae59f12c4db79fe3fbdd38691bee3d4edc0bd009739b64736f6c634300080b0033