[ { "inputs": [ { "internalType": "address", "name": "_SY", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint8", "name": "__decimals", "type": "uint8" }, { "internalType": "uint256", "name": "_expiry", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "OnlyYCFactory", "type": "error" }, { "inputs": [], "name": "OnlyYT", "type": "error" }, { "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": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "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": "SY", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "YT", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burnByYT", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "expiry", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_YT", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "isExpired", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mintByYT", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "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" } ]
61010060405234620003a25762001aec803803806200001e81620003a7565b92833981019060a081830312620003a2578051906001600160a01b0382168203620003a2576020818101516001600160401b039490858111620003a2578162000069918501620003cd565b90604084015190868211620003a25762000085918501620003cd565b9460608401519360ff85168503620003a25760800151958251828111620002a2576003918254916001958684811c9416801562000397575b8885101462000381578190601f948581116200032b575b508890858311600114620002c457600092620002b8575b505060001982861b1c191690861b1783555b8051938411620002a25760049586548681811c9116801562000297575b82821014620002825783811162000237575b5080928511600114620001c95750938394918492600095620001bd575b50501b92600019911b1c19161790555b608052600280546001600160f81b0316600160f81b17905560a05260e0523360c0526040516116ac908162000440823960805181610b2f015260a05181610750015260c0518181816102510152610469015260e0518181816101140152610b8a0152f35b01519350388062000149565b92919084601f1981168860005285600020956000905b898383106200021c575050501062000201575b50505050811b01905562000159565b01519060f884600019921b161c1916905538808080620001f2565b858701518955909701969485019488935090810190620001df565b87600052816000208480880160051c82019284891062000278575b0160051c019087905b8281106200026b5750506200012c565b600081550187906200025b565b9250819262000252565b602288634e487b7160e01b6000525260246000fd5b90607f16906200011a565b634e487b7160e01b600052604160045260246000fd5b015190503880620000eb565b90889350601f19831691876000528a6000209260005b8c828210620003145750508411620002fb575b505050811b018355620000fd565b015160001983881b60f8161c19169055388080620002ed565b8385015186558c97909501949384019301620002da565b90915085600052886000208580850160051c8201928b861062000377575b918a91869594930160051c01915b82811062000367575050620000d4565b600081558594508a910162000357565b9250819262000349565b634e487b7160e01b600052602260045260246000fd5b93607f1693620000bd565b600080fd5b6040519190601f01601f191682016001600160401b03811183821017620002a257604052565b919080601f84011215620003a25782516001600160401b038111620002a25760209062000403601f8201601f19168301620003a7565b92818452828287010111620003a25760005b8181106200042b57508260009394955001015290565b85810183015184820184015282016200041556fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde0314610ff457508163095ea7b314610fa557816312a31dcc14610ddd57816318160ddd14610d7f57816323b872dd14610baf5781632f13b60c14610b53578163313ce56714610af757816370a0823114610a96578163781c18db14610a4057816395d89b4114610848578163a9059cbb14610774578163afd27bf514610705578163b64761f91461048d578163c45a01551461041e578163c4d66de8146101ae57508063dd62ed3e1461013b5763e184c9be146100e057600080fd5b3461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261013757602090517f00000000000000000000000000000000000000000000000000000000000000008152f35b5080fd5b503461013757807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137578060209261017661119a565b61017e6111c2565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b9190503461041a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261041a576101e861119a565b90600580549360ff8560081c16159485809661040d575b80156103f6575b15610373578560017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008316178455610345575b5073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016330361031e575075ffffffffffffffffffffffffffffffffffffffff000081549360101b1693847fffffffffffffffffffff0000000000000000000000000000000000000000ffff85161782556102c6578480f35b7f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498937fffffffffffffffffffff000000000000000000000000000000000000000000ff602094161790555160018152a1388080808480f35b82517ffe108173000000000000000000000000000000000000000000000000000000008152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661010117825538610239565b60848260208651917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b50303b1580156102065750600160ff821614610206565b50600160ff8216106101ff565b8280fd5b50503461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b83833461013757807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137576104c561119a565b6024359073ffffffffffffffffffffffffffffffffffffffff908160055460101c1633036106dd571691821561065b5782845283602052808420548281106105d85782908486528560205203818520557effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083116105d45760025490808416818316038181116105a857926020927fff00000000000000000000000000000000000000000000000000000000000000889796937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef961691161760025551908152a380f35b60248760118a7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8480fd5b60848660208451917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b517f08c379a0000000000000000000000000000000000000000000000000000000008152602081860152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608490fd5b8584517fb114ba98000000000000000000000000000000000000000000000000000000008152fd5b50503461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50503461013757807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137576020907f01000000000000000000000000000000000000000000000000000000000000006107d061119a565b610839600254916107e760028460f81c14156111e5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8094161760025560243590336113fb565b60025416176002555160018152f35b83833461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101375780519082845460018160011c9060018316928315610a36575b6020938484108114610a0a5783885287959493929181156109af5750600114610933575b50505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff8411838510176109075750829182610903925282611134565b0390f35b806041867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8888529193925086917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061099957505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f928201019181936108b5565b805488850187015287945092850192810161095e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016848701525050151560051b830101905081601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06108b5565b60248960228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b91607f1691610891565b50503461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101375760209073ffffffffffffffffffffffffffffffffffffffff60055460101c169051908152f35b5050346101375760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137578060209273ffffffffffffffffffffffffffffffffffffffff610ae861119a565b16815280845220549051908152f35b50503461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137576020905160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50503461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101375760209051427f000000000000000000000000000000000000000000000000000000000000000011158152f35b839150346101375760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261013757610be961119a565b610bf16111c2565b90604435928560025495610c0b60028860f81c14156111e5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8098161760025573ffffffffffffffffffffffffffffffffffffffff8416815260016020528181203382526020522054907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610cd5575b6020877f0100000000000000000000000000000000000000000000000000000000000000886108398989896113fb565b848210610d22575092602095949261083992610d15837f01000000000000000000000000000000000000000000000000000000000000009703338361124a565b9250929495819450610ca5565b60649060208851917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b50503461013757817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610137576020907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600254169051908152f35b9190503461041a57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261041a57610e1661119a565b906024359173ffffffffffffffffffffffffffffffffffffffff908160055460101c163303610f7d5716928315610f21577effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808411610f1d57600254918185168284160190828211610ef15750926020927fff000000000000000000000000000000000000000000000000000000000000008896937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9616911617600255858552848352808520610ee78382546113bf565b905551908152a380f35b8760116024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8580fd5b602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b8483517fb114ba98000000000000000000000000000000000000000000000000000000008152fd5b50503461013757807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261013757602090610fed610fe361119a565b602435903361124a565b5160018152f35b8490843461041a57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261041a578260035460018160011c906001831692831561112a575b6020938484108114610a0a5783885287959493929181156109af57506001146110ad5750505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff8411838510176109075750829182610903925282611134565b600388529193925086917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061111457505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f928201019181936108b5565b80548885018701528794509285019281016110d9565b91607f169161103c565b60208082528251818301819052939260005b858110611186575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b818101830151848201604001528201611146565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036111bd57565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036111bd57565b156111ec57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff80911691821561133c57169182156112b85760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b919082018092116113cc57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff8091169182156115f2571691821561156e578282146115105760008281528060205260408120549180831061148c57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9587602096528286520382822055868152206114818282546113bf565b9055604051908152a3565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f45524332303a207472616e7366657220746f2073656c660000000000000000006044820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fdfea2646970667358221220bf2c0f35808c300608026574f80fd478d545892daccfdf669960428c1e28adc264736f6c63430008180033000000000000000000000000d288755556c235afffb6316702719c32bd8706e800000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000676c9c800000000000000000000000000000000000000000000000000000000000000019505420457468656e612073555344452032364445433230323400000000000000000000000000000000000000000000000000000000000000000000000000001250542d73555344452d3236444543323032340000000000000000000000000000