- Phantasma Explorer -

Contract Information
Contract Script

Raw

000D0004056661726D7303000D0004094D61702E436C65617207000D00040C646973747269627574696F6E03000D0004094D61702E436C65617207000D00040574696D657303000D0004094D61702E436C65617207000D00041074696D6573446973747269627574656403000D0004094D61702E436C65617207000D0004136661726D55736572546F74616C416D6F756E7403000D0004094D61702E436C65617207000D000407636C61696D656403000D0004094D61702E436C65617207000D000409756E636C61696D656403000D0004094D61702E436C6561720700040203020D00040941646472657373282907000402020203020301000D020408446174612E53657403010D0004076D616E61676572030007020B0004010201030E0303010203020202041404040204030D05030100020504000204050203061A0506070A079A01020408300206080206050205060D08030241001D0608090A0986010205060D0803025A001C06080A0A0A85010205060D08030220002306080B0204062F0B020600000204060D080302010023060809020904083601000202060E060604020605020506030608AD01000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D0004094164647265737328290700040102030403040D02041152756E74696D652E49735769746E65737307020402090241020D04040E7769746E657373206661696C65640C0400084502000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D0004094164647265737328290700040102030403040D02041152756E74696D652E49735769746E657373070204020902D9020D04040E7769746E657373206661696C65640C040008DD02000B00040103010D000409416464726573732829070004010402040302020603060620180104050205040204050203070307062018010406230506070207040204050201060E060604230506070207040204050305083503000B00040104020D04040661646472735F0201060306062018010405230405060206030203040D0504015F230405060206030203040202060306062018010405230405060206030203040304088403000B0031010D0304046E756C6C0D02040673796D626F6C2F0301020D0304046E756C6C0D020404706169722F0301020D0304046E756C6C0D02040967656E53796D626F6C2F0301020D030301000D020412646973747269627574696F6E416D6F756E742F0301020D030301000D020415646973747269627574696F6E4672657175656E63792F0301020D030301000D02040B6461696C79416D6F756E742F0301020301082A04000B0031010D0304046E756C6C0D02040B534F554C416464726573732F0301020D0304046E756C6C0D02040A455448416464726573732F0301020D0304046E756C6C0D02040A424E42416464726573732F0301020D030301000D020406616D6F756E742F0301020301089604000B00040103010D00040941646472657373282907000401040204030203060306020206030606203703040502050402040703070D070408706861726D696E6703070D06040A4C6973742E436F756E74070604060206050D07030100020706020108020807000206080205091A08090A0A0A7D050D0903020100030902060B030B02040B030B0D0B0408706861726D696E67030B0D0904084C6973742E476574070904093209090209080208090D0B040B534F554C416464726573733009090B02070B19090B0C0A0C69050208090309088905000206090D0B0302010023090B0C020C0608FB040006202C0404090309088905000B00040103010D00040941646472657373282907000401040204030203060306020206030606203703040502050402040703070D070408706861726D696E6703070D06040A4C6973742E436F756E74070604060206050D07030100020706020108020807000206080205091A08090A0A0A72060D0903020100030902060B030B02040B030B0D0B0408706861726D696E67030B0D0904084C6973742E476574070904093209090209080208090D0B040B534F554C416464726573733009090B02070B19090B0C0A0C5E060D090601010309087D06000206090D0B0302010023090B0C020C0608EE05000D090601000309087D06000B000401320101040204030203060306020206030606203703040502050402040703070D070408706861726D696E6703070D06040A4C6973742E436F756E74070604060206050D07030100020706000206070205081A0708090A097D070D0803020100030802060A030A02040A030A0D0A0408706861726D696E67030A0D0804084C6973742E476574070804083208080208070207080D0A040B534F554C416464726573733008080A02010A0D0B040B534F554C41646472657373300A0A0B19080A0B0A0B690702010A030A02060A030A02040A030A0D08040C4C6973742E5265706C6163650708087D07000206080D0A0302010023080A0B020B0608CC0600000B000401320101040204030203060306020206030606203703040502050402040703070D070408706861726D696E6703070D06040A4C6973742E436F756E74070604060206050D07030100020706000206070205081A0708090A097A080D0803020100030802060A030A02040A030A0D0A0408706861726D696E67030A0D0804084C6973742E476574070804083208080208070207080D0A040B534F554C416464726573733008080A02010A0D0B040B534F554C41646472657373300A0A0B19080A0B0A0B660802060A030A02040A030A0D08040D4C6973742E52656D6F766541740708087A08000206080D0A0302010023080A0B020B0608CD0700000B00040104020D040302060003040201050202062305060703070D0504056661726D7303050D050408706861726D696E6703050D0404074D61702E486173070404040204030203040904DC080D05040E6661726D206E6F742073657475700C05000D040302010003040201050202062305060703070D0504056661726D7303050D050408706861726D696E6703050D0404074D61702E476574070404043204040304082109000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D0004094164647265737328290700040304010402040404050E05050304060E06060304070E07070302030903090D08041152756E74696D652E49735769746E657373070804080908B8090D09040E7769746E657373206661696C65640C09000D0903020600030902010A02020B230A0B0C030C0D0A04056661726D73030A0D0A0408706861726D696E67030A0D0904074D61702E4861730709040902090802080915090909091B0A0D0A04136661726D20616C7265616479206578697374730C0A00310A02010C0D0B040673796D626F6C2F0C0A0B02020C0D0B0404706169722F0C0A0B02040C0D0B040967656E53796D626F6C2F0C0A0B02050C0D0B0412646973747269627574696F6E416D6F756E742F0C0A0B02060C0D0B0415646973747269627574696F6E4672657175656E63792F0C0A0B02070C0D0B040B6461696C79416D6F756E742F0C0A0B020A0902090B030B02010B02020C230B0C0D030D0D0B04056661726D73030B0D0A04074D61702E536574070A02050B030B02010B02020C230B0C0D030D0D0B040C646973747269627574696F6E030B0D0A04074D61702E536574070A0D0B040C52756E74696D652E54696D65070B040B030B02010B02020C230B0C0D030D0D0B040574696D6573030B0D0A04074D61702E536574070A0D0B030100030B02010B02020C230B0C0D030D0D0B041074696D65734469737472696275746564030B0D0A04074D61702E536574070A0D0B030100030B02010B02020C230B0C0D030D0D0B04136661726D55736572546F74616C416D6F756E74030B0D0A04074D61702E536574070A000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D0004094164647265737328290700040304010402040404050E05050304060E06060304070E07070302030903090D08041152756E74696D652E49735769746E657373070804080908410C0D09040E7769746E657373206661696C65640C09000D0903020600030902010A02020B230A0B0C030C0D0A04056661726D73030A0D0A0408706861726D696E67030A0D0904074D61702E486173070904090209080208090909A00C0D0A04126661726D20646F65736E27742065786973740C0A00310A02010C0D0B040673796D626F6C2F0C0A0B02020C0D0B0404706169722F0C0A0B02040C0D0B040967656E53796D626F6C2F0C0A0B02050C0D0B0412646973747269627574696F6E416D6F756E742F0C0A0B02060C0D0B0415646973747269627574696F6E4672657175656E63792F0C0A0B02070C0D0B040B6461696C79416D6F756E742F0C0A0B020A0902090B030B02010B02020C230B0C0D030D0D0B04056661726D73030B0D0A04074D61702E536574070A02050B030B02010B02020C230B0C0D030D0D0B040C646973747269627574696F6E030B0D0A04074D61702E536574070A000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D000409416464726573732829070004030401040202030503050D04041152756E74696D652E49735769746E657373070404040904090E0D05040E7769746E657373206661696C65640C05000D050302060003050201060202072306070803080D0604056661726D7303060D060408706861726D696E6703060D0504074D61702E486173070504050205040204050905680E0D0604126661726D20646F65736E27742065786973740C06000201060202072306070803080D0604056661726D7303060D05040A4D61702E52656D6F76650705000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D00040941646472657373282907000401040204040405040604070E07070302030903090D08041152756E74696D652E49735769746E657373070804080908320F0D09040E7769746E657373206661696C65640C09000207080D090301001B08090A090A6A0F0D080421616D6F756E74206E6565647320746F206265206D6F7265207468616E207A65726F0C0800020109020908310A02080C0D0B040B534F554C416464726573732F0C0A0B02020C0D0B040A455448416464726573732F0C0A0B02040C0D0B040A424E42416464726573732F0C0A0B02070C0D0B0406616D6F756E742F0C0A0B020A0902060C030C02050C030C06203703040B020B0A02060D030D02050D030D02010D030D06208B05040C020C0B020B0C150C0C090C20100D0D041E4C697175696469747920616C72656164792073657420666F7220757365720C0D0002090D030D020A0D030D0D0C04084C6973742E416464070C0D0D03020300030D02050E02060F230E0F1003100D0E04136661726D55736572546F74616C416D6F756E74030E0D0E0408706861726D696E67030E0D0D04074D61702E476574070D040D020D0C020C0D02070E230D0E0F020F0C020C0E030E02050E02060F230E0F1003100D0E04136661726D55736572546F74616C416D6F756E74030E0D0D04074D61702E536574070D000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D000409416464726573732829070004010402040404050E05050304060E06060302030803080D07041152756E74696D652E49735769746E6573730707040709076E110D08040E7769746E657373206661696C65640C08000206070D080301001B0708090909A6110D070421616D6F756E74206E6565647320746F206265206D6F7265207468616E207A65726F0C070002040903090202090309020109030906208B0504080208070207080908E6110D09041A4C6971756964697479206E6F742073657420666F7220757365720C090002040A030A02020A030A02010A030A0620980404090209080D0A03020300030A02020B02040C230B0C0D030D0D0B04136661726D55736572546F74616C416D6F756E74030B0D0B0408706861726D696E67030B0D0A04074D61702E476574070A040A020A0902090A02080B0D0C0406616D6F756E74300B0B0C240A0B0C020C0902090A02060B230A0B0C020C0902090B030B02020B02040C230B0C0D030D0D0B04136661726D55736572546F74616C416D6F756E74030B0D0A04074D61702E536574070A310A02080C0D0D040B534F554C41646472657373300C0C0D0D0B040B534F554C416464726573732F0C0A0B02080C0D0D040A45544841646472657373300C0C0D0D0B040A455448416464726573732F0C0A0B02080C0D0D040A424E4241646472657373300C0C0D0D0B040A424E42416464726573732F0C0A0B02060C0D0B0406616D6F756E742F0C0A0B020A0802040B030B02020B030B02080B030B06207F06000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D000409416464726573732829070004010402040402030603060D05041152756E74696D652E49735769746E657373070504050905E3130D06040E7769746E657373206661696C65640C060002040703070202070307020107030706208B050406020605020506090623140D07041A4C6971756964697479206E6F742073657420666F7220757365720C07000204080308020208030802010803080620980404070207060D0803020300030802020902040A23090A0B030B0D0904136661726D55736572546F74616C416D6F756E7403090D090408706861726D696E6703090D0804074D61702E476574070804080208070207080206090D0A0406616D6F756E743009090A2408090A020A07020709030902020902040A23090A0B030B0D0904136661726D55736572546F74616C416D6F756E7403090D0804074D61702E536574070802040903090202090309020609030906208007000B00040132010104020E02020304030E0303030201050D060406616D6F756E74300505060205040204060D07030B000000A1EDCCCE1BC2D3002506070802080502050602020726060708020805020307020508250708090209060206070D08030B000000A1EDCCCE1BC2D300260708090209060206070D08030100190708091509090909E5150D07043070657263656E742063616C63756C6174696F6E206661696C65642043616C63756C6174652052657761726473202D3E200205080E0808042307080A0D07040420616D3A0206080E0808042307080B0D070405207464523A0203080E0808042307080C230B0C07230A07080C0800020607030708EE15000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D000409416464726573732829070004030401040202030503050D04041152756E74696D652E49735769746E65737307040404090471160D05040E7769746E657373206661696C65640C05000D050302060003050201060202072306070803080D0604056661726D7303060D060408706861726D696E6703060D0504074D61702E486173070504050205040204050905E6160201060D070403202F20230607080202060D07040F206661726D206E6F7420736574757023060709230809060C06000D060302010003060201070202082307080903090D0704056661726D7303070D070408706861726D696E6703070D0604074D61702E476574070604063206060206050205070D080412646973747269627574696F6E416D6F756E74300707080D0803036D0100260708090209060D0803020300030802010902020A23090A0B030B0D09040C646973747269627574696F6E03090D090408706861726D696E6703090D0804074D61702E476574070804080208070207080D090301001B08090A090AEC170D08041652657761726473206E6F7420736574757020666F72200201092308090B0D080403202F200202092308090C0D080405206661726D230C0809230B09080C080002050A0D0B040967656E53796D626F6C300A0A0B030A0D0A022202002C4F2616DBB3D4AAECF27AC56DF204E0E7592D836788A479E7CC783957E89021030A0D0004094164647265737328290700040A030A0D09041252756E74696D652E47657442616C616E63650709040902090802080902060A1D090A0B090B8B180D09041C6E6F7420656E6F7567682062616C616E636520617661696C61626C650C090002020B030B02010B030B06203703040A020A0902090C030C0D0C0408706861726D696E67030C0D0B040A4C6973742E436F756E74070B040B020B0A020A0B0D0C0301001B0B0C0D090DF7180D0B041A4E6F2061646472657373657320746F20646973747269627574650C0B000D0C040C52756E74696D652E54696D65070C040C020C0B0D0D03020500030D02010E02020F230E0F1003100D0E040574696D6573030E0D0E0408706861726D696E67030E0D0D04074D61702E476574070D040D030D0D00040B54696D657374616D7028290700040D020D0C020B0E020C0F240E0F1002100D020D0E02050F0D100415646973747269627574696F6E4672657175656E6379300F0F101D0E0F100910B7190D0E0416746F6F20736F6F6E20746F20646973747269627574650C0E000D0F030100020F0E0D1003010002100F0D110302030003110201120202132312131403140D1204136661726D55736572546F74616C416D6F756E7403120D120408706861726D696E6703120D1104074D61702E4765740711041102111000020E11020A121A1112130A130F1C0D12030201000312020E14031402091403140D140408706861726D696E6703140D1204084C6973742E476574071204123212120212110211140D15040B534F554C41646472657373301414150214120202160316020116031602121603160620DF0204150215140206170317021017031702111703170620F01404160216150215160D17030100191617181518180918FB1A0D16041E70657263656E742063616C63756C6174696F6E206661696C6564202D3E200215170E171704231617190D16040320743A0206170E1717042316171A23191A160C1600020F160215172316171802180F0D1703020300031702141803180D180409756E636C61696D656403180D180408706861726D696E6703180D1704074D61702E4765740717041702171602161702151823171819021916021618031802141803180D180409756E636C61696D656403180D1704074D61702E5365740717311802151A0D190406616D6F756E742F1A181902011A0D19040673796D626F6C2F1A181902021A0D190404706169722F1A181902051A0D1B040967656E53796D626F6C301A1A1B0D19040C72657761726453796D626F6C2F1A1819021817021718031802121803180D180302400003180D18040E52756E74696D652E4E6F746966790718020E180D19030201002318191A021A0E08151A00020F110D120301001B1112130913701C0D110431536F6D657468696E672077656E742077726F6E67206E6F2072657761726473207761732073656E742E2E2E204661726D3A020112231112140D110403202F2002021223111215231415110C11000D120302030003120201130202142313141503150D13041074696D6573446973747269627574656403130D130408706861726D696E6703130D1204074D61702E476574071204120212110211120D1303020100231213140214110D13040C52756E74696D652E54696D650713041303130201130202142313141503150D13040574696D657303130D1204074D61702E536574071202111303130201130202142313141503150D13041074696D6573446973747269627574656403130D1204074D61702E53657407120D130302030003130201140202152314151603160D14040C646973747269627574696F6E03140D140408706861726D696E6703140D1304074D61702E47657407130413021312021213020F142413141502151202121403140201140202152314151603160D14040C646973747269627574696F6E03140D1304074D61702E5365740713000B00040103010D00040941646472657373282907000401040204030203060306020206030606203703040502050402030703070202070307020107030706208B0504060206050205060906261E0D07041655736572206C6971756964697479206E6F74207365740C0700020308030802020803080201080308062098040407020706020607030708471E000B00040103010D00040941646472657373282907000401040204030203060306020206030602010603060620DF0204050205040D0503020300030502040603060D060409756E636C61696D656403060D060408706861726D696E6703060D0504074D61702E47657407050405030508B91E000B00040103010D00040941646472657373282907000401040204030203060306020206030602010603060620DF0204050205040D0503020300030502040603060D060407636C61696D656403060D060408706861726D696E6703060D0504074D61702E47657407050405030508291F000B00040103010D000409416464726573732829070004010402040302010503050D04041152756E74696D652E49735769746E6573730704040409047B1F0D05040E7769746E657373206661696C65640C05000D050302060003050202060203072306070803080D0604056661726D7303060D060408706861726D696E6703060D0504074D61702E486173070504050205040204050905D81F0D0604104661726D206E6F7420736574757065640C06000D060302010003060202070203082307080903090D0704056661726D7303070D070408706861726D696E6703070D0604074D61702E476574070604063206060206050205070D08040967656E53796D626F6C300707080207060203090309020209030902010903090620491E04080208070207080D090301001B08090A090A70200D0804106E6F7468696E6720746F20636C61696D0C08000D09022202002C4F2616DBB3D4AAECF27AC56DF204E0E7592D836788A479E7CC783957E8902103090D0004094164647265737328290700040902090802070A030A02060A030A02010A030A02080A030A0D09041652756E74696D652E5472616E73666572546F6B656E73070902030B030B02020B030B02010B030B0620DF02040A020A090D0B030100030B02090B030B0D0B0409756E636C61696D6564030B0D0A04074D61702E536574070A0D0B03020300030B02090C030C0D0C0407636C61696D6564030C0D0C0408706861726D696E67030C0D0B04074D61702E476574070B040B020B0A020A0B02070C230B0C0D020D0A020A0C030C02090C030C0D0C0407636C61696D6564030C0D0B04074D61702E536574070B000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D00040B54696D657374616D702829070004010402040402030603060D05041152756E74696D652E49735769746E65737307050405090522220D06040E7769746E657373206661696C65640C060002010603060202060204072306070803080D06040574696D657303060D0504074D61702E5365740705000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D0004094164647265737328290700040304010E0101030402040402030603060D05041152756E74696D652E49735769746E657373070504050905D5220D06040E7769746E657373206661696C65640C060002010602060502050703070202070204082307080903090D07040574696D657303070D0604074D61702E5365740706000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D00040941646472657373282907000401040202030503050D04041152756E74696D652E49735769746E6573730704040409049B230D05040E7769746E657373206661696C65640C050002020603060D06022202002C4F2616DBB3D4AAECF27AC56DF204E0E7592D836788A479E7CC783957E8902103060D0004094164647265737328290700040603060D05041252756E74696D652E47657442616C616E6365070504050205040D06022202002C4F2616DBB3D4AAECF27AC56DF204E0E7592D836788A479E7CC783957E8902103060D0004094164647265737328290700040602060502040703070202070307020307030702050703070D06041652756E74696D652E5472616E73666572546F6B656E730706000B00040104020D040302030003040201050202062305060703070D05040C646973747269627574696F6E03050D050408706861726D696E6703050D0404074D61702E47657407040404020403020304030408BA24000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040102030403040D02041152756E74696D652E49735769746E6573730702040209023B250D04040E7769746E657373206661696C65640C040002010503050D05022202002C4F2616DBB3D4AAECF27AC56DF204E0E7592D836788A479E7CC783957E8902103050D0004094164647265737328290700040503050D04041252756E74696D652E47657442616C616E636507040404020402020204030408A125000B000D010408446174612E4765740D020408706861726D696E670D000302080003000D0004076D616E61676572030003020701040303030D00040941646472657373282907000403040103010D0004094164647265737328290700040102030403040D02041152756E74696D652E49735769746E65737307020402090235260D04040E7769746E657373206661696C65640C0400020102020203000D010408446174612E53657403030D0004076D616E61676572030007010B

