[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "AMMPair", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isPair", "type": "bool" } ], "name": "AMMPairsUpdated", "type": "event" }, { "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": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "routerV2", "type": "address" } ], "name": "RouterV2Updated", "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": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "AMMPairs", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "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": "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": "_router", "type": "address" } ], "name": "initialize", "outputs": [], "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": "pairV2", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "routerV2", "outputs": [ { "internalType": "contract IUniswapV2Router02", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pair", "type": "address" }, { "internalType": "bool", "name": "isPair", "type": "bool" } ], "name": "setAMMPair", "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" }, { "stateMutability": "payable", "type": "receive" } ]
60806040523480156200001157600080fd5b506040518060400160405280601f81526020017f43756d726f636b65744f62616d615368696261696e753336306e73636f70650081525060405180604001604052806008815260200167043524f42533336360c41b81525081600390816200007a91906200030c565b5060046200008982826200030c565b505050620000a6620000a06200011860201b60201c565b6200011c565b733e9303b75c92bd06aaf75922b3cbffe48a7c4123620000f281600a620000cf601282620004ed565b620000e09064e8d4a5100062000505565b620000ec91906200051f565b6200016e565b62000111733e9303b75c92bd06aaf75922b3cbffe48a7c41236200011c565b5062000558565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b620001d76000838362000250565b8060026000828254620001eb919062000542565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200024c6000838362000250565b5050565b620002638383836001600160e01b038416565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029357607f821691505b602082108103620002b457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026357600081815260208120601f850160051c81016020861015620002e35750805b601f850160051c820191505b818110156200030457828155600101620002ef565b505050505050565b81516001600160401b0381111562000328576200032862000268565b62000340816200033984546200027e565b84620002ba565b602080601f8311600181146200037857600084156200035f5750858301515b600019600386901b1c1916600185901b17855562000304565b600085815260208120601f198616915b82811015620003a95788860151825594840194600190910190840162000388565b5085821015620003c85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200042f578160001904821115620004135762000413620003d8565b808516156200042157918102915b93841c9390800290620003f3565b509250929050565b6000826200044857506001620004e7565b816200045757506000620004e7565b81600181146200047057600281146200047b576200049b565b6001915050620004e7565b60ff8411156200048f576200048f620003d8565b50506001821b620004e7565b5060208310610133831016604e8410600b8410161715620004c0575081810a620004e7565b620004cc8383620003ee565b8060001904821115620004e357620004e3620003d8565b0290505b92915050565b6000620004fe60ff84168362000437565b9392505050565b8082028115828204841417620004e757620004e7620003d8565b6000826200053d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620004e757620004e7620003d8565b61115880620005686000396000f3fe60806040526004361061012e5760003560e01c8063715018a6116100ab57806395d89b411161006f57806395d89b4114610363578063a457c2d714610378578063a9059cbb14610398578063c4d66de8146103b8578063dd62ed3e146103d8578063f2fde38b146103f857600080fd5b8063715018a6146102c057806376856557146102d557806379cc6790146103055780638da5cb5b146103255780638fffabed1461034357600080fd5b8063313ce567116100f2578063313ce567146101f6578063395093511461021257806342966c6814610232578063502f74461461025257806370a082311461028a57600080fd5b806306fdde031461013a578063095ea7b31461016557806318160ddd1461019557806323b872dd146101b45780632d99d32e146101d457600080fd5b3661013557005b600080fd5b34801561014657600080fd5b5061014f610418565b60405161015c9190610f31565b60405180910390f35b34801561017157600080fd5b50610185610180366004610f94565b6104aa565b604051901515815260200161015c565b3480156101a157600080fd5b506002545b60405190815260200161015c565b3480156101c057600080fd5b506101856101cf366004610fc0565b6104c4565b3480156101e057600080fd5b506101f46101ef366004611001565b6104e8565b005b34801561020257600080fd5b506040516012815260200161015c565b34801561021e57600080fd5b5061018561022d366004610f94565b61057d565b34801561023e57600080fd5b506101f461024d36600461103f565b61059f565b34801561025e57600080fd5b50600654610272906001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b34801561029657600080fd5b506101a66102a5366004611058565b6001600160a01b031660009081526020819052604090205490565b3480156102cc57600080fd5b506101f46105ac565b3480156102e157600080fd5b506101856102f0366004611058565b60086020526000908152604090205460ff1681565b34801561031157600080fd5b506101f4610320366004610f94565b6105c0565b34801561033157600080fd5b506005546001600160a01b0316610272565b34801561034f57600080fd5b50600754610272906001600160a01b031681565b34801561036f57600080fd5b5061014f6105d5565b34801561038457600080fd5b50610185610393366004610f94565b6105e4565b3480156103a457600080fd5b506101856103b3366004610f94565b61065f565b3480156103c457600080fd5b506101f46103d3366004611058565b61066d565b3480156103e457600080fd5b506101a66103f336600461107c565b61073c565b34801561040457600080fd5b506101f4610413366004611058565b610767565b606060038054610427906110aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610453906110aa565b80156104a05780601f10610475576101008083540402835291602001916104a0565b820191906000526020600020905b81548152906001019060200180831161048357829003601f168201915b5050505050905090565b6000336104b88185856107dd565b60019150505b92915050565b6000336104d2858285610901565b6104dd85858561097b565b506001949350505050565b6104f0610b1f565b6007546001600160a01b039081169083160361056f5760405162461bcd60e51b815260206004820152603360248201527f44656661756c74526f757465723a2043616e6e6f742072656d6f766520696e696044820152721d1a585b081c185a5c88199c9bdb481b1a5cdd606a1b60648201526084015b60405180910390fd5b6105798282610b79565b5050565b6000336104b8818585610590838361073c565b61059a91906110e4565b6107dd565b6105a93382610bd8565b50565b6105b4610b1f565b6105be6000610d0a565b565b6105cb823383610901565b6105798282610bd8565b606060048054610427906110aa565b600033816105f2828661073c565b9050838110156106525760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610566565b6104dd82868684036107dd565b6000336104b881858561097b565b600554600160a81b900460ff168061068f5750600554600160a01b900460ff16155b6106f25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610566565b600554600160a81b900460ff1615801561071c576005805461ffff60a01b191661010160a01b1790555b61072582610d5c565b8015610579576005805460ff60a81b191690555050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61076f610b1f565b6001600160a01b0381166107d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610566565b6105a981610d0a565b6001600160a01b03831661083f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610566565b6001600160a01b0382166108a05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610566565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061090d848461073c565b9050600019811461097557818110156109685760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610566565b61097584848484036107dd565b50505050565b6001600160a01b0383166109df5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610566565b6001600160a01b038216610a415760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610566565b6001600160a01b03831660009081526020819052604090205481811015610ab95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610566565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610975565b6005546001600160a01b031633146105be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610566565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f911aa18ddbbbc33c9b4c704a71bdaa0984b0aa2e82726a7f51e64bad0b0a8455910160405180910390a25050565b6001600160a01b038216610c385760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610566565b6001600160a01b03821660009081526020819052604090205481811015610cac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610566565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd99190611105565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5f9190611105565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611105565b600780546001600160a01b0319166001600160a01b03929092169182179055610efa906001610b79565b6040516001600160a01b038216907fbc052db65df144ad4f71f02da93cae3d4401104c30ac374d7cc10d87ee07b60290600090a250565b600060208083528351808285015260005b81811015610f5e57858101830151858201604001528201610f42565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146105a957600080fd5b60008060408385031215610fa757600080fd5b8235610fb281610f7f565b946020939093013593505050565b600080600060608486031215610fd557600080fd5b8335610fe081610f7f565b92506020840135610ff081610f7f565b929592945050506040919091013590565b6000806040838503121561101457600080fd5b823561101f81610f7f565b91506020830135801515811461103457600080fd5b809150509250929050565b60006020828403121561105157600080fd5b5035919050565b60006020828403121561106a57600080fd5b813561107581610f7f565b9392505050565b6000806040838503121561108f57600080fd5b823561109a81610f7f565b9150602083013561103481610f7f565b600181811c908216806110be57607f821691505b6020821081036110de57634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156104be57634e487b7160e01b600052601160045260246000fd5b60006020828403121561111757600080fd5b815161107581610f7f56fea264697066735822122097c5434ada153fb91c4994b2157b9b48762779cce991b22c8dc3d59ac53a85b264736f6c63430008130033