[ { "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": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferStarted", "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": "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": "FEE_TO_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_FEE", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "NO_FEE_FROM_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "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": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "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": "uint256", "name": "_transferFeeBasisPoints", "type": "uint256" } ], "name": "setTransferFeeBasisPoints", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_treasury", "type": "address" } ], "name": "setTreasury", "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": [], "name": "transferFeeBasisPoints", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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" }, { "inputs": [], "name": "treasury", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b506040518060400160405280601381526020017f5261696e692053747564696f7320546f6b656e00000000000000000000000000815250604051806040016040528060038152602001621494d560ea1b815250816003908162000075919062000382565b50600462000084828262000382565b505050620000a16200009b620000cc60201b60201c565b620000d0565b620000ae600033620000fa565b620000c6336b033b2e3c9fd0803ce80000006200010a565b62000470565b3390565b600780546001600160a01b0319169055620000f781620001d0602090811b620008e517901c565b50565b62000106828262000222565b5050565b6001600160a01b038216620001655760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200017991906200044e565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200022e8282620002b1565b620001065760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002683390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b505050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030957607f821691505b6020821081036200032a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ac57600081815260208120601f850160051c81016020861015620003595750805b601f850160051c820191505b818110156200037a5782815560010162000365565b505050505050565b81516001600160401b038111156200039e576200039e620002de565b620003b681620003af8454620002f4565b8462000330565b602080601f831160018114620003ee5760008415620003d55750858301515b600019600386901b1c1916600185901b1785556200037a565b600085815260208120601f198616915b828110156200041f57888601518255948401946001909101908401620003fe565b50858210156200043e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620002d857634e487b7160e01b600052601160045260246000fd5b6113d480620004806000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806379ba509711610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610404578063e30c397814610417578063f0f4426014610428578063f2fde38b1461043b57600080fd5b8063a9059cbb146103c3578063bc063e1a146103d6578063d547741f146103de578063da403903146103f157600080fd5b806391d14854116100de57806391d148541461038d57806395d89b41146103a0578063a217fddf146103a8578063a457c2d7146103b057600080fd5b806379ba50971461034d57806382f5dfee146103555780638da5cb5b1461037c57600080fd5b80632f2ff15d1161017c57806361d027b31161014b57806361d027b3146102ca57806365955c6a146102f557806370a082311461031c578063715018a61461034557600080fd5b80632f2ff15d14610280578063313ce5671461029557806336568abe146102a457806339509351146102b757600080fd5b806318160ddd116101b857806318160ddd1461022f578063183767da1461024157806323b872dd1461024a578063248a9ca31461025d57600080fd5b806301ffc9a7146101df57806306fdde0314610207578063095ea7b31461021c575b600080fd5b6101f26101ed3660046110aa565b61044e565b60405190151581526020015b60405180910390f35b61020f610485565b6040516101fe91906110f8565b6101f261022a366004611147565b610517565b6002545b6040519081526020016101fe565b61023360085481565b6101f2610258366004611171565b61052f565b61023361026b3660046111ad565b60009081526005602052604090206001015490565b61029361028e3660046111c6565b610553565b005b604051601281526020016101fe565b6102936102b23660046111c6565b61057d565b6101f26102c5366004611147565b610600565b6009546102dd906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b6102337f7ca9387b4a5cfb9e2e05e57601678178d38e4f8f11f0c531827779b06f8646af81565b61023361032a3660046111f2565b6001600160a01b031660009081526020819052604090205490565b610293610622565b610293610636565b6102337fd3f03a223932b7f6c407724f9b34d6b16f0040c932dd15669c080cbb9085913d81565b6006546001600160a01b03166102dd565b6101f261039b3660046111c6565b6106b0565b61020f6106db565b610233600081565b6101f26103be366004611147565b6106ea565b6101f26103d1366004611147565b610765565b61023360c881565b6102936103ec3660046111c6565b610773565b6102936103ff3660046111ad565b610798565b61023361041236600461120d565b61081f565b6007546001600160a01b03166102dd565b6102936104363660046111f2565b61084a565b6102936104493660046111f2565b610874565b60006001600160e01b03198216637965db0b60e01b148061047f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461049490611237565b80601f01602080910402602001604051908101604052809291908181526020018280546104c090611237565b801561050d5780601f106104e25761010080835404028352916020019161050d565b820191906000526020600020905b8154815290600101906020018083116104f057829003601f168201915b5050505050905090565b600033610525818585610937565b5060019392505050565b60003361053d858285610a5b565b610548858585610ad5565b506001949350505050565b60008281526005602052604090206001015461056e81610b8e565b6105788383610b98565b505050565b6001600160a01b03811633146105f25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105fc8282610c1e565b5050565b600033610525818585610613838361081f565b61061d9190611287565b610937565b61062a610c85565b6106346000610cdf565b565b60075433906001600160a01b031681146106a45760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b60648201526084016105e9565b6106ad81610cdf565b50565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461049490611237565b600033816106f8828661081f565b9050838110156107585760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105e9565b6105488286868403610937565b600033610525818585610ad5565b60008281526005602052604090206001015461078e81610b8e565b6105788383610c1e565b6107a36000336106b0565b6107de5760405162461bcd60e51b815260206004820152600c60248201526b3737ba1030b71030b236b4b760a11b60448201526064016105e9565b60c881111561081a5760405162461bcd60e51b8152602060048201526008602482015267466565203e20322560c01b60448201526064016105e9565b600855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610852610c85565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61087c610c85565b600780546001600160a01b0383166001600160a01b031990911681179091556108ad6006546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166109995760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e9565b6001600160a01b0382166109fa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a67848461081f565b90506000198114610acf5781811015610ac25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105e9565b610acf8484848403610937565b50505050565b610aff7fd3f03a223932b7f6c407724f9b34d6b16f0040c932dd15669c080cbb9085913d836106b0565b8015610b325750610b307f7ca9387b4a5cfb9e2e05e57601678178d38e4f8f11f0c531827779b06f8646af846106b0565b155b15610b8357600061271060085483610b4a919061129a565b610b5491906112b1565b600954909150610b6f9085906001600160a01b031683610cf8565b610acf8484610b7e84866112d3565b610cf8565b610578838383610cf8565b6106ad8133610e9c565b610ba282826106b0565b6105fc5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610bda3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610c2882826106b0565b156105fc5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6006546001600160a01b031633146106345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105e9565b600780546001600160a01b03191690556106ad816108e5565b6001600160a01b038316610d5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e9565b6001600160a01b038216610dbe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e9565b6001600160a01b03831660009081526020819052604090205481811015610e365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105e9565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610acf565b610ea682826106b0565b6105fc57610eb381610ef5565b610ebe836020610f07565b604051602001610ecf9291906112e6565b60408051601f198184030181529082905262461bcd60e51b82526105e9916004016110f8565b606061047f6001600160a01b03831660145b60606000610f1683600261129a565b610f21906002611287565b67ffffffffffffffff811115610f3957610f3961135b565b6040519080825280601f01601f191660200182016040528015610f63576020820181803683370190505b509050600360fc1b81600081518110610f7e57610f7e611371565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610fad57610fad611371565b60200101906001600160f81b031916908160001a9053506000610fd184600261129a565b610fdc906001611287565b90505b6001811115611054576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061101057611010611371565b1a60f81b82828151811061102657611026611371565b60200101906001600160f81b031916908160001a90535060049490941c9361104d81611387565b9050610fdf565b5083156110a35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105e9565b9392505050565b6000602082840312156110bc57600080fd5b81356001600160e01b0319811681146110a357600080fd5b60005b838110156110ef5781810151838201526020016110d7565b50506000910152565b60208152600082518060208401526111178160408501602087016110d4565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461114257600080fd5b919050565b6000806040838503121561115a57600080fd5b6111638361112b565b946020939093013593505050565b60008060006060848603121561118657600080fd5b61118f8461112b565b925061119d6020850161112b565b9150604084013590509250925092565b6000602082840312156111bf57600080fd5b5035919050565b600080604083850312156111d957600080fd5b823591506111e96020840161112b565b90509250929050565b60006020828403121561120457600080fd5b6110a38261112b565b6000806040838503121561122057600080fd5b6112298361112b565b91506111e96020840161112b565b600181811c9082168061124b57607f821691505b60208210810361126b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561047f5761047f611271565b808202811582820484141761047f5761047f611271565b6000826112ce57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561047f5761047f611271565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161131e8160178501602088016110d4565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161134f8160288401602088016110d4565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161139657611396611271565b50600019019056fea2646970667358221220723577cd687f66808960e3c71e8aaac66322dfa5cc7c1c66f9dc2f91062618a864736f6c63430008110033