Disassembly

000: NOP
001: LOAD r0, "farms"
010: PUSH r0
012: LOAD r0, "Map.Clear"
025: EXTCALL r0
027: LOAD r0, "distribution"
043: PUSH r0
045: LOAD r0, "Map.Clear"
058: EXTCALL r0
060: LOAD r0, "times"
069: PUSH r0
071: LOAD r0, "Map.Clear"
084: EXTCALL r0
086: LOAD r0, "timesDistributed"
106: PUSH r0
108: LOAD r0, "Map.Clear"
121: EXTCALL r0
123: LOAD r0, "farmUserTotalAmount"
146: PUSH r0
148: LOAD r0, "Map.Clear"
161: EXTCALL r0
163: LOAD r0, "claimed"
174: PUSH r0
176: LOAD r0, "Map.Clear"
189: EXTCALL r0
191: LOAD r0, "unclaimed"
204: PUSH r0
206: LOAD r0, "Map.Clear"
219: EXTCALL r0
221: POP r2
223: PUSH r2
225: LOAD r0, "Address()"
238: EXTCALL r0
240: POP r2
242: COPY r2, r3
245: COPY r3, r1
248: NOP
249: LOAD r2, "Data.Set"
261: PUSH r1
263: LOAD r0, "manager"
274: PUSH r0
276: EXTCALL r2
278: RET
Contract ABI

