[ { "inputs": [ { "internalType": "address payable", "name": "_taxCollector", "type": "address" }, { "internalType": "address", "name": "routerAddress", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "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": "amount", "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": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "newThreshold", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newMaxAmount", "type": "uint256" } ], "name": "SwapSettingsUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newCollector", "type": "address" } ], "name": "taxCollectorUpdated", "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": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "threshold", "type": "uint256" }, { "internalType": "uint256", "name": "maxAmount", "type": "uint256" } ], "name": "setSwapSettings", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address payable", "name": "_taxCollector", "type": "address" } ], "name": "setTaxCollector", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "taxCollector", "outputs": [ { "internalType": "address payable", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "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" }, { "stateMutability": "payable", "type": "receive" } ]
60c06040526127106100136009600a61046b565b61002190630280de80610480565b61002c906005610480565b6100369190610497565b6001556103e86100486009600a61046b565b61005690630280de80610480565b610061906005610480565b61006b9190610497565b600255348015610079575f5ffd5b50604051611859380380611859833981016040819052610098916104cd565b33806100be57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c781610323565b506001600160a01b0382166101105760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016100b5565b600380546001600160a01b0319166001600160a01b0384811691909117909155811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610170573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101949190610505565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101e1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102059190610505565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561024f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102739190610505565b6001600160a01b031660a05261028b6009600a61046b565b61029990630280de80610480565b335f81815260046020908152604080832094909455308252600581528382206080516001600160a01b0316835290529182205f199055907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6102fd6009600a61046b565b61030b90630280de80610480565b60405190815260200160405180910390a35050610520565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156103c1578085048111156103a5576103a5610372565b60018416156103b357908102905b60019390931c92800261038a565b935093915050565b5f826103d757506001610465565b816103e357505f610465565b81600181146103f957600281146104035761041f565b6001915050610465565b60ff84111561041457610414610372565b50506001821b610465565b5060208310610133831016604e8410600b8410161715610442575081810a610465565b61044e5f198484610386565b805f190482111561046157610461610372565b0290505b92915050565b5f61047960ff8416836103c9565b9392505050565b808202811582820484141761046557610465610372565b5f826104b157634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160a01b03811681146104ca575f5ffd5b50565b5f5f604083850312156104de575f5ffd5b82516104e9816104b6565b60208401519092506104fa816104b6565b809150509250929050565b5f60208284031215610515575f5ffd5b8151610479816104b6565b60805160a05161130a61054f5f395f81816109b401526109ef01525f8181610e020152610ed1015261130a5ff3fe6080604052600436106100e7575f3560e01c8063715018a611610087578063a9059cbb11610057578063a9059cbb146102d1578063bea1dcf8146102f0578063dd62ed3e1461030f578063f2fde38b14610353575f5ffd5b8063715018a6146102295780638da5cb5b1461023d5780638f4590d21461026d57806395d89b411461028c575f5ffd5b806318160ddd116100c257806318160ddd1461019957806323b872dd146101bb578063313ce567146101da57806370a08231146101f5575f5ffd5b806306fdde03146100f257806308695b4114610149578063095ea7b31461016a575f5ffd5b366100ee57005b5f5ffd5b3480156100fd575f5ffd5b5060408051808201909152600781527f416c744354524c0000000000000000000000000000000000000000000000000060208201525b6040516101409190610f41565b60405180910390f35b348015610154575f5ffd5b50610168610163366004610fa8565b610372565b005b348015610175575f5ffd5b50610189610184366004610fca565b610441565b6040519015158152602001610140565b3480156101a4575f5ffd5b506101ad610457565b604051908152602001610140565b3480156101c6575f5ffd5b506101896101d5366004610ff4565b610477565b3480156101e5575f5ffd5b5060405160098152602001610140565b348015610200575f5ffd5b506101ad61020f366004610fa8565b6001600160a01b03165f9081526004602052604090205490565b348015610234575f5ffd5b506101686104f0565b348015610248575f5ffd5b505f546001600160a01b03165b6040516001600160a01b039091168152602001610140565b348015610278575f5ffd5b50610168610287366004611032565b610503565b348015610297575f5ffd5b5060408051808201909152600481527f4354524c000000000000000000000000000000000000000000000000000000006020820152610133565b3480156102dc575f5ffd5b506101896102eb366004610fca565b61065a565b3480156102fb575f5ffd5b50600354610255906001600160a01b031681565b34801561031a575f5ffd5b506101ad610329366004611052565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205490565b34801561035e575f5ffd5b5061016861036d366004610fa8565b610666565b61037a6106bc565b6001600160a01b0381166103d55760405162461bcd60e51b815260206004820152600f60248201527f496e76616c69642061646472657373000000000000000000000000000000000060448201526064015b60405180910390fd5b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527faf3b1e4334621e1b3455e9fbce870b147ab16af7e4cbb300b63846df737c7b959060200160405180910390a150565b5f61044d338484610701565b5060015b92915050565b5f6104646009600a611199565b61047290630280de806111a7565b905090565b6001600160a01b0383165f9081526005602090815260408083203384529091528120545f19146104db576001600160a01b0384165f908152600560209081526040808320338085529252909120546104db9186916104d69086906111be565b610701565b6104e684848461080d565b5060019392505050565b6104f86106bc565b6105015f610bd7565b565b61050b6106bc565b5f821161055a5760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207468726573686f6c6400000000000000000000000000000060448201526064016103cc565b5f81116105a95760405162461bcd60e51b815260206004820152601260248201527f496e76616c6964206d617820616d6f756e74000000000000000000000000000060448201526064016103cc565b612710826105b96009600a611199565b6105c790630280de806111a7565b6105d191906111a7565b6105db91906111d1565b6001556103e8816105ee6009600a611199565b6105fc90630280de806111a7565b61060691906111a7565b61061091906111d1565b60028190556001546040517fa9c2e33ddea0675d960a3cc03d364783d03ffc4cad71b5fd3b6b32be3b9718579261064e928252602082015260400190565b60405180910390a15050565b5f61044d33848461080d565b61066e6106bc565b6001600160a01b0381166106b0576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024016103cc565b6106b981610bd7565b50565b5f546001600160a01b03163314610501576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016103cc565b6001600160a01b0383166107575760405162461bcd60e51b815260206004820181905260248201527f45524332303a20417070726f76652066726f6d207a65726f206164647265737360448201526064016103cc565b6001600160a01b0382166107ad5760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20417070726f766520746f207a65726f2061646472657373000060448201526064016103cc565b6001600160a01b038381165f8181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108635760405162461bcd60e51b815260206004820152601a60248201527f5472616e736665722066726f6d207a65726f206164647265737300000000000060448201526064016103cc565b6001600160a01b0382166108b95760405162461bcd60e51b815260206004820152601860248201527f5472616e7366657220746f207a65726f2061646472657373000000000000000060448201526064016103cc565b5f811161092e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f000000000000000000000000000000000000000000000060648201526084016103cc565b6001600160a01b0383165f90815260046020526040902054818110156109965760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e636500000000000000000000000060448201526064016103cc565b5f6109a085610c3e565b806109af57506109af84610c3e565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480610a2357507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316145b90508382158015610a315750815b15610aca575f612710610a466101f4886111a7565b610a5091906111d1565b90508015610ac857305f9081526004602052604081208054839290610a76908490611209565b909155505060405181815230906001600160a01b038a16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3610ac581836111be565b91505b505b6001600160a01b0387165f9081526004602052604081208054879290610af19084906111be565b90915550506001600160a01b0386165f9081526004602052604081208054839290610b1d908490611209565b92505081905550856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b6991815260200190565b60405180910390a3818015610b9857505f5474010000000000000000000000000000000000000000900460ff16155b15610bce57305f908152600460205260409020546001548110610bcc576002548110610bc357506002545b610bcc81610c92565b505b50505050505050565b5f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6001600160a01b038216301480610c6057506001600160a01b03821661dead145b80610c7757505f546001600160a01b038381169116145b806104515750506003546001600160a01b0390811691161490565b5f80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055610cd981610dad565b478015610d82576003546040515f916001600160a01b03169083908381818185875af1925050503d805f8114610d2a576040519150601f19603f3d011682016040523d82523d5f602084013e610d2f565b606091505b5050905080610d805760405162461bcd60e51b815260206004820181905260248201527f5472616e7366657220746f2074617820636f6c6c6563746f72206661696c656460448201526064016103cc565b505b50505f80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110610de057610de061121c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e5c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e809190611249565b81600181518110610e9357610e9361121c565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790610f109085905f90869030904290600401611264565b5f604051808303815f87803b158015610f27575f5ffd5b505af1158015610f39573d5f5f3e3d5ffd5b505050505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b6001600160a01b03811681146106b9575f5ffd5b5f60208284031215610fb8575f5ffd5b8135610fc381610f94565b9392505050565b5f5f60408385031215610fdb575f5ffd5b8235610fe681610f94565b946020939093013593505050565b5f5f5f60608486031215611006575f5ffd5b833561101181610f94565b9250602084013561102181610f94565b929592945050506040919091013590565b5f5f60408385031215611043575f5ffd5b50508035926020909101359150565b5f5f60408385031215611063575f5ffd5b823561106e81610f94565b9150602083013561107e81610f94565b809150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b6001815b60018411156110f1578085048111156110d5576110d5611089565b60018416156110e357908102905b60019390931c9280026110ba565b935093915050565b5f8261110757506001610451565b8161111357505f610451565b816001811461112957600281146111335761114f565b6001915050610451565b60ff84111561114457611144611089565b50506001821b610451565b5060208310610133831016604e8410600b8410161715611172575081810a610451565b61117e5f1984846110b6565b805f190482111561119157611191611089565b029392505050565b5f610fc360ff8416836110f9565b808202811582820484141761045157610451611089565b8181038181111561045157610451611089565b5f82611204577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b8082018082111561045157610451611089565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215611259575f5ffd5b8151610fc381610f94565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156112b45783516001600160a01b031683526020938401939092019160010161128d565b50506001600160a01b03959095166060840152505060800152939250505056fea264697066735822122046e81c49dc9ccc22d396d1b5bed494878e7ae5df2797987da0a9448f9bf8d1eb64736f6c634300081b00330000000000000000000000008b576d4a55bf7086d50f8249911cba44739dfa86000000000000000000000000c532a74256d3db42d0bf7a0400fefdbad7694008