Address Contract Verified
Address
0x03c7a08451Ed5c820958d64116D74De1f7B285d8
Balance
0.982040 ETH ($2011.95)
Nonce
1
Code Size
13863 bytes
Creator
0x27A93A44...220A at tx 0x3b9b6cca...b8f28a
Indexed Transactions
0 (1 on-chain, 0% indexed)
Contract Bytecode
13863 bytes
0x6080604052600436106102975760003560e01c806370a082311161015a578063a901dd92116100c1578063ca33e64c1161007a578063ca33e64c146108f4578063d547741f14610914578063dd62ed3e14610934578063df20fd4914610954578063f062172b14610974578063ffb54a991461099457600080fd5b8063a901dd92146107d5578063a9059cbb146107f5578063abe57e7014610815578063b2c57fff14610835578063c0d78655146108b4578063c40fedc6146108d457600080fd5b806395f93d481161011357806395f93d48146106e55780639be953b314610746578063a217fddf14610766578063a457c2d71461077b578063a4b45c001461079b578063a771ebc7146107bb57600080fd5b806370a08231146105f857806375b238fc1461062e5780638988d078146106505780638e3c37601461068057806391d14854146106b057806395d89b41146106d057600080fd5b80632af10fac116101fe578063461a4450116101b7578063461a4450146105435780634c57f8d2146105635780635005180a1461058357806354200d6f146105a357806357ff135a146105c35780635df45a37146105e357600080fd5b80632af10fac1461045f5780632f2ff15d14610497578063313ce567146104b757806336568abe146104d357806339509351146104f357806343cc8c2a1461051357600080fd5b80631da1db5e116102505780631da1db5e146103705780631faf723b1461039057806323b872dd146103b0578063248a9ca3146103d057806325cef45814610400578063291785b21461043f57600080fd5b806301339c21146102a357806301ffc9a7146102ba57806306fdde03146102ef578063095ea7b31461031157806318160ddd14610331578063184293871461035057600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b86109b3565b005b3480156102c657600080fd5b506102da6102d5366004613190565b610acf565b60405190151581526020015b60405180910390f35b3480156102fb57600080fd5b50610304610b06565b6040516102e6919061330b565b34801561031d57600080fd5b506102da61032c366004612f7e565b610b98565b34801561033d57600080fd5b506003545b6040519081526020016102e6565b34801561035c57600080fd5b506102b861036b366004612f33565b610bb0565b34801561037c57600080fd5b506102b861038b366004613152565b610c0b565b34801561039c57600080fd5b506102b86103ab3660046131ff565b610c56565b3480156103bc57600080fd5b506102da6103cb366004612ef2565b610ce1565b3480156103dc57600080fd5b506103426103eb366004613152565b60009081526020819052604090206001015490565b34801561040c57600080fd5b50601d54601e54601f5461042292919060ff1683565b6040805193845260208401929092521515908201526060016102e6565b34801561044b57600080fd5b506102b861045a3660046131ba565b610d07565b34801561046b57600080fd5b5060075461047f906001600160a01b031681565b6040516001600160a01b0390911681526020016102e6565b3480156104a357600080fd5b506102b86104b236600461316b565b610e1e565b3480156104c357600080fd5b50604051600981526020016102e6565b3480156104df57600080fd5b506102b86104ee36600461316b565b610e48565b3480156104ff57600080fd5b506102da61050e366004612f7e565b610ecb565b34801561051f57600080fd5b506102da61052e366004612e7f565b60116020526000908152604090205460ff1681565b34801561054f57600080fd5b506102b861055e3660046130ed565b610eed565b34801561056f57600080fd5b506102b861057e366004612faa565b610f5f565b34801561058f57600080fd5b506102b861059e3660046130b3565b611065565b3480156105af57600080fd5b506102b86105be3660046130b3565b611091565b3480156105cf57600080fd5b506102b86105de366004612f33565b611102565b3480156105ef57600080fd5b50600a54610342565b34801561060457600080fd5b50610342610613366004612e7f565b6001600160a01b031660009081526001602052604090205490565b34801561063a57600080fd5b506103426000805160206135d283398151915281565b34801561065c57600080fd5b506102da61066b366004612e7f565b60166020526000908152604090205460ff1681565b34801561068c57600080fd5b506106a061069b36600461324f565b61115d565b6040516102e6949392919061331e565b3480156106bc57600080fd5b506102da6106cb36600461316b565b6112b7565b3480156106dc57600080fd5b506103046112e0565b3480156106f157600080fd5b50601c5461071b9060ff808216916101008104821691620100008204811691630100000090041684565b604080519415158552921515602085015260ff918216928401929092521660608201526080016102e6565b34801561075257600080fd5b506102b8610761366004612e7f565b6112ef565b34801561077257600080fd5b50610342600081565b34801561078757600080fd5b506102da610796366004612f7e565b611323565b3480156107a757600080fd5b506102b86107b6366004612eb9565b6113a9565b3480156107c757600080fd5b506010546102da9060ff1681565b3480156107e157600080fd5b506102b86107f03660046130b3565b611428565b34801561080157600080fd5b506102da610810366004612f7e565b611481565b34801561082157600080fd5b506102b86108303660046131ff565b61148f565b34801561084157600080fd5b50601854601954601a54601b546108779392919060ff808216916101008104821691620100008204811691630100000090041687565b6040805197885260208801969096529486019390935260ff909116606085015215156080840152151560a0830152151560c082015260e0016102e6565b3480156108c057600080fd5b506102b86108cf366004612e7f565b611511565b3480156108e057600080fd5b506102da6108ef366004612eb9565b611920565b34801561090057600080fd5b5060065461047f906001600160a01b031681565b34801561092057600080fd5b506102b861092f36600461316b565b611a56565b34801561094057600080fd5b5061034261094f366004612eb9565b611a7b565b34801561096057600080fd5b506102b861096f366004613134565b611aa6565b34801561098057600080fd5b506102b861098f36600461306c565b611b28565b3480156109a057600080fd5b506010546102da90610100900460ff1681565b6000805160206135d28339815191526109cb81611d97565b601b8054601f805460ff19166001179055630100010063ff00ff0019909116179055600954612710906109ff90600a61347d565b610a09919061345b565b601955601c805463ff00ffff1916631e000101179055600954606490610a3090600161347d565b610a3a919061345b565b601d556009546103e890610a4f90600f61347d565b610a59919061345b565b601e556010805460ff19166001179055610a7860646101906000610d07565b610a8760646101906001610d07565b610a946000806002610d07565b6010805461ff0019166101001790556040517fba61a96074b3d636edeee92caddc86293c917d5b6818b7d3698bb52e02ec86c890600090a150565b60006001600160e01b03198216637965db0b60e01b1480610b0057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060048054610b15906134f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610b41906134f6565b8015610b8e5780601f10610b6357610100808354040283529160200191610b8e565b820191906000526020600020905b815481529060010190602001808311610b7157829003601f168201915b5050505050905090565b600033610ba6818585611da4565b5060019392505050565b6000805160206135d2833981519152610bc881611d97565b506001600160a01b039092166000908152601160209081526040808320805494151560ff1995861617905560129091529020805492151592909116919091179055565b6000805160206135d2833981519152610c2381611d97565b6064821115610c3157600080fd5b47610c506064610c41858461347d565b610c4b919061345b565b611ec8565b50505050565b6000805160206135d2833981519152610c6e81611d97565b60018310158015610c8157506103e88211155b610c8a57600080fd5b8183600954610c99919061347d565b610ca3919061345b565b601d8190556040519081527fa53407ff336a78b145e1a297adce2a5d7a54e6c31d13b4e69e04aad80b07b44b906020015b60405180910390a1505050565b600033610cef858285611f50565b610cfa858585611fc4565b60019150505b9392505050565b6000805160206135d2833981519152610d1f81611d97565b60048260ff1610610d2f57600080fd5b600f546601000000000000900461ffff16610d4a848661341d565b61ffff161115610d5957600080fd5b83600d8360ff1660048110610d7057610d70613582565b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555082600e8360ff1660048110610dac57610dac613582565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055508284610ddd919061341d565b600f8360ff1660048110610df357610df3613582565b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555050505050565b600082815260208190526040902060010154610e3981611d97565b610e4383836122e6565b505050565b6001600160a01b0381163314610ebd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610ec7828261236a565b5050565b600033610ba6818585610ede8383611a7b565b610ee89190613443565b611da4565b6000805160206135d2833981519152610f0581611d97565b601c5460ff6201000090910481169083161115610f2157600080fd5b50601c805463ff0000ff1916630100000060ff939093169290920260ff1916919091179215159290921761ff00191661010091151591909102179055565b6000805160206135d2833981519152610f7781611d97565b8151835114610fc05760405162461bcd60e51b81526020600482015260156024820152742632b733ba3439903237903737ba1036b0ba31b41760591b6044820152606401610eb4565b60005b83518160ff161015610c5057828160ff1681518110610fe457610fe4613582565b6020026020010151610ff66106133390565b101561100157600080fd5b61105333858360ff168151811061101a5761101a613582565b6020026020010151858460ff168151811061103757611037613582565b6020026020010151633b9aca0061104e919061347d565b6123cf565b8061105d8161354c565b915050610fc3565b6000805160206135d283398151915261107d81611d97565b50601f805460ff1916911515919091179055565b6000805160206135d28339815191526110a981611d97565b601b805483151563010000000263ff000000199091161790556040517f075af1ef3c1829076b56416deceff9df2103194b5dfbf756f8557478b494f7ff906110f690841515815260200190565b60405180910390a15050565b6000805160206135d283398151915261111a81611d97565b506001600160a01b039092166000908152601460209081526040808320805494151560ff1995861617905560159091529020805492151592909116919091179055565b6000806000606060048560ff161061117457600080fd5b600f8560ff166004811061118a5761118a613582565b601091828204019190066002029054906101000a900461ffff169350600e8560ff16600481106111bc576111bc613582565b601091828204019190066002029054906101000a900461ffff169250600d8560ff16600481106111ee576111ee613582565b601091828204019190066002029054906101000a900461ffff1691508460ff1660001415611237575060408051808201909152600481526314d95b1b60e21b60208201526112b0565b8460ff1660011415611263575060408051808201909152600381526242757960e81b60208201526112b0565b8460ff166002141561129457506040805180820190915260088152672a3930b739b332b960c11b60208201526112b0565b5060408051808201909152600381526209ac2f60eb1b60208201525b9193509193565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060058054610b15906134f6565b6000805160206135d283398151915261130781611d97565b3060008181526001602052604090205490610e439084836123cf565b600033816113318286611a7b565b9050838110156113915760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610eb4565b61139e8286868403611da4565b506001949350505050565b6000805160206135d28339815191526113c181611d97565b600680546001600160a01b038581166001600160a01b03199283168117909355600780549186169190921681179091556040805192835260208301919091527f9fba4a27b77afdf6c68deb1d99abfd909cb0c2bfa6a148fae3c6b8414e58aef99101610cd4565b6000805160206135d283398151915261144081611d97565b6010805460ff19168315159081179091556040519081527fa0ecf0a5fbb822896523e7519379813a2d69d92a1d7e408139c60d90041f23ae906020016110f6565b600033610ba6818585611fc4565b6000805160206135d28339815191526114a781611d97565b600183101580156114ba57506103e88211155b6114c357600080fd5b81836009546114d2919061347d565b6114dc919061345b565b601e8190556040519081527f199db6b3f784dbaaa5df3981a282a84eb13409a543eaaeb8e8f309c467b45e1890602001610cd4565b6000805160206135d283398151915261152981611d97565b6000826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561156457600080fd5b505afa158015611578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159c9190612e9c565b6001600160a01b031663e6a43905601760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156115f857600080fd5b505afa15801561160c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116309190612e9c565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015230602482015260440160206040518083038186803b15801561167557600080fd5b505afa158015611689573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ad9190612e9c565b90506001600160a01b03811661189d57826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156116f657600080fd5b505afa15801561170a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172e9190612e9c565b6001600160a01b031663c9c65396601760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561178a57600080fd5b505afa15801561179e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c29190612e9c565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b15801561180957600080fd5b505af115801561181d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118419190612e9c565b600880546001600160a01b0319166001600160a01b0392831690811782556000908152601160209081526040808320805460ff1990811660019081179092559454909516835260159091529020805490911690911790556118f4565b600880546001600160a01b0319166001600160a01b0383811691821783556000918252601160209081526040808420805460ff19908116600190811790925595549093168452601590915290912080549092161790555b601780546001600160a01b0319166001600160a01b038516908117909155610e43903090600019611da4565b60006000805160206135d283398151915261193a81611d97565b6001600160a01b03841661194d57600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a082319060240160206040518083038186803b15801561198f57600080fd5b505afa1580156119a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c791906131e6565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390529192509086169063a9059cbb90604401602060405180830381600087803b158015611a1557600080fd5b505af1158015611a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4d91906130d0565b95945050505050565b600082815260208190526040902060010154611a7181611d97565b610e43838361236a565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000805160206135d2833981519152611abe81611d97565b601b805461ff0019166101008515150217905560095461271090611ae390849061347d565b611aed919061345b565b601955604080518415158152602081018490527f30e0f7c488b6c70123097f13cf387e140b0e0b8c9d9e3473e502f35b035d377c9101610cd4565b6000805160206135d2833981519152611b4081611d97565b60005b8351811015610c5057611b6f848281518110611b6157611b61613582565b6020026020010151846123da565b7ffc70dcce81b5afebab40f1a9a0fe597f9097cb179cb4508e875b7b166838f88d848281518110611ba257611ba2613582565b602002602001015184604051611bcf9291906001600160a01b039290921682521515602082015260400190565b60405180910390a180611be181613531565b915050611b43565b6060610b006001600160a01b03831660145b60606000611c0a83600261347d565b611c15906002613443565b67ffffffffffffffff811115611c2d57611c2d613598565b6040519080825280601f01601f191660200182016040528015611c57576020820181803683370190505b509050600360fc1b81600081518110611c7257611c72613582565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611ca157611ca1613582565b60200101906001600160f81b031916908160001a9053506000611cc584600261347d565b611cd0906001613443565b90505b6001811115611d48576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611d0457611d04613582565b1a60f81b828281518110611d1a57611d1a613582565b60200101906001600160f81b031916908160001a90535060049490941c93611d41816134df565b9050611cd3565b508315610d005760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610eb4565b611da18133612429565b50565b6001600160a01b038316611e065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610eb4565b6001600160a01b038216611e675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610eb4565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000478210611ed657600080fd5b6007546040516001600160a01b03909116906175309084906000818181858888f193505050503d8060008114611f28576040519150601f19603f3d011682016040523d82523d6000602084013e611f2d565b606091505b50508091505081600a6000828254611f459190613443565b909155509092915050565b6000611f5c8484611a7b565b90506000198114610c505781811015611fb75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610eb4565b610c508484848403611da4565b601b5462010000900460ff1615611fe057610e438383836123cf565b6001600160a01b03831660009081526016602052604090205460ff161561200657600080fd5b6001600160a01b03821660009081526016602052604090205460ff161561202c57600080fd5b601054610100900460ff166120445761204483612482565b61204e83836124f4565b80156120615750601054610100900460ff165b801561206f5750601f5460ff165b156122a457601d5481111561208357600080fd5b6001600160a01b03821660009081526015602052604090205460ff1661212d57601e54816120c6846001600160a01b031660009081526001602052604090205490565b6120d09190613443565b111561212d5760405162461bcd60e51b815260206004820152602660248201527f544f4b454e3a20416d6f756e742065786365656473205472616e73616374696f6044820152656e2073697a6560d01b6064820152608401610eb4565b6001600160a01b03831660009081526011602052604090205460ff16801561216357506017546001600160a01b03838116911614155b801561218857506001600160a01b03821660009081526014602052604090205460ff16155b80156121965750601c5460ff165b156121f4576001600160a01b03821660009081526013602052604090205442116121bf57600080fd5b601c546121d6906301000000900460ff1642613443565b6001600160a01b0383166000908152601360205260409020556122a4565b6001600160a01b03831660009081526011602052604090205460ff1615801561223657506001600160a01b03831660009081526014602052604090205460ff16155b80156122495750601c54610100900460ff165b156122a4576001600160a01b03831660009081526013602052604090205442101561227357600080fd5b601c5461228a906301000000900460ff1642613443565b6001600160a01b0384166000908152601360205260409020555b6122ac6125cd565b156122b9576122b9612649565b60006122c4846128b0565b6122ce57816122d9565b6122d98484846128e0565b9050610c508484836123cf565b6122f082826112b7565b610ec7576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556123263390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61237482826112b7565b15610ec7576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610e43838383612ae1565b8015612407576001600160a01b0382166000908152601660205260409020805460ff191660011790555050565b506001600160a01b03166000908152601660205260409020805460ff19169055565b61243382826112b7565b610ec75761244081611be9565b61244b836020611bfb565b60405160200161245c929190613296565b60408051601f198184030181529082905262461bcd60e51b8252610eb49160040161330b565b601054610100900460ff16806124b057506001600160a01b03811660009081526012602052604090205460ff165b611da15760405162461bcd60e51b815260206004820152601560248201527428393296a630bab731b410283937ba32b1ba34b7b760591b6044820152606401610eb4565b600061250e6000805160206135d2833981519152846112b7565b158015612530575061252e6000805160206135d2833981519152836112b7565b155b8015612551575061254f6000805160206135d2833981519152326112b7565b155b801561257657506001600160a01b03831660009081526012602052604090205460ff16155b801561259b57506001600160a01b03821660009081526012602052604090205460ff16155b80156125b257506001600160a01b03821661dead14155b8015610d0057506001600160a01b0383163014159392505050565b3360009081526011602052604081205460ff161580156125f65750601b5462010000900460ff16155b80156126095750601b54610100900460ff165b80156126275750601b54601a546126239160ff1690613443565b4210155b801561264457506019543060009081526001602052604090205410155b905090565b601b805462ff00001916620100001790556019546017546126749030906001600160a01b0316611a7b565b1015612694576017546126949030906001600160a01b0316600019611da4565b42601a55601954601854108015906126b55750601b546301000000900460ff165b156127e857601954601880546000906126cf90849061349c565b90915550506019546000906126e69060029061345b565b9050476126f282612c8c565b60006126fe824761349c565b60175460065460405163f305d71960e01b81523060048201526024810187905260006044820181905260648201526001600160a01b0391821660848201524260a4820152929350169063f305d71990839060c4016060604051808303818588803b15801561276b57600080fd5b505af115801561277f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127a49190613221565b505060408051838152602081018690527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15050506128a2565b60195447906127f690612c8c565b6000612802824761349c565b600f549091506000906128219061ffff6201000082048116911661341d565b600e5461ffff9182169161283e916201000081048216911661341d565b61284c9061ffff168461347d565b612856919061345b565b905061286181611ec8565b5060195460408051918252602082018490527f05ab84b321981d7d9a13402e494604c50821bcb5f2400d128fa06cd6451113d4910160405180910390a15050505b601b805462ff000019169055565b60105460009060ff168015610b005750506001600160a01b031660009081526014602052604090205460ff161590565b6001600160a01b03821660009081526014602052604081205460ff1615612908575080610d00565b6001600160a01b03831660009081526011602052604090205460ff161561294e57600c5462010000900461ffff161561294957600c805463ffff0000191690555b6129c2565b6001600160a01b03841660009081526011602052604090205460ff161561299a57600c5462010000900461ffff1660011461294957600c805463ffff00001916620100001790556129c2565b600c5461ffff62010000909104166002146129c257600c805463ffff00001916620200001790555b600c5461ffff80821691600f916201000090910416600481106129e7576129e7613582565b601091828204019190066002029054906101000a900461ffff1661ffff1683612a10919061347d565b612a1a919061345b565b600b55601b546301000000900460ff1615612abf57600d54612a499061ffff808216916201000090041661341d565b600f54612a639061ffff808216916201000090041661341d565b612a6d919061341d565b600d5461ffff91821691612a8c9180821691620100009091041661341d565b61ffff16600b54612a9d919061347d565b612aa7919061345b565b60188054600090612ab9908490613443565b90915550505b612acc8430600b546123cf565b600b54612ad9908361349c565b949350505050565b6001600160a01b038316612b455760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610eb4565b6001600160a01b038216612ba75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610eb4565b6001600160a01b03831660009081526001602052604090205481811015612c1f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610eb4565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612c7f9086815260200190565b60405180910390a3610c50565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612cc157612cc1613582565b6001600160a01b03928316602091820292909201810191909152601754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612d1557600080fd5b505afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d9190612e9c565b81600181518110612d6057612d60613582565b6001600160a01b03928316602091820292909201015260175460405163791ac94760e01b815291169063791ac94790612da6908590600090869030904290600401613357565b600060405180830381600087803b158015612dc057600080fd5b505af1158015612dd4573d6000803e3d6000fd5b505050505050565b600082601f830112612ded57600080fd5b81356020612e02612dfd836133f9565b6133c8565b80838252828201915082860187848660051b8901011115612e2257600080fd5b60005b85811015612e4a578135612e38816135ae565b84529284019290840190600101612e25565b5090979650505050505050565b803561ffff81168114612e6957600080fd5b919050565b803560ff81168114612e6957600080fd5b600060208284031215612e9157600080fd5b8135610d00816135ae565b600060208284031215612eae57600080fd5b8151610d00816135ae565b60008060408385031215612ecc57600080fd5b8235612ed7816135ae565b91506020830135612ee7816135ae565b809150509250929050565b600080600060608486031215612f0757600080fd5b8335612f12816135ae565b92506020840135612f22816135ae565b929592945050506040919091013590565b600080600060608486031215612f4857600080fd5b8335612f53816135ae565b92506020840135612f63816135c3565b91506040840135612f73816135c3565b809150509250925092565b60008060408385031215612f9157600080fd5b8235612f9c816135ae565b946020939093013593505050565b60008060408385031215612fbd57600080fd5b823567ffffffffffffffff80821115612fd557600080fd5b612fe186838701612ddc565b9350602091508185013581811115612ff857600080fd5b85019050601f8101861361300b57600080fd5b8035613019612dfd826133f9565b80828252848201915084840189868560051b870101111561303957600080fd5b600094505b8385101561305c57803583526001949094019391850191850161303e565b5080955050505050509250929050565b6000806040838503121561307f57600080fd5b823567ffffffffffffffff81111561309657600080fd5b6130a285828601612ddc565b9250506020830135612ee7816135c3565b6000602082840312156130c557600080fd5b8135610d00816135c3565b6000602082840312156130e257600080fd5b8151610d00816135c3565b60008060006060848603121561310257600080fd5b833561310d816135c3565b9250602084013561311d816135c3565b915061312b60408501612e6e565b90509250925092565b6000806040838503121561314757600080fd5b8235612f9c816135c3565b60006020828403121561316457600080fd5b5035919050565b6000806040838503121561317e57600080fd5b823591506020830135612ee7816135ae565b6000602082840312156131a257600080fd5b81356001600160e01b031981168114610d0057600080fd5b6000806000606084860312156131cf57600080fd5b6131d884612e57565b925061311d60208501612e57565b6000602082840312156131f857600080fd5b5051919050565b6000806040838503121561321257600080fd5b50508035926020909101359150565b60008060006060848603121561323657600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561326157600080fd5b610d0082612e6e565b600081518084526132828160208601602086016134b3565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516132ce8160178501602088016134b3565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516132ff8160288401602088016134b3565b01602801949350505050565b602081526000610d00602083018461326a565b600061ffff808716835280861660208401528085166040840152506080606083015261334d608083018461326a565b9695505050505050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133a75784516001600160a01b031683529383019391830191600101613382565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff811182821017156133f1576133f1613598565b604052919050565b600067ffffffffffffffff82111561341357613413613598565b5060051b60200190565b600061ffff80831681851680830382111561343a5761343a61356c565b01949350505050565b600082198211156134565761345661356c565b500190565b60008261347857634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156134975761349761356c565b500290565b6000828210156134ae576134ae61356c565b500390565b60005b838110156134ce5781810151838201526020016134b6565b83811115610c505750506000910152565b6000816134ee576134ee61356c565b506000190190565b600181811c9082168061350a57607f821691505b6020821081141561352b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156135455761354561356c565b5060010190565b600060ff821660ff8114156135635761356361356c565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611da157600080fd5b8015158114611da157600080fdfea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220f61142ff55f3e1ef396ac62a752e37d27b2f348d9a46039ff4bd4d5c72898c4d64736f6c63430008070033
Verified Source Code Full Match
Compiler: v0.8.7+commit.e28d00a7
EVM: london
Optimization: Yes (200 runs)
BlackSwan.sol 1720 lines
//SPDX-License-Identifier: Unlicensed
pragma solidity >=0.5.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;
}
}
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns (string memory);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address _owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
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;
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
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;
}
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(account),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}
contract BlackSwan is AccessControl, ERC20 {
using Address for address;
address public autoLiquidityReceiver;
address public treasuryFeeReceiver;
address pair;
bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
uint256 _totalSupply = 100_000 * (10**9); // total supply amount
uint256 treasuryFees;
uint256 feeAmount;
uint16 feeDenominator = 10000;
uint16 feeType;
uint16[4] liquidityFee;
uint16[4] treasuryFee;
uint16[4] totalFee;
bool public feeEnabled;
bool public tradingOpen;
mapping(address => bool) public lpPairs;
mapping(address => bool) lpHolder;
mapping(address => uint256) cooldown;
mapping(address => bool) isFeeExempt;
mapping(address => bool) maxWalletExempt;
mapping(address => bool) public bannedUsers;
struct ICooldown {
bool buycooldownEnabled;
bool sellcooldownEnabled;
uint8 cooldownLimit;
uint8 cooldownTime;
}
struct ILiquiditySettings {
uint256 liquidityFeeAccumulator;
uint256 numTokensToSwap;
uint256 lastSwap;
uint8 swapInterval;
bool swapEnabled;
bool inSwap;
bool autoLiquifyEnabled;
}
struct ITransactionSettings {
uint256 maxTxAmount;
uint256 maxWalletAmount;
bool txLimits;
}
IUniswapV2Router02 router;
ILiquiditySettings public LiquiditySettings;
ICooldown public cooldownInfo;
ITransactionSettings public TransactionSettings;
modifier swapping() {
LiquiditySettings.inSwap = true;
_;
LiquiditySettings.inSwap = false;
}
constructor() ERC20("BlackSwan", "SWAN") {
_setRoleAdmin(ADMIN_ROLE, DEFAULT_ADMIN_ROLE);
_grantRole(ADMIN_ROLE, _msgSender());
_grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
pair = IUniswapV2Factory(router.factory()).createPair(router.WETH(), address(this));
lpPairs[pair] = true;
lpHolder[_msgSender()] = true;
_approve(address(this), address(router), type(uint256).max);
_approve(_msgSender(), address(router), type(uint256).max);
isFeeExempt[address(this)] = true;
isFeeExempt[_msgSender()] = true;
maxWalletExempt[_msgSender()] = true;
maxWalletExempt[address(this)] = true;
maxWalletExempt[pair] = true;
setFeeReceivers(_msgSender(),_msgSender());
cooldownInfo.cooldownLimit = 60; // cooldown cannot go over 60 seconds
totalFee[3] = 2000; // 20% Max Fee
_mint(_msgSender(), _totalSupply);
}
receive() external payable {}
function decimals() public view virtual override returns (uint8) {
return 9;
}
function setLp(address _holder, bool pairing, bool holder) external onlyRole(ADMIN_ROLE){
lpPairs[_holder] = pairing;
lpHolder[_holder] = holder;
}
function setRouter(IUniswapV2Router02 newRouter) external onlyRole(ADMIN_ROLE) {
address newPair = IUniswapV2Factory(newRouter.factory()).getPair(router.WETH(), address(this));
if (newPair == address(0)) {
pair = IUniswapV2Factory(newRouter.factory()).createPair(router.WETH(), address(this));
lpPairs[pair] = true;
maxWalletExempt[pair] = true;
} else {
pair = newPair;
lpPairs[pair] = true;
maxWalletExempt[pair] = true;
}
...
// [truncated — 61719 bytes total]
Read Contract
ADMIN_ROLE 0x75b238fc → bytes32
DEFAULT_ADMIN_ROLE 0xa217fddf → bytes32
LiquiditySettings 0xb2c57fff → uint256, uint256, uint256, uint8, bool, bool, bool
TransactionSettings 0x25cef458 → uint256, uint256, bool
allowance 0xdd62ed3e → uint256
autoLiquidityReceiver 0xca33e64c → address
balanceOf 0x70a08231 → uint256
bannedUsers 0x8988d078 → bool
cooldownInfo 0x95f93d48 → bool, bool, uint8, uint8
decimals 0x313ce567 → uint8
feeEnabled 0xa771ebc7 → bool
getAccumulatedFees 0x5df45a37 → uint256
getFees 0x8e3c3760 → uint16, uint16, uint16, string
getRoleAdmin 0x248a9ca3 → bytes32
hasRole 0x91d14854 → bool
lpPairs 0x43cc8c2a → bool
name 0x06fdde03 → string
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingOpen 0xffb54a99 → bool
treasuryFeeReceiver 0x2af10fac → address
Write Contract 26 functions
These functions modify contract state and require a wallet transaction to execute.
airDropTokens 0x4c57f8d2
address[] addresses
uint256[] amounts
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
clearStuckBalance 0x1da1db5e
uint256 amountPercentage
clearStuckToken 0x9be953b3
address to
clearStuckTokens 0xc40fedc6
address _token
address _to
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
grantRole 0x2f2ff15d
bytes32 role
address account
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
launch 0x01339c21
No parameters
renounceRole 0x36568abe
bytes32 role
address account
revokeRole 0xd547741f
bytes32 role
address account
setAutoLiquifyEnabled 0x54200d6f
bool _enabled
setCooldownEnabled 0x461a4450
bool buy
bool sell
uint8 _cooldown
setExempt 0x57ff135a
address holder
bool fee
bool wallet
setFeeReceivers 0xa4b45c00
address _autoLiquidityReceiver
address _treasuryFeeReceiver
setFees 0x291785b2
uint16 _liquidityFee
uint16 _treasuryFee
uint8 _feeType
setFeesEnabled 0xa901dd92
bool _enabled
setLp 0x18429387
address _holder
bool pairing
bool holder
setMaxWallet 0xabe57e70
uint256 percent
uint256 divisor
setRouter 0xc0d78655
address newRouter
setSwapBackSettings 0xdf20fd49
bool _enabled
uint256 _amount
setTransactionLimits 0x5005180a
bool enabled
setTxLimit 0x1faf723b
uint256 percent
uint256 divisor
setWalletBanStatus 0xf062172b
address[] user
bool banned
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
Recent Transactions
This address has 1 on-chain transactions, but only 0% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →