[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "Permissions", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "TOKEN_MKT", "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "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": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "openTrading", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "pair", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "_buy", "type": "uint8" }, { "internalType": "uint8", "name": "_sell", "type": "uint8" } ], "name": "setRule", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "storeData", "outputs": [ { "internalType": "address", "name": "tokenMkt", "type": "address" }, { "internalType": "uint8", "name": "buyFee", "type": "uint8" }, { "internalType": "uint8", "name": "sellFee", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60c0604052600b60809081526a105d985e0815da5e985c9960aa1b60a0526000906200002c908262000210565b506040805180820190915260038152621055d160ea1b602082015260019062000056908262000210565b503480156200006457600080fd5b50604080516060810182523380825260056020830181905291909201819052600280546001600160a81b03191660ff60a01b1990931692909217600560a01b1760ff60a81b1916600560a81b1790915580620000c36012600a620003f1565b620000d290620f424062000409565b33600081815260036020908152604080832094909455308252600481528382207360ae616a2155ee3d9a68541ba4544862310933d4835290529182206000199055907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001436012600a620003f1565b6200015290620f424062000409565b60405190815260200160405180910390a3505062000423565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200019657607f821691505b602082108103620001b757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020b57600081815260208120601f850160051c81016020861015620001e65750805b601f850160051c820191505b818110156200020757828155600101620001f2565b5050505b505050565b81516001600160401b038111156200022c576200022c6200016b565b62000244816200023d845462000181565b84620001bd565b602080601f8311600181146200027c5760008415620002635750858301515b600019600386901b1c1916600185901b17855562000207565b600085815260208120601f198616915b82811015620002ad578886015182559484019460019091019084016200028c565b5085821015620002cc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000333578160001904821115620003175762000317620002dc565b808516156200032557918102915b93841c9390800290620002f7565b509250929050565b6000826200034c57506001620003eb565b816200035b57506000620003eb565b81600181146200037457600281146200037f576200039f565b6001915050620003eb565b60ff841115620003935762000393620002dc565b50506001821b620003eb565b5060208310610133831016604e8410600b8410161715620003c4575081810a620003eb565b620003d08383620002f2565b8060001904821115620003e757620003e7620002dc565b0290505b92915050565b60006200040260ff8416836200033b565b9392505050565b8082028115828204841417620003eb57620003eb620002dc565b610ed680620004336000396000f3fe6080604052600436106100c65760003560e01c80634abe30521161007f578063a8aa1b3111610059578063a8aa1b311461025a578063a9059cbb14610292578063c9567bf9146102b2578063dd62ed3e146102c757600080fd5b80634abe3052146101b957806370a082311461021857806395d89b411461024557600080fd5b806306fdde03146100d2578063095ea7b3146100fd5780630a7ad74c1461012d57806318160ddd1461014f57806323b872dd14610172578063313ce5671461019257600080fd5b366100cd57005b600080fd5b3480156100de57600080fd5b506100e76102ff565b6040516100f49190610ae8565b60405180910390f35b34801561010957600080fd5b5061011d610118366004610b4e565b610391565b60405190151581526020016100f4565b34801561013957600080fd5b5061014d610148366004610b90565b6103fe565b005b34801561015b57600080fd5b5061016461045c565b6040519081526020016100f4565b34801561017e57600080fd5b5061011d61018d366004610bc3565b610478565b34801561019e57600080fd5b506101a7601281565b60405160ff90911681526020016100f4565b3480156101c557600080fd5b506002546101ef906001600160a01b0381169060ff600160a01b8204811691600160a81b90041683565b604080516001600160a01b03909416845260ff92831660208501529116908201526060016100f4565b34801561022457600080fd5b50610164610233366004610c04565b60036020526000908152604090205481565b34801561025157600080fd5b506100e76104c6565b34801561026657600080fd5b5060055461027a906001600160a01b031681565b6040516001600160a01b0390911681526020016100f4565b34801561029e57600080fd5b5061011d6102ad366004610b4e565b6104d5565b3480156102be57600080fd5b5061014d6104e9565b3480156102d357600080fd5b506101646102e2366004610c21565b600460209081526000928352604080842090915290825290205481565b60606000805461030e90610c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461033a90610c5a565b80156103875780601f1061035c57610100808354040283529160200191610387565b820191906000526020600020905b81548152906001019060200180831161036a57829003601f168201915b5050505050905090565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103ec9086815260200190565b60405180910390a35060015b92915050565b6002546001600160a01b0316331461042857604051629af2b160e81b815260040160405180910390fd5b6002805461ffff60a01b1916600160a01b60ff9485160260ff60a81b191617600160a81b9290931691909102919091179055565b6104686012600a610d8e565b61047590620f4240610d9d565b81565b6001600160a01b03831660009081526004602090815260408083203384529091528120805483919083906104ad908490610db4565b909155506104be90508484846106aa565b949350505050565b60606001805461030e90610c5a565b60006104e23384846106aa565b9392505050565b6002546001600160a01b0316331461050057600080fd5b600554600160a81b900460ff161561051757600080fd5b60007360ae616a2155ee3d9a68541ba4544862310933d46001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561056b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058f9190610dc7565b905060007360ae616a2155ee3d9a68541ba4544862310933d46001600160a01b03166373b295c26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106099190610dc7565b60405163e6a4390560e01b81523060048201526001600160a01b03808316602483015291925060009184169063e6a4390590604401602060405180830381865afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190610dc7565b60058054600161ff0160a01b0319166001600160a01b0390921691909117600160a81b179055505050565b6000806106bf6002546001600160a01b031690565b600554909150600160a81b900460ff16806106eb5750806001600160a01b0316856001600160a01b0316145b806107075750806001600160a01b0316846001600160a01b0316145b61071057600080fd5b6001600160a01b03851660009081526003602052604081208054859290610738908490610db4565b90915550506005546001600160a01b0385811691161480156107645750600554600160a01b900460ff16155b80156107a3575060646107796012600a610d8e565b61078690620f4240610d9d565b6107909190610de4565b3060009081526003602052604090205410155b80156107c15750806001600160a01b0316856001600160a01b031614155b156109ab576005805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061080e5761080e610e06565b60200260200101906001600160a01b031690816001600160a01b0316815250507360ae616a2155ee3d9a68541ba4544862310933d46001600160a01b03166373b295c26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a49190610dc7565b816001815181106108b7576108b7610e06565b6001600160a01b03909216602092830291909101909101527360ae616a2155ee3d9a68541ba4544862310933d463eb6f613960646108f76012600a610d8e565b61090490620f4240610d9d565b61090e9190610de4565b60008430426040518663ffffffff1660e01b8152600401610933959493929190610e1c565b600060405180830381600087803b15801561094d57600080fd5b505af1158015610961573d6000803e3d6000fd5b50506040516001600160a01b03851692504780156108fc029250906000818181858888f1935050505015801561099b573d6000803e3d6000fd5b50506005805460ff60a01b191690555b60025460ff600160a01b8204811691600160a81b9004166001600160a01b03871630148015906109e95750600554600160a81b900460ff1615156001145b15610a5f576005546000906064906001600160a01b03898116911614610a0f5783610a11565b825b610a1e9060ff1688610d9d565b610a289190610de4565b9050610a348187610db4565b30600090815260036020526040812080549298508392909190610a58908490610e8d565b9091555050505b6001600160a01b03861660009081526003602052604081208054879290610a87908490610e8d565b92505081905550856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef87604051610ad391815260200190565b60405180910390a35060019695505050505050565b600060208083528351808285015260005b81811015610b1557858101830151858201604001528201610af9565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b4b57600080fd5b50565b60008060408385031215610b6157600080fd5b8235610b6c81610b36565b946020939093013593505050565b803560ff81168114610b8b57600080fd5b919050565b60008060408385031215610ba357600080fd5b610bac83610b7a565b9150610bba60208401610b7a565b90509250929050565b600080600060608486031215610bd857600080fd5b8335610be381610b36565b92506020840135610bf381610b36565b929592945050506040919091013590565b600060208284031215610c1657600080fd5b81356104e281610b36565b60008060408385031215610c3457600080fd5b8235610c3f81610b36565b91506020830135610c4f81610b36565b809150509250929050565b600181811c90821680610c6e57607f821691505b602082108103610c8e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115610ce5578160001904821115610ccb57610ccb610c94565b80851615610cd857918102915b93841c9390800290610caf565b509250929050565b600082610cfc575060016103f8565b81610d09575060006103f8565b8160018114610d1f5760028114610d2957610d45565b60019150506103f8565b60ff841115610d3a57610d3a610c94565b50506001821b6103f8565b5060208310610133831016604e8410600b8410161715610d68575081810a6103f8565b610d728383610caa565b8060001904821115610d8657610d86610c94565b029392505050565b60006104e260ff841683610ced565b80820281158282048414176103f8576103f8610c94565b818103818111156103f8576103f8610c94565b600060208284031215610dd957600080fd5b81516104e281610b36565b600082610e0157634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015610e6c5784516001600160a01b031683529383019391830191600101610e47565b50506001600160a01b03969096166060850152505050608001529392505050565b808201808211156103f8576103f8610c9456fea264697066735822122004131b851056f9e0dac481bbdf80d3fdfb0ca9928911999a2ccbd333fd977fbc64736f6c63430008120033