Address Contract Partially Verified
Address
0xD5e7D22362BCC9881D06512d3189eAe79DD98d70
Balance
0 ETH
Nonce
1
Code Size
20690 bytes
Creator
0xCFb9d1d6...F1DA at tx 0xfda208cd...61cf46
Indexed Transactions
0
Contract Bytecode
20690 bytes
0x6080604052600436106103435760003560e01c806370a08231116101b0578063bcd96a25116100ec578063dd62ed3e11610095578063ee5d9c2d1161006f578063ee5d9c2d14610a24578063f6540ec714610a39578063fb78680d14610a4f578063fdb78c0e14610a6f57600080fd5b8063dd62ed3e1461099e578063eafb5a3c146109e4578063eb50e70e14610a0457600080fd5b8063cab5ebea116100c6578063cab5ebea1461092d578063ce9a6a2a1461094d578063cf8477061461096d57600080fd5b8063bcd96a25146108ab578063c2fa418f146108cb578063c6831cd8146108fc57600080fd5b80638965b55d116101595780638da5cb5b116101335780638da5cb5b146107ee57806395d89b4114610856578063a457c2d71461086b578063a9059cbb1461088b57600080fd5b80638965b55d1461080c5780638a63bd9b1461082c5780638a8c523c1461084157600080fd5b806380c581d11161018a57806380c581d11461079557806388f82020146107b5578063893d20e8146107ee57600080fd5b806370a082311461070a578063715018a61461072a5780637b45d4311461073f57600080fd5b8063313ce5671161027f5780634fb2e45d1161022857806355d8ece61161020257806355d8ece614610694578063590ffdce146106b45780635c24b074146106d457806364038409146106f457600080fd5b80634fb2e45d1461061c5780634fbee1931461063c57806350a8e0161461067557600080fd5b80633f3cf56c116102595780633f3cf56c146105c2578063452ed4f1146105e25780634ada218b1461060257600080fd5b8063313ce5671461056057806333251a0b1461058257806339509351146105a257600080fd5b806318160ddd116102ec57806323b872dd116102c657806323b872dd146104e0578063260039571461050057806329dd8798146105205780632d8381191461054057600080fd5b806318160ddd146104365780631b6afa2d146104555780631e90afe3146104c057600080fd5b8063092316021161031d57806309231602146103c4578063095ea7b3146103e657806313e461921461041657600080fd5b806303fd2a451461034f57806306fdde03146103825780630758d924146103a457600080fd5b3661034a57005b600080fd5b34801561035b57600080fd5b5061036561dead81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561038e57600080fd5b50610397610aa2565b604051610379919061487c565b3480156103b057600080fd5b50601954610365906001600160a01b031681565b3480156103d057600080fd5b506103e46103df3660046148d1565b610b34565b005b3480156103f257600080fd5b506104066104013660046148ff565b610c58565b6040519015158152602001610379565b34801561042257600080fd5b506103e4610431366004614939565b610c6f565b34801561044257600080fd5b506016545b604051908152602001610379565b34801561046157600080fd5b506014546104929061ffff808216916201000081048216916401000000008204811691660100000000000090041684565b6040805161ffff95861681529385166020850152918416918301919091529091166060820152608001610379565b3480156104cc57600080fd5b506103e46104db366004614989565b61102a565b3480156104ec57600080fd5b506104066104fb3660046149cc565b611160565b34801561050c57600080fd5b506103e461051b366004614a0d565b6111d8565b34801561052c57600080fd5b506103e461053b366004614a2f565b6112ef565b34801561054c57600080fd5b5061044761055b3660046148d1565b6113d8565b34801561056c57600080fd5b5060155460405160ff9091168152602001610379565b34801561058e57600080fd5b506103e461059d366004614a8b565b61146f565b3480156105ae57600080fd5b506104066105bd3660046148ff565b61150f565b3480156105ce57600080fd5b506103e46105dd366004614a0d565b61154b565b3480156105ee57600080fd5b50601a54610365906001600160a01b031681565b34801561060e57600080fd5b506022546104069060ff1681565b34801561062857600080fd5b506103e4610637366004614a8b565b611662565b34801561064857600080fd5b50610406610657366004614a8b565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561068157600080fd5b5060225461040690610100900460ff1681565b3480156106a057600080fd5b506103e46106af366004614989565b6118be565b3480156106c057600080fd5b506103e46106cf366004614939565b6119f4565b3480156106e057600080fd5b506103e46106ef366004614a8b565b611a6d565b34801561070057600080fd5b50610447601d5481565b34801561071657600080fd5b50610447610725366004614a8b565b611b53565b34801561073657600080fd5b506103e4611bb2565b34801561074b57600080fd5b506010546107709061ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610379565b3480156107a157600080fd5b506103e46107b0366004614939565b611c62565b3480156107c157600080fd5b506104066107d0366004614a8b565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156107fa57600080fd5b506000546001600160a01b0316610365565b34801561081857600080fd5b506103e4610827366004614989565b611e4f565b34801561083857600080fd5b50610406611f85565b34801561084d57600080fd5b506103e4611ff4565b34801561086257600080fd5b506103976121b3565b34801561087757600080fd5b506104066108863660046148ff565b6121c2565b34801561089757600080fd5b506104066108a63660046148ff565b6121f9565b3480156108b757600080fd5b506103e46108c6366004614aa8565b612210565b3480156108d757600080fd5b506012546107709061ffff808216916201000081048216916401000000009091041683565b34801561090857600080fd5b506011546107709061ffff808216916201000081048216916401000000009091041683565b34801561093957600080fd5b506103e4610948366004614adb565b61230b565b34801561095957600080fd5b506103e4610968366004614be7565b6123de565b34801561097957600080fd5b506013546107709061ffff808216916201000081048216916401000000009091041683565b3480156109aa57600080fd5b506104476109b9366004614ca9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3480156109f057600080fd5b506103e46109ff366004614a8b565b612bfc565b348015610a1057600080fd5b506103e4610a1f366004614a8b565b613005565b348015610a3057600080fd5b506103e4613082565b348015610a4557600080fd5b50610447601f5481565b348015610a5b57600080fd5b506103e4610a6a366004614cd7565b613165565b348015610a7b57600080fd5b50601b54610406907501000000000000000000000000000000000000000000900460ff1681565b6060600d8054610ab190614d09565b80601f0160208091040260200160405190810160405280929190818152602001828054610add90614d09565b8015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b5050505050905090565b6000546001600160a01b03163314610b875760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b60448201526064015b60405180910390fd5b604b811015610bd85760405162461bcd60e51b815260206004820152600860248201527f546f6f206c6f772e0000000000000000000000000000000000000000000000006044820152606401610b7e565b6022546040517f0923160200000000000000000000000000000000000000000000000000000000815260048101839052620100009091046001600160a01b0316906309231602906024015b600060405180830381600087803b158015610c3d57600080fd5b505af1158015610c51573d6000803e3d6000fd5b5050505050565b6000610c653384846131f2565b5060015b92915050565b6000546001600160a01b03163314610cbd5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60018115151415610dff576001600160a01b03821660009081526007602052604090205460ff1615610d315760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e000000006044820152606401610b7e565b6001600160a01b03821660009081526001602052604090205415610d8b576001600160a01b038216600090815260016020526040902054610d71906113d8565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805473ffffffffffffffffffffffffffffffffffffffff19169091179055565b80611026576001600160a01b03821660009081526007602052604090205460ff16610e6c5760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e000000006044820152606401610b7e565b60085460011415610ee8576001600160a01b038216600090815260026020908152604080832083905560079091529020805460ff191690556008805480610eb557610eb5614d5d565b6000828152602090208101600019908101805473ffffffffffffffffffffffffffffffffffffffff191690550190555050565b60005b60085481101561102457826001600160a01b031660088281548110610f1257610f12614d8c565b6000918252602090912001546001600160a01b031614156110125760088054610f3d90600190614dea565b81548110610f4d57610f4d614d8c565b600091825260209091200154600880546001600160a01b039092169183908110610f7957610f79614d8c565b6000918252602080832091909101805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610fde57610fde614d5d565b6000828152602090208101600019908101805473ffffffffffffffffffffffffffffffffffffffff19169055019055611024565b8061101c81614e01565b915050610eeb565b505b5050565b6000546001600160a01b031633146110785760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60145461ffff908116908416118015906110a2575060145461ffff62010000909104811690831611155b80156110c0575060145461ffff640100000000909104811690821611155b6110c957600080fd5b610d7a816110d78585614e1c565b6110e19190614e1c565b61ffff1611156110f057600080fd5b6012805461ffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff00009484166201000002949094167fffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000909116179390911692909217179055565b6001600160a01b0383166000908152600560209081526040808320338452909152812054600019146111c5576001600160a01b0384166000908152600560209081526040808320338452909152812080548492906111bf908490614dea565b90915550505b6111d08484846132ff565b949350505050565b6000546001600160a01b031633146112265760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b600081836016546112379190614e42565b6112419190614e90565b90506103e86016546112539190614e90565b8110156112c85760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e3160448201527f25206f6620746f74616c20737570706c792e00000000000000000000000000006064820152608401610b7e565b601e819055600c5482906112dd908590614e42565b6112e79190614e90565b601f55505050565b6000546001600160a01b0316331461133d5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b6022546040517f0109da690000000000000000000000000000000000000000000000000000000081528515156004820152841515602482015283151560448201528215156064820152620100009091046001600160a01b031690630109da6990608401600060405180830381600087803b1580156113ba57600080fd5b505af11580156113ce573d6000803e3d6000fd5b5050505050505050565b60006017548211156114525760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610b7e565b600061145c61375d565b90506114688184614e90565b9392505050565b6000546001600160a01b031633146114bd5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b6022546040517f33251a0b0000000000000000000000000000000000000000000000000000000081526001600160a01b03838116600483015262010000909204909116906333251a0b90602401610c23565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610c65918590611546908690614ea4565b6131f2565b6000546001600160a01b031633146115995760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b600081836016546115aa9190614e42565b6115b49190614e90565b90506103e86016546115c69190614e90565b81101561163b5760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610b7e565b601c819055600c548290611650908590614e42565b61165a9190614e90565b601d55505050565b6000546001600160a01b031633146116b05760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b6001600160a01b03811661172c5760405162461bcd60e51b815260206004820152603d60248201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660448201527f6572206f776e657220746f20746865207a65726f20616464726573732e0000006064820152608401610b7e565b6001600160a01b03811661dead14156117ad5760405162461bcd60e51b815260206004820152603d60248201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660448201527f6572206f776e657220746f20746865207a65726f20616464726573732e0000006064820152608401610b7e565b600080546117c6916001600160a01b03909116906119f4565b6117d18160016119f4565b60225460ff16156117e7576117e7816001610c6f565b600054601b546001600160a01b039081169116141561182957601b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383161790555b6000805461183f906001600160a01b0316611b53565b111561186657600054611864906001600160a01b03168261185f82611b53565b6132ff565b505b6000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b0316331461190c5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60145461ffff90811690841611801590611936575060145461ffff62010000909104811690831611155b8015611954575060145461ffff640100000000909104811690821611155b61195d57600080fd5b610d7a8161196b8585614e1c565b6119759190614e1c565b61ffff16111561198457600080fd5b6010805461ffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff00009484166201000002949094167fffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000909116179390911692909217179055565b6000546001600160a01b03163314611a425760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611abb5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b602254610100900460ff1615611b135760405162461bcd60e51b815260206004820152601860248201527f4c697175696469747920697320616c726561647920696e2e00000000000000006044820152606401610b7e565b602280546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6001600160a01b03811660009081526007602052604081205460ff1615611b9057506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610c69906113d8565b6000546001600160a01b03163314611c005760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60008054611c19916001600160a01b03909116906119f4565b6000805473ffffffffffffffffffffffffffffffffffffffff1916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b03163314611cb05760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b80611d58576001600160a01b03828116600081815260036020526040808220805460ff1916905560225490517f80c581d100000000000000000000000000000000000000000000000000000000815260048101939093526024830191909152620100009004909116906380c581d190604401600060405180830381600087803b158015611d3c57600080fd5b505af1158015611d50573d6000803e3d6000fd5b505050505050565b60045415611dbf5762093a8060045442611d729190614dea565b11611dbf5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b216044820152606401610b7e565b6001600160a01b0382811660008181526003602052604090819020805460ff1916600190811790915542600490815560225492517f80c581d1000000000000000000000000000000000000000000000000000000008152908101939093526024830152620100009004909116906380c581d190604401600060405180830381600087803b158015611d3c57600080fd5b6000546001600160a01b03163314611e9d5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60145461ffff90811690841611801590611ec7575060145461ffff62010000909104811690831611155b8015611ee5575060145461ffff640100000000909104811690821611155b611eee57600080fd5b610d7a81611efc8585614e1c565b611f069190614e1c565b61ffff161115611f1557600080fd5b6011805461ffff928316640100000000027fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff00009484166201000002949094167fffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000909116179390911692909217179055565b600080546001600160a01b03163314611fd45760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b601954611fee9030906001600160a01b03166000196131f2565b50600190565b6000546001600160a01b031633146120425760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60225460ff16156120955760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642100000000000000006044820152606401610b7e565b602254610100900460ff166120ec5760405162461bcd60e51b815260206004820152601860248201527f4c6971756964697479206d7573742062652061646465642e00000000000000006044820152606401610b7e565b6120f7306001610c6f565b601a5461210e906001600160a01b03166001610c6f565b602254601a546040517f4b38f1d40000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015263ffffffff4316602482015267ffffffffffffffff42166044820152620100009092041690634b38f1d490606401600060405180830381600087803b15801561219257600080fd5b505af19250505080156121a3575060015b506022805460ff19166001179055565b6060600e8054610ab190614d09565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610c65918590611546908690614dea565b60006122063384846132ff565b5060019392505050565b6000546001600160a01b0316331461225e5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b6122688183614e1c565b61ffff166064146122bb5760405162461bcd60e51b815260206004820152601360248201527f4d7573742061646420757020746f2031303025000000000000000000000000006044820152606401610b7e565b6013805461ffff838116620100000263ffffffff19909216908516171790556122e48183614e1c565b6013805461ffff929092166401000000000265ffff00000000199092169190911790555050565b6000546001600160a01b031633146123595760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b601b80548215157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9091161790556040517f7b0a47d3b0234280b6c9213c5bbff44c8b6001bea7770b3950280f9141053257906123d390831515815260200190565b60405180910390a150565b6000546001600160a01b0316331461242c5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b602254760100000000000000000000000000000000000000000000900460ff16156124995760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637420616c726561647920696e697469616c697a65642e0000006044820152606401610b7e565b60328251106124ea5760405162461bcd60e51b815260206004820152600f60248201527f4d61782035302077616c6c6574732e00000000000000000000000000000000006044820152606401610b7e565b805182511461253b5760405162461bcd60e51b815260206004820152601660248201527f4d75737420626520657175616c206c656e677468732e000000000000000000006044820152606401610b7e565b60408051808201909152600c8082527f4d6979617a616b6920496e750000000000000000000000000000000000000000602090920191825261257f91600d916147e3565b506040805180820190915260088082527f4d4959415a414b4900000000000000000000000000000000000000000000000060209092019182526125c491600e916147e3565b5066038d7ea4c68000600c556015805460ff191660091790556015546125ee9060ff16600a614fa0565b600c546125fb9190614e42565b601681905561260c90600019614faf565b61261890600019614dea565b6017556019805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155604080517fc45a0155000000000000000000000000000000000000000000000000000000008152905163c45a015591600480820192602092909190829003018186803b1580156126a057600080fd5b505afa1580156126b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126d89190614fc3565b6001600160a01b031663c9c65396601960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561273457600080fd5b505afa158015612748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276c9190614fc3565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b1580156127cb57600080fd5b505af11580156127df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128039190614fc3565b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039290921691821790556000908152600360205260409020805460ff191660011790556016546002906103e890819061285f908490614e42565b6128699190614e90565b601c55600c54819061287c908490614e42565b6128869190614e90565b601d5550506016546037906127109081906128a2908490614e42565b6128ac9190614e90565b601e55600c5481906128bf908490614e42565b6128c99190614e90565b601f55601654612710906128de906005614e42565b6128e89190614e90565b6020556016546103e8906128fd906005614e42565b6129079190614e90565b6021556022546201000090046001600160a01b031661295057602280547fffffffffffffffffffff0000000000000000000000000000000000000000ffff163062010000021790555b602280547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff16760100000000000000000000000000000000000000000000179055601754600160006129aa6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020556129d66000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef601654604051612a1d91815260200190565b60405180910390a3601954612a3f9030906001600160a01b03166000196131f2565b60005b8451811015612ad9576000858281518110612a5f57612a5f614d8c565b6020908102919091010151601554909150600090612a819060ff16600a614fa0565b868481518110612a9357612a93614d8c565b6020026020010151612aa59190614e42565b9050612ac3612abc6000546001600160a01b031690565b83836132ff565b5050508080612ad190614e01565b915050612a42565b50612b05612aef6000546001600160a01b031690565b3061185f6107256000546001600160a01b031690565b506019546001600160a01b031663f305d7194730612b2281611b53565b600080612b376000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612bb257600080fd5b505af1158015612bc6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612beb9190614fe0565b505050612bf6611ff4565b50505050565b6000546001600160a01b03163314612c4a5760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015612c8a57600080fd5b505afa158015612c9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc29190614fc3565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015612d0a57600080fd5b505afa158015612d1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d429190614fc3565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015612da057600080fd5b505afa158015612db4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd89190614fc3565b90506001600160a01b038116612fa357816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015612e2157600080fd5b505afa158015612e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e599190614fc3565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015612ea157600080fd5b505afa158015612eb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed99190614fc3565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015612f3957600080fd5b505af1158015612f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f719190614fc3565b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055612fcc565b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383161790555b6019805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091556110249030906000196131f2565b6000546001600160a01b031633146130535760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b601b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b031633146130d05760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b602254610100900460ff16156131285760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742063616c6c206166746572206c69717569646974792e000000006044820152606401610b7e565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015613162573d6000803e3d6000fd5b50565b6000546001600160a01b031633146131b35760405162461bcd60e51b815260206004820152601160248201527021b0b63632b9101e979e9037bbb732b91760791b6044820152606401610b7e565b82846016546131c29190614e42565b6131cc9190614e90565b60205560165481906131df908490614e42565b6131e99190614e90565b60215550505050565b6001600160a01b0383166132485760405162461bcd60e51b815260206004820152601360248201527f45524332303a205a65726f2041646472657373000000000000000000000000006044820152606401610b7e565b6001600160a01b03821661329e5760405162461bcd60e51b815260206004820152601360248201527f45524332303a205a65726f2041646472657373000000000000000000000000006044820152606401610b7e565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b03841661337d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b7e565b6001600160a01b0383166133f95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610b7e565b6000821161346f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610b7e565b61347984846138ee565b156136625760225460ff166134d05760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610b7e565b6001600160a01b03841660009081526003602052604090205460ff168061350f57506001600160a01b03831660009081526003602052604090205460ff165b1561358c57601c5482111561358c5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e0000000000000000000000000000000000000000000000006064820152608401610b7e565b6001600160a01b038316737a250d5630b4cf539739df2c5dacb4c659f2488d148015906135d257506001600160a01b03831660009081526003602052604090205460ff16155b1561366257601e54826135e485611b53565b6135ee9190614ea4565b11156136625760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201527f616c6c657453697a652e000000000000000000000000000000000000000000006064820152608401610b7e565b6001600160a01b03841660009081526006602052604090205460019060ff16806136a457506001600160a01b03841660009081526006602052604090205460ff165b156136ad575060005b6001600160a01b03841660009081526003602052604090205460ff161561374857601b5474010000000000000000000000000000000000000000900460ff161580156137145750601b547501000000000000000000000000000000000000000000900460ff165b1561374857600061372430611b53565b9050602054811061374657602154811061373d57506021545b613746816139ab565b505b61375485858584613dde565b95945050505050565b60175460165460009190825b6008548110156138b55782600160006008848154811061378b5761378b614d8c565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806137f657508160026000600884815481106137cf576137cf614d8c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b156138135760165460175461380b9190614e90565b935050505090565b600160006008838154811061382a5761382a614d8c565b60009182526020808320909101546001600160a01b031683528201929092526040019020546138599084614dea565b9250600260006008838154811061387257613872614d8c565b60009182526020808320909101546001600160a01b031683528201929092526040019020546138a19083614dea565b9150806138ad81614e01565b915050613769565b506016546017546138c69190614e90565b8210156138e4576016546017546138dd9190614e90565b9250505090565b6138dd8183614e90565b600080546001600160a01b0384811691161480159061391b57506000546001600160a01b03838116911614155b801561394057506001600160a01b0382166000908152600b602052604090205460ff16155b801561396557506001600160a01b0383166000908152600b602052604090205460ff16155b801561397c57506001600160a01b03821661dead14155b801561399057506001600160a01b03821615155b801561146857506001600160a01b0383163014159392505050565b601b80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560135461ffff64010000000090910416613a0357613db3565b3060009081526005602090815260408083206019546001600160a01b0316845290915290205460001914613a5c573060009081526005602090815260408083206019546001600160a01b03168452909152902060001990555b60135460009060029061ffff6401000000008204811691613a7e911685614e42565b613a889190614e90565b613a929190614e90565b90506000613aa08284614dea565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110613ada57613ada614d8c565b6001600160a01b03928316602091820292909201810191909152601954604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b158015613b4757600080fd5b505afa158015613b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b7f9190614fc3565b81600181518110613b9257613b92614d8c565b6001600160a01b0392831660209182029290920101526019546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac94790613bf190859060009086903090429060040161500e565b600060405180830381600087803b158015613c0b57600080fd5b505af1158015613c1f573d6000803e3d6000fd5b5050601354600092506002915061ffff6401000000008204811691613c45911647614e42565b613c4f9190614e90565b613c599190614e90565b90508315613d61576019546040517ff305d71900000000000000000000000000000000000000000000000000000000815230600482015260248101869052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b158015613ce357600080fd5b505af1158015613cf7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190613d1c9190614fe0565b505060408051868152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a15b6000613d6d8587614dea565b1115613dae57601b546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015613dac573d6000803e3d6000fd5b505b505050505b50601b80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b602254600090610100900460ff16613e8a57613dfa8585614190565b602254610100900460ff16158015613e175750613e1785856138ee565b15613e8a5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e7366657220617420746869732060448201527f74696d652e0000000000000000000000000000000000000000000000000000006064820152608401610b7e565b6000613e988686868661439a565b60808101516001600160a01b038816600090815260016020526040902054919250613ec291614dea565b6001600160a01b0380881660009081526001602052604080822093909355606084015191881681529190912054613ef99190614ea4565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff168015613f4d57506001600160a01b03851660009081526007602052604090205460ff16155b15613f94576001600160a01b038616600090815260026020526040902054613f76908590614dea565b6001600160a01b0387166000908152600260205260409020556140d4565b6001600160a01b03861660009081526007602052604090205460ff16158015613fd557506001600160a01b03851660009081526007602052604090205460ff165b1561401d5780516001600160a01b038616600090815260026020526040902054613fff9190614ea4565b6001600160a01b0386166000908152600260205260409020556140d4565b6001600160a01b03861660009081526007602052604090205460ff16801561405d57506001600160a01b03851660009081526007602052604090205460ff165b156140d4576001600160a01b038616600090815260026020526040902054614086908590614dea565b6001600160a01b03808816600090815260026020526040808220939093558351918816815291909120546140ba9190614ea4565b6001600160a01b0386166000908152600260205260409020555b6040810151156140ec576140ec868260400151614723565b60008160a001511180614103575060008160200151115b15614124578060a001516017600082825461411e9190614dea565b90915550505b80602001516018600082825461413a9190614ea4565b909155505080516040519081526001600160a01b0386811691908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600195945050505050565b602254610100900460ff161561420e5760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610b7e565b61421882826138ee565b1580156142325750601a546001600160a01b038281169116145b15611026576001600160a01b03821630141561428d576001600b60006142606000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556142b1565b6001600160a01b0382166000908152600b60205260409020805460ff191660011790555b602280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017908190556201000090046001600160a01b031661432257602280547fffffffffffffffffffff0000000000000000000000000000000000000000ffff163062010000021790555b601b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055604051600181527f7b0a47d3b0234280b6c9213c5bbff44c8b6001bea7770b3950280f91410532579060200160405180910390a15050565b6143d36040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61440c6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600061441661375d565b90506144228186614e42565b608083015261443187876138ee565b156144f3576022546040517fecd07a530000000000000000000000000000000000000000000000000000000081526001600160a01b038981166004830152888116602483015260448201889052600092620100009004169063ecd07a5390606401602060405180830381600087803b1580156144ac57600080fd5b505af19250505080156144dc575060408051601f3d908101601f191682019092526144d99181019061507f565b60015b6144e557600080fd5b9050806144f157600080fd5b505b83156146cd576001600160a01b03861660009081526003602052604090205460ff161561456457601154600f805461ffff80841663ffffffff1990921691909117620100008085048316021765ffff0000000019166401000000009384900491909116909202919091179055614615565b6001600160a01b03871660009081526003602052604090205460ff16156145cf57601054600f805461ffff80841663ffffffff1990921691909117620100008085048316021765ffff0000000019166401000000009384900491909116909202919091179055614615565b601254600f805461ffff80841663ffffffff1990921691909117620100008085048316021765ffff00000000191664010000000093849004919091169092029190911790555b601454600f5461ffff6601000000000000909204821691614637911687614e42565b6146419190614e90565b6020830152601454600f5461ffff66010000000000009092048216916146799164010000000081048216916201000090910416614e1c565b6146879061ffff1687614e42565b6146919190614e90565b6040830181905260208301516146a79190614ea4565b6146b19086614dea565b825260208201516146c3908290614e42565b60a08301526146e6565b6000602083018190526040830181905285835260a08301525b8082604001516146f69190614e42565b8260a001516147059190614ea4565b82608001516147149190614dea565b60608301525095945050505050565b61472b61375d565b6147359082614e42565b3060009081526001602052604090205461474f9190614ea4565b3060009081526001602090815260408083209390935560079052205460ff161561479f573060009081526002602052604090205461478e908290614ea4565b306000908152600260205260409020555b60405181815230906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546147ef90614d09565b90600052602060002090601f0160209004810192826148115760008555614857565b82601f1061482a57805160ff1916838001178555614857565b82800160010185558215614857579182015b8281111561485757825182559160200191906001019061483c565b50614863929150614867565b5090565b5b808211156148635760008155600101614868565b600060208083528351808285015260005b818110156148a95785810183015185820160400152820161488d565b818111156148bb576000604083870101525b50601f01601f1916929092016040019392505050565b6000602082840312156148e357600080fd5b5035919050565b6001600160a01b038116811461316257600080fd5b6000806040838503121561491257600080fd5b823561491d816148ea565b946020939093013593505050565b801515811461316257600080fd5b6000806040838503121561494c57600080fd5b8235614957816148ea565b915060208301356149678161492b565b809150509250929050565b803561ffff8116811461498457600080fd5b919050565b60008060006060848603121561499e57600080fd5b6149a784614972565b92506149b560208501614972565b91506149c360408501614972565b90509250925092565b6000806000606084860312156149e157600080fd5b83356149ec816148ea565b925060208401356149fc816148ea565b929592945050506040919091013590565b60008060408385031215614a2057600080fd5b50508035926020909101359150565b60008060008060808587031215614a4557600080fd5b8435614a508161492b565b93506020850135614a608161492b565b92506040850135614a708161492b565b91506060850135614a808161492b565b939692955090935050565b600060208284031215614a9d57600080fd5b8135611468816148ea565b60008060408385031215614abb57600080fd5b614ac483614972565b9150614ad260208401614972565b90509250929050565b600060208284031215614aed57600080fd5b81356114688161492b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614b5057614b50614af8565b604052919050565b600067ffffffffffffffff821115614b7257614b72614af8565b5060051b60200190565b600082601f830112614b8d57600080fd5b81356020614ba2614b9d83614b58565b614b27565b82815260059290921b84018101918181019086841115614bc157600080fd5b8286015b84811015614bdc5780358352918301918301614bc5565b509695505050505050565b60008060408385031215614bfa57600080fd5b823567ffffffffffffffff80821115614c1257600080fd5b818501915085601f830112614c2657600080fd5b81356020614c36614b9d83614b58565b82815260059290921b84018101918181019089841115614c5557600080fd5b948201945b83861015614c7c578535614c6d816148ea565b82529482019490820190614c5a565b96505086013592505080821115614c9257600080fd5b50614c9f85828601614b7c565b9150509250929050565b60008060408385031215614cbc57600080fd5b8235614cc7816148ea565b91506020830135614967816148ea565b60008060008060808587031215614ced57600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c90821680614d1d57607f821691505b60208210811415614d57577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015614dfc57614dfc614dbb565b500390565b6000600019821415614e1557614e15614dbb565b5060010190565b600061ffff808316818516808303821115614e3957614e39614dbb565b01949350505050565b6000816000190483118215151615614e5c57614e5c614dbb565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614e9f57614e9f614e61565b500490565b60008219821115614eb757614eb7614dbb565b500190565b600181815b80851115614ef7578160001904821115614edd57614edd614dbb565b80851615614eea57918102915b93841c9390800290614ec1565b509250929050565b600082614f0e57506001610c69565b81614f1b57506000610c69565b8160018114614f315760028114614f3b57614f57565b6001915050610c69565b60ff841115614f4c57614f4c614dbb565b50506001821b610c69565b5060208310610133831016604e8410600b8410161715614f7a575081810a610c69565b614f848383614ebc565b8060001904821115614f9857614f98614dbb565b029392505050565b600061146860ff841683614eff565b600082614fbe57614fbe614e61565b500690565b600060208284031215614fd557600080fd5b8151611468816148ea565b600080600060608486031215614ff557600080fd5b8351925060208401519150604084015190509250925092565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561505e5784516001600160a01b031683529383019391830191600101615039565b50506001600160a01b03969096166060850152505050608001529392505050565b60006020828403121561509157600080fd5b81516114688161492b56fea264697066735822122027340d2154ec8a2f0c9f470ea078b245c12b49623809dcfc268f2f288748da1364736f6c63430008090033
Verified Source Code Partial Match
Compiler: v0.8.9+commit.e5eed63a
EVM: london
Optimization: Yes (5000 runs)
AaTokenContract.sol 845 lines
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
abstract contract Context {
function _msgSender() internal view returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
interface IERC20Upgradeable {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/od/ai/nu/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address lpPair, uint);
function getPair(address tokenA, address tokenB) external view returns (address lpPair);
function createPair(address tokenA, address tokenB) external returns (address lpPair);
}
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
function factory() external view returns (address);
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
interface AntiSnipe {
function checkUser(address from, address to, uint256 amt) external returns (bool);
function setLaunch(address _initialLpPair, uint32 _liqAddBlock, uint64 _liqAddStamp) external;
function setLpPair(address pair, bool enabled) external;
function setProtections(bool _as, bool _ag, bool _ab, bool _aspecial) external;
function setGasPriceLimit(uint256 gas) external;
function removeSniper(address account) external;
function setBlacklistEnabled(address account, bool enabled) external;
}
contract AaTokenContract is Context, IERC20Upgradeable {
// Ownership moved to in-contract for customizability.
address private _owner;
mapping (address => uint256) private _rOwned;
mapping (address => uint256) private _tOwned;
mapping (address => bool) lpPairs;
uint256 private timeSinceLastPair = 0;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) private _isExcludedFromFees;
mapping (address => bool) private _isExcluded;
address[] private _excluded;
bool private allowedPresaleExclusion = true;
mapping (address => bool) private _isSniper;
mapping (address => bool) private _liquidityHolders;
uint256 private startingSupply;
string private _name;
string private _symbol;
struct FeesStruct {
uint16 reflectFee;
uint16 liquidityFee;
uint16 marketingFee;
}
struct StaticValuesStruct {
uint16 maxReflectFee;
uint16 maxLiquidityFee;
uint16 maxMarketingFee;
uint16 masterTaxDivisor;
}
struct Ratios {
uint16 liquidityRatio;
uint16 marketingRatio;
uint16 totalRatio;
}
FeesStruct private currentTaxes = FeesStruct({
reflectFee: 0,
liquidityFee: 0,
marketingFee: 0
});
FeesStruct public _buyTaxes = FeesStruct({
reflectFee: 300,
liquidityFee: 300,
marketingFee: 300
});
FeesStruct public _sellTaxes = FeesStruct({
reflectFee: 300,
liquidityFee: 300,
marketingFee: 300
});
FeesStruct public _transferTaxes = FeesStruct({
reflectFee: 300,
liquidityFee: 300,
marketingFee: 300
});
Ratios public _ratios = Ratios({
liquidityRatio: _buyTaxes.liquidityFee,
marketingRatio: _buyTaxes.marketingFee,
totalRatio: _buyTaxes.liquidityFee + _buyTaxes.marketingFee
});
StaticValuesStruct public staticVals = StaticValuesStruct({
maxReflectFee: 800,
maxLiquidityFee: 800,
maxMarketingFee: 800,
masterTaxDivisor: 10000
});
uint256 private constant MAX = ~uint256(0);
uint8 private _decimals;
uint256 private _tTotal;
uint256 private _rTotal;
uint256 private _tFeeTotal;
IUniswapV2Router02 public dexRouter;
address public lpPair;
// UNI ROUTER
address constant private _routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
address constant public DEAD = 0x000000000000000000000000000000000000dEaD;
address payable private _marketingWallet = payable(0xFe9EBe595617baf16101A6bd607248d538D7Ec8b);
bool inSwap;
bool public contractSwapEnabled = false;
uint256 private _maxTxAmount;
uint256 public maxTxAmountUI;
uint256 private _maxWalletSize;
uint256 public maxWalletSizeUI;
uint256 private swapThreshold;
uint256 private swapAmount;
bool public tradingEnabled = false;
bool public _hasLiqBeenAdded = false;
AntiSnipe antiSnipe;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
event ContractSwapEnabledUpdated(bool enabled);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
event SniperCaught(address sniperAddress);
modifier lockTheSwap {
inSwap = true;
_;
inSwap = false;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Caller =/= owner.");
_;
}
constructor () payable {
// Set the owner.
_owner = msg.sender;
_approve(_msgSender(), _routerAddress, type(uint256).max);
_approve(address(this), _routerAddress, type(uint256).max);
_isExcludedFromFees[owner()] = true;
_isExcludedFromFees[address(this)] = true;
_isExcludedFromFees[DEAD] = true;
_liquidityHolders[owner()] = true;
}
bool contractInitialized = false;
function intializeContract(address[] memory accounts, uint256[] memory amounts) external onlyOwner {
require(!contractInitialized, "Contract already initialized.");
require(accounts.length < 50, "Max 50 wallets.");
require(accounts.length == amounts.length, "Must be equal lengths.");
_name = "Miyazaki Inu";
_symbol = "MIYAZAKI";
startingSupply = 1_000_000_000_000_000;
if (startingSupply < 10000000000) {
_decimals = 18;
} else {
_decimals = 9;
}
_tTotal = startingSupply * (10**_decimals);
_rTotal = (MAX - (MAX % _tTotal));
dexRouter = IUniswapV2Router02(_routerAddress);
lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(), address(this));
lpPairs[lpPair] = true;
uint256 percent = 2;
uint256 divisor = 1000;
_maxTxAmount = (_tTotal * percent) / divisor;
maxTxAmountUI = (startingSupply * percent) / divisor;
percent = 55;
divisor = 10000;
_maxWalletSize = (_tTotal * percent) / divisor;
maxWalletSizeUI = (startingSupply * percent) / divisor;
swapThreshold = (_tTotal * 5) / 10000;
swapAmount = (_tTotal * 5) / 1000;
if(address(antiSnipe) == address(0)){
antiSnipe = AntiSnipe(address(this));
}
contractInitialized = true;
_rOwned[owner()] = _rTotal;
emit Transfer(address(0), owner(), _tTotal);
_approve(address(this), address(dexRouter), type(uint256).max);
for(uint256 i = 0; i < accounts.length; i++){
address wallet = accounts[i];
uint256 amount = amounts[i]*10**_decimals;
_transfer(owner(), wallet, amount);
}
_transfer(owner(), address(this), balanceOf(owner()));
dexRouter.addLiquidityETH{value: address(this).balance}(
address(this),
balanceOf(address(this)),
0, // slippage is unavoidable
0, // slippage is unavoidable
owner(),
block.timestamp
);
enableTrading();
}
receive() external payable {}
//===============================================================================================================
//===============================================================================================================
//===============================================================================================================
// Ownable removed as a lib and added here to allow for custom transfers and recnouncements.
// This allows for removal of ownership privelages from the owner once renounced or transferred.
function owner() public view returns (address) {
return _owner;
}
function transferOwner(address newOwner) external onlyOwner() {
require(newOwner != address(0), "Call renounceOwnership to transfer owner to the zero address.");
require(newOwner != DEAD, "Call renounceOwnership to transfer owner to the zero address.");
setExcludedFromFees(_owner, false);
setExcludedFromFees(newOwner, true);
if (tradingEnabled){
setExcludedFromReward(newOwner, true);
}
if (_marketingWallet == payable(_owner))
_marketingWallet = payable(newOwner);
if(balanceOf(_owner) > 0) {
_transfer(_owner, newOwner, balanceOf(_owner));
}
_owner = newOwner;
emit OwnershipTransferred(_owner, newOwner);
}
function renounceOwnership() public virtual onlyOwner() {
setExcludedFromFees(_owner, false);
_owner = address(0);
emit OwnershipTransferred(_owner, address(0));
}
//===============================================================================================================
//===============================================================================================================
//===============================================================================================================
function totalSupply() external view override returns (uint256) { return _tTotal; }
function decimals() external view returns (uint8) { return _decimals; }
function symbol() external view returns (string memory) { return _symbol; }
function name() external view returns (string memory) { return _name; }
function getOwner() external view returns (address) { return owner(); }
function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; }
function balanceOf(address account) public view override returns (uint256) {
if (_isExcluded[account]) return _tOwned[account];
return tokenFromReflection(_rOwned[account]);
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function _approve(address sender, address spender, uint256 amount) private {
require(sender != address(0), "ERC20: Zero Address");
require(spender != address(0), "ERC20: Zero Address");
_allowances[sender][spender] = amount;
emit Approval(sender, spender, amount);
}
function approveContractContingency() public onlyOwner returns (bool) {
_approve(address(this), address(dexRouter), type(uint256).max);
return true;
}
function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
if (_allowances[sender][msg.sender] != type(uint256).max) {
_allowances[sender][msg.sender] -= amount;
}
return _transfer(sender, recipient, amount);
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue);
return true;
}
function setNewRouter(address newRouter) public onlyOwner() {
IUniswapV2Router02 _newRouter = IUniswapV2Router02(newRouter);
address get_pair = IUniswapV2Factory(_newRouter.factory()).getPair(address(this), _newRouter.WETH());
if (get_pair == address(0)) {
lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this), _newRouter.WETH());
}
else {
lpPair = get_pair;
}
dexRouter = _newRouter;
_approve(address(this), address(dexRouter), type(uint256).max);
}
function setLpPair(address pair, bool enabled) external onlyOwner {
if (enabled == false) {
lpPairs[pair] = false;
antiSnipe.setLpPair(pair, false);
} else {
if (timeSinceLastPair != 0) {
require(block.timestamp - timeSinceLastPair > 1 weeks, "Cannot set a new pair this week!");
}
lpPairs[pair] = true;
timeSinceLastPair = block.timestamp;
antiSnipe.setLpPair(pair, true);
}
}
function isExcludedFromFees(address account) public view returns(bool) {
return _isExcludedFromFees[account];
}
function setExcludedFromFees(address account, bool enabled) public onlyOwner {
_isExcludedFromFees[account] = enabled;
}
function isExcludedFromReward(address account) public view returns (bool) {
return _isExcluded[account];
}
function setExcludedFromReward(address account, bool enabled) public onlyOwner {
if (enabled == true) {
require(!_isExcluded[account], "Account is already excluded.");
if(_rOwned[account] > 0) {
_tOwned[account] = tokenFromReflection(_rOwned[account]);
}
_isExcluded[account] = true;
_excluded.push(account);
} else if (enabled == false) {
require(_isExcluded[account], "Account is already included.");
if(_excluded.length == 1){
_tOwned[account] = 0;
_isExcluded[account] = false;
_excluded.pop();
} else {
for (uint256 i = 0; i < _excluded.length; i++) {
if (_excluded[i] == account) {
_excluded[i] = _excluded[_excluded.length - 1];
_tOwned[account] = 0;
_isExcluded[account] = false;
_excluded.pop();
break;
}
}
}
}
}
function setInitializer(address initializer) external onlyOwner {
require(!_hasLiqBeenAdded, "Liquidity is already in.");
antiSnipe = AntiSnipe(initializer);
}
function removeSniper(address account) external onlyOwner() {
antiSnipe.removeSniper(account);
}
function setProtectionSettings(bool _antiSnipe, bool _antiGas, bool _antiBlock, bool _antiSpecial) external onlyOwner() {
antiSnipe.setProtections(_antiSnipe, _antiGas, _antiBlock, _antiSpecial);
}
function setGasPriceLimit(uint256 gas) external onlyOwner {
require(gas >= 75, "Too low.");
antiSnipe.setGasPriceLimit(gas);
}
function setTaxesBuy(uint16 reflectFee, uint16 liquidityFee, uint16 marketingFee) external onlyOwner {
require(reflectFee <= staticVals.maxReflectFee
&& liquidityFee <= staticVals.maxLiquidityFee
&& marketingFee <= staticVals.maxMarketingFee);
require(liquidityFee + reflectFee + marketingFee <= 3450);
_buyTaxes.liquidityFee = liquidityFee;
_buyTaxes.reflectFee = reflectFee;
_buyTaxes.marketingFee = marketingFee;
}
function setTaxesSell(uint16 reflectFee, uint16 liquidityFee, uint16 marketingFee) external onlyOwner {
require(reflectFee <= staticVals.maxReflectFee
&& liquidityFee <= staticVals.maxLiquidityFee
&& marketingFee <= staticVals.maxMarketingFee);
require(liquidityFee + reflectFee + marketingFee <= 3450);
_sellTaxes.liquidityFee = liquidityFee;
_sellTaxes.reflectFee = reflectFee;
_sellTaxes.marketingFee = marketingFee;
}
function setTaxesTransfer(uint16 reflectFee, uint16 liquidityFee, uint16 marketingFee) external onlyOwner {
require(reflectFee <= staticVals.maxReflectFee
&& liquidityFee <= staticVals.maxLiquidityFee
&& marketingFee <= staticVals.maxMarketingFee);
require(liquidityFee + reflectFee + marketingFee <= 3450);
_transferTaxes.liquidityFee = liquidityFee;
_transferTaxes.reflectFee = reflectFee;
_transferTaxes.marketingFee = marketingFee;
}
function setRatios(uint16 liquidity, uint16 marketing) external onlyOwner {
require (liquidity + marketing == 100, "Must add up to 100%");
_ratios.liquidityRatio = liquidity;
_ratios.marketingRatio = marketing;
_ratios.totalRatio = liquidity + marketing;
}
function setMaxTxPercent(uint256 percent, uint256 divisor) external onlyOwner {
uint256 check = (_tTotal * percent) / divisor;
require(check >= (_tTotal / 1000), "Max Transaction amt must be above 0.1% of total supply.");
_maxTxAmount = check;
maxTxAmountUI = (startingSupply * percent) / divisor;
}
function setMaxWalletSize(uint256 percent, uint256 divisor) external onlyOwner {
uint256 check = (_tTotal * percent) / divisor;
require(check >= (_tTotal / 1000), "Max Wallet amt must be above 0.1% of total supply.");
_maxWalletSize = check;
maxWalletSizeUI = (startingSupply * percent) / divisor;
}
function setSwapSettings(uint256 thresholdPercent, uint256 thresholdDivisor, uint256 amountPercent, uint256 amountDivisor) external onlyOwner {
swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor;
swapAmount = (_tTotal * amountPercent) / amountDivisor;
}
function setWallets(address payable marketingWallet) external onlyOwner {
_marketingWallet = payable(marketingWallet);
}
function setContractSwapEnabled(bool _enabled) public onlyOwner {
contractSwapEnabled = _enabled;
emit ContractSwapEnabledUpdated(_enabled);
}
function _hasLimits(address from, address to) private view returns (bool) {
return from != owner()
&& to != owner()
&& !_liquidityHolders[to]
&& !_liquidityHolders[from]
&& to != DEAD
&& to != address(0)
&& from != address(this);
}
function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
require(rAmount <= _rTotal, "Amount must be less than total reflections");
uint256 currentRate = _getRate();
return rAmount / currentRate;
}
function _transfer(address from, address to, uint256 amount) internal returns (bool) {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
if(_hasLimits(from, to)) {
if(!tradingEnabled) {
revert("Trading not yet enabled!");
}
if(lpPairs[from] || lpPairs[to]){
require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
}
if(to != _routerAddress && !lpPairs[to]) {
require(balanceOf(to) + amount <= _maxWalletSize, "Transfer amount exceeds the maxWalletSize.");
}
}
bool takeFee = true;
if(_isExcludedFromFees[from] || _isExcludedFromFees[to]){
takeFee = false;
}
if (lpPairs[to]) {
if (!inSwap
&& contractSwapEnabled
) {
uint256 contractTokenBalance = balanceOf(address(this));
if (contractTokenBalance >= swapThreshold) {
if(contractTokenBalance >= swapAmount) { contractTokenBalance = swapAmount; }
contractSwap(contractTokenBalance);
}
}
}
return _finalizeTransfer(from, to, amount, takeFee);
}
function contractSwap(uint256 contractTokenBalance) private lockTheSwap {
if (_ratios.totalRatio == 0)
return;
if(_allowances[address(this)][address(dexRouter)] != type(uint256).max) {
_allowances[address(this)][address(dexRouter)] = type(uint256).max;
}
uint256 toLiquify = ((contractTokenBalance * _ratios.liquidityRatio) / _ratios.totalRatio) / 2;
uint256 toSwapForEth = contractTokenBalance - toLiquify;
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = dexRouter.WETH();
dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
toSwapForEth,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
//uint256 currentBalance = address(this).balance;
uint256 liquidityBalance = ((address(this).balance * _ratios.liquidityRatio) / _ratios.totalRatio) / 2;
if (toLiquify > 0) {
dexRouter.addLiquidityETH{value: liquidityBalance}(
address(this),
toLiquify,
0, // slippage is unavoidable
0, // slippage is unavoidable
DEAD,
block.timestamp
);
emit SwapAndLiquify(toLiquify, liquidityBalance, toLiquify);
}
if (contractTokenBalance - toLiquify > 0) {
_marketingWallet.transfer(address(this).balance);
}
}
function _checkLiquidityAdd(address from, address to) private {
require(!_hasLiqBeenAdded, "Liquidity already added and marked.");
if (!_hasLimits(from, to) && to == lpPair) {
if (from == address(this)){
_liquidityHolders[owner()] = true;
} else {
_liquidityHolders[from] = true;
}
_hasLiqBeenAdded = true;
if(address(antiSnipe) == address(0)){
antiSnipe = AntiSnipe(address(this));
}
contractSwapEnabled = true;
emit ContractSwapEnabledUpdated(true);
}
}
function enableTrading() public onlyOwner {
require(!tradingEnabled, "Trading already enabled!");
require(_hasLiqBeenAdded, "Liquidity must be added.");
setExcludedFromReward(address(this), true);
setExcludedFromReward(lpPair, true);
try antiSnipe.setLaunch(lpPair, uint32(block.number), uint64(block.timestamp)) {} catch {}
tradingEnabled = true;
}
struct ExtraValues {
uint256 tTransferAmount;
uint256 tFee;
uint256 tLiquidity;
uint256 rTransferAmount;
uint256 rAmount;
uint256 rFee;
}
function _finalizeTransfer(address from, address to, uint256 tAmount, bool takeFee) private returns (bool) {
if (!_hasLiqBeenAdded) {
_checkLiquidityAdd(from, to);
if (!_hasLiqBeenAdded && _hasLimits(from, to)) {
revert("Only owner can transfer at this time.");
}
}
ExtraValues memory values = _getValues(from, to, tAmount, takeFee);
_rOwned[from] = _rOwned[from] - values.rAmount;
_rOwned[to] = _rOwned[to] + values.rTransferAmount;
if (_isExcluded[from] && !_isExcluded[to]) {
_tOwned[from] = _tOwned[from] - tAmount;
} else if (!_isExcluded[from] && _isExcluded[to]) {
_tOwned[to] = _tOwned[to] + values.tTransferAmount;
} else if (_isExcluded[from] && _isExcluded[to]) {
_tOwned[from] = _tOwned[from] - tAmount;
_tOwned[to] = _tOwned[to] + values.tTransferAmount;
}
if (values.tLiquidity > 0)
_takeLiquidity(from, values.tLiquidity);
if (values.rFee > 0 || values.tFee > 0)
_rTotal -= values.rFee;
_tFeeTotal += values.tFee;
emit Transfer(from, to, values.tTransferAmount);
return true;
}
function _getValues(address from, address to, uint256 tAmount, bool takeFee) private returns (ExtraValues memory) {
ExtraValues memory values;
uint256 currentRate = _getRate();
values.rAmount = tAmount * currentRate;
if (_hasLimits(from, to)) {
bool checked;
try antiSnipe.checkUser(from, to, tAmount) returns (bool check) {
checked = check;
} catch {
revert();
}
if(!checked) {
revert();
}
}
if(takeFee) {
if (lpPairs[to]) {
currentTaxes.reflectFee = _sellTaxes.reflectFee;
currentTaxes.liquidityFee = _sellTaxes.liquidityFee;
currentTaxes.marketingFee = _sellTaxes.marketingFee;
} else if (lpPairs[from]) {
currentTaxes.reflectFee = _buyTaxes.reflectFee;
currentTaxes.liquidityFee = _buyTaxes.liquidityFee;
currentTaxes.marketingFee = _buyTaxes.marketingFee;
} else {
currentTaxes.reflectFee = _transferTaxes.reflectFee;
currentTaxes.liquidityFee = _transferTaxes.liquidityFee;
currentTaxes.marketingFee = _transferTaxes.marketingFee;
}
values.tFee = (tAmount * currentTaxes.reflectFee) / staticVals.masterTaxDivisor;
values.tLiquidity = (tAmount * (currentTaxes.liquidityFee + currentTaxes.marketingFee)) / staticVals.masterTaxDivisor;
values.tTransferAmount = tAmount - (values.tFee + values.tLiquidity);
values.rFee = values.tFee * currentRate;
} else {
values.tFee = 0;
values.tLiquidity = 0;
values.tTransferAmount = tAmount;
values.rFee = 0;
}
values.rTransferAmount = values.rAmount - (values.rFee + (values.tLiquidity * currentRate));
return values;
}
function _getRate() private view returns(uint256) {
uint256 rSupply = _rTotal;
uint256 tSupply = _tTotal;
for (uint256 i = 0; i < _excluded.length; i++) {
if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return _rTotal / _tTotal;
rSupply = rSupply - _rOwned[_excluded[i]];
tSupply = tSupply - _tOwned[_excluded[i]];
}
if (rSupply < _rTotal / _tTotal) return _rTotal / _tTotal;
return rSupply / tSupply;
}
function _takeLiquidity(address sender, uint256 tLiquidity) private {
_rOwned[address(this)] = _rOwned[address(this)] + (tLiquidity * _getRate());
if(_isExcluded[address(this)])
_tOwned[address(this)] = _tOwned[address(this)] + tLiquidity;
emit Transfer(sender, address(this), tLiquidity); // Transparency is the key to success.
}
function sweepContingency() external onlyOwner {
require(!_hasLiqBeenAdded, "Cannot call after liquidity.");
payable(owner()).transfer(address(this).balance);
}
}
Read Contract
DEAD 0x03fd2a45 → address
_buyTaxes 0x7b45d431 → uint16, uint16, uint16
_hasLiqBeenAdded 0x50a8e016 → bool
_ratios 0xcf847706 → uint16, uint16, uint16
_sellTaxes 0xc6831cd8 → uint16, uint16, uint16
_transferTaxes 0xc2fa418f → uint16, uint16, uint16
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
contractSwapEnabled 0xfdb78c0e → bool
decimals 0x313ce567 → uint8
dexRouter 0x0758d924 → address
getOwner 0x893d20e8 → address
isExcludedFromFees 0x4fbee193 → bool
isExcludedFromReward 0x88f82020 → bool
lpPair 0x452ed4f1 → address
maxTxAmountUI 0x64038409 → uint256
maxWalletSizeUI 0xf6540ec7 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
staticVals 0x1b6afa2d → uint16, uint16, uint16, uint16
symbol 0x95d89b41 → string
tokenFromReflection 0x2d838119 → uint256
totalSupply 0x18160ddd → uint256
tradingEnabled 0x4ada218b → bool
Write Contract 28 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
approveContractContingency 0x8a63bd9b
No parameters
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
intializeContract 0xce9a6a2a
address[] accounts
uint256[] amounts
removeSniper 0x33251a0b
address account
renounceOwnership 0x715018a6
No parameters
setContractSwapEnabled 0xcab5ebea
bool _enabled
setExcludedFromFees 0x590ffdce
address account
bool enabled
setExcludedFromReward 0x13e46192
address account
bool enabled
setGasPriceLimit 0x09231602
uint256 gas
setInitializer 0x5c24b074
address initializer
setLpPair 0x80c581d1
address pair
bool enabled
setMaxTxPercent 0x3f3cf56c
uint256 percent
uint256 divisor
setMaxWalletSize 0x26003957
uint256 percent
uint256 divisor
setNewRouter 0xeafb5a3c
address newRouter
setProtectionSettings 0x29dd8798
bool _antiSnipe
bool _antiGas
bool _antiBlock
bool _antiSpecial
setRatios 0xbcd96a25
uint16 liquidity
uint16 marketing
setSwapSettings 0xfb78680d
uint256 thresholdPercent
uint256 thresholdDivisor
uint256 amountPercent
uint256 amountDivisor
setTaxesBuy 0x55d8ece6
uint16 reflectFee
uint16 liquidityFee
uint16 marketingFee
setTaxesSell 0x8965b55d
uint16 reflectFee
uint16 liquidityFee
uint16 marketingFee
setTaxesTransfer 0x1e90afe3
uint16 reflectFee
uint16 liquidityFee
uint16 marketingFee
setWallets 0xeb50e70e
address marketingWallet
sweepContingency 0xee5d9c2d
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwner 0x4fb2e45d
address newOwner
Recent Transactions
No transactions found for this address