[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "LOTTERY_VALUE", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "SeedTimesOfAddress", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TOKEN_AMOUNT_PER_SEED", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "allSeedAddresses", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "allSeedAddressesLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "blockSentLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claim", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "curSeedUnit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "lotteryTimesCertainAddress", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "projectStartBlockNum", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "seedAddressByBlockNum", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "toggleLaunchTrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "toggleLiquidity", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "toggleLottory", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "totalLotteryTimes", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalUnit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tradingEnabled", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "txBlockUnitPostionByBlockNum", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60a060405264174876e7ff6006555f60088190556103e86009556001600a55600c8190556010805460ff1916905560155534801561003b575f80fd5b506040518060400160405280600a815260200169262aa1a5ac9029aa20a960b11b815250604051806040016040528060058152602001644c55434b5960d81b815250816003908161008c9190610474565b5060046100998282610474565b5050505f6100ab61031360201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350306080526101226101116005546001600160a01b031690565b6a01a784379d99db42000000610317565b600160135f6101396005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff19958616179055308152601383528190208054909316600117909255815163c45a015560e01b81529151737a250d5630b4cf539739df2c5dacb4c659f2488d9263c45a01559260048083019391928290030181865afa1580156101c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101e6919061052e565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610245573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610269919061052e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156102b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d7919061052e565b601280546001600160a01b0319166001600160a01b039290921691821790555f908152601160205260409020805460ff19166001179055610580565b3390565b6001600160a01b0382166103715760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254610382919061055b565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061040557607f821691505b60208210810361042357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156103d857805f5260205f20601f840160051c8101602085101561044e5750805b601f840160051c820191505b8181101561046d575f815560010161045a565b5050505050565b81516001600160401b0381111561048d5761048d6103dd565b6104a18161049b84546103f1565b84610429565b6020601f8211600181146104d3575f83156104bc5750848201515b5f19600385901b1c1916600184901b17845561046d565b5f84815260208120601f198516915b8281101561050257878501518255602094850194600190920191016104e2565b508482101561051f57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561053e575f80fd5b81516001600160a01b0381168114610554575f80fd5b9392505050565b8082018082111561057a57634e487b7160e01b5f52601160045260245ffd5b92915050565b6080516119066105985f395f6107ca01526119065ff3fe6080604052600436106101de575f3560e01c806363b58233116100fd5780638da5cb5b11610092578063a9059cbb11610062578063a9059cbb1461074d578063c9d94f901461076c578063dd62ed3e14610781578063f2fde38b146107a0575f80fd5b80638da5cb5b146106e957806395d89b411461070657806397163a8a1461071a578063a457c2d71461072e575f80fd5b8063715018a6116100cd578063715018a6146106805780637d9a73cd14610694578063848c6a8a146106a957806389c08c70146106be575f80fd5b806363b58233146105d757806366a32351146105f6578063708bd2bc1461062157806370a082311461064c575f80fd5b80633534c0fe116101735780633fd390e5116101435780633fd390e5146105655780634ada218b146105905780634e71d92d146105a9578063603a4f38146105bd575f80fd5b80633534c0fe146104c75780633663049c146104db57806339509351146104ef5780633df486f41461050e575f80fd5b806323b872dd116101ae57806323b872dd1461045d5780632eb8ac3c1461047c5780632f0660d414610498578063313ce567146104ac575f80fd5b806306fdde03146103cd578063094580e4146103f7578063095ea7b31461041a57806318160ddd14610449575f80fd5b366103c9576101eb6107bf565b6006544310156102355760405162461bcd60e51b815260206004820152601060248201526f6e6f74206c617563682079657421212160801b60448201526064015b60405180910390fd5b3233146102845760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420737570706f72742073656e642066726f6d20636f6e74726163742e00604482015260640161022c565b600954600854610295906001611650565b11156102db5760405162461bcd60e51b81526020600482015260156024820152746e6f20736565642062616c616e6365206c6566742160581b604482015260640161022c565b6001600c54436102eb9190611663565b1061035c576001600a546102ff9190611663565b600c80545f908152600d602052604090209190915554600a5461032e919061032990600190611663565b6107f5565b6001600a5461033d9190611663565b60155f82825461034d9190611650565b90915550506001600a5543600c555b66470de4df82000034036103c757435f908152600b60209081526040808320600a548452825280832080546001600160a01b031916339081179091558352601490915281208054916103ad83611676565b9091555050600a8054905f6103c183611676565b91905055505b005b5f80fd5b3480156103d8575f80fd5b506103e1610aa3565b6040516103ee919061168e565b60405180910390f35b348015610402575f80fd5b5061040c60155481565b6040519081526020016103ee565b348015610425575f80fd5b506104396104343660046116de565b610b33565b60405190151581526020016103ee565b348015610454575f80fd5b5060025461040c565b348015610468575f80fd5b50610439610477366004611706565b610b4c565b348015610487575f80fd5b5061040c683635c9adc5dea0000081565b3480156104a3575f80fd5b506103c7610b6f565b3480156104b7575f80fd5b50604051601281526020016103ee565b3480156104d2575f80fd5b50600f5461040c565b3480156104e6575f80fd5b506103c7610bb7565b3480156104fa575f80fd5b506104396105093660046116de565b610da2565b348015610519575f80fd5b5061054d610528366004611740565b600b60209081525f92835260408084209091529082529020546001600160a01b031681565b6040516001600160a01b0390911681526020016103ee565b348015610570575f80fd5b5061040c61057f366004611760565b600d6020525f908152604090205481565b34801561059b575f80fd5b506010546104399060ff1681565b3480156105b4575f80fd5b506103c7610dc3565b3480156105c8575f80fd5b5061040c66470de4df82000081565b3480156105e2575f80fd5b5061054d6105f1366004611760565b610f87565b348015610601575f80fd5b5061040c610610366004611777565b600e6020525f908152604090205481565b34801561062c575f80fd5b5061040c61063b366004611777565b60076020525f908152604090205481565b348015610657575f80fd5b5061040c610666366004611777565b6001600160a01b03165f9081526020819052604090205490565b34801561068b575f80fd5b506103c7610faf565b34801561069f575f80fd5b5061040c60095481565b3480156106b4575f80fd5b5061040c60085481565b3480156106c9575f80fd5b5061040c6106d8366004611777565b60146020525f908152604090205481565b3480156106f4575f80fd5b506005546001600160a01b031661054d565b348015610711575f80fd5b506103e1611022565b348015610725575f80fd5b506103c7611031565b348015610739575f80fd5b506104396107483660046116de565b6110b6565b348015610758575f80fd5b506104396107673660046116de565b611130565b348015610777575f80fd5b5061040c60065481565b34801561078c575f80fd5b5061040c61079b366004611797565b61113d565b3480156107ab575f80fd5b506103c76107ba366004611777565b611167565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107f3575f80fd5b565b805f03610800575050565b6005811161093a5760015b818111610935575f838152600b602090815260408083208484529091529020546001600160a01b03168061083f5750610923565b6001600160a01b0381165f908152600e60205260409020548414610921576009546008541061086e5750610923565b60088054905f61087d83611676565b90915550506001600160a01b0381165f908152600e60209081526040808320879055600790915281208054916108b283611676565b90915550506001600160a01b0381165f9081526007602052604090205460010361092157600f80546001810182555f919091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0383161790555b505b8061092d81611676565b91505061080b565b505050565b5f6109466005836117dc565b90505f6109546005846117ef565b90505f821561096c576109678383611650565b61096e565b815b9050805b848111610a9b575f868152600b602090815260408083208484529091529020546001600160a01b0316806109a65750610a8a565b6001600160a01b0381165f908152600e60205260409020548714610a8857600954600854106109d55750610a8a565b60088054905f6109e483611676565b90915550506001600160a01b0381165f908152600e602090815260408083208a905560079091528120805491610a1983611676565b90915550506001600160a01b0381165f90815260076020526040902054600103610a8857600f80546001810182555f919091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0383161790555b505b610a948382611650565b9050610972565b505050505050565b606060038054610ab290611802565b80601f0160208091040260200160405190810160405280929190818152602001828054610ade90611802565b8015610b295780601f10610b0057610100808354040283529160200191610b29565b820191905f5260205f20905b815481529060010190602001808311610b0c57829003601f168201915b5050505050905090565b5f33610b40818585611227565b60019150505b92915050565b5f33610b5985828561134a565b610b648585856113c2565b506001949350505050565b6005546001600160a01b03163314610b995760405162461bcd60e51b815260040161022c9061183a565b610ba4436002611650565b600655610bb2436002611650565b600c55565b6005546001600160a01b03163314610be15760405162461bcd60e51b815260040161022c9061183a565b3063095ea7b3737a250d5630b4cf539739df2c5dacb4c659f2488d610c0560025490565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610c4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c71919061186f565b505f4711610cc15760405162461bcd60e51b815260206004820152601f60248201527f206e6f2062616c616e636520746f20616464206c697175696469747921212100604482015260640161022c565b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d71947306002610ce860025490565b610cf291906117ef565b5f80610d066005546001600160a01b031690565b610d1242611770611650565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015610d7d573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610935919061188e565b5f33610b40818585610db4838361113d565b610dbe9190611650565b611227565b60105460ff16610e315760405162461bcd60e51b815260206004820152603360248201527f636c61696d696e6720697320617661696c61626c65206f6e6c792061667465726044820152722074726164696e67207374617274656421212160681b606482015260840161022c565b335f90815260076020526040902054610e8c5760405162461bcd60e51b815260206004820152601f60248201527f4e6f6e6520746f20636c61696d20666f72207468697320616464726573732100604482015260640161022c565b335f90815260076020526040812054610eaf90683635c9adc5dea00000906118b9565b305f908152602081905260409020549091508111610f0f5760405162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f7567682062616c616e636520746f20636c61696d2100000000604482015260640161022c565b60405163a9059cbb60e01b815233600482015260248101829052309063a9059cbb906044016020604051808303815f875af1158015610f50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f74919061186f565b5050335f90815260076020526040812055565b600f8181548110610f96575f80fd5b5f918252602090912001546001600160a01b0316905081565b6005546001600160a01b03163314610fd95760405162461bcd60e51b815260040161022c9061183a565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b606060048054610ab290611802565b6005546001600160a01b0316331461105b5760405162461bcd60e51b815260040161022c9061183a565b60105460ff16156110a75760405162461bcd60e51b815260206004820152601660248201527574726164696e6720686173207374617274656421212160501b604482015260640161022c565b6010805460ff19166001179055565b5f33816110c3828661113d565b9050838110156111235760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161022c565b610b648286868403611227565b5f33610b408185856113c2565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b0381166111cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161022c565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166112895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161022c565b6001600160a01b0382166112ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161022c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611355848461113d565b90505f1981146113bc57818110156113af5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161022c565b6113bc8484848403611227565b50505050565b6001600160a01b0383165f9081526013602052604090205460ff1615801561140257506001600160a01b0382165f9081526013602052604090205460ff16155b15611494576001600160a01b0383165f9081526011602052604090205460ff168061144457506001600160a01b0382165f9081526011602052604090205460ff165b156114945760105460ff166114945760405162461bcd60e51b815260206004820152601660248201527574726164696e67206e6f74207374617274656421212160501b604482015260640161022c565b6109358383836001600160a01b0383166114fe5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161022c565b6001600160a01b0382166115605760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161022c565b6001600160a01b0383165f90815260208190526040902054818110156115d75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161022c565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113bc565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610b4657610b4661163c565b81810381811115610b4657610b4661163c565b5f600182016116875761168761163c565b5060010190565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146116d9575f80fd5b919050565b5f80604083850312156116ef575f80fd5b6116f8836116c3565b946020939093013593505050565b5f805f60608486031215611718575f80fd5b611721846116c3565b925061172f602085016116c3565b929592945050506040919091013590565b5f8060408385031215611751575f80fd5b50508035926020909101359150565b5f60208284031215611770575f80fd5b5035919050565b5f60208284031215611787575f80fd5b611790826116c3565b9392505050565b5f80604083850312156117a8575f80fd5b6117b1836116c3565b91506117bf602084016116c3565b90509250929050565b634e487b7160e01b5f52601260045260245ffd5b5f826117ea576117ea6117c8565b500690565b5f826117fd576117fd6117c8565b500490565b600181811c9082168061181657607f821691505b60208210810361183457634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561187f575f80fd5b81518015158114611790575f80fd5b5f805f606084860312156118a0575f80fd5b5050815160208301516040909301519094929350919050565b8082028115828204841417610b4657610b4661163c56fea2646970667358221220d070b562c292648e7174551eb3a56ccc1f0308496fd654e57238be740c3f5e3e64736f6c634300081a0033