Methods

Initialize(owner:Object): None
ToLower(s:String): String
onUpgrade(from:Object): None
onKill(from:Object): None
getKey(from:Object, symbol:String, pair:String): String
getAddressList(symbol:String, pair:String): String
getFarmInfo(symbol:String, pair:String): Struct
setupFarm(symbol:String, pair:String, genSymbol:String, distributionAmount:Number, distributionFrequency:Number, dailyAmount:Number): None
updateFarm(symbol:String, pair:String, genSymbol:String, distributionAmount:Number, distributionFrequency:Number, dailyAmount:Number): None
removeFarm(symbol:String, pair:String): None
reportLiquidity(from:Object, ETHAddress:String, BNBAddress:String, symbol:String, pair:String, amount:Number): None
updateLiquidity(from:Object, symbol:String, pair:String, percent:Number, amount:Number): None
removeLiquidity(from:Object, symbol:String, pair:String): None
distribute(symbol:String, pair:String): None
getUserInfo(from:Object, symbol:String, pair:String): Struct
getUnclaimed(from:Object, symbol:String, pair:String): Number
getClaimed(from:Object, symbol:String, pair:String): Number
claim(from:Object, symbol:String, pair:String): None
fixTimer(time:Timestamp, symbol:String, pair:String): None
fixTimerNumber(time:Number, symbol:String, pair:String): None
recoverFunds(from:Object, symbol:String): None
getFarmRewards(symbol:String, pair:String): Number
getTokenAmount(symbol:String): Number
updateOwner(from:Object): None

Events

FarmDistribution : Struct