wallet.pb.go 164 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: wallet.proto
  3. /*
  4. Package model is a generated protocol buffer package.
  5. It is generated from these files:
  6. wallet.proto
  7. It has these top-level messages:
  8. RechargeOrPayParam
  9. ExchangeParam
  10. Melonseed
  11. Detail
  12. DetailWithSnapShot
  13. McDetail
  14. CoinStreamRecord
  15. CoinExchangeRecord
  16. RecordCoinStreamItem
  17. BasicParam
  18. MelonseedResp
  19. MelonseedWithMetalResp
  20. DetailResp
  21. DetailWithMetalResp
  22. TidResp
  23. QueryResp
  24. MetalData
  25. WalletChangeMsg
  26. */
  27. package model
  28. import proto "github.com/golang/protobuf/proto"
  29. import fmt "fmt"
  30. import math "math"
  31. import _ "github.com/gogo/protobuf/gogoproto"
  32. import binary "encoding/binary"
  33. import io "io"
  34. // Reference imports to suppress errors if they are not otherwise used.
  35. var _ = proto.Marshal
  36. var _ = fmt.Errorf
  37. var _ = math.Inf
  38. // This is a compile-time assertion to ensure that this generated file
  39. // is compatible with the proto package it is being compiled against.
  40. // A compilation error at this line likely means your copy of the
  41. // proto package needs to be updated.
  42. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  43. type RechargeOrPayParam struct {
  44. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  45. CoinType string `protobuf:"bytes,2,opt,name=CoinType,proto3" json:"coin_type"`
  46. CoinNum int64 `protobuf:"varint,3,opt,name=CoinNum,proto3" json:"coin_num"`
  47. ExtendTid string `protobuf:"bytes,4,opt,name=ExtendTid,proto3" json:"extend_tid"`
  48. Timestamp int64 `protobuf:"varint,5,opt,name=Timestamp,proto3" json:"timestamp"`
  49. TransactionId string `protobuf:"bytes,6,opt,name=TransactionId,proto3" json:"transaction_id"`
  50. BizCode string `protobuf:"bytes,7,opt,name=BizCode,proto3" json:"biz_code"`
  51. Area int64 `protobuf:"varint,8,opt,name=Area,proto3" json:"area"`
  52. Source string `protobuf:"bytes,9,opt,name=Source,proto3" json:"source"`
  53. MetaData string `protobuf:"bytes,10,opt,name=MetaData,proto3" json:"metadata"`
  54. BizSource string `protobuf:"bytes,11,opt,name=BizSource,proto3" json:"biz_source"`
  55. Reason int64 `protobuf:"varint,12,opt,name=Reason,proto3" json:"biz_reason"`
  56. Version int64 `protobuf:"varint,13,opt,name=Version,proto3" json:"version"`
  57. Platform string `protobuf:"bytes,14,opt,name=Platform,proto3" json:"platform"`
  58. }
  59. func (m *RechargeOrPayParam) Reset() { *m = RechargeOrPayParam{} }
  60. func (m *RechargeOrPayParam) String() string { return proto.CompactTextString(m) }
  61. func (*RechargeOrPayParam) ProtoMessage() {}
  62. func (*RechargeOrPayParam) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{0} }
  63. func (m *RechargeOrPayParam) GetUid() int64 {
  64. if m != nil {
  65. return m.Uid
  66. }
  67. return 0
  68. }
  69. func (m *RechargeOrPayParam) GetCoinType() string {
  70. if m != nil {
  71. return m.CoinType
  72. }
  73. return ""
  74. }
  75. func (m *RechargeOrPayParam) GetCoinNum() int64 {
  76. if m != nil {
  77. return m.CoinNum
  78. }
  79. return 0
  80. }
  81. func (m *RechargeOrPayParam) GetExtendTid() string {
  82. if m != nil {
  83. return m.ExtendTid
  84. }
  85. return ""
  86. }
  87. func (m *RechargeOrPayParam) GetTimestamp() int64 {
  88. if m != nil {
  89. return m.Timestamp
  90. }
  91. return 0
  92. }
  93. func (m *RechargeOrPayParam) GetTransactionId() string {
  94. if m != nil {
  95. return m.TransactionId
  96. }
  97. return ""
  98. }
  99. func (m *RechargeOrPayParam) GetBizCode() string {
  100. if m != nil {
  101. return m.BizCode
  102. }
  103. return ""
  104. }
  105. func (m *RechargeOrPayParam) GetArea() int64 {
  106. if m != nil {
  107. return m.Area
  108. }
  109. return 0
  110. }
  111. func (m *RechargeOrPayParam) GetSource() string {
  112. if m != nil {
  113. return m.Source
  114. }
  115. return ""
  116. }
  117. func (m *RechargeOrPayParam) GetMetaData() string {
  118. if m != nil {
  119. return m.MetaData
  120. }
  121. return ""
  122. }
  123. func (m *RechargeOrPayParam) GetBizSource() string {
  124. if m != nil {
  125. return m.BizSource
  126. }
  127. return ""
  128. }
  129. func (m *RechargeOrPayParam) GetReason() int64 {
  130. if m != nil {
  131. return m.Reason
  132. }
  133. return 0
  134. }
  135. func (m *RechargeOrPayParam) GetVersion() int64 {
  136. if m != nil {
  137. return m.Version
  138. }
  139. return 0
  140. }
  141. func (m *RechargeOrPayParam) GetPlatform() string {
  142. if m != nil {
  143. return m.Platform
  144. }
  145. return ""
  146. }
  147. type ExchangeParam struct {
  148. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  149. SrcCoinType string `protobuf:"bytes,2,opt,name=SrcCoinType,proto3" json:"src_coin_type"`
  150. SrcCoinNum int64 `protobuf:"varint,3,opt,name=SrcCoinNum,proto3" json:"src_coin_num"`
  151. DestCoinType string `protobuf:"bytes,4,opt,name=DestCoinType,proto3" json:"dest_coin_type"`
  152. DestCoinNum int64 `protobuf:"varint,5,opt,name=DestCoinNum,proto3" json:"dest_coin_num"`
  153. ExtendTid string `protobuf:"bytes,6,opt,name=ExtendTid,proto3" json:"extend_tid"`
  154. Timestamp int64 `protobuf:"varint,7,opt,name=Timestamp,proto3" json:"timestamp"`
  155. TransactionId string `protobuf:"bytes,8,opt,name=TransactionId,proto3" json:"transaction_id"`
  156. BizCode string `protobuf:"bytes,9,opt,name=BizCode,proto3" json:"biz_code"`
  157. Area int64 `protobuf:"varint,10,opt,name=Area,proto3" json:"area"`
  158. Source string `protobuf:"bytes,11,opt,name=Source,proto3" json:"source"`
  159. MetaData string `protobuf:"bytes,12,opt,name=MetaData,proto3" json:"metadata"`
  160. BizSource string `protobuf:"bytes,13,opt,name=BizSource,proto3" json:"biz_source"`
  161. Reason int64 `protobuf:"varint,14,opt,name=Reason,proto3" json:"biz_reason"`
  162. Version int64 `protobuf:"varint,15,opt,name=Version,proto3" json:"version"`
  163. Platform string `protobuf:"bytes,16,opt,name=Platform,proto3" json:"platform"`
  164. }
  165. func (m *ExchangeParam) Reset() { *m = ExchangeParam{} }
  166. func (m *ExchangeParam) String() string { return proto.CompactTextString(m) }
  167. func (*ExchangeParam) ProtoMessage() {}
  168. func (*ExchangeParam) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{1} }
  169. func (m *ExchangeParam) GetUid() int64 {
  170. if m != nil {
  171. return m.Uid
  172. }
  173. return 0
  174. }
  175. func (m *ExchangeParam) GetSrcCoinType() string {
  176. if m != nil {
  177. return m.SrcCoinType
  178. }
  179. return ""
  180. }
  181. func (m *ExchangeParam) GetSrcCoinNum() int64 {
  182. if m != nil {
  183. return m.SrcCoinNum
  184. }
  185. return 0
  186. }
  187. func (m *ExchangeParam) GetDestCoinType() string {
  188. if m != nil {
  189. return m.DestCoinType
  190. }
  191. return ""
  192. }
  193. func (m *ExchangeParam) GetDestCoinNum() int64 {
  194. if m != nil {
  195. return m.DestCoinNum
  196. }
  197. return 0
  198. }
  199. func (m *ExchangeParam) GetExtendTid() string {
  200. if m != nil {
  201. return m.ExtendTid
  202. }
  203. return ""
  204. }
  205. func (m *ExchangeParam) GetTimestamp() int64 {
  206. if m != nil {
  207. return m.Timestamp
  208. }
  209. return 0
  210. }
  211. func (m *ExchangeParam) GetTransactionId() string {
  212. if m != nil {
  213. return m.TransactionId
  214. }
  215. return ""
  216. }
  217. func (m *ExchangeParam) GetBizCode() string {
  218. if m != nil {
  219. return m.BizCode
  220. }
  221. return ""
  222. }
  223. func (m *ExchangeParam) GetArea() int64 {
  224. if m != nil {
  225. return m.Area
  226. }
  227. return 0
  228. }
  229. func (m *ExchangeParam) GetSource() string {
  230. if m != nil {
  231. return m.Source
  232. }
  233. return ""
  234. }
  235. func (m *ExchangeParam) GetMetaData() string {
  236. if m != nil {
  237. return m.MetaData
  238. }
  239. return ""
  240. }
  241. func (m *ExchangeParam) GetBizSource() string {
  242. if m != nil {
  243. return m.BizSource
  244. }
  245. return ""
  246. }
  247. func (m *ExchangeParam) GetReason() int64 {
  248. if m != nil {
  249. return m.Reason
  250. }
  251. return 0
  252. }
  253. func (m *ExchangeParam) GetVersion() int64 {
  254. if m != nil {
  255. return m.Version
  256. }
  257. return 0
  258. }
  259. func (m *ExchangeParam) GetPlatform() string {
  260. if m != nil {
  261. return m.Platform
  262. }
  263. return ""
  264. }
  265. type Melonseed struct {
  266. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  267. Gold int64 `protobuf:"varint,2,opt,name=Gold,proto3" json:"gold"`
  268. IapGold int64 `protobuf:"varint,3,opt,name=IapGold,proto3" json:"iap_gold"`
  269. Silver int64 `protobuf:"varint,4,opt,name=Silver,proto3" json:"silver"`
  270. }
  271. func (m *Melonseed) Reset() { *m = Melonseed{} }
  272. func (m *Melonseed) String() string { return proto.CompactTextString(m) }
  273. func (*Melonseed) ProtoMessage() {}
  274. func (*Melonseed) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{2} }
  275. func (m *Melonseed) GetUid() int64 {
  276. if m != nil {
  277. return m.Uid
  278. }
  279. return 0
  280. }
  281. func (m *Melonseed) GetGold() int64 {
  282. if m != nil {
  283. return m.Gold
  284. }
  285. return 0
  286. }
  287. func (m *Melonseed) GetIapGold() int64 {
  288. if m != nil {
  289. return m.IapGold
  290. }
  291. return 0
  292. }
  293. func (m *Melonseed) GetSilver() int64 {
  294. if m != nil {
  295. return m.Silver
  296. }
  297. return 0
  298. }
  299. type Detail struct {
  300. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  301. Gold int64 `protobuf:"varint,2,opt,name=Gold,proto3" json:"gold"`
  302. IapGold int64 `protobuf:"varint,3,opt,name=IapGold,proto3" json:"iap_gold"`
  303. Silver int64 `protobuf:"varint,4,opt,name=Silver,proto3" json:"silver"`
  304. GoldRechargeCnt int64 `protobuf:"varint,5,opt,name=GoldRechargeCnt,proto3" json:"gold_recharge_cnt"`
  305. GoldPayCnt int64 `protobuf:"varint,6,opt,name=GoldPayCnt,proto3" json:"gold_pay_cnt"`
  306. SilverPayCnt int64 `protobuf:"varint,7,opt,name=SilverPayCnt,proto3" json:"silver_pay_cnt"`
  307. CostBase int64 `protobuf:"varint,8,opt,name=CostBase,proto3" json:"cost_base"`
  308. }
  309. func (m *Detail) Reset() { *m = Detail{} }
  310. func (m *Detail) String() string { return proto.CompactTextString(m) }
  311. func (*Detail) ProtoMessage() {}
  312. func (*Detail) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{3} }
  313. func (m *Detail) GetUid() int64 {
  314. if m != nil {
  315. return m.Uid
  316. }
  317. return 0
  318. }
  319. func (m *Detail) GetGold() int64 {
  320. if m != nil {
  321. return m.Gold
  322. }
  323. return 0
  324. }
  325. func (m *Detail) GetIapGold() int64 {
  326. if m != nil {
  327. return m.IapGold
  328. }
  329. return 0
  330. }
  331. func (m *Detail) GetSilver() int64 {
  332. if m != nil {
  333. return m.Silver
  334. }
  335. return 0
  336. }
  337. func (m *Detail) GetGoldRechargeCnt() int64 {
  338. if m != nil {
  339. return m.GoldRechargeCnt
  340. }
  341. return 0
  342. }
  343. func (m *Detail) GetGoldPayCnt() int64 {
  344. if m != nil {
  345. return m.GoldPayCnt
  346. }
  347. return 0
  348. }
  349. func (m *Detail) GetSilverPayCnt() int64 {
  350. if m != nil {
  351. return m.SilverPayCnt
  352. }
  353. return 0
  354. }
  355. func (m *Detail) GetCostBase() int64 {
  356. if m != nil {
  357. return m.CostBase
  358. }
  359. return 0
  360. }
  361. type DetailWithSnapShot struct {
  362. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  363. Gold int64 `protobuf:"varint,2,opt,name=Gold,proto3" json:"gold"`
  364. IapGold int64 `protobuf:"varint,3,opt,name=IapGold,proto3" json:"iap_gold"`
  365. Silver int64 `protobuf:"varint,4,opt,name=Silver,proto3" json:"silver"`
  366. GoldRechargeCnt int64 `protobuf:"varint,5,opt,name=GoldRechargeCnt,proto3" json:"gold_recharge_cnt"`
  367. GoldPayCnt int64 `protobuf:"varint,6,opt,name=GoldPayCnt,proto3" json:"gold_pay_cnt"`
  368. SilverPayCnt int64 `protobuf:"varint,7,opt,name=SilverPayCnt,proto3" json:"silver_pay_cnt"`
  369. CostBase int64 `protobuf:"varint,8,opt,name=CostBase,proto3" json:"cost_base"`
  370. SnapShotTime string `protobuf:"bytes,9,opt,name=SnapShotTime,proto3" json:"snapshot_time"`
  371. SnapShotGold int64 `protobuf:"varint,10,opt,name=SnapShotGold,proto3" json:"snapshot_gold"`
  372. SnapShotIapGold int64 `protobuf:"varint,11,opt,name=SnapShotIapGold,proto3" json:"snapshot_iap_gold"`
  373. SnapShotSilver int64 `protobuf:"varint,12,opt,name=SnapShotSilver,proto3" json:"snapshot_silver"`
  374. Reserved1 int64 `protobuf:"varint,13,opt,name=Reserved1,proto3" json:"reserved1"`
  375. Reserved2 string `protobuf:"bytes,14,opt,name=Reserved2,proto3" json:"reserved2"`
  376. }
  377. func (m *DetailWithSnapShot) Reset() { *m = DetailWithSnapShot{} }
  378. func (m *DetailWithSnapShot) String() string { return proto.CompactTextString(m) }
  379. func (*DetailWithSnapShot) ProtoMessage() {}
  380. func (*DetailWithSnapShot) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{4} }
  381. func (m *DetailWithSnapShot) GetUid() int64 {
  382. if m != nil {
  383. return m.Uid
  384. }
  385. return 0
  386. }
  387. func (m *DetailWithSnapShot) GetGold() int64 {
  388. if m != nil {
  389. return m.Gold
  390. }
  391. return 0
  392. }
  393. func (m *DetailWithSnapShot) GetIapGold() int64 {
  394. if m != nil {
  395. return m.IapGold
  396. }
  397. return 0
  398. }
  399. func (m *DetailWithSnapShot) GetSilver() int64 {
  400. if m != nil {
  401. return m.Silver
  402. }
  403. return 0
  404. }
  405. func (m *DetailWithSnapShot) GetGoldRechargeCnt() int64 {
  406. if m != nil {
  407. return m.GoldRechargeCnt
  408. }
  409. return 0
  410. }
  411. func (m *DetailWithSnapShot) GetGoldPayCnt() int64 {
  412. if m != nil {
  413. return m.GoldPayCnt
  414. }
  415. return 0
  416. }
  417. func (m *DetailWithSnapShot) GetSilverPayCnt() int64 {
  418. if m != nil {
  419. return m.SilverPayCnt
  420. }
  421. return 0
  422. }
  423. func (m *DetailWithSnapShot) GetCostBase() int64 {
  424. if m != nil {
  425. return m.CostBase
  426. }
  427. return 0
  428. }
  429. func (m *DetailWithSnapShot) GetSnapShotTime() string {
  430. if m != nil {
  431. return m.SnapShotTime
  432. }
  433. return ""
  434. }
  435. func (m *DetailWithSnapShot) GetSnapShotGold() int64 {
  436. if m != nil {
  437. return m.SnapShotGold
  438. }
  439. return 0
  440. }
  441. func (m *DetailWithSnapShot) GetSnapShotIapGold() int64 {
  442. if m != nil {
  443. return m.SnapShotIapGold
  444. }
  445. return 0
  446. }
  447. func (m *DetailWithSnapShot) GetSnapShotSilver() int64 {
  448. if m != nil {
  449. return m.SnapShotSilver
  450. }
  451. return 0
  452. }
  453. func (m *DetailWithSnapShot) GetReserved1() int64 {
  454. if m != nil {
  455. return m.Reserved1
  456. }
  457. return 0
  458. }
  459. func (m *DetailWithSnapShot) GetReserved2() string {
  460. if m != nil {
  461. return m.Reserved2
  462. }
  463. return ""
  464. }
  465. type McDetail struct {
  466. Detail *Detail `protobuf:"bytes,1,opt,name=Detail" json:"detail"`
  467. Exist bool `protobuf:"varint,2,opt,name=Exist,proto3" json:"exist"`
  468. Version int32 `protobuf:"varint,3,opt,name=Version,proto3" json:"version"`
  469. }
  470. func (m *McDetail) Reset() { *m = McDetail{} }
  471. func (m *McDetail) String() string { return proto.CompactTextString(m) }
  472. func (*McDetail) ProtoMessage() {}
  473. func (*McDetail) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{5} }
  474. func (m *McDetail) GetDetail() *Detail {
  475. if m != nil {
  476. return m.Detail
  477. }
  478. return nil
  479. }
  480. func (m *McDetail) GetExist() bool {
  481. if m != nil {
  482. return m.Exist
  483. }
  484. return false
  485. }
  486. func (m *McDetail) GetVersion() int32 {
  487. if m != nil {
  488. return m.Version
  489. }
  490. return 0
  491. }
  492. type CoinStreamRecord struct {
  493. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  494. TransactionId string `protobuf:"bytes,2,opt,name=TransactionId,proto3" json:"transaction_id"`
  495. ExtendTid string `protobuf:"bytes,3,opt,name=ExtendTid,proto3" json:"extend_tid"`
  496. CoinType int32 `protobuf:"varint,4,opt,name=CoinType,proto3" json:"coin_type"`
  497. DeltaCoinNum int64 `protobuf:"varint,5,opt,name=DeltaCoinNum,proto3" json:"delta_coin_num"`
  498. OrgCoinNum int64 `protobuf:"varint,6,opt,name=OrgCoinNum,proto3" json:"org_coin_num"`
  499. OpResult int32 `protobuf:"varint,7,opt,name=OpResult,proto3" json:"op_result"`
  500. OpReason int32 `protobuf:"varint,8,opt,name=OpReason,proto3" json:"op_reason"`
  501. OpType int32 `protobuf:"varint,9,opt,name=OpType,proto3" json:"op_type"`
  502. OpTime int64 `protobuf:"varint,10,opt,name=OpTime,proto3" json:"op_time"`
  503. BizCode string `protobuf:"bytes,11,opt,name=BizCode,proto3" json:"biz_code"`
  504. Area int64 `protobuf:"varint,12,opt,name=area,proto3" json:"area"`
  505. Source string `protobuf:"bytes,13,opt,name=Source,proto3" json:"source"`
  506. MetaData string `protobuf:"bytes,14,opt,name=MetaData,proto3" json:"metadata"`
  507. BizSource string `protobuf:"bytes,15,opt,name=BizSource,proto3" json:"biz_source"`
  508. Platform int32 `protobuf:"varint,16,opt,name=Platform,proto3" json:"platform"`
  509. Reserved1 int64 `protobuf:"varint,17,opt,name=Reserved1,proto3" json:"reserved1"`
  510. Version int64 `protobuf:"varint,18,opt,name=Version,proto3" json:"reserved5"`
  511. }
  512. func (m *CoinStreamRecord) Reset() { *m = CoinStreamRecord{} }
  513. func (m *CoinStreamRecord) String() string { return proto.CompactTextString(m) }
  514. func (*CoinStreamRecord) ProtoMessage() {}
  515. func (*CoinStreamRecord) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{6} }
  516. func (m *CoinStreamRecord) GetUid() int64 {
  517. if m != nil {
  518. return m.Uid
  519. }
  520. return 0
  521. }
  522. func (m *CoinStreamRecord) GetTransactionId() string {
  523. if m != nil {
  524. return m.TransactionId
  525. }
  526. return ""
  527. }
  528. func (m *CoinStreamRecord) GetExtendTid() string {
  529. if m != nil {
  530. return m.ExtendTid
  531. }
  532. return ""
  533. }
  534. func (m *CoinStreamRecord) GetCoinType() int32 {
  535. if m != nil {
  536. return m.CoinType
  537. }
  538. return 0
  539. }
  540. func (m *CoinStreamRecord) GetDeltaCoinNum() int64 {
  541. if m != nil {
  542. return m.DeltaCoinNum
  543. }
  544. return 0
  545. }
  546. func (m *CoinStreamRecord) GetOrgCoinNum() int64 {
  547. if m != nil {
  548. return m.OrgCoinNum
  549. }
  550. return 0
  551. }
  552. func (m *CoinStreamRecord) GetOpResult() int32 {
  553. if m != nil {
  554. return m.OpResult
  555. }
  556. return 0
  557. }
  558. func (m *CoinStreamRecord) GetOpReason() int32 {
  559. if m != nil {
  560. return m.OpReason
  561. }
  562. return 0
  563. }
  564. func (m *CoinStreamRecord) GetOpType() int32 {
  565. if m != nil {
  566. return m.OpType
  567. }
  568. return 0
  569. }
  570. func (m *CoinStreamRecord) GetOpTime() int64 {
  571. if m != nil {
  572. return m.OpTime
  573. }
  574. return 0
  575. }
  576. func (m *CoinStreamRecord) GetBizCode() string {
  577. if m != nil {
  578. return m.BizCode
  579. }
  580. return ""
  581. }
  582. func (m *CoinStreamRecord) GetArea() int64 {
  583. if m != nil {
  584. return m.Area
  585. }
  586. return 0
  587. }
  588. func (m *CoinStreamRecord) GetSource() string {
  589. if m != nil {
  590. return m.Source
  591. }
  592. return ""
  593. }
  594. func (m *CoinStreamRecord) GetMetaData() string {
  595. if m != nil {
  596. return m.MetaData
  597. }
  598. return ""
  599. }
  600. func (m *CoinStreamRecord) GetBizSource() string {
  601. if m != nil {
  602. return m.BizSource
  603. }
  604. return ""
  605. }
  606. func (m *CoinStreamRecord) GetPlatform() int32 {
  607. if m != nil {
  608. return m.Platform
  609. }
  610. return 0
  611. }
  612. func (m *CoinStreamRecord) GetReserved1() int64 {
  613. if m != nil {
  614. return m.Reserved1
  615. }
  616. return 0
  617. }
  618. func (m *CoinStreamRecord) GetVersion() int64 {
  619. if m != nil {
  620. return m.Version
  621. }
  622. return 0
  623. }
  624. type CoinExchangeRecord struct {
  625. Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"uid"`
  626. TransactionId string `protobuf:"bytes,2,opt,name=TransactionId,proto3" json:"transaction_id"`
  627. SrcType int32 `protobuf:"varint,3,opt,name=SrcType,proto3" json:"src_type"`
  628. SrcNum int32 `protobuf:"varint,4,opt,name=SrcNum,proto3" json:"src_num"`
  629. DestType int32 `protobuf:"varint,5,opt,name=DestType,proto3" json:"dest_type"`
  630. DestNum int32 `protobuf:"varint,6,opt,name=DestNum,proto3" json:"dest_num"`
  631. Status int32 `protobuf:"varint,7,opt,name=Status,proto3" json:"status"`
  632. ExchangeTime int64 `protobuf:"varint,8,opt,name=ExchangeTime,proto3" json:"exchange_time"`
  633. }
  634. func (m *CoinExchangeRecord) Reset() { *m = CoinExchangeRecord{} }
  635. func (m *CoinExchangeRecord) String() string { return proto.CompactTextString(m) }
  636. func (*CoinExchangeRecord) ProtoMessage() {}
  637. func (*CoinExchangeRecord) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{7} }
  638. func (m *CoinExchangeRecord) GetUid() int64 {
  639. if m != nil {
  640. return m.Uid
  641. }
  642. return 0
  643. }
  644. func (m *CoinExchangeRecord) GetTransactionId() string {
  645. if m != nil {
  646. return m.TransactionId
  647. }
  648. return ""
  649. }
  650. func (m *CoinExchangeRecord) GetSrcType() int32 {
  651. if m != nil {
  652. return m.SrcType
  653. }
  654. return 0
  655. }
  656. func (m *CoinExchangeRecord) GetSrcNum() int32 {
  657. if m != nil {
  658. return m.SrcNum
  659. }
  660. return 0
  661. }
  662. func (m *CoinExchangeRecord) GetDestType() int32 {
  663. if m != nil {
  664. return m.DestType
  665. }
  666. return 0
  667. }
  668. func (m *CoinExchangeRecord) GetDestNum() int32 {
  669. if m != nil {
  670. return m.DestNum
  671. }
  672. return 0
  673. }
  674. func (m *CoinExchangeRecord) GetStatus() int32 {
  675. if m != nil {
  676. return m.Status
  677. }
  678. return 0
  679. }
  680. func (m *CoinExchangeRecord) GetExchangeTime() int64 {
  681. if m != nil {
  682. return m.ExchangeTime
  683. }
  684. return 0
  685. }
  686. type RecordCoinStreamItem struct {
  687. TransactionId string `protobuf:"bytes,1,opt,name=TransactionId,proto3" json:"transaction_id"`
  688. ExtendTid string `protobuf:"bytes,2,opt,name=ExtendTid,proto3" json:"extend_tid"`
  689. CoinType string `protobuf:"bytes,3,opt,name=CoinType,proto3" json:"coin_type"`
  690. CoinNum int64 `protobuf:"varint,4,opt,name=CoinNum,proto3" json:"coin_num"`
  691. OrgCoinNum int64 `protobuf:"varint,5,opt,name=OrgCoinNum,proto3" json:"left_coins"`
  692. Type string `protobuf:"bytes,6,opt,name=Type,proto3" json:"type"`
  693. Timestamp int64 `protobuf:"varint,7,opt,name=Timestamp,proto3" json:"timestamp"`
  694. Reserved1 int64 `protobuf:"varint,8,opt,name=Reserved1,proto3" json:"biz_reason"`
  695. }
  696. func (m *RecordCoinStreamItem) Reset() { *m = RecordCoinStreamItem{} }
  697. func (m *RecordCoinStreamItem) String() string { return proto.CompactTextString(m) }
  698. func (*RecordCoinStreamItem) ProtoMessage() {}
  699. func (*RecordCoinStreamItem) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{8} }
  700. func (m *RecordCoinStreamItem) GetTransactionId() string {
  701. if m != nil {
  702. return m.TransactionId
  703. }
  704. return ""
  705. }
  706. func (m *RecordCoinStreamItem) GetExtendTid() string {
  707. if m != nil {
  708. return m.ExtendTid
  709. }
  710. return ""
  711. }
  712. func (m *RecordCoinStreamItem) GetCoinType() string {
  713. if m != nil {
  714. return m.CoinType
  715. }
  716. return ""
  717. }
  718. func (m *RecordCoinStreamItem) GetCoinNum() int64 {
  719. if m != nil {
  720. return m.CoinNum
  721. }
  722. return 0
  723. }
  724. func (m *RecordCoinStreamItem) GetOrgCoinNum() int64 {
  725. if m != nil {
  726. return m.OrgCoinNum
  727. }
  728. return 0
  729. }
  730. func (m *RecordCoinStreamItem) GetType() string {
  731. if m != nil {
  732. return m.Type
  733. }
  734. return ""
  735. }
  736. func (m *RecordCoinStreamItem) GetTimestamp() int64 {
  737. if m != nil {
  738. return m.Timestamp
  739. }
  740. return 0
  741. }
  742. func (m *RecordCoinStreamItem) GetReserved1() int64 {
  743. if m != nil {
  744. return m.Reserved1
  745. }
  746. return 0
  747. }
  748. type BasicParam struct {
  749. TransactionId string `protobuf:"bytes,1,opt,name=TransactionId,proto3" json:"transaction_id"`
  750. BizCode string `protobuf:"bytes,2,opt,name=BizCode,proto3" json:"biz_code"`
  751. Area int64 `protobuf:"varint,3,opt,name=area,proto3" json:"area"`
  752. Source string `protobuf:"bytes,4,opt,name=Source,proto3" json:"source"`
  753. MetaData string `protobuf:"bytes,5,opt,name=MetaData,proto3" json:"metadata"`
  754. BizSource string `protobuf:"bytes,6,opt,name=BizSource,proto3" json:"biz_source"`
  755. Reason int64 `protobuf:"varint,7,opt,name=Reason,proto3" json:"biz_reason"`
  756. Version int64 `protobuf:"varint,8,opt,name=Version,proto3" json:"version"`
  757. }
  758. func (m *BasicParam) Reset() { *m = BasicParam{} }
  759. func (m *BasicParam) String() string { return proto.CompactTextString(m) }
  760. func (*BasicParam) ProtoMessage() {}
  761. func (*BasicParam) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{9} }
  762. func (m *BasicParam) GetTransactionId() string {
  763. if m != nil {
  764. return m.TransactionId
  765. }
  766. return ""
  767. }
  768. func (m *BasicParam) GetBizCode() string {
  769. if m != nil {
  770. return m.BizCode
  771. }
  772. return ""
  773. }
  774. func (m *BasicParam) GetArea() int64 {
  775. if m != nil {
  776. return m.Area
  777. }
  778. return 0
  779. }
  780. func (m *BasicParam) GetSource() string {
  781. if m != nil {
  782. return m.Source
  783. }
  784. return ""
  785. }
  786. func (m *BasicParam) GetMetaData() string {
  787. if m != nil {
  788. return m.MetaData
  789. }
  790. return ""
  791. }
  792. func (m *BasicParam) GetBizSource() string {
  793. if m != nil {
  794. return m.BizSource
  795. }
  796. return ""
  797. }
  798. func (m *BasicParam) GetReason() int64 {
  799. if m != nil {
  800. return m.Reason
  801. }
  802. return 0
  803. }
  804. func (m *BasicParam) GetVersion() int64 {
  805. if m != nil {
  806. return m.Version
  807. }
  808. return 0
  809. }
  810. type MelonseedResp struct {
  811. Gold string `protobuf:"bytes,1,opt,name=Gold,proto3" json:"gold"`
  812. Silver string `protobuf:"bytes,2,opt,name=Silver,proto3" json:"silver"`
  813. }
  814. func (m *MelonseedResp) Reset() { *m = MelonseedResp{} }
  815. func (m *MelonseedResp) String() string { return proto.CompactTextString(m) }
  816. func (*MelonseedResp) ProtoMessage() {}
  817. func (*MelonseedResp) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{10} }
  818. func (m *MelonseedResp) GetGold() string {
  819. if m != nil {
  820. return m.Gold
  821. }
  822. return ""
  823. }
  824. func (m *MelonseedResp) GetSilver() string {
  825. if m != nil {
  826. return m.Silver
  827. }
  828. return ""
  829. }
  830. type MelonseedWithMetalResp struct {
  831. Gold string `protobuf:"bytes,1,opt,name=Gold,proto3" json:"gold"`
  832. Silver string `protobuf:"bytes,2,opt,name=Silver,proto3" json:"silver"`
  833. Metal string `protobuf:"bytes,3,opt,name=Metal,proto3" json:"metal"`
  834. }
  835. func (m *MelonseedWithMetalResp) Reset() { *m = MelonseedWithMetalResp{} }
  836. func (m *MelonseedWithMetalResp) String() string { return proto.CompactTextString(m) }
  837. func (*MelonseedWithMetalResp) ProtoMessage() {}
  838. func (*MelonseedWithMetalResp) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{11} }
  839. func (m *MelonseedWithMetalResp) GetGold() string {
  840. if m != nil {
  841. return m.Gold
  842. }
  843. return ""
  844. }
  845. func (m *MelonseedWithMetalResp) GetSilver() string {
  846. if m != nil {
  847. return m.Silver
  848. }
  849. return ""
  850. }
  851. func (m *MelonseedWithMetalResp) GetMetal() string {
  852. if m != nil {
  853. return m.Metal
  854. }
  855. return ""
  856. }
  857. type DetailResp struct {
  858. Gold string `protobuf:"bytes,1,opt,name=Gold,proto3" json:"gold"`
  859. Silver string `protobuf:"bytes,2,opt,name=Silver,proto3" json:"silver"`
  860. GoldRechargeCnt string `protobuf:"bytes,5,opt,name=GoldRechargeCnt,proto3" json:"gold_recharge_cnt"`
  861. GoldPayCnt string `protobuf:"bytes,6,opt,name=GoldPayCnt,proto3" json:"gold_pay_cnt"`
  862. SilverPayCnt string `protobuf:"bytes,7,opt,name=SilverPayCnt,proto3" json:"silver_pay_cnt"`
  863. CostBase int64 `protobuf:"varint,8,opt,name=CostBase,proto3" json:"cost_base"`
  864. }
  865. func (m *DetailResp) Reset() { *m = DetailResp{} }
  866. func (m *DetailResp) String() string { return proto.CompactTextString(m) }
  867. func (*DetailResp) ProtoMessage() {}
  868. func (*DetailResp) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{12} }
  869. func (m *DetailResp) GetGold() string {
  870. if m != nil {
  871. return m.Gold
  872. }
  873. return ""
  874. }
  875. func (m *DetailResp) GetSilver() string {
  876. if m != nil {
  877. return m.Silver
  878. }
  879. return ""
  880. }
  881. func (m *DetailResp) GetGoldRechargeCnt() string {
  882. if m != nil {
  883. return m.GoldRechargeCnt
  884. }
  885. return ""
  886. }
  887. func (m *DetailResp) GetGoldPayCnt() string {
  888. if m != nil {
  889. return m.GoldPayCnt
  890. }
  891. return ""
  892. }
  893. func (m *DetailResp) GetSilverPayCnt() string {
  894. if m != nil {
  895. return m.SilverPayCnt
  896. }
  897. return ""
  898. }
  899. func (m *DetailResp) GetCostBase() int64 {
  900. if m != nil {
  901. return m.CostBase
  902. }
  903. return 0
  904. }
  905. type DetailWithMetalResp struct {
  906. Gold string `protobuf:"bytes,1,opt,name=Gold,proto3" json:"gold"`
  907. Silver string `protobuf:"bytes,2,opt,name=Silver,proto3" json:"silver"`
  908. GoldRechargeCnt string `protobuf:"bytes,5,opt,name=GoldRechargeCnt,proto3" json:"gold_recharge_cnt"`
  909. GoldPayCnt string `protobuf:"bytes,6,opt,name=GoldPayCnt,proto3" json:"gold_pay_cnt"`
  910. SilverPayCnt string `protobuf:"bytes,7,opt,name=SilverPayCnt,proto3" json:"silver_pay_cnt"`
  911. Metal string `protobuf:"bytes,8,opt,name=Metal,proto3" json:"metal"`
  912. CostBase int64 `protobuf:"varint,9,opt,name=CostBase,proto3" json:"cost_base"`
  913. }
  914. func (m *DetailWithMetalResp) Reset() { *m = DetailWithMetalResp{} }
  915. func (m *DetailWithMetalResp) String() string { return proto.CompactTextString(m) }
  916. func (*DetailWithMetalResp) ProtoMessage() {}
  917. func (*DetailWithMetalResp) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{13} }
  918. func (m *DetailWithMetalResp) GetGold() string {
  919. if m != nil {
  920. return m.Gold
  921. }
  922. return ""
  923. }
  924. func (m *DetailWithMetalResp) GetSilver() string {
  925. if m != nil {
  926. return m.Silver
  927. }
  928. return ""
  929. }
  930. func (m *DetailWithMetalResp) GetGoldRechargeCnt() string {
  931. if m != nil {
  932. return m.GoldRechargeCnt
  933. }
  934. return ""
  935. }
  936. func (m *DetailWithMetalResp) GetGoldPayCnt() string {
  937. if m != nil {
  938. return m.GoldPayCnt
  939. }
  940. return ""
  941. }
  942. func (m *DetailWithMetalResp) GetSilverPayCnt() string {
  943. if m != nil {
  944. return m.SilverPayCnt
  945. }
  946. return ""
  947. }
  948. func (m *DetailWithMetalResp) GetMetal() string {
  949. if m != nil {
  950. return m.Metal
  951. }
  952. return ""
  953. }
  954. func (m *DetailWithMetalResp) GetCostBase() int64 {
  955. if m != nil {
  956. return m.CostBase
  957. }
  958. return 0
  959. }
  960. type TidResp struct {
  961. TransactionId string `protobuf:"bytes,1,opt,name=TransactionId,proto3" json:"transaction_id"`
  962. }
  963. func (m *TidResp) Reset() { *m = TidResp{} }
  964. func (m *TidResp) String() string { return proto.CompactTextString(m) }
  965. func (*TidResp) ProtoMessage() {}
  966. func (*TidResp) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{14} }
  967. func (m *TidResp) GetTransactionId() string {
  968. if m != nil {
  969. return m.TransactionId
  970. }
  971. return ""
  972. }
  973. type QueryResp struct {
  974. Status int32 `protobuf:"varint,1,opt,name=Status,proto3" json:"status"`
  975. }
  976. func (m *QueryResp) Reset() { *m = QueryResp{} }
  977. func (m *QueryResp) String() string { return proto.CompactTextString(m) }
  978. func (*QueryResp) ProtoMessage() {}
  979. func (*QueryResp) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{15} }
  980. func (m *QueryResp) GetStatus() int32 {
  981. if m != nil {
  982. return m.Status
  983. }
  984. return 0
  985. }
  986. type MetalData struct {
  987. Count float64 `protobuf:"fixed64,1,opt,name=Count,proto3" json:"count"`
  988. }
  989. func (m *MetalData) Reset() { *m = MetalData{} }
  990. func (m *MetalData) String() string { return proto.CompactTextString(m) }
  991. func (*MetalData) ProtoMessage() {}
  992. func (*MetalData) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{16} }
  993. func (m *MetalData) GetCount() float64 {
  994. if m != nil {
  995. return m.Count
  996. }
  997. return 0
  998. }
  999. type WalletChangeMsg struct {
  1000. Action string `protobuf:"bytes,1,opt,name=Action,proto3" json:"action"`
  1001. Uid int64 `protobuf:"varint,2,opt,name=Uid,proto3" json:"uid"`
  1002. CoinType string `protobuf:"bytes,3,opt,name=CoinType,proto3" json:"coin_type"`
  1003. Platfrom string `protobuf:"bytes,4,opt,name=Platfrom,proto3" json:"platform"`
  1004. Number int64 `protobuf:"varint,5,opt,name=Number,proto3" json:"number"`
  1005. Gold int64 `protobuf:"varint,6,opt,name=Gold,proto3" json:"gold"`
  1006. Silver int64 `protobuf:"varint,7,opt,name=Silver,proto3" json:"silver"`
  1007. GoldRechargeCnt int64 `protobuf:"varint,8,opt,name=GoldRechargeCnt,proto3" json:"gold_recharge_cnt"`
  1008. GoldPayCnt int64 `protobuf:"varint,9,opt,name=GoldPayCnt,proto3" json:"gold_pay_cnt"`
  1009. SilverPayCnt int64 `protobuf:"varint,10,opt,name=SilverPayCnt,proto3" json:"silver_pay_cnt"`
  1010. DestCoinType string `protobuf:"bytes,11,opt,name=DestCoinType,proto3" json:"dest_coin_type"`
  1011. DestNumber int64 `protobuf:"varint,12,opt,name=DestNumber,proto3" json:"dest_number"`
  1012. CostBase int64 `protobuf:"varint,13,opt,name=CostBase,proto3" json:"cost_base"`
  1013. }
  1014. func (m *WalletChangeMsg) Reset() { *m = WalletChangeMsg{} }
  1015. func (m *WalletChangeMsg) String() string { return proto.CompactTextString(m) }
  1016. func (*WalletChangeMsg) ProtoMessage() {}
  1017. func (*WalletChangeMsg) Descriptor() ([]byte, []int) { return fileDescriptorWallet, []int{17} }
  1018. func (m *WalletChangeMsg) GetAction() string {
  1019. if m != nil {
  1020. return m.Action
  1021. }
  1022. return ""
  1023. }
  1024. func (m *WalletChangeMsg) GetUid() int64 {
  1025. if m != nil {
  1026. return m.Uid
  1027. }
  1028. return 0
  1029. }
  1030. func (m *WalletChangeMsg) GetCoinType() string {
  1031. if m != nil {
  1032. return m.CoinType
  1033. }
  1034. return ""
  1035. }
  1036. func (m *WalletChangeMsg) GetPlatfrom() string {
  1037. if m != nil {
  1038. return m.Platfrom
  1039. }
  1040. return ""
  1041. }
  1042. func (m *WalletChangeMsg) GetNumber() int64 {
  1043. if m != nil {
  1044. return m.Number
  1045. }
  1046. return 0
  1047. }
  1048. func (m *WalletChangeMsg) GetGold() int64 {
  1049. if m != nil {
  1050. return m.Gold
  1051. }
  1052. return 0
  1053. }
  1054. func (m *WalletChangeMsg) GetSilver() int64 {
  1055. if m != nil {
  1056. return m.Silver
  1057. }
  1058. return 0
  1059. }
  1060. func (m *WalletChangeMsg) GetGoldRechargeCnt() int64 {
  1061. if m != nil {
  1062. return m.GoldRechargeCnt
  1063. }
  1064. return 0
  1065. }
  1066. func (m *WalletChangeMsg) GetGoldPayCnt() int64 {
  1067. if m != nil {
  1068. return m.GoldPayCnt
  1069. }
  1070. return 0
  1071. }
  1072. func (m *WalletChangeMsg) GetSilverPayCnt() int64 {
  1073. if m != nil {
  1074. return m.SilverPayCnt
  1075. }
  1076. return 0
  1077. }
  1078. func (m *WalletChangeMsg) GetDestCoinType() string {
  1079. if m != nil {
  1080. return m.DestCoinType
  1081. }
  1082. return ""
  1083. }
  1084. func (m *WalletChangeMsg) GetDestNumber() int64 {
  1085. if m != nil {
  1086. return m.DestNumber
  1087. }
  1088. return 0
  1089. }
  1090. func (m *WalletChangeMsg) GetCostBase() int64 {
  1091. if m != nil {
  1092. return m.CostBase
  1093. }
  1094. return 0
  1095. }
  1096. func init() {
  1097. proto.RegisterType((*RechargeOrPayParam)(nil), "model.RechargeOrPayParam")
  1098. proto.RegisterType((*ExchangeParam)(nil), "model.ExchangeParam")
  1099. proto.RegisterType((*Melonseed)(nil), "model.Melonseed")
  1100. proto.RegisterType((*Detail)(nil), "model.Detail")
  1101. proto.RegisterType((*DetailWithSnapShot)(nil), "model.DetailWithSnapShot")
  1102. proto.RegisterType((*McDetail)(nil), "model.McDetail")
  1103. proto.RegisterType((*CoinStreamRecord)(nil), "model.CoinStreamRecord")
  1104. proto.RegisterType((*CoinExchangeRecord)(nil), "model.CoinExchangeRecord")
  1105. proto.RegisterType((*RecordCoinStreamItem)(nil), "model.RecordCoinStreamItem")
  1106. proto.RegisterType((*BasicParam)(nil), "model.BasicParam")
  1107. proto.RegisterType((*MelonseedResp)(nil), "model.MelonseedResp")
  1108. proto.RegisterType((*MelonseedWithMetalResp)(nil), "model.MelonseedWithMetalResp")
  1109. proto.RegisterType((*DetailResp)(nil), "model.DetailResp")
  1110. proto.RegisterType((*DetailWithMetalResp)(nil), "model.DetailWithMetalResp")
  1111. proto.RegisterType((*TidResp)(nil), "model.TidResp")
  1112. proto.RegisterType((*QueryResp)(nil), "model.QueryResp")
  1113. proto.RegisterType((*MetalData)(nil), "model.MetalData")
  1114. proto.RegisterType((*WalletChangeMsg)(nil), "model.WalletChangeMsg")
  1115. }
  1116. func (m *RechargeOrPayParam) Marshal() (dAtA []byte, err error) {
  1117. size := m.Size()
  1118. dAtA = make([]byte, size)
  1119. n, err := m.MarshalTo(dAtA)
  1120. if err != nil {
  1121. return nil, err
  1122. }
  1123. return dAtA[:n], nil
  1124. }
  1125. func (m *RechargeOrPayParam) MarshalTo(dAtA []byte) (int, error) {
  1126. var i int
  1127. _ = i
  1128. var l int
  1129. _ = l
  1130. if m.Uid != 0 {
  1131. dAtA[i] = 0x8
  1132. i++
  1133. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1134. }
  1135. if len(m.CoinType) > 0 {
  1136. dAtA[i] = 0x12
  1137. i++
  1138. i = encodeVarintWallet(dAtA, i, uint64(len(m.CoinType)))
  1139. i += copy(dAtA[i:], m.CoinType)
  1140. }
  1141. if m.CoinNum != 0 {
  1142. dAtA[i] = 0x18
  1143. i++
  1144. i = encodeVarintWallet(dAtA, i, uint64(m.CoinNum))
  1145. }
  1146. if len(m.ExtendTid) > 0 {
  1147. dAtA[i] = 0x22
  1148. i++
  1149. i = encodeVarintWallet(dAtA, i, uint64(len(m.ExtendTid)))
  1150. i += copy(dAtA[i:], m.ExtendTid)
  1151. }
  1152. if m.Timestamp != 0 {
  1153. dAtA[i] = 0x28
  1154. i++
  1155. i = encodeVarintWallet(dAtA, i, uint64(m.Timestamp))
  1156. }
  1157. if len(m.TransactionId) > 0 {
  1158. dAtA[i] = 0x32
  1159. i++
  1160. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  1161. i += copy(dAtA[i:], m.TransactionId)
  1162. }
  1163. if len(m.BizCode) > 0 {
  1164. dAtA[i] = 0x3a
  1165. i++
  1166. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizCode)))
  1167. i += copy(dAtA[i:], m.BizCode)
  1168. }
  1169. if m.Area != 0 {
  1170. dAtA[i] = 0x40
  1171. i++
  1172. i = encodeVarintWallet(dAtA, i, uint64(m.Area))
  1173. }
  1174. if len(m.Source) > 0 {
  1175. dAtA[i] = 0x4a
  1176. i++
  1177. i = encodeVarintWallet(dAtA, i, uint64(len(m.Source)))
  1178. i += copy(dAtA[i:], m.Source)
  1179. }
  1180. if len(m.MetaData) > 0 {
  1181. dAtA[i] = 0x52
  1182. i++
  1183. i = encodeVarintWallet(dAtA, i, uint64(len(m.MetaData)))
  1184. i += copy(dAtA[i:], m.MetaData)
  1185. }
  1186. if len(m.BizSource) > 0 {
  1187. dAtA[i] = 0x5a
  1188. i++
  1189. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizSource)))
  1190. i += copy(dAtA[i:], m.BizSource)
  1191. }
  1192. if m.Reason != 0 {
  1193. dAtA[i] = 0x60
  1194. i++
  1195. i = encodeVarintWallet(dAtA, i, uint64(m.Reason))
  1196. }
  1197. if m.Version != 0 {
  1198. dAtA[i] = 0x68
  1199. i++
  1200. i = encodeVarintWallet(dAtA, i, uint64(m.Version))
  1201. }
  1202. if len(m.Platform) > 0 {
  1203. dAtA[i] = 0x72
  1204. i++
  1205. i = encodeVarintWallet(dAtA, i, uint64(len(m.Platform)))
  1206. i += copy(dAtA[i:], m.Platform)
  1207. }
  1208. return i, nil
  1209. }
  1210. func (m *ExchangeParam) Marshal() (dAtA []byte, err error) {
  1211. size := m.Size()
  1212. dAtA = make([]byte, size)
  1213. n, err := m.MarshalTo(dAtA)
  1214. if err != nil {
  1215. return nil, err
  1216. }
  1217. return dAtA[:n], nil
  1218. }
  1219. func (m *ExchangeParam) MarshalTo(dAtA []byte) (int, error) {
  1220. var i int
  1221. _ = i
  1222. var l int
  1223. _ = l
  1224. if m.Uid != 0 {
  1225. dAtA[i] = 0x8
  1226. i++
  1227. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1228. }
  1229. if len(m.SrcCoinType) > 0 {
  1230. dAtA[i] = 0x12
  1231. i++
  1232. i = encodeVarintWallet(dAtA, i, uint64(len(m.SrcCoinType)))
  1233. i += copy(dAtA[i:], m.SrcCoinType)
  1234. }
  1235. if m.SrcCoinNum != 0 {
  1236. dAtA[i] = 0x18
  1237. i++
  1238. i = encodeVarintWallet(dAtA, i, uint64(m.SrcCoinNum))
  1239. }
  1240. if len(m.DestCoinType) > 0 {
  1241. dAtA[i] = 0x22
  1242. i++
  1243. i = encodeVarintWallet(dAtA, i, uint64(len(m.DestCoinType)))
  1244. i += copy(dAtA[i:], m.DestCoinType)
  1245. }
  1246. if m.DestCoinNum != 0 {
  1247. dAtA[i] = 0x28
  1248. i++
  1249. i = encodeVarintWallet(dAtA, i, uint64(m.DestCoinNum))
  1250. }
  1251. if len(m.ExtendTid) > 0 {
  1252. dAtA[i] = 0x32
  1253. i++
  1254. i = encodeVarintWallet(dAtA, i, uint64(len(m.ExtendTid)))
  1255. i += copy(dAtA[i:], m.ExtendTid)
  1256. }
  1257. if m.Timestamp != 0 {
  1258. dAtA[i] = 0x38
  1259. i++
  1260. i = encodeVarintWallet(dAtA, i, uint64(m.Timestamp))
  1261. }
  1262. if len(m.TransactionId) > 0 {
  1263. dAtA[i] = 0x42
  1264. i++
  1265. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  1266. i += copy(dAtA[i:], m.TransactionId)
  1267. }
  1268. if len(m.BizCode) > 0 {
  1269. dAtA[i] = 0x4a
  1270. i++
  1271. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizCode)))
  1272. i += copy(dAtA[i:], m.BizCode)
  1273. }
  1274. if m.Area != 0 {
  1275. dAtA[i] = 0x50
  1276. i++
  1277. i = encodeVarintWallet(dAtA, i, uint64(m.Area))
  1278. }
  1279. if len(m.Source) > 0 {
  1280. dAtA[i] = 0x5a
  1281. i++
  1282. i = encodeVarintWallet(dAtA, i, uint64(len(m.Source)))
  1283. i += copy(dAtA[i:], m.Source)
  1284. }
  1285. if len(m.MetaData) > 0 {
  1286. dAtA[i] = 0x62
  1287. i++
  1288. i = encodeVarintWallet(dAtA, i, uint64(len(m.MetaData)))
  1289. i += copy(dAtA[i:], m.MetaData)
  1290. }
  1291. if len(m.BizSource) > 0 {
  1292. dAtA[i] = 0x6a
  1293. i++
  1294. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizSource)))
  1295. i += copy(dAtA[i:], m.BizSource)
  1296. }
  1297. if m.Reason != 0 {
  1298. dAtA[i] = 0x70
  1299. i++
  1300. i = encodeVarintWallet(dAtA, i, uint64(m.Reason))
  1301. }
  1302. if m.Version != 0 {
  1303. dAtA[i] = 0x78
  1304. i++
  1305. i = encodeVarintWallet(dAtA, i, uint64(m.Version))
  1306. }
  1307. if len(m.Platform) > 0 {
  1308. dAtA[i] = 0x82
  1309. i++
  1310. dAtA[i] = 0x1
  1311. i++
  1312. i = encodeVarintWallet(dAtA, i, uint64(len(m.Platform)))
  1313. i += copy(dAtA[i:], m.Platform)
  1314. }
  1315. return i, nil
  1316. }
  1317. func (m *Melonseed) Marshal() (dAtA []byte, err error) {
  1318. size := m.Size()
  1319. dAtA = make([]byte, size)
  1320. n, err := m.MarshalTo(dAtA)
  1321. if err != nil {
  1322. return nil, err
  1323. }
  1324. return dAtA[:n], nil
  1325. }
  1326. func (m *Melonseed) MarshalTo(dAtA []byte) (int, error) {
  1327. var i int
  1328. _ = i
  1329. var l int
  1330. _ = l
  1331. if m.Uid != 0 {
  1332. dAtA[i] = 0x8
  1333. i++
  1334. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1335. }
  1336. if m.Gold != 0 {
  1337. dAtA[i] = 0x10
  1338. i++
  1339. i = encodeVarintWallet(dAtA, i, uint64(m.Gold))
  1340. }
  1341. if m.IapGold != 0 {
  1342. dAtA[i] = 0x18
  1343. i++
  1344. i = encodeVarintWallet(dAtA, i, uint64(m.IapGold))
  1345. }
  1346. if m.Silver != 0 {
  1347. dAtA[i] = 0x20
  1348. i++
  1349. i = encodeVarintWallet(dAtA, i, uint64(m.Silver))
  1350. }
  1351. return i, nil
  1352. }
  1353. func (m *Detail) Marshal() (dAtA []byte, err error) {
  1354. size := m.Size()
  1355. dAtA = make([]byte, size)
  1356. n, err := m.MarshalTo(dAtA)
  1357. if err != nil {
  1358. return nil, err
  1359. }
  1360. return dAtA[:n], nil
  1361. }
  1362. func (m *Detail) MarshalTo(dAtA []byte) (int, error) {
  1363. var i int
  1364. _ = i
  1365. var l int
  1366. _ = l
  1367. if m.Uid != 0 {
  1368. dAtA[i] = 0x8
  1369. i++
  1370. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1371. }
  1372. if m.Gold != 0 {
  1373. dAtA[i] = 0x10
  1374. i++
  1375. i = encodeVarintWallet(dAtA, i, uint64(m.Gold))
  1376. }
  1377. if m.IapGold != 0 {
  1378. dAtA[i] = 0x18
  1379. i++
  1380. i = encodeVarintWallet(dAtA, i, uint64(m.IapGold))
  1381. }
  1382. if m.Silver != 0 {
  1383. dAtA[i] = 0x20
  1384. i++
  1385. i = encodeVarintWallet(dAtA, i, uint64(m.Silver))
  1386. }
  1387. if m.GoldRechargeCnt != 0 {
  1388. dAtA[i] = 0x28
  1389. i++
  1390. i = encodeVarintWallet(dAtA, i, uint64(m.GoldRechargeCnt))
  1391. }
  1392. if m.GoldPayCnt != 0 {
  1393. dAtA[i] = 0x30
  1394. i++
  1395. i = encodeVarintWallet(dAtA, i, uint64(m.GoldPayCnt))
  1396. }
  1397. if m.SilverPayCnt != 0 {
  1398. dAtA[i] = 0x38
  1399. i++
  1400. i = encodeVarintWallet(dAtA, i, uint64(m.SilverPayCnt))
  1401. }
  1402. if m.CostBase != 0 {
  1403. dAtA[i] = 0x40
  1404. i++
  1405. i = encodeVarintWallet(dAtA, i, uint64(m.CostBase))
  1406. }
  1407. return i, nil
  1408. }
  1409. func (m *DetailWithSnapShot) Marshal() (dAtA []byte, err error) {
  1410. size := m.Size()
  1411. dAtA = make([]byte, size)
  1412. n, err := m.MarshalTo(dAtA)
  1413. if err != nil {
  1414. return nil, err
  1415. }
  1416. return dAtA[:n], nil
  1417. }
  1418. func (m *DetailWithSnapShot) MarshalTo(dAtA []byte) (int, error) {
  1419. var i int
  1420. _ = i
  1421. var l int
  1422. _ = l
  1423. if m.Uid != 0 {
  1424. dAtA[i] = 0x8
  1425. i++
  1426. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1427. }
  1428. if m.Gold != 0 {
  1429. dAtA[i] = 0x10
  1430. i++
  1431. i = encodeVarintWallet(dAtA, i, uint64(m.Gold))
  1432. }
  1433. if m.IapGold != 0 {
  1434. dAtA[i] = 0x18
  1435. i++
  1436. i = encodeVarintWallet(dAtA, i, uint64(m.IapGold))
  1437. }
  1438. if m.Silver != 0 {
  1439. dAtA[i] = 0x20
  1440. i++
  1441. i = encodeVarintWallet(dAtA, i, uint64(m.Silver))
  1442. }
  1443. if m.GoldRechargeCnt != 0 {
  1444. dAtA[i] = 0x28
  1445. i++
  1446. i = encodeVarintWallet(dAtA, i, uint64(m.GoldRechargeCnt))
  1447. }
  1448. if m.GoldPayCnt != 0 {
  1449. dAtA[i] = 0x30
  1450. i++
  1451. i = encodeVarintWallet(dAtA, i, uint64(m.GoldPayCnt))
  1452. }
  1453. if m.SilverPayCnt != 0 {
  1454. dAtA[i] = 0x38
  1455. i++
  1456. i = encodeVarintWallet(dAtA, i, uint64(m.SilverPayCnt))
  1457. }
  1458. if m.CostBase != 0 {
  1459. dAtA[i] = 0x40
  1460. i++
  1461. i = encodeVarintWallet(dAtA, i, uint64(m.CostBase))
  1462. }
  1463. if len(m.SnapShotTime) > 0 {
  1464. dAtA[i] = 0x4a
  1465. i++
  1466. i = encodeVarintWallet(dAtA, i, uint64(len(m.SnapShotTime)))
  1467. i += copy(dAtA[i:], m.SnapShotTime)
  1468. }
  1469. if m.SnapShotGold != 0 {
  1470. dAtA[i] = 0x50
  1471. i++
  1472. i = encodeVarintWallet(dAtA, i, uint64(m.SnapShotGold))
  1473. }
  1474. if m.SnapShotIapGold != 0 {
  1475. dAtA[i] = 0x58
  1476. i++
  1477. i = encodeVarintWallet(dAtA, i, uint64(m.SnapShotIapGold))
  1478. }
  1479. if m.SnapShotSilver != 0 {
  1480. dAtA[i] = 0x60
  1481. i++
  1482. i = encodeVarintWallet(dAtA, i, uint64(m.SnapShotSilver))
  1483. }
  1484. if m.Reserved1 != 0 {
  1485. dAtA[i] = 0x68
  1486. i++
  1487. i = encodeVarintWallet(dAtA, i, uint64(m.Reserved1))
  1488. }
  1489. if len(m.Reserved2) > 0 {
  1490. dAtA[i] = 0x72
  1491. i++
  1492. i = encodeVarintWallet(dAtA, i, uint64(len(m.Reserved2)))
  1493. i += copy(dAtA[i:], m.Reserved2)
  1494. }
  1495. return i, nil
  1496. }
  1497. func (m *McDetail) Marshal() (dAtA []byte, err error) {
  1498. size := m.Size()
  1499. dAtA = make([]byte, size)
  1500. n, err := m.MarshalTo(dAtA)
  1501. if err != nil {
  1502. return nil, err
  1503. }
  1504. return dAtA[:n], nil
  1505. }
  1506. func (m *McDetail) MarshalTo(dAtA []byte) (int, error) {
  1507. var i int
  1508. _ = i
  1509. var l int
  1510. _ = l
  1511. if m.Detail != nil {
  1512. dAtA[i] = 0xa
  1513. i++
  1514. i = encodeVarintWallet(dAtA, i, uint64(m.Detail.Size()))
  1515. n1, err := m.Detail.MarshalTo(dAtA[i:])
  1516. if err != nil {
  1517. return 0, err
  1518. }
  1519. i += n1
  1520. }
  1521. if m.Exist {
  1522. dAtA[i] = 0x10
  1523. i++
  1524. if m.Exist {
  1525. dAtA[i] = 1
  1526. } else {
  1527. dAtA[i] = 0
  1528. }
  1529. i++
  1530. }
  1531. if m.Version != 0 {
  1532. dAtA[i] = 0x18
  1533. i++
  1534. i = encodeVarintWallet(dAtA, i, uint64(m.Version))
  1535. }
  1536. return i, nil
  1537. }
  1538. func (m *CoinStreamRecord) Marshal() (dAtA []byte, err error) {
  1539. size := m.Size()
  1540. dAtA = make([]byte, size)
  1541. n, err := m.MarshalTo(dAtA)
  1542. if err != nil {
  1543. return nil, err
  1544. }
  1545. return dAtA[:n], nil
  1546. }
  1547. func (m *CoinStreamRecord) MarshalTo(dAtA []byte) (int, error) {
  1548. var i int
  1549. _ = i
  1550. var l int
  1551. _ = l
  1552. if m.Uid != 0 {
  1553. dAtA[i] = 0x8
  1554. i++
  1555. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1556. }
  1557. if len(m.TransactionId) > 0 {
  1558. dAtA[i] = 0x12
  1559. i++
  1560. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  1561. i += copy(dAtA[i:], m.TransactionId)
  1562. }
  1563. if len(m.ExtendTid) > 0 {
  1564. dAtA[i] = 0x1a
  1565. i++
  1566. i = encodeVarintWallet(dAtA, i, uint64(len(m.ExtendTid)))
  1567. i += copy(dAtA[i:], m.ExtendTid)
  1568. }
  1569. if m.CoinType != 0 {
  1570. dAtA[i] = 0x20
  1571. i++
  1572. i = encodeVarintWallet(dAtA, i, uint64(m.CoinType))
  1573. }
  1574. if m.DeltaCoinNum != 0 {
  1575. dAtA[i] = 0x28
  1576. i++
  1577. i = encodeVarintWallet(dAtA, i, uint64(m.DeltaCoinNum))
  1578. }
  1579. if m.OrgCoinNum != 0 {
  1580. dAtA[i] = 0x30
  1581. i++
  1582. i = encodeVarintWallet(dAtA, i, uint64(m.OrgCoinNum))
  1583. }
  1584. if m.OpResult != 0 {
  1585. dAtA[i] = 0x38
  1586. i++
  1587. i = encodeVarintWallet(dAtA, i, uint64(m.OpResult))
  1588. }
  1589. if m.OpReason != 0 {
  1590. dAtA[i] = 0x40
  1591. i++
  1592. i = encodeVarintWallet(dAtA, i, uint64(m.OpReason))
  1593. }
  1594. if m.OpType != 0 {
  1595. dAtA[i] = 0x48
  1596. i++
  1597. i = encodeVarintWallet(dAtA, i, uint64(m.OpType))
  1598. }
  1599. if m.OpTime != 0 {
  1600. dAtA[i] = 0x50
  1601. i++
  1602. i = encodeVarintWallet(dAtA, i, uint64(m.OpTime))
  1603. }
  1604. if len(m.BizCode) > 0 {
  1605. dAtA[i] = 0x5a
  1606. i++
  1607. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizCode)))
  1608. i += copy(dAtA[i:], m.BizCode)
  1609. }
  1610. if m.Area != 0 {
  1611. dAtA[i] = 0x60
  1612. i++
  1613. i = encodeVarintWallet(dAtA, i, uint64(m.Area))
  1614. }
  1615. if len(m.Source) > 0 {
  1616. dAtA[i] = 0x6a
  1617. i++
  1618. i = encodeVarintWallet(dAtA, i, uint64(len(m.Source)))
  1619. i += copy(dAtA[i:], m.Source)
  1620. }
  1621. if len(m.MetaData) > 0 {
  1622. dAtA[i] = 0x72
  1623. i++
  1624. i = encodeVarintWallet(dAtA, i, uint64(len(m.MetaData)))
  1625. i += copy(dAtA[i:], m.MetaData)
  1626. }
  1627. if len(m.BizSource) > 0 {
  1628. dAtA[i] = 0x7a
  1629. i++
  1630. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizSource)))
  1631. i += copy(dAtA[i:], m.BizSource)
  1632. }
  1633. if m.Platform != 0 {
  1634. dAtA[i] = 0x80
  1635. i++
  1636. dAtA[i] = 0x1
  1637. i++
  1638. i = encodeVarintWallet(dAtA, i, uint64(m.Platform))
  1639. }
  1640. if m.Reserved1 != 0 {
  1641. dAtA[i] = 0x88
  1642. i++
  1643. dAtA[i] = 0x1
  1644. i++
  1645. i = encodeVarintWallet(dAtA, i, uint64(m.Reserved1))
  1646. }
  1647. if m.Version != 0 {
  1648. dAtA[i] = 0x90
  1649. i++
  1650. dAtA[i] = 0x1
  1651. i++
  1652. i = encodeVarintWallet(dAtA, i, uint64(m.Version))
  1653. }
  1654. return i, nil
  1655. }
  1656. func (m *CoinExchangeRecord) Marshal() (dAtA []byte, err error) {
  1657. size := m.Size()
  1658. dAtA = make([]byte, size)
  1659. n, err := m.MarshalTo(dAtA)
  1660. if err != nil {
  1661. return nil, err
  1662. }
  1663. return dAtA[:n], nil
  1664. }
  1665. func (m *CoinExchangeRecord) MarshalTo(dAtA []byte) (int, error) {
  1666. var i int
  1667. _ = i
  1668. var l int
  1669. _ = l
  1670. if m.Uid != 0 {
  1671. dAtA[i] = 0x8
  1672. i++
  1673. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  1674. }
  1675. if len(m.TransactionId) > 0 {
  1676. dAtA[i] = 0x12
  1677. i++
  1678. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  1679. i += copy(dAtA[i:], m.TransactionId)
  1680. }
  1681. if m.SrcType != 0 {
  1682. dAtA[i] = 0x18
  1683. i++
  1684. i = encodeVarintWallet(dAtA, i, uint64(m.SrcType))
  1685. }
  1686. if m.SrcNum != 0 {
  1687. dAtA[i] = 0x20
  1688. i++
  1689. i = encodeVarintWallet(dAtA, i, uint64(m.SrcNum))
  1690. }
  1691. if m.DestType != 0 {
  1692. dAtA[i] = 0x28
  1693. i++
  1694. i = encodeVarintWallet(dAtA, i, uint64(m.DestType))
  1695. }
  1696. if m.DestNum != 0 {
  1697. dAtA[i] = 0x30
  1698. i++
  1699. i = encodeVarintWallet(dAtA, i, uint64(m.DestNum))
  1700. }
  1701. if m.Status != 0 {
  1702. dAtA[i] = 0x38
  1703. i++
  1704. i = encodeVarintWallet(dAtA, i, uint64(m.Status))
  1705. }
  1706. if m.ExchangeTime != 0 {
  1707. dAtA[i] = 0x40
  1708. i++
  1709. i = encodeVarintWallet(dAtA, i, uint64(m.ExchangeTime))
  1710. }
  1711. return i, nil
  1712. }
  1713. func (m *RecordCoinStreamItem) Marshal() (dAtA []byte, err error) {
  1714. size := m.Size()
  1715. dAtA = make([]byte, size)
  1716. n, err := m.MarshalTo(dAtA)
  1717. if err != nil {
  1718. return nil, err
  1719. }
  1720. return dAtA[:n], nil
  1721. }
  1722. func (m *RecordCoinStreamItem) MarshalTo(dAtA []byte) (int, error) {
  1723. var i int
  1724. _ = i
  1725. var l int
  1726. _ = l
  1727. if len(m.TransactionId) > 0 {
  1728. dAtA[i] = 0xa
  1729. i++
  1730. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  1731. i += copy(dAtA[i:], m.TransactionId)
  1732. }
  1733. if len(m.ExtendTid) > 0 {
  1734. dAtA[i] = 0x12
  1735. i++
  1736. i = encodeVarintWallet(dAtA, i, uint64(len(m.ExtendTid)))
  1737. i += copy(dAtA[i:], m.ExtendTid)
  1738. }
  1739. if len(m.CoinType) > 0 {
  1740. dAtA[i] = 0x1a
  1741. i++
  1742. i = encodeVarintWallet(dAtA, i, uint64(len(m.CoinType)))
  1743. i += copy(dAtA[i:], m.CoinType)
  1744. }
  1745. if m.CoinNum != 0 {
  1746. dAtA[i] = 0x20
  1747. i++
  1748. i = encodeVarintWallet(dAtA, i, uint64(m.CoinNum))
  1749. }
  1750. if m.OrgCoinNum != 0 {
  1751. dAtA[i] = 0x28
  1752. i++
  1753. i = encodeVarintWallet(dAtA, i, uint64(m.OrgCoinNum))
  1754. }
  1755. if len(m.Type) > 0 {
  1756. dAtA[i] = 0x32
  1757. i++
  1758. i = encodeVarintWallet(dAtA, i, uint64(len(m.Type)))
  1759. i += copy(dAtA[i:], m.Type)
  1760. }
  1761. if m.Timestamp != 0 {
  1762. dAtA[i] = 0x38
  1763. i++
  1764. i = encodeVarintWallet(dAtA, i, uint64(m.Timestamp))
  1765. }
  1766. if m.Reserved1 != 0 {
  1767. dAtA[i] = 0x40
  1768. i++
  1769. i = encodeVarintWallet(dAtA, i, uint64(m.Reserved1))
  1770. }
  1771. return i, nil
  1772. }
  1773. func (m *BasicParam) Marshal() (dAtA []byte, err error) {
  1774. size := m.Size()
  1775. dAtA = make([]byte, size)
  1776. n, err := m.MarshalTo(dAtA)
  1777. if err != nil {
  1778. return nil, err
  1779. }
  1780. return dAtA[:n], nil
  1781. }
  1782. func (m *BasicParam) MarshalTo(dAtA []byte) (int, error) {
  1783. var i int
  1784. _ = i
  1785. var l int
  1786. _ = l
  1787. if len(m.TransactionId) > 0 {
  1788. dAtA[i] = 0xa
  1789. i++
  1790. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  1791. i += copy(dAtA[i:], m.TransactionId)
  1792. }
  1793. if len(m.BizCode) > 0 {
  1794. dAtA[i] = 0x12
  1795. i++
  1796. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizCode)))
  1797. i += copy(dAtA[i:], m.BizCode)
  1798. }
  1799. if m.Area != 0 {
  1800. dAtA[i] = 0x18
  1801. i++
  1802. i = encodeVarintWallet(dAtA, i, uint64(m.Area))
  1803. }
  1804. if len(m.Source) > 0 {
  1805. dAtA[i] = 0x22
  1806. i++
  1807. i = encodeVarintWallet(dAtA, i, uint64(len(m.Source)))
  1808. i += copy(dAtA[i:], m.Source)
  1809. }
  1810. if len(m.MetaData) > 0 {
  1811. dAtA[i] = 0x2a
  1812. i++
  1813. i = encodeVarintWallet(dAtA, i, uint64(len(m.MetaData)))
  1814. i += copy(dAtA[i:], m.MetaData)
  1815. }
  1816. if len(m.BizSource) > 0 {
  1817. dAtA[i] = 0x32
  1818. i++
  1819. i = encodeVarintWallet(dAtA, i, uint64(len(m.BizSource)))
  1820. i += copy(dAtA[i:], m.BizSource)
  1821. }
  1822. if m.Reason != 0 {
  1823. dAtA[i] = 0x38
  1824. i++
  1825. i = encodeVarintWallet(dAtA, i, uint64(m.Reason))
  1826. }
  1827. if m.Version != 0 {
  1828. dAtA[i] = 0x40
  1829. i++
  1830. i = encodeVarintWallet(dAtA, i, uint64(m.Version))
  1831. }
  1832. return i, nil
  1833. }
  1834. func (m *MelonseedResp) Marshal() (dAtA []byte, err error) {
  1835. size := m.Size()
  1836. dAtA = make([]byte, size)
  1837. n, err := m.MarshalTo(dAtA)
  1838. if err != nil {
  1839. return nil, err
  1840. }
  1841. return dAtA[:n], nil
  1842. }
  1843. func (m *MelonseedResp) MarshalTo(dAtA []byte) (int, error) {
  1844. var i int
  1845. _ = i
  1846. var l int
  1847. _ = l
  1848. if len(m.Gold) > 0 {
  1849. dAtA[i] = 0xa
  1850. i++
  1851. i = encodeVarintWallet(dAtA, i, uint64(len(m.Gold)))
  1852. i += copy(dAtA[i:], m.Gold)
  1853. }
  1854. if len(m.Silver) > 0 {
  1855. dAtA[i] = 0x12
  1856. i++
  1857. i = encodeVarintWallet(dAtA, i, uint64(len(m.Silver)))
  1858. i += copy(dAtA[i:], m.Silver)
  1859. }
  1860. return i, nil
  1861. }
  1862. func (m *MelonseedWithMetalResp) Marshal() (dAtA []byte, err error) {
  1863. size := m.Size()
  1864. dAtA = make([]byte, size)
  1865. n, err := m.MarshalTo(dAtA)
  1866. if err != nil {
  1867. return nil, err
  1868. }
  1869. return dAtA[:n], nil
  1870. }
  1871. func (m *MelonseedWithMetalResp) MarshalTo(dAtA []byte) (int, error) {
  1872. var i int
  1873. _ = i
  1874. var l int
  1875. _ = l
  1876. if len(m.Gold) > 0 {
  1877. dAtA[i] = 0xa
  1878. i++
  1879. i = encodeVarintWallet(dAtA, i, uint64(len(m.Gold)))
  1880. i += copy(dAtA[i:], m.Gold)
  1881. }
  1882. if len(m.Silver) > 0 {
  1883. dAtA[i] = 0x12
  1884. i++
  1885. i = encodeVarintWallet(dAtA, i, uint64(len(m.Silver)))
  1886. i += copy(dAtA[i:], m.Silver)
  1887. }
  1888. if len(m.Metal) > 0 {
  1889. dAtA[i] = 0x1a
  1890. i++
  1891. i = encodeVarintWallet(dAtA, i, uint64(len(m.Metal)))
  1892. i += copy(dAtA[i:], m.Metal)
  1893. }
  1894. return i, nil
  1895. }
  1896. func (m *DetailResp) Marshal() (dAtA []byte, err error) {
  1897. size := m.Size()
  1898. dAtA = make([]byte, size)
  1899. n, err := m.MarshalTo(dAtA)
  1900. if err != nil {
  1901. return nil, err
  1902. }
  1903. return dAtA[:n], nil
  1904. }
  1905. func (m *DetailResp) MarshalTo(dAtA []byte) (int, error) {
  1906. var i int
  1907. _ = i
  1908. var l int
  1909. _ = l
  1910. if len(m.Gold) > 0 {
  1911. dAtA[i] = 0xa
  1912. i++
  1913. i = encodeVarintWallet(dAtA, i, uint64(len(m.Gold)))
  1914. i += copy(dAtA[i:], m.Gold)
  1915. }
  1916. if len(m.Silver) > 0 {
  1917. dAtA[i] = 0x12
  1918. i++
  1919. i = encodeVarintWallet(dAtA, i, uint64(len(m.Silver)))
  1920. i += copy(dAtA[i:], m.Silver)
  1921. }
  1922. if len(m.GoldRechargeCnt) > 0 {
  1923. dAtA[i] = 0x2a
  1924. i++
  1925. i = encodeVarintWallet(dAtA, i, uint64(len(m.GoldRechargeCnt)))
  1926. i += copy(dAtA[i:], m.GoldRechargeCnt)
  1927. }
  1928. if len(m.GoldPayCnt) > 0 {
  1929. dAtA[i] = 0x32
  1930. i++
  1931. i = encodeVarintWallet(dAtA, i, uint64(len(m.GoldPayCnt)))
  1932. i += copy(dAtA[i:], m.GoldPayCnt)
  1933. }
  1934. if len(m.SilverPayCnt) > 0 {
  1935. dAtA[i] = 0x3a
  1936. i++
  1937. i = encodeVarintWallet(dAtA, i, uint64(len(m.SilverPayCnt)))
  1938. i += copy(dAtA[i:], m.SilverPayCnt)
  1939. }
  1940. if m.CostBase != 0 {
  1941. dAtA[i] = 0x40
  1942. i++
  1943. i = encodeVarintWallet(dAtA, i, uint64(m.CostBase))
  1944. }
  1945. return i, nil
  1946. }
  1947. func (m *DetailWithMetalResp) Marshal() (dAtA []byte, err error) {
  1948. size := m.Size()
  1949. dAtA = make([]byte, size)
  1950. n, err := m.MarshalTo(dAtA)
  1951. if err != nil {
  1952. return nil, err
  1953. }
  1954. return dAtA[:n], nil
  1955. }
  1956. func (m *DetailWithMetalResp) MarshalTo(dAtA []byte) (int, error) {
  1957. var i int
  1958. _ = i
  1959. var l int
  1960. _ = l
  1961. if len(m.Gold) > 0 {
  1962. dAtA[i] = 0xa
  1963. i++
  1964. i = encodeVarintWallet(dAtA, i, uint64(len(m.Gold)))
  1965. i += copy(dAtA[i:], m.Gold)
  1966. }
  1967. if len(m.Silver) > 0 {
  1968. dAtA[i] = 0x12
  1969. i++
  1970. i = encodeVarintWallet(dAtA, i, uint64(len(m.Silver)))
  1971. i += copy(dAtA[i:], m.Silver)
  1972. }
  1973. if len(m.GoldRechargeCnt) > 0 {
  1974. dAtA[i] = 0x2a
  1975. i++
  1976. i = encodeVarintWallet(dAtA, i, uint64(len(m.GoldRechargeCnt)))
  1977. i += copy(dAtA[i:], m.GoldRechargeCnt)
  1978. }
  1979. if len(m.GoldPayCnt) > 0 {
  1980. dAtA[i] = 0x32
  1981. i++
  1982. i = encodeVarintWallet(dAtA, i, uint64(len(m.GoldPayCnt)))
  1983. i += copy(dAtA[i:], m.GoldPayCnt)
  1984. }
  1985. if len(m.SilverPayCnt) > 0 {
  1986. dAtA[i] = 0x3a
  1987. i++
  1988. i = encodeVarintWallet(dAtA, i, uint64(len(m.SilverPayCnt)))
  1989. i += copy(dAtA[i:], m.SilverPayCnt)
  1990. }
  1991. if len(m.Metal) > 0 {
  1992. dAtA[i] = 0x42
  1993. i++
  1994. i = encodeVarintWallet(dAtA, i, uint64(len(m.Metal)))
  1995. i += copy(dAtA[i:], m.Metal)
  1996. }
  1997. if m.CostBase != 0 {
  1998. dAtA[i] = 0x48
  1999. i++
  2000. i = encodeVarintWallet(dAtA, i, uint64(m.CostBase))
  2001. }
  2002. return i, nil
  2003. }
  2004. func (m *TidResp) Marshal() (dAtA []byte, err error) {
  2005. size := m.Size()
  2006. dAtA = make([]byte, size)
  2007. n, err := m.MarshalTo(dAtA)
  2008. if err != nil {
  2009. return nil, err
  2010. }
  2011. return dAtA[:n], nil
  2012. }
  2013. func (m *TidResp) MarshalTo(dAtA []byte) (int, error) {
  2014. var i int
  2015. _ = i
  2016. var l int
  2017. _ = l
  2018. if len(m.TransactionId) > 0 {
  2019. dAtA[i] = 0xa
  2020. i++
  2021. i = encodeVarintWallet(dAtA, i, uint64(len(m.TransactionId)))
  2022. i += copy(dAtA[i:], m.TransactionId)
  2023. }
  2024. return i, nil
  2025. }
  2026. func (m *QueryResp) Marshal() (dAtA []byte, err error) {
  2027. size := m.Size()
  2028. dAtA = make([]byte, size)
  2029. n, err := m.MarshalTo(dAtA)
  2030. if err != nil {
  2031. return nil, err
  2032. }
  2033. return dAtA[:n], nil
  2034. }
  2035. func (m *QueryResp) MarshalTo(dAtA []byte) (int, error) {
  2036. var i int
  2037. _ = i
  2038. var l int
  2039. _ = l
  2040. if m.Status != 0 {
  2041. dAtA[i] = 0x8
  2042. i++
  2043. i = encodeVarintWallet(dAtA, i, uint64(m.Status))
  2044. }
  2045. return i, nil
  2046. }
  2047. func (m *MetalData) Marshal() (dAtA []byte, err error) {
  2048. size := m.Size()
  2049. dAtA = make([]byte, size)
  2050. n, err := m.MarshalTo(dAtA)
  2051. if err != nil {
  2052. return nil, err
  2053. }
  2054. return dAtA[:n], nil
  2055. }
  2056. func (m *MetalData) MarshalTo(dAtA []byte) (int, error) {
  2057. var i int
  2058. _ = i
  2059. var l int
  2060. _ = l
  2061. if m.Count != 0 {
  2062. dAtA[i] = 0x9
  2063. i++
  2064. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Count))))
  2065. i += 8
  2066. }
  2067. return i, nil
  2068. }
  2069. func (m *WalletChangeMsg) Marshal() (dAtA []byte, err error) {
  2070. size := m.Size()
  2071. dAtA = make([]byte, size)
  2072. n, err := m.MarshalTo(dAtA)
  2073. if err != nil {
  2074. return nil, err
  2075. }
  2076. return dAtA[:n], nil
  2077. }
  2078. func (m *WalletChangeMsg) MarshalTo(dAtA []byte) (int, error) {
  2079. var i int
  2080. _ = i
  2081. var l int
  2082. _ = l
  2083. if len(m.Action) > 0 {
  2084. dAtA[i] = 0xa
  2085. i++
  2086. i = encodeVarintWallet(dAtA, i, uint64(len(m.Action)))
  2087. i += copy(dAtA[i:], m.Action)
  2088. }
  2089. if m.Uid != 0 {
  2090. dAtA[i] = 0x10
  2091. i++
  2092. i = encodeVarintWallet(dAtA, i, uint64(m.Uid))
  2093. }
  2094. if len(m.CoinType) > 0 {
  2095. dAtA[i] = 0x1a
  2096. i++
  2097. i = encodeVarintWallet(dAtA, i, uint64(len(m.CoinType)))
  2098. i += copy(dAtA[i:], m.CoinType)
  2099. }
  2100. if len(m.Platfrom) > 0 {
  2101. dAtA[i] = 0x22
  2102. i++
  2103. i = encodeVarintWallet(dAtA, i, uint64(len(m.Platfrom)))
  2104. i += copy(dAtA[i:], m.Platfrom)
  2105. }
  2106. if m.Number != 0 {
  2107. dAtA[i] = 0x28
  2108. i++
  2109. i = encodeVarintWallet(dAtA, i, uint64(m.Number))
  2110. }
  2111. if m.Gold != 0 {
  2112. dAtA[i] = 0x30
  2113. i++
  2114. i = encodeVarintWallet(dAtA, i, uint64(m.Gold))
  2115. }
  2116. if m.Silver != 0 {
  2117. dAtA[i] = 0x38
  2118. i++
  2119. i = encodeVarintWallet(dAtA, i, uint64(m.Silver))
  2120. }
  2121. if m.GoldRechargeCnt != 0 {
  2122. dAtA[i] = 0x40
  2123. i++
  2124. i = encodeVarintWallet(dAtA, i, uint64(m.GoldRechargeCnt))
  2125. }
  2126. if m.GoldPayCnt != 0 {
  2127. dAtA[i] = 0x48
  2128. i++
  2129. i = encodeVarintWallet(dAtA, i, uint64(m.GoldPayCnt))
  2130. }
  2131. if m.SilverPayCnt != 0 {
  2132. dAtA[i] = 0x50
  2133. i++
  2134. i = encodeVarintWallet(dAtA, i, uint64(m.SilverPayCnt))
  2135. }
  2136. if len(m.DestCoinType) > 0 {
  2137. dAtA[i] = 0x5a
  2138. i++
  2139. i = encodeVarintWallet(dAtA, i, uint64(len(m.DestCoinType)))
  2140. i += copy(dAtA[i:], m.DestCoinType)
  2141. }
  2142. if m.DestNumber != 0 {
  2143. dAtA[i] = 0x60
  2144. i++
  2145. i = encodeVarintWallet(dAtA, i, uint64(m.DestNumber))
  2146. }
  2147. if m.CostBase != 0 {
  2148. dAtA[i] = 0x68
  2149. i++
  2150. i = encodeVarintWallet(dAtA, i, uint64(m.CostBase))
  2151. }
  2152. return i, nil
  2153. }
  2154. func encodeVarintWallet(dAtA []byte, offset int, v uint64) int {
  2155. for v >= 1<<7 {
  2156. dAtA[offset] = uint8(v&0x7f | 0x80)
  2157. v >>= 7
  2158. offset++
  2159. }
  2160. dAtA[offset] = uint8(v)
  2161. return offset + 1
  2162. }
  2163. func (m *RechargeOrPayParam) Size() (n int) {
  2164. var l int
  2165. _ = l
  2166. if m.Uid != 0 {
  2167. n += 1 + sovWallet(uint64(m.Uid))
  2168. }
  2169. l = len(m.CoinType)
  2170. if l > 0 {
  2171. n += 1 + l + sovWallet(uint64(l))
  2172. }
  2173. if m.CoinNum != 0 {
  2174. n += 1 + sovWallet(uint64(m.CoinNum))
  2175. }
  2176. l = len(m.ExtendTid)
  2177. if l > 0 {
  2178. n += 1 + l + sovWallet(uint64(l))
  2179. }
  2180. if m.Timestamp != 0 {
  2181. n += 1 + sovWallet(uint64(m.Timestamp))
  2182. }
  2183. l = len(m.TransactionId)
  2184. if l > 0 {
  2185. n += 1 + l + sovWallet(uint64(l))
  2186. }
  2187. l = len(m.BizCode)
  2188. if l > 0 {
  2189. n += 1 + l + sovWallet(uint64(l))
  2190. }
  2191. if m.Area != 0 {
  2192. n += 1 + sovWallet(uint64(m.Area))
  2193. }
  2194. l = len(m.Source)
  2195. if l > 0 {
  2196. n += 1 + l + sovWallet(uint64(l))
  2197. }
  2198. l = len(m.MetaData)
  2199. if l > 0 {
  2200. n += 1 + l + sovWallet(uint64(l))
  2201. }
  2202. l = len(m.BizSource)
  2203. if l > 0 {
  2204. n += 1 + l + sovWallet(uint64(l))
  2205. }
  2206. if m.Reason != 0 {
  2207. n += 1 + sovWallet(uint64(m.Reason))
  2208. }
  2209. if m.Version != 0 {
  2210. n += 1 + sovWallet(uint64(m.Version))
  2211. }
  2212. l = len(m.Platform)
  2213. if l > 0 {
  2214. n += 1 + l + sovWallet(uint64(l))
  2215. }
  2216. return n
  2217. }
  2218. func (m *ExchangeParam) Size() (n int) {
  2219. var l int
  2220. _ = l
  2221. if m.Uid != 0 {
  2222. n += 1 + sovWallet(uint64(m.Uid))
  2223. }
  2224. l = len(m.SrcCoinType)
  2225. if l > 0 {
  2226. n += 1 + l + sovWallet(uint64(l))
  2227. }
  2228. if m.SrcCoinNum != 0 {
  2229. n += 1 + sovWallet(uint64(m.SrcCoinNum))
  2230. }
  2231. l = len(m.DestCoinType)
  2232. if l > 0 {
  2233. n += 1 + l + sovWallet(uint64(l))
  2234. }
  2235. if m.DestCoinNum != 0 {
  2236. n += 1 + sovWallet(uint64(m.DestCoinNum))
  2237. }
  2238. l = len(m.ExtendTid)
  2239. if l > 0 {
  2240. n += 1 + l + sovWallet(uint64(l))
  2241. }
  2242. if m.Timestamp != 0 {
  2243. n += 1 + sovWallet(uint64(m.Timestamp))
  2244. }
  2245. l = len(m.TransactionId)
  2246. if l > 0 {
  2247. n += 1 + l + sovWallet(uint64(l))
  2248. }
  2249. l = len(m.BizCode)
  2250. if l > 0 {
  2251. n += 1 + l + sovWallet(uint64(l))
  2252. }
  2253. if m.Area != 0 {
  2254. n += 1 + sovWallet(uint64(m.Area))
  2255. }
  2256. l = len(m.Source)
  2257. if l > 0 {
  2258. n += 1 + l + sovWallet(uint64(l))
  2259. }
  2260. l = len(m.MetaData)
  2261. if l > 0 {
  2262. n += 1 + l + sovWallet(uint64(l))
  2263. }
  2264. l = len(m.BizSource)
  2265. if l > 0 {
  2266. n += 1 + l + sovWallet(uint64(l))
  2267. }
  2268. if m.Reason != 0 {
  2269. n += 1 + sovWallet(uint64(m.Reason))
  2270. }
  2271. if m.Version != 0 {
  2272. n += 1 + sovWallet(uint64(m.Version))
  2273. }
  2274. l = len(m.Platform)
  2275. if l > 0 {
  2276. n += 2 + l + sovWallet(uint64(l))
  2277. }
  2278. return n
  2279. }
  2280. func (m *Melonseed) Size() (n int) {
  2281. var l int
  2282. _ = l
  2283. if m.Uid != 0 {
  2284. n += 1 + sovWallet(uint64(m.Uid))
  2285. }
  2286. if m.Gold != 0 {
  2287. n += 1 + sovWallet(uint64(m.Gold))
  2288. }
  2289. if m.IapGold != 0 {
  2290. n += 1 + sovWallet(uint64(m.IapGold))
  2291. }
  2292. if m.Silver != 0 {
  2293. n += 1 + sovWallet(uint64(m.Silver))
  2294. }
  2295. return n
  2296. }
  2297. func (m *Detail) Size() (n int) {
  2298. var l int
  2299. _ = l
  2300. if m.Uid != 0 {
  2301. n += 1 + sovWallet(uint64(m.Uid))
  2302. }
  2303. if m.Gold != 0 {
  2304. n += 1 + sovWallet(uint64(m.Gold))
  2305. }
  2306. if m.IapGold != 0 {
  2307. n += 1 + sovWallet(uint64(m.IapGold))
  2308. }
  2309. if m.Silver != 0 {
  2310. n += 1 + sovWallet(uint64(m.Silver))
  2311. }
  2312. if m.GoldRechargeCnt != 0 {
  2313. n += 1 + sovWallet(uint64(m.GoldRechargeCnt))
  2314. }
  2315. if m.GoldPayCnt != 0 {
  2316. n += 1 + sovWallet(uint64(m.GoldPayCnt))
  2317. }
  2318. if m.SilverPayCnt != 0 {
  2319. n += 1 + sovWallet(uint64(m.SilverPayCnt))
  2320. }
  2321. if m.CostBase != 0 {
  2322. n += 1 + sovWallet(uint64(m.CostBase))
  2323. }
  2324. return n
  2325. }
  2326. func (m *DetailWithSnapShot) Size() (n int) {
  2327. var l int
  2328. _ = l
  2329. if m.Uid != 0 {
  2330. n += 1 + sovWallet(uint64(m.Uid))
  2331. }
  2332. if m.Gold != 0 {
  2333. n += 1 + sovWallet(uint64(m.Gold))
  2334. }
  2335. if m.IapGold != 0 {
  2336. n += 1 + sovWallet(uint64(m.IapGold))
  2337. }
  2338. if m.Silver != 0 {
  2339. n += 1 + sovWallet(uint64(m.Silver))
  2340. }
  2341. if m.GoldRechargeCnt != 0 {
  2342. n += 1 + sovWallet(uint64(m.GoldRechargeCnt))
  2343. }
  2344. if m.GoldPayCnt != 0 {
  2345. n += 1 + sovWallet(uint64(m.GoldPayCnt))
  2346. }
  2347. if m.SilverPayCnt != 0 {
  2348. n += 1 + sovWallet(uint64(m.SilverPayCnt))
  2349. }
  2350. if m.CostBase != 0 {
  2351. n += 1 + sovWallet(uint64(m.CostBase))
  2352. }
  2353. l = len(m.SnapShotTime)
  2354. if l > 0 {
  2355. n += 1 + l + sovWallet(uint64(l))
  2356. }
  2357. if m.SnapShotGold != 0 {
  2358. n += 1 + sovWallet(uint64(m.SnapShotGold))
  2359. }
  2360. if m.SnapShotIapGold != 0 {
  2361. n += 1 + sovWallet(uint64(m.SnapShotIapGold))
  2362. }
  2363. if m.SnapShotSilver != 0 {
  2364. n += 1 + sovWallet(uint64(m.SnapShotSilver))
  2365. }
  2366. if m.Reserved1 != 0 {
  2367. n += 1 + sovWallet(uint64(m.Reserved1))
  2368. }
  2369. l = len(m.Reserved2)
  2370. if l > 0 {
  2371. n += 1 + l + sovWallet(uint64(l))
  2372. }
  2373. return n
  2374. }
  2375. func (m *McDetail) Size() (n int) {
  2376. var l int
  2377. _ = l
  2378. if m.Detail != nil {
  2379. l = m.Detail.Size()
  2380. n += 1 + l + sovWallet(uint64(l))
  2381. }
  2382. if m.Exist {
  2383. n += 2
  2384. }
  2385. if m.Version != 0 {
  2386. n += 1 + sovWallet(uint64(m.Version))
  2387. }
  2388. return n
  2389. }
  2390. func (m *CoinStreamRecord) Size() (n int) {
  2391. var l int
  2392. _ = l
  2393. if m.Uid != 0 {
  2394. n += 1 + sovWallet(uint64(m.Uid))
  2395. }
  2396. l = len(m.TransactionId)
  2397. if l > 0 {
  2398. n += 1 + l + sovWallet(uint64(l))
  2399. }
  2400. l = len(m.ExtendTid)
  2401. if l > 0 {
  2402. n += 1 + l + sovWallet(uint64(l))
  2403. }
  2404. if m.CoinType != 0 {
  2405. n += 1 + sovWallet(uint64(m.CoinType))
  2406. }
  2407. if m.DeltaCoinNum != 0 {
  2408. n += 1 + sovWallet(uint64(m.DeltaCoinNum))
  2409. }
  2410. if m.OrgCoinNum != 0 {
  2411. n += 1 + sovWallet(uint64(m.OrgCoinNum))
  2412. }
  2413. if m.OpResult != 0 {
  2414. n += 1 + sovWallet(uint64(m.OpResult))
  2415. }
  2416. if m.OpReason != 0 {
  2417. n += 1 + sovWallet(uint64(m.OpReason))
  2418. }
  2419. if m.OpType != 0 {
  2420. n += 1 + sovWallet(uint64(m.OpType))
  2421. }
  2422. if m.OpTime != 0 {
  2423. n += 1 + sovWallet(uint64(m.OpTime))
  2424. }
  2425. l = len(m.BizCode)
  2426. if l > 0 {
  2427. n += 1 + l + sovWallet(uint64(l))
  2428. }
  2429. if m.Area != 0 {
  2430. n += 1 + sovWallet(uint64(m.Area))
  2431. }
  2432. l = len(m.Source)
  2433. if l > 0 {
  2434. n += 1 + l + sovWallet(uint64(l))
  2435. }
  2436. l = len(m.MetaData)
  2437. if l > 0 {
  2438. n += 1 + l + sovWallet(uint64(l))
  2439. }
  2440. l = len(m.BizSource)
  2441. if l > 0 {
  2442. n += 1 + l + sovWallet(uint64(l))
  2443. }
  2444. if m.Platform != 0 {
  2445. n += 2 + sovWallet(uint64(m.Platform))
  2446. }
  2447. if m.Reserved1 != 0 {
  2448. n += 2 + sovWallet(uint64(m.Reserved1))
  2449. }
  2450. if m.Version != 0 {
  2451. n += 2 + sovWallet(uint64(m.Version))
  2452. }
  2453. return n
  2454. }
  2455. func (m *CoinExchangeRecord) Size() (n int) {
  2456. var l int
  2457. _ = l
  2458. if m.Uid != 0 {
  2459. n += 1 + sovWallet(uint64(m.Uid))
  2460. }
  2461. l = len(m.TransactionId)
  2462. if l > 0 {
  2463. n += 1 + l + sovWallet(uint64(l))
  2464. }
  2465. if m.SrcType != 0 {
  2466. n += 1 + sovWallet(uint64(m.SrcType))
  2467. }
  2468. if m.SrcNum != 0 {
  2469. n += 1 + sovWallet(uint64(m.SrcNum))
  2470. }
  2471. if m.DestType != 0 {
  2472. n += 1 + sovWallet(uint64(m.DestType))
  2473. }
  2474. if m.DestNum != 0 {
  2475. n += 1 + sovWallet(uint64(m.DestNum))
  2476. }
  2477. if m.Status != 0 {
  2478. n += 1 + sovWallet(uint64(m.Status))
  2479. }
  2480. if m.ExchangeTime != 0 {
  2481. n += 1 + sovWallet(uint64(m.ExchangeTime))
  2482. }
  2483. return n
  2484. }
  2485. func (m *RecordCoinStreamItem) Size() (n int) {
  2486. var l int
  2487. _ = l
  2488. l = len(m.TransactionId)
  2489. if l > 0 {
  2490. n += 1 + l + sovWallet(uint64(l))
  2491. }
  2492. l = len(m.ExtendTid)
  2493. if l > 0 {
  2494. n += 1 + l + sovWallet(uint64(l))
  2495. }
  2496. l = len(m.CoinType)
  2497. if l > 0 {
  2498. n += 1 + l + sovWallet(uint64(l))
  2499. }
  2500. if m.CoinNum != 0 {
  2501. n += 1 + sovWallet(uint64(m.CoinNum))
  2502. }
  2503. if m.OrgCoinNum != 0 {
  2504. n += 1 + sovWallet(uint64(m.OrgCoinNum))
  2505. }
  2506. l = len(m.Type)
  2507. if l > 0 {
  2508. n += 1 + l + sovWallet(uint64(l))
  2509. }
  2510. if m.Timestamp != 0 {
  2511. n += 1 + sovWallet(uint64(m.Timestamp))
  2512. }
  2513. if m.Reserved1 != 0 {
  2514. n += 1 + sovWallet(uint64(m.Reserved1))
  2515. }
  2516. return n
  2517. }
  2518. func (m *BasicParam) Size() (n int) {
  2519. var l int
  2520. _ = l
  2521. l = len(m.TransactionId)
  2522. if l > 0 {
  2523. n += 1 + l + sovWallet(uint64(l))
  2524. }
  2525. l = len(m.BizCode)
  2526. if l > 0 {
  2527. n += 1 + l + sovWallet(uint64(l))
  2528. }
  2529. if m.Area != 0 {
  2530. n += 1 + sovWallet(uint64(m.Area))
  2531. }
  2532. l = len(m.Source)
  2533. if l > 0 {
  2534. n += 1 + l + sovWallet(uint64(l))
  2535. }
  2536. l = len(m.MetaData)
  2537. if l > 0 {
  2538. n += 1 + l + sovWallet(uint64(l))
  2539. }
  2540. l = len(m.BizSource)
  2541. if l > 0 {
  2542. n += 1 + l + sovWallet(uint64(l))
  2543. }
  2544. if m.Reason != 0 {
  2545. n += 1 + sovWallet(uint64(m.Reason))
  2546. }
  2547. if m.Version != 0 {
  2548. n += 1 + sovWallet(uint64(m.Version))
  2549. }
  2550. return n
  2551. }
  2552. func (m *MelonseedResp) Size() (n int) {
  2553. var l int
  2554. _ = l
  2555. l = len(m.Gold)
  2556. if l > 0 {
  2557. n += 1 + l + sovWallet(uint64(l))
  2558. }
  2559. l = len(m.Silver)
  2560. if l > 0 {
  2561. n += 1 + l + sovWallet(uint64(l))
  2562. }
  2563. return n
  2564. }
  2565. func (m *MelonseedWithMetalResp) Size() (n int) {
  2566. var l int
  2567. _ = l
  2568. l = len(m.Gold)
  2569. if l > 0 {
  2570. n += 1 + l + sovWallet(uint64(l))
  2571. }
  2572. l = len(m.Silver)
  2573. if l > 0 {
  2574. n += 1 + l + sovWallet(uint64(l))
  2575. }
  2576. l = len(m.Metal)
  2577. if l > 0 {
  2578. n += 1 + l + sovWallet(uint64(l))
  2579. }
  2580. return n
  2581. }
  2582. func (m *DetailResp) Size() (n int) {
  2583. var l int
  2584. _ = l
  2585. l = len(m.Gold)
  2586. if l > 0 {
  2587. n += 1 + l + sovWallet(uint64(l))
  2588. }
  2589. l = len(m.Silver)
  2590. if l > 0 {
  2591. n += 1 + l + sovWallet(uint64(l))
  2592. }
  2593. l = len(m.GoldRechargeCnt)
  2594. if l > 0 {
  2595. n += 1 + l + sovWallet(uint64(l))
  2596. }
  2597. l = len(m.GoldPayCnt)
  2598. if l > 0 {
  2599. n += 1 + l + sovWallet(uint64(l))
  2600. }
  2601. l = len(m.SilverPayCnt)
  2602. if l > 0 {
  2603. n += 1 + l + sovWallet(uint64(l))
  2604. }
  2605. if m.CostBase != 0 {
  2606. n += 1 + sovWallet(uint64(m.CostBase))
  2607. }
  2608. return n
  2609. }
  2610. func (m *DetailWithMetalResp) Size() (n int) {
  2611. var l int
  2612. _ = l
  2613. l = len(m.Gold)
  2614. if l > 0 {
  2615. n += 1 + l + sovWallet(uint64(l))
  2616. }
  2617. l = len(m.Silver)
  2618. if l > 0 {
  2619. n += 1 + l + sovWallet(uint64(l))
  2620. }
  2621. l = len(m.GoldRechargeCnt)
  2622. if l > 0 {
  2623. n += 1 + l + sovWallet(uint64(l))
  2624. }
  2625. l = len(m.GoldPayCnt)
  2626. if l > 0 {
  2627. n += 1 + l + sovWallet(uint64(l))
  2628. }
  2629. l = len(m.SilverPayCnt)
  2630. if l > 0 {
  2631. n += 1 + l + sovWallet(uint64(l))
  2632. }
  2633. l = len(m.Metal)
  2634. if l > 0 {
  2635. n += 1 + l + sovWallet(uint64(l))
  2636. }
  2637. if m.CostBase != 0 {
  2638. n += 1 + sovWallet(uint64(m.CostBase))
  2639. }
  2640. return n
  2641. }
  2642. func (m *TidResp) Size() (n int) {
  2643. var l int
  2644. _ = l
  2645. l = len(m.TransactionId)
  2646. if l > 0 {
  2647. n += 1 + l + sovWallet(uint64(l))
  2648. }
  2649. return n
  2650. }
  2651. func (m *QueryResp) Size() (n int) {
  2652. var l int
  2653. _ = l
  2654. if m.Status != 0 {
  2655. n += 1 + sovWallet(uint64(m.Status))
  2656. }
  2657. return n
  2658. }
  2659. func (m *MetalData) Size() (n int) {
  2660. var l int
  2661. _ = l
  2662. if m.Count != 0 {
  2663. n += 9
  2664. }
  2665. return n
  2666. }
  2667. func (m *WalletChangeMsg) Size() (n int) {
  2668. var l int
  2669. _ = l
  2670. l = len(m.Action)
  2671. if l > 0 {
  2672. n += 1 + l + sovWallet(uint64(l))
  2673. }
  2674. if m.Uid != 0 {
  2675. n += 1 + sovWallet(uint64(m.Uid))
  2676. }
  2677. l = len(m.CoinType)
  2678. if l > 0 {
  2679. n += 1 + l + sovWallet(uint64(l))
  2680. }
  2681. l = len(m.Platfrom)
  2682. if l > 0 {
  2683. n += 1 + l + sovWallet(uint64(l))
  2684. }
  2685. if m.Number != 0 {
  2686. n += 1 + sovWallet(uint64(m.Number))
  2687. }
  2688. if m.Gold != 0 {
  2689. n += 1 + sovWallet(uint64(m.Gold))
  2690. }
  2691. if m.Silver != 0 {
  2692. n += 1 + sovWallet(uint64(m.Silver))
  2693. }
  2694. if m.GoldRechargeCnt != 0 {
  2695. n += 1 + sovWallet(uint64(m.GoldRechargeCnt))
  2696. }
  2697. if m.GoldPayCnt != 0 {
  2698. n += 1 + sovWallet(uint64(m.GoldPayCnt))
  2699. }
  2700. if m.SilverPayCnt != 0 {
  2701. n += 1 + sovWallet(uint64(m.SilverPayCnt))
  2702. }
  2703. l = len(m.DestCoinType)
  2704. if l > 0 {
  2705. n += 1 + l + sovWallet(uint64(l))
  2706. }
  2707. if m.DestNumber != 0 {
  2708. n += 1 + sovWallet(uint64(m.DestNumber))
  2709. }
  2710. if m.CostBase != 0 {
  2711. n += 1 + sovWallet(uint64(m.CostBase))
  2712. }
  2713. return n
  2714. }
  2715. func sovWallet(x uint64) (n int) {
  2716. for {
  2717. n++
  2718. x >>= 7
  2719. if x == 0 {
  2720. break
  2721. }
  2722. }
  2723. return n
  2724. }
  2725. func sozWallet(x uint64) (n int) {
  2726. return sovWallet(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2727. }
  2728. func (m *RechargeOrPayParam) Unmarshal(dAtA []byte) error {
  2729. l := len(dAtA)
  2730. iNdEx := 0
  2731. for iNdEx < l {
  2732. preIndex := iNdEx
  2733. var wire uint64
  2734. for shift := uint(0); ; shift += 7 {
  2735. if shift >= 64 {
  2736. return ErrIntOverflowWallet
  2737. }
  2738. if iNdEx >= l {
  2739. return io.ErrUnexpectedEOF
  2740. }
  2741. b := dAtA[iNdEx]
  2742. iNdEx++
  2743. wire |= (uint64(b) & 0x7F) << shift
  2744. if b < 0x80 {
  2745. break
  2746. }
  2747. }
  2748. fieldNum := int32(wire >> 3)
  2749. wireType := int(wire & 0x7)
  2750. if wireType == 4 {
  2751. return fmt.Errorf("proto: RechargeOrPayParam: wiretype end group for non-group")
  2752. }
  2753. if fieldNum <= 0 {
  2754. return fmt.Errorf("proto: RechargeOrPayParam: illegal tag %d (wire type %d)", fieldNum, wire)
  2755. }
  2756. switch fieldNum {
  2757. case 1:
  2758. if wireType != 0 {
  2759. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2760. }
  2761. m.Uid = 0
  2762. for shift := uint(0); ; shift += 7 {
  2763. if shift >= 64 {
  2764. return ErrIntOverflowWallet
  2765. }
  2766. if iNdEx >= l {
  2767. return io.ErrUnexpectedEOF
  2768. }
  2769. b := dAtA[iNdEx]
  2770. iNdEx++
  2771. m.Uid |= (int64(b) & 0x7F) << shift
  2772. if b < 0x80 {
  2773. break
  2774. }
  2775. }
  2776. case 2:
  2777. if wireType != 2 {
  2778. return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
  2779. }
  2780. var stringLen uint64
  2781. for shift := uint(0); ; shift += 7 {
  2782. if shift >= 64 {
  2783. return ErrIntOverflowWallet
  2784. }
  2785. if iNdEx >= l {
  2786. return io.ErrUnexpectedEOF
  2787. }
  2788. b := dAtA[iNdEx]
  2789. iNdEx++
  2790. stringLen |= (uint64(b) & 0x7F) << shift
  2791. if b < 0x80 {
  2792. break
  2793. }
  2794. }
  2795. intStringLen := int(stringLen)
  2796. if intStringLen < 0 {
  2797. return ErrInvalidLengthWallet
  2798. }
  2799. postIndex := iNdEx + intStringLen
  2800. if postIndex > l {
  2801. return io.ErrUnexpectedEOF
  2802. }
  2803. m.CoinType = string(dAtA[iNdEx:postIndex])
  2804. iNdEx = postIndex
  2805. case 3:
  2806. if wireType != 0 {
  2807. return fmt.Errorf("proto: wrong wireType = %d for field CoinNum", wireType)
  2808. }
  2809. m.CoinNum = 0
  2810. for shift := uint(0); ; shift += 7 {
  2811. if shift >= 64 {
  2812. return ErrIntOverflowWallet
  2813. }
  2814. if iNdEx >= l {
  2815. return io.ErrUnexpectedEOF
  2816. }
  2817. b := dAtA[iNdEx]
  2818. iNdEx++
  2819. m.CoinNum |= (int64(b) & 0x7F) << shift
  2820. if b < 0x80 {
  2821. break
  2822. }
  2823. }
  2824. case 4:
  2825. if wireType != 2 {
  2826. return fmt.Errorf("proto: wrong wireType = %d for field ExtendTid", wireType)
  2827. }
  2828. var stringLen uint64
  2829. for shift := uint(0); ; shift += 7 {
  2830. if shift >= 64 {
  2831. return ErrIntOverflowWallet
  2832. }
  2833. if iNdEx >= l {
  2834. return io.ErrUnexpectedEOF
  2835. }
  2836. b := dAtA[iNdEx]
  2837. iNdEx++
  2838. stringLen |= (uint64(b) & 0x7F) << shift
  2839. if b < 0x80 {
  2840. break
  2841. }
  2842. }
  2843. intStringLen := int(stringLen)
  2844. if intStringLen < 0 {
  2845. return ErrInvalidLengthWallet
  2846. }
  2847. postIndex := iNdEx + intStringLen
  2848. if postIndex > l {
  2849. return io.ErrUnexpectedEOF
  2850. }
  2851. m.ExtendTid = string(dAtA[iNdEx:postIndex])
  2852. iNdEx = postIndex
  2853. case 5:
  2854. if wireType != 0 {
  2855. return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType)
  2856. }
  2857. m.Timestamp = 0
  2858. for shift := uint(0); ; shift += 7 {
  2859. if shift >= 64 {
  2860. return ErrIntOverflowWallet
  2861. }
  2862. if iNdEx >= l {
  2863. return io.ErrUnexpectedEOF
  2864. }
  2865. b := dAtA[iNdEx]
  2866. iNdEx++
  2867. m.Timestamp |= (int64(b) & 0x7F) << shift
  2868. if b < 0x80 {
  2869. break
  2870. }
  2871. }
  2872. case 6:
  2873. if wireType != 2 {
  2874. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  2875. }
  2876. var stringLen uint64
  2877. for shift := uint(0); ; shift += 7 {
  2878. if shift >= 64 {
  2879. return ErrIntOverflowWallet
  2880. }
  2881. if iNdEx >= l {
  2882. return io.ErrUnexpectedEOF
  2883. }
  2884. b := dAtA[iNdEx]
  2885. iNdEx++
  2886. stringLen |= (uint64(b) & 0x7F) << shift
  2887. if b < 0x80 {
  2888. break
  2889. }
  2890. }
  2891. intStringLen := int(stringLen)
  2892. if intStringLen < 0 {
  2893. return ErrInvalidLengthWallet
  2894. }
  2895. postIndex := iNdEx + intStringLen
  2896. if postIndex > l {
  2897. return io.ErrUnexpectedEOF
  2898. }
  2899. m.TransactionId = string(dAtA[iNdEx:postIndex])
  2900. iNdEx = postIndex
  2901. case 7:
  2902. if wireType != 2 {
  2903. return fmt.Errorf("proto: wrong wireType = %d for field BizCode", wireType)
  2904. }
  2905. var stringLen uint64
  2906. for shift := uint(0); ; shift += 7 {
  2907. if shift >= 64 {
  2908. return ErrIntOverflowWallet
  2909. }
  2910. if iNdEx >= l {
  2911. return io.ErrUnexpectedEOF
  2912. }
  2913. b := dAtA[iNdEx]
  2914. iNdEx++
  2915. stringLen |= (uint64(b) & 0x7F) << shift
  2916. if b < 0x80 {
  2917. break
  2918. }
  2919. }
  2920. intStringLen := int(stringLen)
  2921. if intStringLen < 0 {
  2922. return ErrInvalidLengthWallet
  2923. }
  2924. postIndex := iNdEx + intStringLen
  2925. if postIndex > l {
  2926. return io.ErrUnexpectedEOF
  2927. }
  2928. m.BizCode = string(dAtA[iNdEx:postIndex])
  2929. iNdEx = postIndex
  2930. case 8:
  2931. if wireType != 0 {
  2932. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  2933. }
  2934. m.Area = 0
  2935. for shift := uint(0); ; shift += 7 {
  2936. if shift >= 64 {
  2937. return ErrIntOverflowWallet
  2938. }
  2939. if iNdEx >= l {
  2940. return io.ErrUnexpectedEOF
  2941. }
  2942. b := dAtA[iNdEx]
  2943. iNdEx++
  2944. m.Area |= (int64(b) & 0x7F) << shift
  2945. if b < 0x80 {
  2946. break
  2947. }
  2948. }
  2949. case 9:
  2950. if wireType != 2 {
  2951. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  2952. }
  2953. var stringLen uint64
  2954. for shift := uint(0); ; shift += 7 {
  2955. if shift >= 64 {
  2956. return ErrIntOverflowWallet
  2957. }
  2958. if iNdEx >= l {
  2959. return io.ErrUnexpectedEOF
  2960. }
  2961. b := dAtA[iNdEx]
  2962. iNdEx++
  2963. stringLen |= (uint64(b) & 0x7F) << shift
  2964. if b < 0x80 {
  2965. break
  2966. }
  2967. }
  2968. intStringLen := int(stringLen)
  2969. if intStringLen < 0 {
  2970. return ErrInvalidLengthWallet
  2971. }
  2972. postIndex := iNdEx + intStringLen
  2973. if postIndex > l {
  2974. return io.ErrUnexpectedEOF
  2975. }
  2976. m.Source = string(dAtA[iNdEx:postIndex])
  2977. iNdEx = postIndex
  2978. case 10:
  2979. if wireType != 2 {
  2980. return fmt.Errorf("proto: wrong wireType = %d for field MetaData", wireType)
  2981. }
  2982. var stringLen uint64
  2983. for shift := uint(0); ; shift += 7 {
  2984. if shift >= 64 {
  2985. return ErrIntOverflowWallet
  2986. }
  2987. if iNdEx >= l {
  2988. return io.ErrUnexpectedEOF
  2989. }
  2990. b := dAtA[iNdEx]
  2991. iNdEx++
  2992. stringLen |= (uint64(b) & 0x7F) << shift
  2993. if b < 0x80 {
  2994. break
  2995. }
  2996. }
  2997. intStringLen := int(stringLen)
  2998. if intStringLen < 0 {
  2999. return ErrInvalidLengthWallet
  3000. }
  3001. postIndex := iNdEx + intStringLen
  3002. if postIndex > l {
  3003. return io.ErrUnexpectedEOF
  3004. }
  3005. m.MetaData = string(dAtA[iNdEx:postIndex])
  3006. iNdEx = postIndex
  3007. case 11:
  3008. if wireType != 2 {
  3009. return fmt.Errorf("proto: wrong wireType = %d for field BizSource", wireType)
  3010. }
  3011. var stringLen uint64
  3012. for shift := uint(0); ; shift += 7 {
  3013. if shift >= 64 {
  3014. return ErrIntOverflowWallet
  3015. }
  3016. if iNdEx >= l {
  3017. return io.ErrUnexpectedEOF
  3018. }
  3019. b := dAtA[iNdEx]
  3020. iNdEx++
  3021. stringLen |= (uint64(b) & 0x7F) << shift
  3022. if b < 0x80 {
  3023. break
  3024. }
  3025. }
  3026. intStringLen := int(stringLen)
  3027. if intStringLen < 0 {
  3028. return ErrInvalidLengthWallet
  3029. }
  3030. postIndex := iNdEx + intStringLen
  3031. if postIndex > l {
  3032. return io.ErrUnexpectedEOF
  3033. }
  3034. m.BizSource = string(dAtA[iNdEx:postIndex])
  3035. iNdEx = postIndex
  3036. case 12:
  3037. if wireType != 0 {
  3038. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  3039. }
  3040. m.Reason = 0
  3041. for shift := uint(0); ; shift += 7 {
  3042. if shift >= 64 {
  3043. return ErrIntOverflowWallet
  3044. }
  3045. if iNdEx >= l {
  3046. return io.ErrUnexpectedEOF
  3047. }
  3048. b := dAtA[iNdEx]
  3049. iNdEx++
  3050. m.Reason |= (int64(b) & 0x7F) << shift
  3051. if b < 0x80 {
  3052. break
  3053. }
  3054. }
  3055. case 13:
  3056. if wireType != 0 {
  3057. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  3058. }
  3059. m.Version = 0
  3060. for shift := uint(0); ; shift += 7 {
  3061. if shift >= 64 {
  3062. return ErrIntOverflowWallet
  3063. }
  3064. if iNdEx >= l {
  3065. return io.ErrUnexpectedEOF
  3066. }
  3067. b := dAtA[iNdEx]
  3068. iNdEx++
  3069. m.Version |= (int64(b) & 0x7F) << shift
  3070. if b < 0x80 {
  3071. break
  3072. }
  3073. }
  3074. case 14:
  3075. if wireType != 2 {
  3076. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  3077. }
  3078. var stringLen uint64
  3079. for shift := uint(0); ; shift += 7 {
  3080. if shift >= 64 {
  3081. return ErrIntOverflowWallet
  3082. }
  3083. if iNdEx >= l {
  3084. return io.ErrUnexpectedEOF
  3085. }
  3086. b := dAtA[iNdEx]
  3087. iNdEx++
  3088. stringLen |= (uint64(b) & 0x7F) << shift
  3089. if b < 0x80 {
  3090. break
  3091. }
  3092. }
  3093. intStringLen := int(stringLen)
  3094. if intStringLen < 0 {
  3095. return ErrInvalidLengthWallet
  3096. }
  3097. postIndex := iNdEx + intStringLen
  3098. if postIndex > l {
  3099. return io.ErrUnexpectedEOF
  3100. }
  3101. m.Platform = string(dAtA[iNdEx:postIndex])
  3102. iNdEx = postIndex
  3103. default:
  3104. iNdEx = preIndex
  3105. skippy, err := skipWallet(dAtA[iNdEx:])
  3106. if err != nil {
  3107. return err
  3108. }
  3109. if skippy < 0 {
  3110. return ErrInvalidLengthWallet
  3111. }
  3112. if (iNdEx + skippy) > l {
  3113. return io.ErrUnexpectedEOF
  3114. }
  3115. iNdEx += skippy
  3116. }
  3117. }
  3118. if iNdEx > l {
  3119. return io.ErrUnexpectedEOF
  3120. }
  3121. return nil
  3122. }
  3123. func (m *ExchangeParam) Unmarshal(dAtA []byte) error {
  3124. l := len(dAtA)
  3125. iNdEx := 0
  3126. for iNdEx < l {
  3127. preIndex := iNdEx
  3128. var wire uint64
  3129. for shift := uint(0); ; shift += 7 {
  3130. if shift >= 64 {
  3131. return ErrIntOverflowWallet
  3132. }
  3133. if iNdEx >= l {
  3134. return io.ErrUnexpectedEOF
  3135. }
  3136. b := dAtA[iNdEx]
  3137. iNdEx++
  3138. wire |= (uint64(b) & 0x7F) << shift
  3139. if b < 0x80 {
  3140. break
  3141. }
  3142. }
  3143. fieldNum := int32(wire >> 3)
  3144. wireType := int(wire & 0x7)
  3145. if wireType == 4 {
  3146. return fmt.Errorf("proto: ExchangeParam: wiretype end group for non-group")
  3147. }
  3148. if fieldNum <= 0 {
  3149. return fmt.Errorf("proto: ExchangeParam: illegal tag %d (wire type %d)", fieldNum, wire)
  3150. }
  3151. switch fieldNum {
  3152. case 1:
  3153. if wireType != 0 {
  3154. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  3155. }
  3156. m.Uid = 0
  3157. for shift := uint(0); ; shift += 7 {
  3158. if shift >= 64 {
  3159. return ErrIntOverflowWallet
  3160. }
  3161. if iNdEx >= l {
  3162. return io.ErrUnexpectedEOF
  3163. }
  3164. b := dAtA[iNdEx]
  3165. iNdEx++
  3166. m.Uid |= (int64(b) & 0x7F) << shift
  3167. if b < 0x80 {
  3168. break
  3169. }
  3170. }
  3171. case 2:
  3172. if wireType != 2 {
  3173. return fmt.Errorf("proto: wrong wireType = %d for field SrcCoinType", wireType)
  3174. }
  3175. var stringLen uint64
  3176. for shift := uint(0); ; shift += 7 {
  3177. if shift >= 64 {
  3178. return ErrIntOverflowWallet
  3179. }
  3180. if iNdEx >= l {
  3181. return io.ErrUnexpectedEOF
  3182. }
  3183. b := dAtA[iNdEx]
  3184. iNdEx++
  3185. stringLen |= (uint64(b) & 0x7F) << shift
  3186. if b < 0x80 {
  3187. break
  3188. }
  3189. }
  3190. intStringLen := int(stringLen)
  3191. if intStringLen < 0 {
  3192. return ErrInvalidLengthWallet
  3193. }
  3194. postIndex := iNdEx + intStringLen
  3195. if postIndex > l {
  3196. return io.ErrUnexpectedEOF
  3197. }
  3198. m.SrcCoinType = string(dAtA[iNdEx:postIndex])
  3199. iNdEx = postIndex
  3200. case 3:
  3201. if wireType != 0 {
  3202. return fmt.Errorf("proto: wrong wireType = %d for field SrcCoinNum", wireType)
  3203. }
  3204. m.SrcCoinNum = 0
  3205. for shift := uint(0); ; shift += 7 {
  3206. if shift >= 64 {
  3207. return ErrIntOverflowWallet
  3208. }
  3209. if iNdEx >= l {
  3210. return io.ErrUnexpectedEOF
  3211. }
  3212. b := dAtA[iNdEx]
  3213. iNdEx++
  3214. m.SrcCoinNum |= (int64(b) & 0x7F) << shift
  3215. if b < 0x80 {
  3216. break
  3217. }
  3218. }
  3219. case 4:
  3220. if wireType != 2 {
  3221. return fmt.Errorf("proto: wrong wireType = %d for field DestCoinType", wireType)
  3222. }
  3223. var stringLen uint64
  3224. for shift := uint(0); ; shift += 7 {
  3225. if shift >= 64 {
  3226. return ErrIntOverflowWallet
  3227. }
  3228. if iNdEx >= l {
  3229. return io.ErrUnexpectedEOF
  3230. }
  3231. b := dAtA[iNdEx]
  3232. iNdEx++
  3233. stringLen |= (uint64(b) & 0x7F) << shift
  3234. if b < 0x80 {
  3235. break
  3236. }
  3237. }
  3238. intStringLen := int(stringLen)
  3239. if intStringLen < 0 {
  3240. return ErrInvalidLengthWallet
  3241. }
  3242. postIndex := iNdEx + intStringLen
  3243. if postIndex > l {
  3244. return io.ErrUnexpectedEOF
  3245. }
  3246. m.DestCoinType = string(dAtA[iNdEx:postIndex])
  3247. iNdEx = postIndex
  3248. case 5:
  3249. if wireType != 0 {
  3250. return fmt.Errorf("proto: wrong wireType = %d for field DestCoinNum", wireType)
  3251. }
  3252. m.DestCoinNum = 0
  3253. for shift := uint(0); ; shift += 7 {
  3254. if shift >= 64 {
  3255. return ErrIntOverflowWallet
  3256. }
  3257. if iNdEx >= l {
  3258. return io.ErrUnexpectedEOF
  3259. }
  3260. b := dAtA[iNdEx]
  3261. iNdEx++
  3262. m.DestCoinNum |= (int64(b) & 0x7F) << shift
  3263. if b < 0x80 {
  3264. break
  3265. }
  3266. }
  3267. case 6:
  3268. if wireType != 2 {
  3269. return fmt.Errorf("proto: wrong wireType = %d for field ExtendTid", wireType)
  3270. }
  3271. var stringLen uint64
  3272. for shift := uint(0); ; shift += 7 {
  3273. if shift >= 64 {
  3274. return ErrIntOverflowWallet
  3275. }
  3276. if iNdEx >= l {
  3277. return io.ErrUnexpectedEOF
  3278. }
  3279. b := dAtA[iNdEx]
  3280. iNdEx++
  3281. stringLen |= (uint64(b) & 0x7F) << shift
  3282. if b < 0x80 {
  3283. break
  3284. }
  3285. }
  3286. intStringLen := int(stringLen)
  3287. if intStringLen < 0 {
  3288. return ErrInvalidLengthWallet
  3289. }
  3290. postIndex := iNdEx + intStringLen
  3291. if postIndex > l {
  3292. return io.ErrUnexpectedEOF
  3293. }
  3294. m.ExtendTid = string(dAtA[iNdEx:postIndex])
  3295. iNdEx = postIndex
  3296. case 7:
  3297. if wireType != 0 {
  3298. return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType)
  3299. }
  3300. m.Timestamp = 0
  3301. for shift := uint(0); ; shift += 7 {
  3302. if shift >= 64 {
  3303. return ErrIntOverflowWallet
  3304. }
  3305. if iNdEx >= l {
  3306. return io.ErrUnexpectedEOF
  3307. }
  3308. b := dAtA[iNdEx]
  3309. iNdEx++
  3310. m.Timestamp |= (int64(b) & 0x7F) << shift
  3311. if b < 0x80 {
  3312. break
  3313. }
  3314. }
  3315. case 8:
  3316. if wireType != 2 {
  3317. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  3318. }
  3319. var stringLen uint64
  3320. for shift := uint(0); ; shift += 7 {
  3321. if shift >= 64 {
  3322. return ErrIntOverflowWallet
  3323. }
  3324. if iNdEx >= l {
  3325. return io.ErrUnexpectedEOF
  3326. }
  3327. b := dAtA[iNdEx]
  3328. iNdEx++
  3329. stringLen |= (uint64(b) & 0x7F) << shift
  3330. if b < 0x80 {
  3331. break
  3332. }
  3333. }
  3334. intStringLen := int(stringLen)
  3335. if intStringLen < 0 {
  3336. return ErrInvalidLengthWallet
  3337. }
  3338. postIndex := iNdEx + intStringLen
  3339. if postIndex > l {
  3340. return io.ErrUnexpectedEOF
  3341. }
  3342. m.TransactionId = string(dAtA[iNdEx:postIndex])
  3343. iNdEx = postIndex
  3344. case 9:
  3345. if wireType != 2 {
  3346. return fmt.Errorf("proto: wrong wireType = %d for field BizCode", wireType)
  3347. }
  3348. var stringLen uint64
  3349. for shift := uint(0); ; shift += 7 {
  3350. if shift >= 64 {
  3351. return ErrIntOverflowWallet
  3352. }
  3353. if iNdEx >= l {
  3354. return io.ErrUnexpectedEOF
  3355. }
  3356. b := dAtA[iNdEx]
  3357. iNdEx++
  3358. stringLen |= (uint64(b) & 0x7F) << shift
  3359. if b < 0x80 {
  3360. break
  3361. }
  3362. }
  3363. intStringLen := int(stringLen)
  3364. if intStringLen < 0 {
  3365. return ErrInvalidLengthWallet
  3366. }
  3367. postIndex := iNdEx + intStringLen
  3368. if postIndex > l {
  3369. return io.ErrUnexpectedEOF
  3370. }
  3371. m.BizCode = string(dAtA[iNdEx:postIndex])
  3372. iNdEx = postIndex
  3373. case 10:
  3374. if wireType != 0 {
  3375. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  3376. }
  3377. m.Area = 0
  3378. for shift := uint(0); ; shift += 7 {
  3379. if shift >= 64 {
  3380. return ErrIntOverflowWallet
  3381. }
  3382. if iNdEx >= l {
  3383. return io.ErrUnexpectedEOF
  3384. }
  3385. b := dAtA[iNdEx]
  3386. iNdEx++
  3387. m.Area |= (int64(b) & 0x7F) << shift
  3388. if b < 0x80 {
  3389. break
  3390. }
  3391. }
  3392. case 11:
  3393. if wireType != 2 {
  3394. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  3395. }
  3396. var stringLen uint64
  3397. for shift := uint(0); ; shift += 7 {
  3398. if shift >= 64 {
  3399. return ErrIntOverflowWallet
  3400. }
  3401. if iNdEx >= l {
  3402. return io.ErrUnexpectedEOF
  3403. }
  3404. b := dAtA[iNdEx]
  3405. iNdEx++
  3406. stringLen |= (uint64(b) & 0x7F) << shift
  3407. if b < 0x80 {
  3408. break
  3409. }
  3410. }
  3411. intStringLen := int(stringLen)
  3412. if intStringLen < 0 {
  3413. return ErrInvalidLengthWallet
  3414. }
  3415. postIndex := iNdEx + intStringLen
  3416. if postIndex > l {
  3417. return io.ErrUnexpectedEOF
  3418. }
  3419. m.Source = string(dAtA[iNdEx:postIndex])
  3420. iNdEx = postIndex
  3421. case 12:
  3422. if wireType != 2 {
  3423. return fmt.Errorf("proto: wrong wireType = %d for field MetaData", wireType)
  3424. }
  3425. var stringLen uint64
  3426. for shift := uint(0); ; shift += 7 {
  3427. if shift >= 64 {
  3428. return ErrIntOverflowWallet
  3429. }
  3430. if iNdEx >= l {
  3431. return io.ErrUnexpectedEOF
  3432. }
  3433. b := dAtA[iNdEx]
  3434. iNdEx++
  3435. stringLen |= (uint64(b) & 0x7F) << shift
  3436. if b < 0x80 {
  3437. break
  3438. }
  3439. }
  3440. intStringLen := int(stringLen)
  3441. if intStringLen < 0 {
  3442. return ErrInvalidLengthWallet
  3443. }
  3444. postIndex := iNdEx + intStringLen
  3445. if postIndex > l {
  3446. return io.ErrUnexpectedEOF
  3447. }
  3448. m.MetaData = string(dAtA[iNdEx:postIndex])
  3449. iNdEx = postIndex
  3450. case 13:
  3451. if wireType != 2 {
  3452. return fmt.Errorf("proto: wrong wireType = %d for field BizSource", wireType)
  3453. }
  3454. var stringLen uint64
  3455. for shift := uint(0); ; shift += 7 {
  3456. if shift >= 64 {
  3457. return ErrIntOverflowWallet
  3458. }
  3459. if iNdEx >= l {
  3460. return io.ErrUnexpectedEOF
  3461. }
  3462. b := dAtA[iNdEx]
  3463. iNdEx++
  3464. stringLen |= (uint64(b) & 0x7F) << shift
  3465. if b < 0x80 {
  3466. break
  3467. }
  3468. }
  3469. intStringLen := int(stringLen)
  3470. if intStringLen < 0 {
  3471. return ErrInvalidLengthWallet
  3472. }
  3473. postIndex := iNdEx + intStringLen
  3474. if postIndex > l {
  3475. return io.ErrUnexpectedEOF
  3476. }
  3477. m.BizSource = string(dAtA[iNdEx:postIndex])
  3478. iNdEx = postIndex
  3479. case 14:
  3480. if wireType != 0 {
  3481. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  3482. }
  3483. m.Reason = 0
  3484. for shift := uint(0); ; shift += 7 {
  3485. if shift >= 64 {
  3486. return ErrIntOverflowWallet
  3487. }
  3488. if iNdEx >= l {
  3489. return io.ErrUnexpectedEOF
  3490. }
  3491. b := dAtA[iNdEx]
  3492. iNdEx++
  3493. m.Reason |= (int64(b) & 0x7F) << shift
  3494. if b < 0x80 {
  3495. break
  3496. }
  3497. }
  3498. case 15:
  3499. if wireType != 0 {
  3500. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  3501. }
  3502. m.Version = 0
  3503. for shift := uint(0); ; shift += 7 {
  3504. if shift >= 64 {
  3505. return ErrIntOverflowWallet
  3506. }
  3507. if iNdEx >= l {
  3508. return io.ErrUnexpectedEOF
  3509. }
  3510. b := dAtA[iNdEx]
  3511. iNdEx++
  3512. m.Version |= (int64(b) & 0x7F) << shift
  3513. if b < 0x80 {
  3514. break
  3515. }
  3516. }
  3517. case 16:
  3518. if wireType != 2 {
  3519. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  3520. }
  3521. var stringLen uint64
  3522. for shift := uint(0); ; shift += 7 {
  3523. if shift >= 64 {
  3524. return ErrIntOverflowWallet
  3525. }
  3526. if iNdEx >= l {
  3527. return io.ErrUnexpectedEOF
  3528. }
  3529. b := dAtA[iNdEx]
  3530. iNdEx++
  3531. stringLen |= (uint64(b) & 0x7F) << shift
  3532. if b < 0x80 {
  3533. break
  3534. }
  3535. }
  3536. intStringLen := int(stringLen)
  3537. if intStringLen < 0 {
  3538. return ErrInvalidLengthWallet
  3539. }
  3540. postIndex := iNdEx + intStringLen
  3541. if postIndex > l {
  3542. return io.ErrUnexpectedEOF
  3543. }
  3544. m.Platform = string(dAtA[iNdEx:postIndex])
  3545. iNdEx = postIndex
  3546. default:
  3547. iNdEx = preIndex
  3548. skippy, err := skipWallet(dAtA[iNdEx:])
  3549. if err != nil {
  3550. return err
  3551. }
  3552. if skippy < 0 {
  3553. return ErrInvalidLengthWallet
  3554. }
  3555. if (iNdEx + skippy) > l {
  3556. return io.ErrUnexpectedEOF
  3557. }
  3558. iNdEx += skippy
  3559. }
  3560. }
  3561. if iNdEx > l {
  3562. return io.ErrUnexpectedEOF
  3563. }
  3564. return nil
  3565. }
  3566. func (m *Melonseed) Unmarshal(dAtA []byte) error {
  3567. l := len(dAtA)
  3568. iNdEx := 0
  3569. for iNdEx < l {
  3570. preIndex := iNdEx
  3571. var wire uint64
  3572. for shift := uint(0); ; shift += 7 {
  3573. if shift >= 64 {
  3574. return ErrIntOverflowWallet
  3575. }
  3576. if iNdEx >= l {
  3577. return io.ErrUnexpectedEOF
  3578. }
  3579. b := dAtA[iNdEx]
  3580. iNdEx++
  3581. wire |= (uint64(b) & 0x7F) << shift
  3582. if b < 0x80 {
  3583. break
  3584. }
  3585. }
  3586. fieldNum := int32(wire >> 3)
  3587. wireType := int(wire & 0x7)
  3588. if wireType == 4 {
  3589. return fmt.Errorf("proto: Melonseed: wiretype end group for non-group")
  3590. }
  3591. if fieldNum <= 0 {
  3592. return fmt.Errorf("proto: Melonseed: illegal tag %d (wire type %d)", fieldNum, wire)
  3593. }
  3594. switch fieldNum {
  3595. case 1:
  3596. if wireType != 0 {
  3597. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  3598. }
  3599. m.Uid = 0
  3600. for shift := uint(0); ; shift += 7 {
  3601. if shift >= 64 {
  3602. return ErrIntOverflowWallet
  3603. }
  3604. if iNdEx >= l {
  3605. return io.ErrUnexpectedEOF
  3606. }
  3607. b := dAtA[iNdEx]
  3608. iNdEx++
  3609. m.Uid |= (int64(b) & 0x7F) << shift
  3610. if b < 0x80 {
  3611. break
  3612. }
  3613. }
  3614. case 2:
  3615. if wireType != 0 {
  3616. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  3617. }
  3618. m.Gold = 0
  3619. for shift := uint(0); ; shift += 7 {
  3620. if shift >= 64 {
  3621. return ErrIntOverflowWallet
  3622. }
  3623. if iNdEx >= l {
  3624. return io.ErrUnexpectedEOF
  3625. }
  3626. b := dAtA[iNdEx]
  3627. iNdEx++
  3628. m.Gold |= (int64(b) & 0x7F) << shift
  3629. if b < 0x80 {
  3630. break
  3631. }
  3632. }
  3633. case 3:
  3634. if wireType != 0 {
  3635. return fmt.Errorf("proto: wrong wireType = %d for field IapGold", wireType)
  3636. }
  3637. m.IapGold = 0
  3638. for shift := uint(0); ; shift += 7 {
  3639. if shift >= 64 {
  3640. return ErrIntOverflowWallet
  3641. }
  3642. if iNdEx >= l {
  3643. return io.ErrUnexpectedEOF
  3644. }
  3645. b := dAtA[iNdEx]
  3646. iNdEx++
  3647. m.IapGold |= (int64(b) & 0x7F) << shift
  3648. if b < 0x80 {
  3649. break
  3650. }
  3651. }
  3652. case 4:
  3653. if wireType != 0 {
  3654. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  3655. }
  3656. m.Silver = 0
  3657. for shift := uint(0); ; shift += 7 {
  3658. if shift >= 64 {
  3659. return ErrIntOverflowWallet
  3660. }
  3661. if iNdEx >= l {
  3662. return io.ErrUnexpectedEOF
  3663. }
  3664. b := dAtA[iNdEx]
  3665. iNdEx++
  3666. m.Silver |= (int64(b) & 0x7F) << shift
  3667. if b < 0x80 {
  3668. break
  3669. }
  3670. }
  3671. default:
  3672. iNdEx = preIndex
  3673. skippy, err := skipWallet(dAtA[iNdEx:])
  3674. if err != nil {
  3675. return err
  3676. }
  3677. if skippy < 0 {
  3678. return ErrInvalidLengthWallet
  3679. }
  3680. if (iNdEx + skippy) > l {
  3681. return io.ErrUnexpectedEOF
  3682. }
  3683. iNdEx += skippy
  3684. }
  3685. }
  3686. if iNdEx > l {
  3687. return io.ErrUnexpectedEOF
  3688. }
  3689. return nil
  3690. }
  3691. func (m *Detail) Unmarshal(dAtA []byte) error {
  3692. l := len(dAtA)
  3693. iNdEx := 0
  3694. for iNdEx < l {
  3695. preIndex := iNdEx
  3696. var wire uint64
  3697. for shift := uint(0); ; shift += 7 {
  3698. if shift >= 64 {
  3699. return ErrIntOverflowWallet
  3700. }
  3701. if iNdEx >= l {
  3702. return io.ErrUnexpectedEOF
  3703. }
  3704. b := dAtA[iNdEx]
  3705. iNdEx++
  3706. wire |= (uint64(b) & 0x7F) << shift
  3707. if b < 0x80 {
  3708. break
  3709. }
  3710. }
  3711. fieldNum := int32(wire >> 3)
  3712. wireType := int(wire & 0x7)
  3713. if wireType == 4 {
  3714. return fmt.Errorf("proto: Detail: wiretype end group for non-group")
  3715. }
  3716. if fieldNum <= 0 {
  3717. return fmt.Errorf("proto: Detail: illegal tag %d (wire type %d)", fieldNum, wire)
  3718. }
  3719. switch fieldNum {
  3720. case 1:
  3721. if wireType != 0 {
  3722. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  3723. }
  3724. m.Uid = 0
  3725. for shift := uint(0); ; shift += 7 {
  3726. if shift >= 64 {
  3727. return ErrIntOverflowWallet
  3728. }
  3729. if iNdEx >= l {
  3730. return io.ErrUnexpectedEOF
  3731. }
  3732. b := dAtA[iNdEx]
  3733. iNdEx++
  3734. m.Uid |= (int64(b) & 0x7F) << shift
  3735. if b < 0x80 {
  3736. break
  3737. }
  3738. }
  3739. case 2:
  3740. if wireType != 0 {
  3741. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  3742. }
  3743. m.Gold = 0
  3744. for shift := uint(0); ; shift += 7 {
  3745. if shift >= 64 {
  3746. return ErrIntOverflowWallet
  3747. }
  3748. if iNdEx >= l {
  3749. return io.ErrUnexpectedEOF
  3750. }
  3751. b := dAtA[iNdEx]
  3752. iNdEx++
  3753. m.Gold |= (int64(b) & 0x7F) << shift
  3754. if b < 0x80 {
  3755. break
  3756. }
  3757. }
  3758. case 3:
  3759. if wireType != 0 {
  3760. return fmt.Errorf("proto: wrong wireType = %d for field IapGold", wireType)
  3761. }
  3762. m.IapGold = 0
  3763. for shift := uint(0); ; shift += 7 {
  3764. if shift >= 64 {
  3765. return ErrIntOverflowWallet
  3766. }
  3767. if iNdEx >= l {
  3768. return io.ErrUnexpectedEOF
  3769. }
  3770. b := dAtA[iNdEx]
  3771. iNdEx++
  3772. m.IapGold |= (int64(b) & 0x7F) << shift
  3773. if b < 0x80 {
  3774. break
  3775. }
  3776. }
  3777. case 4:
  3778. if wireType != 0 {
  3779. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  3780. }
  3781. m.Silver = 0
  3782. for shift := uint(0); ; shift += 7 {
  3783. if shift >= 64 {
  3784. return ErrIntOverflowWallet
  3785. }
  3786. if iNdEx >= l {
  3787. return io.ErrUnexpectedEOF
  3788. }
  3789. b := dAtA[iNdEx]
  3790. iNdEx++
  3791. m.Silver |= (int64(b) & 0x7F) << shift
  3792. if b < 0x80 {
  3793. break
  3794. }
  3795. }
  3796. case 5:
  3797. if wireType != 0 {
  3798. return fmt.Errorf("proto: wrong wireType = %d for field GoldRechargeCnt", wireType)
  3799. }
  3800. m.GoldRechargeCnt = 0
  3801. for shift := uint(0); ; shift += 7 {
  3802. if shift >= 64 {
  3803. return ErrIntOverflowWallet
  3804. }
  3805. if iNdEx >= l {
  3806. return io.ErrUnexpectedEOF
  3807. }
  3808. b := dAtA[iNdEx]
  3809. iNdEx++
  3810. m.GoldRechargeCnt |= (int64(b) & 0x7F) << shift
  3811. if b < 0x80 {
  3812. break
  3813. }
  3814. }
  3815. case 6:
  3816. if wireType != 0 {
  3817. return fmt.Errorf("proto: wrong wireType = %d for field GoldPayCnt", wireType)
  3818. }
  3819. m.GoldPayCnt = 0
  3820. for shift := uint(0); ; shift += 7 {
  3821. if shift >= 64 {
  3822. return ErrIntOverflowWallet
  3823. }
  3824. if iNdEx >= l {
  3825. return io.ErrUnexpectedEOF
  3826. }
  3827. b := dAtA[iNdEx]
  3828. iNdEx++
  3829. m.GoldPayCnt |= (int64(b) & 0x7F) << shift
  3830. if b < 0x80 {
  3831. break
  3832. }
  3833. }
  3834. case 7:
  3835. if wireType != 0 {
  3836. return fmt.Errorf("proto: wrong wireType = %d for field SilverPayCnt", wireType)
  3837. }
  3838. m.SilverPayCnt = 0
  3839. for shift := uint(0); ; shift += 7 {
  3840. if shift >= 64 {
  3841. return ErrIntOverflowWallet
  3842. }
  3843. if iNdEx >= l {
  3844. return io.ErrUnexpectedEOF
  3845. }
  3846. b := dAtA[iNdEx]
  3847. iNdEx++
  3848. m.SilverPayCnt |= (int64(b) & 0x7F) << shift
  3849. if b < 0x80 {
  3850. break
  3851. }
  3852. }
  3853. case 8:
  3854. if wireType != 0 {
  3855. return fmt.Errorf("proto: wrong wireType = %d for field CostBase", wireType)
  3856. }
  3857. m.CostBase = 0
  3858. for shift := uint(0); ; shift += 7 {
  3859. if shift >= 64 {
  3860. return ErrIntOverflowWallet
  3861. }
  3862. if iNdEx >= l {
  3863. return io.ErrUnexpectedEOF
  3864. }
  3865. b := dAtA[iNdEx]
  3866. iNdEx++
  3867. m.CostBase |= (int64(b) & 0x7F) << shift
  3868. if b < 0x80 {
  3869. break
  3870. }
  3871. }
  3872. default:
  3873. iNdEx = preIndex
  3874. skippy, err := skipWallet(dAtA[iNdEx:])
  3875. if err != nil {
  3876. return err
  3877. }
  3878. if skippy < 0 {
  3879. return ErrInvalidLengthWallet
  3880. }
  3881. if (iNdEx + skippy) > l {
  3882. return io.ErrUnexpectedEOF
  3883. }
  3884. iNdEx += skippy
  3885. }
  3886. }
  3887. if iNdEx > l {
  3888. return io.ErrUnexpectedEOF
  3889. }
  3890. return nil
  3891. }
  3892. func (m *DetailWithSnapShot) Unmarshal(dAtA []byte) error {
  3893. l := len(dAtA)
  3894. iNdEx := 0
  3895. for iNdEx < l {
  3896. preIndex := iNdEx
  3897. var wire uint64
  3898. for shift := uint(0); ; shift += 7 {
  3899. if shift >= 64 {
  3900. return ErrIntOverflowWallet
  3901. }
  3902. if iNdEx >= l {
  3903. return io.ErrUnexpectedEOF
  3904. }
  3905. b := dAtA[iNdEx]
  3906. iNdEx++
  3907. wire |= (uint64(b) & 0x7F) << shift
  3908. if b < 0x80 {
  3909. break
  3910. }
  3911. }
  3912. fieldNum := int32(wire >> 3)
  3913. wireType := int(wire & 0x7)
  3914. if wireType == 4 {
  3915. return fmt.Errorf("proto: DetailWithSnapShot: wiretype end group for non-group")
  3916. }
  3917. if fieldNum <= 0 {
  3918. return fmt.Errorf("proto: DetailWithSnapShot: illegal tag %d (wire type %d)", fieldNum, wire)
  3919. }
  3920. switch fieldNum {
  3921. case 1:
  3922. if wireType != 0 {
  3923. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  3924. }
  3925. m.Uid = 0
  3926. for shift := uint(0); ; shift += 7 {
  3927. if shift >= 64 {
  3928. return ErrIntOverflowWallet
  3929. }
  3930. if iNdEx >= l {
  3931. return io.ErrUnexpectedEOF
  3932. }
  3933. b := dAtA[iNdEx]
  3934. iNdEx++
  3935. m.Uid |= (int64(b) & 0x7F) << shift
  3936. if b < 0x80 {
  3937. break
  3938. }
  3939. }
  3940. case 2:
  3941. if wireType != 0 {
  3942. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  3943. }
  3944. m.Gold = 0
  3945. for shift := uint(0); ; shift += 7 {
  3946. if shift >= 64 {
  3947. return ErrIntOverflowWallet
  3948. }
  3949. if iNdEx >= l {
  3950. return io.ErrUnexpectedEOF
  3951. }
  3952. b := dAtA[iNdEx]
  3953. iNdEx++
  3954. m.Gold |= (int64(b) & 0x7F) << shift
  3955. if b < 0x80 {
  3956. break
  3957. }
  3958. }
  3959. case 3:
  3960. if wireType != 0 {
  3961. return fmt.Errorf("proto: wrong wireType = %d for field IapGold", wireType)
  3962. }
  3963. m.IapGold = 0
  3964. for shift := uint(0); ; shift += 7 {
  3965. if shift >= 64 {
  3966. return ErrIntOverflowWallet
  3967. }
  3968. if iNdEx >= l {
  3969. return io.ErrUnexpectedEOF
  3970. }
  3971. b := dAtA[iNdEx]
  3972. iNdEx++
  3973. m.IapGold |= (int64(b) & 0x7F) << shift
  3974. if b < 0x80 {
  3975. break
  3976. }
  3977. }
  3978. case 4:
  3979. if wireType != 0 {
  3980. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  3981. }
  3982. m.Silver = 0
  3983. for shift := uint(0); ; shift += 7 {
  3984. if shift >= 64 {
  3985. return ErrIntOverflowWallet
  3986. }
  3987. if iNdEx >= l {
  3988. return io.ErrUnexpectedEOF
  3989. }
  3990. b := dAtA[iNdEx]
  3991. iNdEx++
  3992. m.Silver |= (int64(b) & 0x7F) << shift
  3993. if b < 0x80 {
  3994. break
  3995. }
  3996. }
  3997. case 5:
  3998. if wireType != 0 {
  3999. return fmt.Errorf("proto: wrong wireType = %d for field GoldRechargeCnt", wireType)
  4000. }
  4001. m.GoldRechargeCnt = 0
  4002. for shift := uint(0); ; shift += 7 {
  4003. if shift >= 64 {
  4004. return ErrIntOverflowWallet
  4005. }
  4006. if iNdEx >= l {
  4007. return io.ErrUnexpectedEOF
  4008. }
  4009. b := dAtA[iNdEx]
  4010. iNdEx++
  4011. m.GoldRechargeCnt |= (int64(b) & 0x7F) << shift
  4012. if b < 0x80 {
  4013. break
  4014. }
  4015. }
  4016. case 6:
  4017. if wireType != 0 {
  4018. return fmt.Errorf("proto: wrong wireType = %d for field GoldPayCnt", wireType)
  4019. }
  4020. m.GoldPayCnt = 0
  4021. for shift := uint(0); ; shift += 7 {
  4022. if shift >= 64 {
  4023. return ErrIntOverflowWallet
  4024. }
  4025. if iNdEx >= l {
  4026. return io.ErrUnexpectedEOF
  4027. }
  4028. b := dAtA[iNdEx]
  4029. iNdEx++
  4030. m.GoldPayCnt |= (int64(b) & 0x7F) << shift
  4031. if b < 0x80 {
  4032. break
  4033. }
  4034. }
  4035. case 7:
  4036. if wireType != 0 {
  4037. return fmt.Errorf("proto: wrong wireType = %d for field SilverPayCnt", wireType)
  4038. }
  4039. m.SilverPayCnt = 0
  4040. for shift := uint(0); ; shift += 7 {
  4041. if shift >= 64 {
  4042. return ErrIntOverflowWallet
  4043. }
  4044. if iNdEx >= l {
  4045. return io.ErrUnexpectedEOF
  4046. }
  4047. b := dAtA[iNdEx]
  4048. iNdEx++
  4049. m.SilverPayCnt |= (int64(b) & 0x7F) << shift
  4050. if b < 0x80 {
  4051. break
  4052. }
  4053. }
  4054. case 8:
  4055. if wireType != 0 {
  4056. return fmt.Errorf("proto: wrong wireType = %d for field CostBase", wireType)
  4057. }
  4058. m.CostBase = 0
  4059. for shift := uint(0); ; shift += 7 {
  4060. if shift >= 64 {
  4061. return ErrIntOverflowWallet
  4062. }
  4063. if iNdEx >= l {
  4064. return io.ErrUnexpectedEOF
  4065. }
  4066. b := dAtA[iNdEx]
  4067. iNdEx++
  4068. m.CostBase |= (int64(b) & 0x7F) << shift
  4069. if b < 0x80 {
  4070. break
  4071. }
  4072. }
  4073. case 9:
  4074. if wireType != 2 {
  4075. return fmt.Errorf("proto: wrong wireType = %d for field SnapShotTime", wireType)
  4076. }
  4077. var stringLen uint64
  4078. for shift := uint(0); ; shift += 7 {
  4079. if shift >= 64 {
  4080. return ErrIntOverflowWallet
  4081. }
  4082. if iNdEx >= l {
  4083. return io.ErrUnexpectedEOF
  4084. }
  4085. b := dAtA[iNdEx]
  4086. iNdEx++
  4087. stringLen |= (uint64(b) & 0x7F) << shift
  4088. if b < 0x80 {
  4089. break
  4090. }
  4091. }
  4092. intStringLen := int(stringLen)
  4093. if intStringLen < 0 {
  4094. return ErrInvalidLengthWallet
  4095. }
  4096. postIndex := iNdEx + intStringLen
  4097. if postIndex > l {
  4098. return io.ErrUnexpectedEOF
  4099. }
  4100. m.SnapShotTime = string(dAtA[iNdEx:postIndex])
  4101. iNdEx = postIndex
  4102. case 10:
  4103. if wireType != 0 {
  4104. return fmt.Errorf("proto: wrong wireType = %d for field SnapShotGold", wireType)
  4105. }
  4106. m.SnapShotGold = 0
  4107. for shift := uint(0); ; shift += 7 {
  4108. if shift >= 64 {
  4109. return ErrIntOverflowWallet
  4110. }
  4111. if iNdEx >= l {
  4112. return io.ErrUnexpectedEOF
  4113. }
  4114. b := dAtA[iNdEx]
  4115. iNdEx++
  4116. m.SnapShotGold |= (int64(b) & 0x7F) << shift
  4117. if b < 0x80 {
  4118. break
  4119. }
  4120. }
  4121. case 11:
  4122. if wireType != 0 {
  4123. return fmt.Errorf("proto: wrong wireType = %d for field SnapShotIapGold", wireType)
  4124. }
  4125. m.SnapShotIapGold = 0
  4126. for shift := uint(0); ; shift += 7 {
  4127. if shift >= 64 {
  4128. return ErrIntOverflowWallet
  4129. }
  4130. if iNdEx >= l {
  4131. return io.ErrUnexpectedEOF
  4132. }
  4133. b := dAtA[iNdEx]
  4134. iNdEx++
  4135. m.SnapShotIapGold |= (int64(b) & 0x7F) << shift
  4136. if b < 0x80 {
  4137. break
  4138. }
  4139. }
  4140. case 12:
  4141. if wireType != 0 {
  4142. return fmt.Errorf("proto: wrong wireType = %d for field SnapShotSilver", wireType)
  4143. }
  4144. m.SnapShotSilver = 0
  4145. for shift := uint(0); ; shift += 7 {
  4146. if shift >= 64 {
  4147. return ErrIntOverflowWallet
  4148. }
  4149. if iNdEx >= l {
  4150. return io.ErrUnexpectedEOF
  4151. }
  4152. b := dAtA[iNdEx]
  4153. iNdEx++
  4154. m.SnapShotSilver |= (int64(b) & 0x7F) << shift
  4155. if b < 0x80 {
  4156. break
  4157. }
  4158. }
  4159. case 13:
  4160. if wireType != 0 {
  4161. return fmt.Errorf("proto: wrong wireType = %d for field Reserved1", wireType)
  4162. }
  4163. m.Reserved1 = 0
  4164. for shift := uint(0); ; shift += 7 {
  4165. if shift >= 64 {
  4166. return ErrIntOverflowWallet
  4167. }
  4168. if iNdEx >= l {
  4169. return io.ErrUnexpectedEOF
  4170. }
  4171. b := dAtA[iNdEx]
  4172. iNdEx++
  4173. m.Reserved1 |= (int64(b) & 0x7F) << shift
  4174. if b < 0x80 {
  4175. break
  4176. }
  4177. }
  4178. case 14:
  4179. if wireType != 2 {
  4180. return fmt.Errorf("proto: wrong wireType = %d for field Reserved2", wireType)
  4181. }
  4182. var stringLen uint64
  4183. for shift := uint(0); ; shift += 7 {
  4184. if shift >= 64 {
  4185. return ErrIntOverflowWallet
  4186. }
  4187. if iNdEx >= l {
  4188. return io.ErrUnexpectedEOF
  4189. }
  4190. b := dAtA[iNdEx]
  4191. iNdEx++
  4192. stringLen |= (uint64(b) & 0x7F) << shift
  4193. if b < 0x80 {
  4194. break
  4195. }
  4196. }
  4197. intStringLen := int(stringLen)
  4198. if intStringLen < 0 {
  4199. return ErrInvalidLengthWallet
  4200. }
  4201. postIndex := iNdEx + intStringLen
  4202. if postIndex > l {
  4203. return io.ErrUnexpectedEOF
  4204. }
  4205. m.Reserved2 = string(dAtA[iNdEx:postIndex])
  4206. iNdEx = postIndex
  4207. default:
  4208. iNdEx = preIndex
  4209. skippy, err := skipWallet(dAtA[iNdEx:])
  4210. if err != nil {
  4211. return err
  4212. }
  4213. if skippy < 0 {
  4214. return ErrInvalidLengthWallet
  4215. }
  4216. if (iNdEx + skippy) > l {
  4217. return io.ErrUnexpectedEOF
  4218. }
  4219. iNdEx += skippy
  4220. }
  4221. }
  4222. if iNdEx > l {
  4223. return io.ErrUnexpectedEOF
  4224. }
  4225. return nil
  4226. }
  4227. func (m *McDetail) Unmarshal(dAtA []byte) error {
  4228. l := len(dAtA)
  4229. iNdEx := 0
  4230. for iNdEx < l {
  4231. preIndex := iNdEx
  4232. var wire uint64
  4233. for shift := uint(0); ; shift += 7 {
  4234. if shift >= 64 {
  4235. return ErrIntOverflowWallet
  4236. }
  4237. if iNdEx >= l {
  4238. return io.ErrUnexpectedEOF
  4239. }
  4240. b := dAtA[iNdEx]
  4241. iNdEx++
  4242. wire |= (uint64(b) & 0x7F) << shift
  4243. if b < 0x80 {
  4244. break
  4245. }
  4246. }
  4247. fieldNum := int32(wire >> 3)
  4248. wireType := int(wire & 0x7)
  4249. if wireType == 4 {
  4250. return fmt.Errorf("proto: McDetail: wiretype end group for non-group")
  4251. }
  4252. if fieldNum <= 0 {
  4253. return fmt.Errorf("proto: McDetail: illegal tag %d (wire type %d)", fieldNum, wire)
  4254. }
  4255. switch fieldNum {
  4256. case 1:
  4257. if wireType != 2 {
  4258. return fmt.Errorf("proto: wrong wireType = %d for field Detail", wireType)
  4259. }
  4260. var msglen int
  4261. for shift := uint(0); ; shift += 7 {
  4262. if shift >= 64 {
  4263. return ErrIntOverflowWallet
  4264. }
  4265. if iNdEx >= l {
  4266. return io.ErrUnexpectedEOF
  4267. }
  4268. b := dAtA[iNdEx]
  4269. iNdEx++
  4270. msglen |= (int(b) & 0x7F) << shift
  4271. if b < 0x80 {
  4272. break
  4273. }
  4274. }
  4275. if msglen < 0 {
  4276. return ErrInvalidLengthWallet
  4277. }
  4278. postIndex := iNdEx + msglen
  4279. if postIndex > l {
  4280. return io.ErrUnexpectedEOF
  4281. }
  4282. if m.Detail == nil {
  4283. m.Detail = &Detail{}
  4284. }
  4285. if err := m.Detail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4286. return err
  4287. }
  4288. iNdEx = postIndex
  4289. case 2:
  4290. if wireType != 0 {
  4291. return fmt.Errorf("proto: wrong wireType = %d for field Exist", wireType)
  4292. }
  4293. var v int
  4294. for shift := uint(0); ; shift += 7 {
  4295. if shift >= 64 {
  4296. return ErrIntOverflowWallet
  4297. }
  4298. if iNdEx >= l {
  4299. return io.ErrUnexpectedEOF
  4300. }
  4301. b := dAtA[iNdEx]
  4302. iNdEx++
  4303. v |= (int(b) & 0x7F) << shift
  4304. if b < 0x80 {
  4305. break
  4306. }
  4307. }
  4308. m.Exist = bool(v != 0)
  4309. case 3:
  4310. if wireType != 0 {
  4311. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  4312. }
  4313. m.Version = 0
  4314. for shift := uint(0); ; shift += 7 {
  4315. if shift >= 64 {
  4316. return ErrIntOverflowWallet
  4317. }
  4318. if iNdEx >= l {
  4319. return io.ErrUnexpectedEOF
  4320. }
  4321. b := dAtA[iNdEx]
  4322. iNdEx++
  4323. m.Version |= (int32(b) & 0x7F) << shift
  4324. if b < 0x80 {
  4325. break
  4326. }
  4327. }
  4328. default:
  4329. iNdEx = preIndex
  4330. skippy, err := skipWallet(dAtA[iNdEx:])
  4331. if err != nil {
  4332. return err
  4333. }
  4334. if skippy < 0 {
  4335. return ErrInvalidLengthWallet
  4336. }
  4337. if (iNdEx + skippy) > l {
  4338. return io.ErrUnexpectedEOF
  4339. }
  4340. iNdEx += skippy
  4341. }
  4342. }
  4343. if iNdEx > l {
  4344. return io.ErrUnexpectedEOF
  4345. }
  4346. return nil
  4347. }
  4348. func (m *CoinStreamRecord) Unmarshal(dAtA []byte) error {
  4349. l := len(dAtA)
  4350. iNdEx := 0
  4351. for iNdEx < l {
  4352. preIndex := iNdEx
  4353. var wire uint64
  4354. for shift := uint(0); ; shift += 7 {
  4355. if shift >= 64 {
  4356. return ErrIntOverflowWallet
  4357. }
  4358. if iNdEx >= l {
  4359. return io.ErrUnexpectedEOF
  4360. }
  4361. b := dAtA[iNdEx]
  4362. iNdEx++
  4363. wire |= (uint64(b) & 0x7F) << shift
  4364. if b < 0x80 {
  4365. break
  4366. }
  4367. }
  4368. fieldNum := int32(wire >> 3)
  4369. wireType := int(wire & 0x7)
  4370. if wireType == 4 {
  4371. return fmt.Errorf("proto: CoinStreamRecord: wiretype end group for non-group")
  4372. }
  4373. if fieldNum <= 0 {
  4374. return fmt.Errorf("proto: CoinStreamRecord: illegal tag %d (wire type %d)", fieldNum, wire)
  4375. }
  4376. switch fieldNum {
  4377. case 1:
  4378. if wireType != 0 {
  4379. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  4380. }
  4381. m.Uid = 0
  4382. for shift := uint(0); ; shift += 7 {
  4383. if shift >= 64 {
  4384. return ErrIntOverflowWallet
  4385. }
  4386. if iNdEx >= l {
  4387. return io.ErrUnexpectedEOF
  4388. }
  4389. b := dAtA[iNdEx]
  4390. iNdEx++
  4391. m.Uid |= (int64(b) & 0x7F) << shift
  4392. if b < 0x80 {
  4393. break
  4394. }
  4395. }
  4396. case 2:
  4397. if wireType != 2 {
  4398. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  4399. }
  4400. var stringLen uint64
  4401. for shift := uint(0); ; shift += 7 {
  4402. if shift >= 64 {
  4403. return ErrIntOverflowWallet
  4404. }
  4405. if iNdEx >= l {
  4406. return io.ErrUnexpectedEOF
  4407. }
  4408. b := dAtA[iNdEx]
  4409. iNdEx++
  4410. stringLen |= (uint64(b) & 0x7F) << shift
  4411. if b < 0x80 {
  4412. break
  4413. }
  4414. }
  4415. intStringLen := int(stringLen)
  4416. if intStringLen < 0 {
  4417. return ErrInvalidLengthWallet
  4418. }
  4419. postIndex := iNdEx + intStringLen
  4420. if postIndex > l {
  4421. return io.ErrUnexpectedEOF
  4422. }
  4423. m.TransactionId = string(dAtA[iNdEx:postIndex])
  4424. iNdEx = postIndex
  4425. case 3:
  4426. if wireType != 2 {
  4427. return fmt.Errorf("proto: wrong wireType = %d for field ExtendTid", wireType)
  4428. }
  4429. var stringLen uint64
  4430. for shift := uint(0); ; shift += 7 {
  4431. if shift >= 64 {
  4432. return ErrIntOverflowWallet
  4433. }
  4434. if iNdEx >= l {
  4435. return io.ErrUnexpectedEOF
  4436. }
  4437. b := dAtA[iNdEx]
  4438. iNdEx++
  4439. stringLen |= (uint64(b) & 0x7F) << shift
  4440. if b < 0x80 {
  4441. break
  4442. }
  4443. }
  4444. intStringLen := int(stringLen)
  4445. if intStringLen < 0 {
  4446. return ErrInvalidLengthWallet
  4447. }
  4448. postIndex := iNdEx + intStringLen
  4449. if postIndex > l {
  4450. return io.ErrUnexpectedEOF
  4451. }
  4452. m.ExtendTid = string(dAtA[iNdEx:postIndex])
  4453. iNdEx = postIndex
  4454. case 4:
  4455. if wireType != 0 {
  4456. return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
  4457. }
  4458. m.CoinType = 0
  4459. for shift := uint(0); ; shift += 7 {
  4460. if shift >= 64 {
  4461. return ErrIntOverflowWallet
  4462. }
  4463. if iNdEx >= l {
  4464. return io.ErrUnexpectedEOF
  4465. }
  4466. b := dAtA[iNdEx]
  4467. iNdEx++
  4468. m.CoinType |= (int32(b) & 0x7F) << shift
  4469. if b < 0x80 {
  4470. break
  4471. }
  4472. }
  4473. case 5:
  4474. if wireType != 0 {
  4475. return fmt.Errorf("proto: wrong wireType = %d for field DeltaCoinNum", wireType)
  4476. }
  4477. m.DeltaCoinNum = 0
  4478. for shift := uint(0); ; shift += 7 {
  4479. if shift >= 64 {
  4480. return ErrIntOverflowWallet
  4481. }
  4482. if iNdEx >= l {
  4483. return io.ErrUnexpectedEOF
  4484. }
  4485. b := dAtA[iNdEx]
  4486. iNdEx++
  4487. m.DeltaCoinNum |= (int64(b) & 0x7F) << shift
  4488. if b < 0x80 {
  4489. break
  4490. }
  4491. }
  4492. case 6:
  4493. if wireType != 0 {
  4494. return fmt.Errorf("proto: wrong wireType = %d for field OrgCoinNum", wireType)
  4495. }
  4496. m.OrgCoinNum = 0
  4497. for shift := uint(0); ; shift += 7 {
  4498. if shift >= 64 {
  4499. return ErrIntOverflowWallet
  4500. }
  4501. if iNdEx >= l {
  4502. return io.ErrUnexpectedEOF
  4503. }
  4504. b := dAtA[iNdEx]
  4505. iNdEx++
  4506. m.OrgCoinNum |= (int64(b) & 0x7F) << shift
  4507. if b < 0x80 {
  4508. break
  4509. }
  4510. }
  4511. case 7:
  4512. if wireType != 0 {
  4513. return fmt.Errorf("proto: wrong wireType = %d for field OpResult", wireType)
  4514. }
  4515. m.OpResult = 0
  4516. for shift := uint(0); ; shift += 7 {
  4517. if shift >= 64 {
  4518. return ErrIntOverflowWallet
  4519. }
  4520. if iNdEx >= l {
  4521. return io.ErrUnexpectedEOF
  4522. }
  4523. b := dAtA[iNdEx]
  4524. iNdEx++
  4525. m.OpResult |= (int32(b) & 0x7F) << shift
  4526. if b < 0x80 {
  4527. break
  4528. }
  4529. }
  4530. case 8:
  4531. if wireType != 0 {
  4532. return fmt.Errorf("proto: wrong wireType = %d for field OpReason", wireType)
  4533. }
  4534. m.OpReason = 0
  4535. for shift := uint(0); ; shift += 7 {
  4536. if shift >= 64 {
  4537. return ErrIntOverflowWallet
  4538. }
  4539. if iNdEx >= l {
  4540. return io.ErrUnexpectedEOF
  4541. }
  4542. b := dAtA[iNdEx]
  4543. iNdEx++
  4544. m.OpReason |= (int32(b) & 0x7F) << shift
  4545. if b < 0x80 {
  4546. break
  4547. }
  4548. }
  4549. case 9:
  4550. if wireType != 0 {
  4551. return fmt.Errorf("proto: wrong wireType = %d for field OpType", wireType)
  4552. }
  4553. m.OpType = 0
  4554. for shift := uint(0); ; shift += 7 {
  4555. if shift >= 64 {
  4556. return ErrIntOverflowWallet
  4557. }
  4558. if iNdEx >= l {
  4559. return io.ErrUnexpectedEOF
  4560. }
  4561. b := dAtA[iNdEx]
  4562. iNdEx++
  4563. m.OpType |= (int32(b) & 0x7F) << shift
  4564. if b < 0x80 {
  4565. break
  4566. }
  4567. }
  4568. case 10:
  4569. if wireType != 0 {
  4570. return fmt.Errorf("proto: wrong wireType = %d for field OpTime", wireType)
  4571. }
  4572. m.OpTime = 0
  4573. for shift := uint(0); ; shift += 7 {
  4574. if shift >= 64 {
  4575. return ErrIntOverflowWallet
  4576. }
  4577. if iNdEx >= l {
  4578. return io.ErrUnexpectedEOF
  4579. }
  4580. b := dAtA[iNdEx]
  4581. iNdEx++
  4582. m.OpTime |= (int64(b) & 0x7F) << shift
  4583. if b < 0x80 {
  4584. break
  4585. }
  4586. }
  4587. case 11:
  4588. if wireType != 2 {
  4589. return fmt.Errorf("proto: wrong wireType = %d for field BizCode", wireType)
  4590. }
  4591. var stringLen uint64
  4592. for shift := uint(0); ; shift += 7 {
  4593. if shift >= 64 {
  4594. return ErrIntOverflowWallet
  4595. }
  4596. if iNdEx >= l {
  4597. return io.ErrUnexpectedEOF
  4598. }
  4599. b := dAtA[iNdEx]
  4600. iNdEx++
  4601. stringLen |= (uint64(b) & 0x7F) << shift
  4602. if b < 0x80 {
  4603. break
  4604. }
  4605. }
  4606. intStringLen := int(stringLen)
  4607. if intStringLen < 0 {
  4608. return ErrInvalidLengthWallet
  4609. }
  4610. postIndex := iNdEx + intStringLen
  4611. if postIndex > l {
  4612. return io.ErrUnexpectedEOF
  4613. }
  4614. m.BizCode = string(dAtA[iNdEx:postIndex])
  4615. iNdEx = postIndex
  4616. case 12:
  4617. if wireType != 0 {
  4618. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  4619. }
  4620. m.Area = 0
  4621. for shift := uint(0); ; shift += 7 {
  4622. if shift >= 64 {
  4623. return ErrIntOverflowWallet
  4624. }
  4625. if iNdEx >= l {
  4626. return io.ErrUnexpectedEOF
  4627. }
  4628. b := dAtA[iNdEx]
  4629. iNdEx++
  4630. m.Area |= (int64(b) & 0x7F) << shift
  4631. if b < 0x80 {
  4632. break
  4633. }
  4634. }
  4635. case 13:
  4636. if wireType != 2 {
  4637. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  4638. }
  4639. var stringLen uint64
  4640. for shift := uint(0); ; shift += 7 {
  4641. if shift >= 64 {
  4642. return ErrIntOverflowWallet
  4643. }
  4644. if iNdEx >= l {
  4645. return io.ErrUnexpectedEOF
  4646. }
  4647. b := dAtA[iNdEx]
  4648. iNdEx++
  4649. stringLen |= (uint64(b) & 0x7F) << shift
  4650. if b < 0x80 {
  4651. break
  4652. }
  4653. }
  4654. intStringLen := int(stringLen)
  4655. if intStringLen < 0 {
  4656. return ErrInvalidLengthWallet
  4657. }
  4658. postIndex := iNdEx + intStringLen
  4659. if postIndex > l {
  4660. return io.ErrUnexpectedEOF
  4661. }
  4662. m.Source = string(dAtA[iNdEx:postIndex])
  4663. iNdEx = postIndex
  4664. case 14:
  4665. if wireType != 2 {
  4666. return fmt.Errorf("proto: wrong wireType = %d for field MetaData", wireType)
  4667. }
  4668. var stringLen uint64
  4669. for shift := uint(0); ; shift += 7 {
  4670. if shift >= 64 {
  4671. return ErrIntOverflowWallet
  4672. }
  4673. if iNdEx >= l {
  4674. return io.ErrUnexpectedEOF
  4675. }
  4676. b := dAtA[iNdEx]
  4677. iNdEx++
  4678. stringLen |= (uint64(b) & 0x7F) << shift
  4679. if b < 0x80 {
  4680. break
  4681. }
  4682. }
  4683. intStringLen := int(stringLen)
  4684. if intStringLen < 0 {
  4685. return ErrInvalidLengthWallet
  4686. }
  4687. postIndex := iNdEx + intStringLen
  4688. if postIndex > l {
  4689. return io.ErrUnexpectedEOF
  4690. }
  4691. m.MetaData = string(dAtA[iNdEx:postIndex])
  4692. iNdEx = postIndex
  4693. case 15:
  4694. if wireType != 2 {
  4695. return fmt.Errorf("proto: wrong wireType = %d for field BizSource", wireType)
  4696. }
  4697. var stringLen uint64
  4698. for shift := uint(0); ; shift += 7 {
  4699. if shift >= 64 {
  4700. return ErrIntOverflowWallet
  4701. }
  4702. if iNdEx >= l {
  4703. return io.ErrUnexpectedEOF
  4704. }
  4705. b := dAtA[iNdEx]
  4706. iNdEx++
  4707. stringLen |= (uint64(b) & 0x7F) << shift
  4708. if b < 0x80 {
  4709. break
  4710. }
  4711. }
  4712. intStringLen := int(stringLen)
  4713. if intStringLen < 0 {
  4714. return ErrInvalidLengthWallet
  4715. }
  4716. postIndex := iNdEx + intStringLen
  4717. if postIndex > l {
  4718. return io.ErrUnexpectedEOF
  4719. }
  4720. m.BizSource = string(dAtA[iNdEx:postIndex])
  4721. iNdEx = postIndex
  4722. case 16:
  4723. if wireType != 0 {
  4724. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  4725. }
  4726. m.Platform = 0
  4727. for shift := uint(0); ; shift += 7 {
  4728. if shift >= 64 {
  4729. return ErrIntOverflowWallet
  4730. }
  4731. if iNdEx >= l {
  4732. return io.ErrUnexpectedEOF
  4733. }
  4734. b := dAtA[iNdEx]
  4735. iNdEx++
  4736. m.Platform |= (int32(b) & 0x7F) << shift
  4737. if b < 0x80 {
  4738. break
  4739. }
  4740. }
  4741. case 17:
  4742. if wireType != 0 {
  4743. return fmt.Errorf("proto: wrong wireType = %d for field Reserved1", wireType)
  4744. }
  4745. m.Reserved1 = 0
  4746. for shift := uint(0); ; shift += 7 {
  4747. if shift >= 64 {
  4748. return ErrIntOverflowWallet
  4749. }
  4750. if iNdEx >= l {
  4751. return io.ErrUnexpectedEOF
  4752. }
  4753. b := dAtA[iNdEx]
  4754. iNdEx++
  4755. m.Reserved1 |= (int64(b) & 0x7F) << shift
  4756. if b < 0x80 {
  4757. break
  4758. }
  4759. }
  4760. case 18:
  4761. if wireType != 0 {
  4762. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  4763. }
  4764. m.Version = 0
  4765. for shift := uint(0); ; shift += 7 {
  4766. if shift >= 64 {
  4767. return ErrIntOverflowWallet
  4768. }
  4769. if iNdEx >= l {
  4770. return io.ErrUnexpectedEOF
  4771. }
  4772. b := dAtA[iNdEx]
  4773. iNdEx++
  4774. m.Version |= (int64(b) & 0x7F) << shift
  4775. if b < 0x80 {
  4776. break
  4777. }
  4778. }
  4779. default:
  4780. iNdEx = preIndex
  4781. skippy, err := skipWallet(dAtA[iNdEx:])
  4782. if err != nil {
  4783. return err
  4784. }
  4785. if skippy < 0 {
  4786. return ErrInvalidLengthWallet
  4787. }
  4788. if (iNdEx + skippy) > l {
  4789. return io.ErrUnexpectedEOF
  4790. }
  4791. iNdEx += skippy
  4792. }
  4793. }
  4794. if iNdEx > l {
  4795. return io.ErrUnexpectedEOF
  4796. }
  4797. return nil
  4798. }
  4799. func (m *CoinExchangeRecord) Unmarshal(dAtA []byte) error {
  4800. l := len(dAtA)
  4801. iNdEx := 0
  4802. for iNdEx < l {
  4803. preIndex := iNdEx
  4804. var wire uint64
  4805. for shift := uint(0); ; shift += 7 {
  4806. if shift >= 64 {
  4807. return ErrIntOverflowWallet
  4808. }
  4809. if iNdEx >= l {
  4810. return io.ErrUnexpectedEOF
  4811. }
  4812. b := dAtA[iNdEx]
  4813. iNdEx++
  4814. wire |= (uint64(b) & 0x7F) << shift
  4815. if b < 0x80 {
  4816. break
  4817. }
  4818. }
  4819. fieldNum := int32(wire >> 3)
  4820. wireType := int(wire & 0x7)
  4821. if wireType == 4 {
  4822. return fmt.Errorf("proto: CoinExchangeRecord: wiretype end group for non-group")
  4823. }
  4824. if fieldNum <= 0 {
  4825. return fmt.Errorf("proto: CoinExchangeRecord: illegal tag %d (wire type %d)", fieldNum, wire)
  4826. }
  4827. switch fieldNum {
  4828. case 1:
  4829. if wireType != 0 {
  4830. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  4831. }
  4832. m.Uid = 0
  4833. for shift := uint(0); ; shift += 7 {
  4834. if shift >= 64 {
  4835. return ErrIntOverflowWallet
  4836. }
  4837. if iNdEx >= l {
  4838. return io.ErrUnexpectedEOF
  4839. }
  4840. b := dAtA[iNdEx]
  4841. iNdEx++
  4842. m.Uid |= (int64(b) & 0x7F) << shift
  4843. if b < 0x80 {
  4844. break
  4845. }
  4846. }
  4847. case 2:
  4848. if wireType != 2 {
  4849. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  4850. }
  4851. var stringLen uint64
  4852. for shift := uint(0); ; shift += 7 {
  4853. if shift >= 64 {
  4854. return ErrIntOverflowWallet
  4855. }
  4856. if iNdEx >= l {
  4857. return io.ErrUnexpectedEOF
  4858. }
  4859. b := dAtA[iNdEx]
  4860. iNdEx++
  4861. stringLen |= (uint64(b) & 0x7F) << shift
  4862. if b < 0x80 {
  4863. break
  4864. }
  4865. }
  4866. intStringLen := int(stringLen)
  4867. if intStringLen < 0 {
  4868. return ErrInvalidLengthWallet
  4869. }
  4870. postIndex := iNdEx + intStringLen
  4871. if postIndex > l {
  4872. return io.ErrUnexpectedEOF
  4873. }
  4874. m.TransactionId = string(dAtA[iNdEx:postIndex])
  4875. iNdEx = postIndex
  4876. case 3:
  4877. if wireType != 0 {
  4878. return fmt.Errorf("proto: wrong wireType = %d for field SrcType", wireType)
  4879. }
  4880. m.SrcType = 0
  4881. for shift := uint(0); ; shift += 7 {
  4882. if shift >= 64 {
  4883. return ErrIntOverflowWallet
  4884. }
  4885. if iNdEx >= l {
  4886. return io.ErrUnexpectedEOF
  4887. }
  4888. b := dAtA[iNdEx]
  4889. iNdEx++
  4890. m.SrcType |= (int32(b) & 0x7F) << shift
  4891. if b < 0x80 {
  4892. break
  4893. }
  4894. }
  4895. case 4:
  4896. if wireType != 0 {
  4897. return fmt.Errorf("proto: wrong wireType = %d for field SrcNum", wireType)
  4898. }
  4899. m.SrcNum = 0
  4900. for shift := uint(0); ; shift += 7 {
  4901. if shift >= 64 {
  4902. return ErrIntOverflowWallet
  4903. }
  4904. if iNdEx >= l {
  4905. return io.ErrUnexpectedEOF
  4906. }
  4907. b := dAtA[iNdEx]
  4908. iNdEx++
  4909. m.SrcNum |= (int32(b) & 0x7F) << shift
  4910. if b < 0x80 {
  4911. break
  4912. }
  4913. }
  4914. case 5:
  4915. if wireType != 0 {
  4916. return fmt.Errorf("proto: wrong wireType = %d for field DestType", wireType)
  4917. }
  4918. m.DestType = 0
  4919. for shift := uint(0); ; shift += 7 {
  4920. if shift >= 64 {
  4921. return ErrIntOverflowWallet
  4922. }
  4923. if iNdEx >= l {
  4924. return io.ErrUnexpectedEOF
  4925. }
  4926. b := dAtA[iNdEx]
  4927. iNdEx++
  4928. m.DestType |= (int32(b) & 0x7F) << shift
  4929. if b < 0x80 {
  4930. break
  4931. }
  4932. }
  4933. case 6:
  4934. if wireType != 0 {
  4935. return fmt.Errorf("proto: wrong wireType = %d for field DestNum", wireType)
  4936. }
  4937. m.DestNum = 0
  4938. for shift := uint(0); ; shift += 7 {
  4939. if shift >= 64 {
  4940. return ErrIntOverflowWallet
  4941. }
  4942. if iNdEx >= l {
  4943. return io.ErrUnexpectedEOF
  4944. }
  4945. b := dAtA[iNdEx]
  4946. iNdEx++
  4947. m.DestNum |= (int32(b) & 0x7F) << shift
  4948. if b < 0x80 {
  4949. break
  4950. }
  4951. }
  4952. case 7:
  4953. if wireType != 0 {
  4954. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4955. }
  4956. m.Status = 0
  4957. for shift := uint(0); ; shift += 7 {
  4958. if shift >= 64 {
  4959. return ErrIntOverflowWallet
  4960. }
  4961. if iNdEx >= l {
  4962. return io.ErrUnexpectedEOF
  4963. }
  4964. b := dAtA[iNdEx]
  4965. iNdEx++
  4966. m.Status |= (int32(b) & 0x7F) << shift
  4967. if b < 0x80 {
  4968. break
  4969. }
  4970. }
  4971. case 8:
  4972. if wireType != 0 {
  4973. return fmt.Errorf("proto: wrong wireType = %d for field ExchangeTime", wireType)
  4974. }
  4975. m.ExchangeTime = 0
  4976. for shift := uint(0); ; shift += 7 {
  4977. if shift >= 64 {
  4978. return ErrIntOverflowWallet
  4979. }
  4980. if iNdEx >= l {
  4981. return io.ErrUnexpectedEOF
  4982. }
  4983. b := dAtA[iNdEx]
  4984. iNdEx++
  4985. m.ExchangeTime |= (int64(b) & 0x7F) << shift
  4986. if b < 0x80 {
  4987. break
  4988. }
  4989. }
  4990. default:
  4991. iNdEx = preIndex
  4992. skippy, err := skipWallet(dAtA[iNdEx:])
  4993. if err != nil {
  4994. return err
  4995. }
  4996. if skippy < 0 {
  4997. return ErrInvalidLengthWallet
  4998. }
  4999. if (iNdEx + skippy) > l {
  5000. return io.ErrUnexpectedEOF
  5001. }
  5002. iNdEx += skippy
  5003. }
  5004. }
  5005. if iNdEx > l {
  5006. return io.ErrUnexpectedEOF
  5007. }
  5008. return nil
  5009. }
  5010. func (m *RecordCoinStreamItem) Unmarshal(dAtA []byte) error {
  5011. l := len(dAtA)
  5012. iNdEx := 0
  5013. for iNdEx < l {
  5014. preIndex := iNdEx
  5015. var wire uint64
  5016. for shift := uint(0); ; shift += 7 {
  5017. if shift >= 64 {
  5018. return ErrIntOverflowWallet
  5019. }
  5020. if iNdEx >= l {
  5021. return io.ErrUnexpectedEOF
  5022. }
  5023. b := dAtA[iNdEx]
  5024. iNdEx++
  5025. wire |= (uint64(b) & 0x7F) << shift
  5026. if b < 0x80 {
  5027. break
  5028. }
  5029. }
  5030. fieldNum := int32(wire >> 3)
  5031. wireType := int(wire & 0x7)
  5032. if wireType == 4 {
  5033. return fmt.Errorf("proto: RecordCoinStreamItem: wiretype end group for non-group")
  5034. }
  5035. if fieldNum <= 0 {
  5036. return fmt.Errorf("proto: RecordCoinStreamItem: illegal tag %d (wire type %d)", fieldNum, wire)
  5037. }
  5038. switch fieldNum {
  5039. case 1:
  5040. if wireType != 2 {
  5041. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  5042. }
  5043. var stringLen uint64
  5044. for shift := uint(0); ; shift += 7 {
  5045. if shift >= 64 {
  5046. return ErrIntOverflowWallet
  5047. }
  5048. if iNdEx >= l {
  5049. return io.ErrUnexpectedEOF
  5050. }
  5051. b := dAtA[iNdEx]
  5052. iNdEx++
  5053. stringLen |= (uint64(b) & 0x7F) << shift
  5054. if b < 0x80 {
  5055. break
  5056. }
  5057. }
  5058. intStringLen := int(stringLen)
  5059. if intStringLen < 0 {
  5060. return ErrInvalidLengthWallet
  5061. }
  5062. postIndex := iNdEx + intStringLen
  5063. if postIndex > l {
  5064. return io.ErrUnexpectedEOF
  5065. }
  5066. m.TransactionId = string(dAtA[iNdEx:postIndex])
  5067. iNdEx = postIndex
  5068. case 2:
  5069. if wireType != 2 {
  5070. return fmt.Errorf("proto: wrong wireType = %d for field ExtendTid", wireType)
  5071. }
  5072. var stringLen uint64
  5073. for shift := uint(0); ; shift += 7 {
  5074. if shift >= 64 {
  5075. return ErrIntOverflowWallet
  5076. }
  5077. if iNdEx >= l {
  5078. return io.ErrUnexpectedEOF
  5079. }
  5080. b := dAtA[iNdEx]
  5081. iNdEx++
  5082. stringLen |= (uint64(b) & 0x7F) << shift
  5083. if b < 0x80 {
  5084. break
  5085. }
  5086. }
  5087. intStringLen := int(stringLen)
  5088. if intStringLen < 0 {
  5089. return ErrInvalidLengthWallet
  5090. }
  5091. postIndex := iNdEx + intStringLen
  5092. if postIndex > l {
  5093. return io.ErrUnexpectedEOF
  5094. }
  5095. m.ExtendTid = string(dAtA[iNdEx:postIndex])
  5096. iNdEx = postIndex
  5097. case 3:
  5098. if wireType != 2 {
  5099. return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
  5100. }
  5101. var stringLen uint64
  5102. for shift := uint(0); ; shift += 7 {
  5103. if shift >= 64 {
  5104. return ErrIntOverflowWallet
  5105. }
  5106. if iNdEx >= l {
  5107. return io.ErrUnexpectedEOF
  5108. }
  5109. b := dAtA[iNdEx]
  5110. iNdEx++
  5111. stringLen |= (uint64(b) & 0x7F) << shift
  5112. if b < 0x80 {
  5113. break
  5114. }
  5115. }
  5116. intStringLen := int(stringLen)
  5117. if intStringLen < 0 {
  5118. return ErrInvalidLengthWallet
  5119. }
  5120. postIndex := iNdEx + intStringLen
  5121. if postIndex > l {
  5122. return io.ErrUnexpectedEOF
  5123. }
  5124. m.CoinType = string(dAtA[iNdEx:postIndex])
  5125. iNdEx = postIndex
  5126. case 4:
  5127. if wireType != 0 {
  5128. return fmt.Errorf("proto: wrong wireType = %d for field CoinNum", wireType)
  5129. }
  5130. m.CoinNum = 0
  5131. for shift := uint(0); ; shift += 7 {
  5132. if shift >= 64 {
  5133. return ErrIntOverflowWallet
  5134. }
  5135. if iNdEx >= l {
  5136. return io.ErrUnexpectedEOF
  5137. }
  5138. b := dAtA[iNdEx]
  5139. iNdEx++
  5140. m.CoinNum |= (int64(b) & 0x7F) << shift
  5141. if b < 0x80 {
  5142. break
  5143. }
  5144. }
  5145. case 5:
  5146. if wireType != 0 {
  5147. return fmt.Errorf("proto: wrong wireType = %d for field OrgCoinNum", wireType)
  5148. }
  5149. m.OrgCoinNum = 0
  5150. for shift := uint(0); ; shift += 7 {
  5151. if shift >= 64 {
  5152. return ErrIntOverflowWallet
  5153. }
  5154. if iNdEx >= l {
  5155. return io.ErrUnexpectedEOF
  5156. }
  5157. b := dAtA[iNdEx]
  5158. iNdEx++
  5159. m.OrgCoinNum |= (int64(b) & 0x7F) << shift
  5160. if b < 0x80 {
  5161. break
  5162. }
  5163. }
  5164. case 6:
  5165. if wireType != 2 {
  5166. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5167. }
  5168. var stringLen uint64
  5169. for shift := uint(0); ; shift += 7 {
  5170. if shift >= 64 {
  5171. return ErrIntOverflowWallet
  5172. }
  5173. if iNdEx >= l {
  5174. return io.ErrUnexpectedEOF
  5175. }
  5176. b := dAtA[iNdEx]
  5177. iNdEx++
  5178. stringLen |= (uint64(b) & 0x7F) << shift
  5179. if b < 0x80 {
  5180. break
  5181. }
  5182. }
  5183. intStringLen := int(stringLen)
  5184. if intStringLen < 0 {
  5185. return ErrInvalidLengthWallet
  5186. }
  5187. postIndex := iNdEx + intStringLen
  5188. if postIndex > l {
  5189. return io.ErrUnexpectedEOF
  5190. }
  5191. m.Type = string(dAtA[iNdEx:postIndex])
  5192. iNdEx = postIndex
  5193. case 7:
  5194. if wireType != 0 {
  5195. return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType)
  5196. }
  5197. m.Timestamp = 0
  5198. for shift := uint(0); ; shift += 7 {
  5199. if shift >= 64 {
  5200. return ErrIntOverflowWallet
  5201. }
  5202. if iNdEx >= l {
  5203. return io.ErrUnexpectedEOF
  5204. }
  5205. b := dAtA[iNdEx]
  5206. iNdEx++
  5207. m.Timestamp |= (int64(b) & 0x7F) << shift
  5208. if b < 0x80 {
  5209. break
  5210. }
  5211. }
  5212. case 8:
  5213. if wireType != 0 {
  5214. return fmt.Errorf("proto: wrong wireType = %d for field Reserved1", wireType)
  5215. }
  5216. m.Reserved1 = 0
  5217. for shift := uint(0); ; shift += 7 {
  5218. if shift >= 64 {
  5219. return ErrIntOverflowWallet
  5220. }
  5221. if iNdEx >= l {
  5222. return io.ErrUnexpectedEOF
  5223. }
  5224. b := dAtA[iNdEx]
  5225. iNdEx++
  5226. m.Reserved1 |= (int64(b) & 0x7F) << shift
  5227. if b < 0x80 {
  5228. break
  5229. }
  5230. }
  5231. default:
  5232. iNdEx = preIndex
  5233. skippy, err := skipWallet(dAtA[iNdEx:])
  5234. if err != nil {
  5235. return err
  5236. }
  5237. if skippy < 0 {
  5238. return ErrInvalidLengthWallet
  5239. }
  5240. if (iNdEx + skippy) > l {
  5241. return io.ErrUnexpectedEOF
  5242. }
  5243. iNdEx += skippy
  5244. }
  5245. }
  5246. if iNdEx > l {
  5247. return io.ErrUnexpectedEOF
  5248. }
  5249. return nil
  5250. }
  5251. func (m *BasicParam) Unmarshal(dAtA []byte) error {
  5252. l := len(dAtA)
  5253. iNdEx := 0
  5254. for iNdEx < l {
  5255. preIndex := iNdEx
  5256. var wire uint64
  5257. for shift := uint(0); ; shift += 7 {
  5258. if shift >= 64 {
  5259. return ErrIntOverflowWallet
  5260. }
  5261. if iNdEx >= l {
  5262. return io.ErrUnexpectedEOF
  5263. }
  5264. b := dAtA[iNdEx]
  5265. iNdEx++
  5266. wire |= (uint64(b) & 0x7F) << shift
  5267. if b < 0x80 {
  5268. break
  5269. }
  5270. }
  5271. fieldNum := int32(wire >> 3)
  5272. wireType := int(wire & 0x7)
  5273. if wireType == 4 {
  5274. return fmt.Errorf("proto: BasicParam: wiretype end group for non-group")
  5275. }
  5276. if fieldNum <= 0 {
  5277. return fmt.Errorf("proto: BasicParam: illegal tag %d (wire type %d)", fieldNum, wire)
  5278. }
  5279. switch fieldNum {
  5280. case 1:
  5281. if wireType != 2 {
  5282. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  5283. }
  5284. var stringLen uint64
  5285. for shift := uint(0); ; shift += 7 {
  5286. if shift >= 64 {
  5287. return ErrIntOverflowWallet
  5288. }
  5289. if iNdEx >= l {
  5290. return io.ErrUnexpectedEOF
  5291. }
  5292. b := dAtA[iNdEx]
  5293. iNdEx++
  5294. stringLen |= (uint64(b) & 0x7F) << shift
  5295. if b < 0x80 {
  5296. break
  5297. }
  5298. }
  5299. intStringLen := int(stringLen)
  5300. if intStringLen < 0 {
  5301. return ErrInvalidLengthWallet
  5302. }
  5303. postIndex := iNdEx + intStringLen
  5304. if postIndex > l {
  5305. return io.ErrUnexpectedEOF
  5306. }
  5307. m.TransactionId = string(dAtA[iNdEx:postIndex])
  5308. iNdEx = postIndex
  5309. case 2:
  5310. if wireType != 2 {
  5311. return fmt.Errorf("proto: wrong wireType = %d for field BizCode", wireType)
  5312. }
  5313. var stringLen uint64
  5314. for shift := uint(0); ; shift += 7 {
  5315. if shift >= 64 {
  5316. return ErrIntOverflowWallet
  5317. }
  5318. if iNdEx >= l {
  5319. return io.ErrUnexpectedEOF
  5320. }
  5321. b := dAtA[iNdEx]
  5322. iNdEx++
  5323. stringLen |= (uint64(b) & 0x7F) << shift
  5324. if b < 0x80 {
  5325. break
  5326. }
  5327. }
  5328. intStringLen := int(stringLen)
  5329. if intStringLen < 0 {
  5330. return ErrInvalidLengthWallet
  5331. }
  5332. postIndex := iNdEx + intStringLen
  5333. if postIndex > l {
  5334. return io.ErrUnexpectedEOF
  5335. }
  5336. m.BizCode = string(dAtA[iNdEx:postIndex])
  5337. iNdEx = postIndex
  5338. case 3:
  5339. if wireType != 0 {
  5340. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  5341. }
  5342. m.Area = 0
  5343. for shift := uint(0); ; shift += 7 {
  5344. if shift >= 64 {
  5345. return ErrIntOverflowWallet
  5346. }
  5347. if iNdEx >= l {
  5348. return io.ErrUnexpectedEOF
  5349. }
  5350. b := dAtA[iNdEx]
  5351. iNdEx++
  5352. m.Area |= (int64(b) & 0x7F) << shift
  5353. if b < 0x80 {
  5354. break
  5355. }
  5356. }
  5357. case 4:
  5358. if wireType != 2 {
  5359. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  5360. }
  5361. var stringLen uint64
  5362. for shift := uint(0); ; shift += 7 {
  5363. if shift >= 64 {
  5364. return ErrIntOverflowWallet
  5365. }
  5366. if iNdEx >= l {
  5367. return io.ErrUnexpectedEOF
  5368. }
  5369. b := dAtA[iNdEx]
  5370. iNdEx++
  5371. stringLen |= (uint64(b) & 0x7F) << shift
  5372. if b < 0x80 {
  5373. break
  5374. }
  5375. }
  5376. intStringLen := int(stringLen)
  5377. if intStringLen < 0 {
  5378. return ErrInvalidLengthWallet
  5379. }
  5380. postIndex := iNdEx + intStringLen
  5381. if postIndex > l {
  5382. return io.ErrUnexpectedEOF
  5383. }
  5384. m.Source = string(dAtA[iNdEx:postIndex])
  5385. iNdEx = postIndex
  5386. case 5:
  5387. if wireType != 2 {
  5388. return fmt.Errorf("proto: wrong wireType = %d for field MetaData", wireType)
  5389. }
  5390. var stringLen uint64
  5391. for shift := uint(0); ; shift += 7 {
  5392. if shift >= 64 {
  5393. return ErrIntOverflowWallet
  5394. }
  5395. if iNdEx >= l {
  5396. return io.ErrUnexpectedEOF
  5397. }
  5398. b := dAtA[iNdEx]
  5399. iNdEx++
  5400. stringLen |= (uint64(b) & 0x7F) << shift
  5401. if b < 0x80 {
  5402. break
  5403. }
  5404. }
  5405. intStringLen := int(stringLen)
  5406. if intStringLen < 0 {
  5407. return ErrInvalidLengthWallet
  5408. }
  5409. postIndex := iNdEx + intStringLen
  5410. if postIndex > l {
  5411. return io.ErrUnexpectedEOF
  5412. }
  5413. m.MetaData = string(dAtA[iNdEx:postIndex])
  5414. iNdEx = postIndex
  5415. case 6:
  5416. if wireType != 2 {
  5417. return fmt.Errorf("proto: wrong wireType = %d for field BizSource", wireType)
  5418. }
  5419. var stringLen uint64
  5420. for shift := uint(0); ; shift += 7 {
  5421. if shift >= 64 {
  5422. return ErrIntOverflowWallet
  5423. }
  5424. if iNdEx >= l {
  5425. return io.ErrUnexpectedEOF
  5426. }
  5427. b := dAtA[iNdEx]
  5428. iNdEx++
  5429. stringLen |= (uint64(b) & 0x7F) << shift
  5430. if b < 0x80 {
  5431. break
  5432. }
  5433. }
  5434. intStringLen := int(stringLen)
  5435. if intStringLen < 0 {
  5436. return ErrInvalidLengthWallet
  5437. }
  5438. postIndex := iNdEx + intStringLen
  5439. if postIndex > l {
  5440. return io.ErrUnexpectedEOF
  5441. }
  5442. m.BizSource = string(dAtA[iNdEx:postIndex])
  5443. iNdEx = postIndex
  5444. case 7:
  5445. if wireType != 0 {
  5446. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  5447. }
  5448. m.Reason = 0
  5449. for shift := uint(0); ; shift += 7 {
  5450. if shift >= 64 {
  5451. return ErrIntOverflowWallet
  5452. }
  5453. if iNdEx >= l {
  5454. return io.ErrUnexpectedEOF
  5455. }
  5456. b := dAtA[iNdEx]
  5457. iNdEx++
  5458. m.Reason |= (int64(b) & 0x7F) << shift
  5459. if b < 0x80 {
  5460. break
  5461. }
  5462. }
  5463. case 8:
  5464. if wireType != 0 {
  5465. return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  5466. }
  5467. m.Version = 0
  5468. for shift := uint(0); ; shift += 7 {
  5469. if shift >= 64 {
  5470. return ErrIntOverflowWallet
  5471. }
  5472. if iNdEx >= l {
  5473. return io.ErrUnexpectedEOF
  5474. }
  5475. b := dAtA[iNdEx]
  5476. iNdEx++
  5477. m.Version |= (int64(b) & 0x7F) << shift
  5478. if b < 0x80 {
  5479. break
  5480. }
  5481. }
  5482. default:
  5483. iNdEx = preIndex
  5484. skippy, err := skipWallet(dAtA[iNdEx:])
  5485. if err != nil {
  5486. return err
  5487. }
  5488. if skippy < 0 {
  5489. return ErrInvalidLengthWallet
  5490. }
  5491. if (iNdEx + skippy) > l {
  5492. return io.ErrUnexpectedEOF
  5493. }
  5494. iNdEx += skippy
  5495. }
  5496. }
  5497. if iNdEx > l {
  5498. return io.ErrUnexpectedEOF
  5499. }
  5500. return nil
  5501. }
  5502. func (m *MelonseedResp) Unmarshal(dAtA []byte) error {
  5503. l := len(dAtA)
  5504. iNdEx := 0
  5505. for iNdEx < l {
  5506. preIndex := iNdEx
  5507. var wire uint64
  5508. for shift := uint(0); ; shift += 7 {
  5509. if shift >= 64 {
  5510. return ErrIntOverflowWallet
  5511. }
  5512. if iNdEx >= l {
  5513. return io.ErrUnexpectedEOF
  5514. }
  5515. b := dAtA[iNdEx]
  5516. iNdEx++
  5517. wire |= (uint64(b) & 0x7F) << shift
  5518. if b < 0x80 {
  5519. break
  5520. }
  5521. }
  5522. fieldNum := int32(wire >> 3)
  5523. wireType := int(wire & 0x7)
  5524. if wireType == 4 {
  5525. return fmt.Errorf("proto: MelonseedResp: wiretype end group for non-group")
  5526. }
  5527. if fieldNum <= 0 {
  5528. return fmt.Errorf("proto: MelonseedResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5529. }
  5530. switch fieldNum {
  5531. case 1:
  5532. if wireType != 2 {
  5533. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  5534. }
  5535. var stringLen uint64
  5536. for shift := uint(0); ; shift += 7 {
  5537. if shift >= 64 {
  5538. return ErrIntOverflowWallet
  5539. }
  5540. if iNdEx >= l {
  5541. return io.ErrUnexpectedEOF
  5542. }
  5543. b := dAtA[iNdEx]
  5544. iNdEx++
  5545. stringLen |= (uint64(b) & 0x7F) << shift
  5546. if b < 0x80 {
  5547. break
  5548. }
  5549. }
  5550. intStringLen := int(stringLen)
  5551. if intStringLen < 0 {
  5552. return ErrInvalidLengthWallet
  5553. }
  5554. postIndex := iNdEx + intStringLen
  5555. if postIndex > l {
  5556. return io.ErrUnexpectedEOF
  5557. }
  5558. m.Gold = string(dAtA[iNdEx:postIndex])
  5559. iNdEx = postIndex
  5560. case 2:
  5561. if wireType != 2 {
  5562. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  5563. }
  5564. var stringLen uint64
  5565. for shift := uint(0); ; shift += 7 {
  5566. if shift >= 64 {
  5567. return ErrIntOverflowWallet
  5568. }
  5569. if iNdEx >= l {
  5570. return io.ErrUnexpectedEOF
  5571. }
  5572. b := dAtA[iNdEx]
  5573. iNdEx++
  5574. stringLen |= (uint64(b) & 0x7F) << shift
  5575. if b < 0x80 {
  5576. break
  5577. }
  5578. }
  5579. intStringLen := int(stringLen)
  5580. if intStringLen < 0 {
  5581. return ErrInvalidLengthWallet
  5582. }
  5583. postIndex := iNdEx + intStringLen
  5584. if postIndex > l {
  5585. return io.ErrUnexpectedEOF
  5586. }
  5587. m.Silver = string(dAtA[iNdEx:postIndex])
  5588. iNdEx = postIndex
  5589. default:
  5590. iNdEx = preIndex
  5591. skippy, err := skipWallet(dAtA[iNdEx:])
  5592. if err != nil {
  5593. return err
  5594. }
  5595. if skippy < 0 {
  5596. return ErrInvalidLengthWallet
  5597. }
  5598. if (iNdEx + skippy) > l {
  5599. return io.ErrUnexpectedEOF
  5600. }
  5601. iNdEx += skippy
  5602. }
  5603. }
  5604. if iNdEx > l {
  5605. return io.ErrUnexpectedEOF
  5606. }
  5607. return nil
  5608. }
  5609. func (m *MelonseedWithMetalResp) Unmarshal(dAtA []byte) error {
  5610. l := len(dAtA)
  5611. iNdEx := 0
  5612. for iNdEx < l {
  5613. preIndex := iNdEx
  5614. var wire uint64
  5615. for shift := uint(0); ; shift += 7 {
  5616. if shift >= 64 {
  5617. return ErrIntOverflowWallet
  5618. }
  5619. if iNdEx >= l {
  5620. return io.ErrUnexpectedEOF
  5621. }
  5622. b := dAtA[iNdEx]
  5623. iNdEx++
  5624. wire |= (uint64(b) & 0x7F) << shift
  5625. if b < 0x80 {
  5626. break
  5627. }
  5628. }
  5629. fieldNum := int32(wire >> 3)
  5630. wireType := int(wire & 0x7)
  5631. if wireType == 4 {
  5632. return fmt.Errorf("proto: MelonseedWithMetalResp: wiretype end group for non-group")
  5633. }
  5634. if fieldNum <= 0 {
  5635. return fmt.Errorf("proto: MelonseedWithMetalResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5636. }
  5637. switch fieldNum {
  5638. case 1:
  5639. if wireType != 2 {
  5640. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  5641. }
  5642. var stringLen uint64
  5643. for shift := uint(0); ; shift += 7 {
  5644. if shift >= 64 {
  5645. return ErrIntOverflowWallet
  5646. }
  5647. if iNdEx >= l {
  5648. return io.ErrUnexpectedEOF
  5649. }
  5650. b := dAtA[iNdEx]
  5651. iNdEx++
  5652. stringLen |= (uint64(b) & 0x7F) << shift
  5653. if b < 0x80 {
  5654. break
  5655. }
  5656. }
  5657. intStringLen := int(stringLen)
  5658. if intStringLen < 0 {
  5659. return ErrInvalidLengthWallet
  5660. }
  5661. postIndex := iNdEx + intStringLen
  5662. if postIndex > l {
  5663. return io.ErrUnexpectedEOF
  5664. }
  5665. m.Gold = string(dAtA[iNdEx:postIndex])
  5666. iNdEx = postIndex
  5667. case 2:
  5668. if wireType != 2 {
  5669. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  5670. }
  5671. var stringLen uint64
  5672. for shift := uint(0); ; shift += 7 {
  5673. if shift >= 64 {
  5674. return ErrIntOverflowWallet
  5675. }
  5676. if iNdEx >= l {
  5677. return io.ErrUnexpectedEOF
  5678. }
  5679. b := dAtA[iNdEx]
  5680. iNdEx++
  5681. stringLen |= (uint64(b) & 0x7F) << shift
  5682. if b < 0x80 {
  5683. break
  5684. }
  5685. }
  5686. intStringLen := int(stringLen)
  5687. if intStringLen < 0 {
  5688. return ErrInvalidLengthWallet
  5689. }
  5690. postIndex := iNdEx + intStringLen
  5691. if postIndex > l {
  5692. return io.ErrUnexpectedEOF
  5693. }
  5694. m.Silver = string(dAtA[iNdEx:postIndex])
  5695. iNdEx = postIndex
  5696. case 3:
  5697. if wireType != 2 {
  5698. return fmt.Errorf("proto: wrong wireType = %d for field Metal", wireType)
  5699. }
  5700. var stringLen uint64
  5701. for shift := uint(0); ; shift += 7 {
  5702. if shift >= 64 {
  5703. return ErrIntOverflowWallet
  5704. }
  5705. if iNdEx >= l {
  5706. return io.ErrUnexpectedEOF
  5707. }
  5708. b := dAtA[iNdEx]
  5709. iNdEx++
  5710. stringLen |= (uint64(b) & 0x7F) << shift
  5711. if b < 0x80 {
  5712. break
  5713. }
  5714. }
  5715. intStringLen := int(stringLen)
  5716. if intStringLen < 0 {
  5717. return ErrInvalidLengthWallet
  5718. }
  5719. postIndex := iNdEx + intStringLen
  5720. if postIndex > l {
  5721. return io.ErrUnexpectedEOF
  5722. }
  5723. m.Metal = string(dAtA[iNdEx:postIndex])
  5724. iNdEx = postIndex
  5725. default:
  5726. iNdEx = preIndex
  5727. skippy, err := skipWallet(dAtA[iNdEx:])
  5728. if err != nil {
  5729. return err
  5730. }
  5731. if skippy < 0 {
  5732. return ErrInvalidLengthWallet
  5733. }
  5734. if (iNdEx + skippy) > l {
  5735. return io.ErrUnexpectedEOF
  5736. }
  5737. iNdEx += skippy
  5738. }
  5739. }
  5740. if iNdEx > l {
  5741. return io.ErrUnexpectedEOF
  5742. }
  5743. return nil
  5744. }
  5745. func (m *DetailResp) Unmarshal(dAtA []byte) error {
  5746. l := len(dAtA)
  5747. iNdEx := 0
  5748. for iNdEx < l {
  5749. preIndex := iNdEx
  5750. var wire uint64
  5751. for shift := uint(0); ; shift += 7 {
  5752. if shift >= 64 {
  5753. return ErrIntOverflowWallet
  5754. }
  5755. if iNdEx >= l {
  5756. return io.ErrUnexpectedEOF
  5757. }
  5758. b := dAtA[iNdEx]
  5759. iNdEx++
  5760. wire |= (uint64(b) & 0x7F) << shift
  5761. if b < 0x80 {
  5762. break
  5763. }
  5764. }
  5765. fieldNum := int32(wire >> 3)
  5766. wireType := int(wire & 0x7)
  5767. if wireType == 4 {
  5768. return fmt.Errorf("proto: DetailResp: wiretype end group for non-group")
  5769. }
  5770. if fieldNum <= 0 {
  5771. return fmt.Errorf("proto: DetailResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5772. }
  5773. switch fieldNum {
  5774. case 1:
  5775. if wireType != 2 {
  5776. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  5777. }
  5778. var stringLen uint64
  5779. for shift := uint(0); ; shift += 7 {
  5780. if shift >= 64 {
  5781. return ErrIntOverflowWallet
  5782. }
  5783. if iNdEx >= l {
  5784. return io.ErrUnexpectedEOF
  5785. }
  5786. b := dAtA[iNdEx]
  5787. iNdEx++
  5788. stringLen |= (uint64(b) & 0x7F) << shift
  5789. if b < 0x80 {
  5790. break
  5791. }
  5792. }
  5793. intStringLen := int(stringLen)
  5794. if intStringLen < 0 {
  5795. return ErrInvalidLengthWallet
  5796. }
  5797. postIndex := iNdEx + intStringLen
  5798. if postIndex > l {
  5799. return io.ErrUnexpectedEOF
  5800. }
  5801. m.Gold = string(dAtA[iNdEx:postIndex])
  5802. iNdEx = postIndex
  5803. case 2:
  5804. if wireType != 2 {
  5805. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  5806. }
  5807. var stringLen uint64
  5808. for shift := uint(0); ; shift += 7 {
  5809. if shift >= 64 {
  5810. return ErrIntOverflowWallet
  5811. }
  5812. if iNdEx >= l {
  5813. return io.ErrUnexpectedEOF
  5814. }
  5815. b := dAtA[iNdEx]
  5816. iNdEx++
  5817. stringLen |= (uint64(b) & 0x7F) << shift
  5818. if b < 0x80 {
  5819. break
  5820. }
  5821. }
  5822. intStringLen := int(stringLen)
  5823. if intStringLen < 0 {
  5824. return ErrInvalidLengthWallet
  5825. }
  5826. postIndex := iNdEx + intStringLen
  5827. if postIndex > l {
  5828. return io.ErrUnexpectedEOF
  5829. }
  5830. m.Silver = string(dAtA[iNdEx:postIndex])
  5831. iNdEx = postIndex
  5832. case 5:
  5833. if wireType != 2 {
  5834. return fmt.Errorf("proto: wrong wireType = %d for field GoldRechargeCnt", wireType)
  5835. }
  5836. var stringLen uint64
  5837. for shift := uint(0); ; shift += 7 {
  5838. if shift >= 64 {
  5839. return ErrIntOverflowWallet
  5840. }
  5841. if iNdEx >= l {
  5842. return io.ErrUnexpectedEOF
  5843. }
  5844. b := dAtA[iNdEx]
  5845. iNdEx++
  5846. stringLen |= (uint64(b) & 0x7F) << shift
  5847. if b < 0x80 {
  5848. break
  5849. }
  5850. }
  5851. intStringLen := int(stringLen)
  5852. if intStringLen < 0 {
  5853. return ErrInvalidLengthWallet
  5854. }
  5855. postIndex := iNdEx + intStringLen
  5856. if postIndex > l {
  5857. return io.ErrUnexpectedEOF
  5858. }
  5859. m.GoldRechargeCnt = string(dAtA[iNdEx:postIndex])
  5860. iNdEx = postIndex
  5861. case 6:
  5862. if wireType != 2 {
  5863. return fmt.Errorf("proto: wrong wireType = %d for field GoldPayCnt", wireType)
  5864. }
  5865. var stringLen uint64
  5866. for shift := uint(0); ; shift += 7 {
  5867. if shift >= 64 {
  5868. return ErrIntOverflowWallet
  5869. }
  5870. if iNdEx >= l {
  5871. return io.ErrUnexpectedEOF
  5872. }
  5873. b := dAtA[iNdEx]
  5874. iNdEx++
  5875. stringLen |= (uint64(b) & 0x7F) << shift
  5876. if b < 0x80 {
  5877. break
  5878. }
  5879. }
  5880. intStringLen := int(stringLen)
  5881. if intStringLen < 0 {
  5882. return ErrInvalidLengthWallet
  5883. }
  5884. postIndex := iNdEx + intStringLen
  5885. if postIndex > l {
  5886. return io.ErrUnexpectedEOF
  5887. }
  5888. m.GoldPayCnt = string(dAtA[iNdEx:postIndex])
  5889. iNdEx = postIndex
  5890. case 7:
  5891. if wireType != 2 {
  5892. return fmt.Errorf("proto: wrong wireType = %d for field SilverPayCnt", wireType)
  5893. }
  5894. var stringLen uint64
  5895. for shift := uint(0); ; shift += 7 {
  5896. if shift >= 64 {
  5897. return ErrIntOverflowWallet
  5898. }
  5899. if iNdEx >= l {
  5900. return io.ErrUnexpectedEOF
  5901. }
  5902. b := dAtA[iNdEx]
  5903. iNdEx++
  5904. stringLen |= (uint64(b) & 0x7F) << shift
  5905. if b < 0x80 {
  5906. break
  5907. }
  5908. }
  5909. intStringLen := int(stringLen)
  5910. if intStringLen < 0 {
  5911. return ErrInvalidLengthWallet
  5912. }
  5913. postIndex := iNdEx + intStringLen
  5914. if postIndex > l {
  5915. return io.ErrUnexpectedEOF
  5916. }
  5917. m.SilverPayCnt = string(dAtA[iNdEx:postIndex])
  5918. iNdEx = postIndex
  5919. case 8:
  5920. if wireType != 0 {
  5921. return fmt.Errorf("proto: wrong wireType = %d for field CostBase", wireType)
  5922. }
  5923. m.CostBase = 0
  5924. for shift := uint(0); ; shift += 7 {
  5925. if shift >= 64 {
  5926. return ErrIntOverflowWallet
  5927. }
  5928. if iNdEx >= l {
  5929. return io.ErrUnexpectedEOF
  5930. }
  5931. b := dAtA[iNdEx]
  5932. iNdEx++
  5933. m.CostBase |= (int64(b) & 0x7F) << shift
  5934. if b < 0x80 {
  5935. break
  5936. }
  5937. }
  5938. default:
  5939. iNdEx = preIndex
  5940. skippy, err := skipWallet(dAtA[iNdEx:])
  5941. if err != nil {
  5942. return err
  5943. }
  5944. if skippy < 0 {
  5945. return ErrInvalidLengthWallet
  5946. }
  5947. if (iNdEx + skippy) > l {
  5948. return io.ErrUnexpectedEOF
  5949. }
  5950. iNdEx += skippy
  5951. }
  5952. }
  5953. if iNdEx > l {
  5954. return io.ErrUnexpectedEOF
  5955. }
  5956. return nil
  5957. }
  5958. func (m *DetailWithMetalResp) Unmarshal(dAtA []byte) error {
  5959. l := len(dAtA)
  5960. iNdEx := 0
  5961. for iNdEx < l {
  5962. preIndex := iNdEx
  5963. var wire uint64
  5964. for shift := uint(0); ; shift += 7 {
  5965. if shift >= 64 {
  5966. return ErrIntOverflowWallet
  5967. }
  5968. if iNdEx >= l {
  5969. return io.ErrUnexpectedEOF
  5970. }
  5971. b := dAtA[iNdEx]
  5972. iNdEx++
  5973. wire |= (uint64(b) & 0x7F) << shift
  5974. if b < 0x80 {
  5975. break
  5976. }
  5977. }
  5978. fieldNum := int32(wire >> 3)
  5979. wireType := int(wire & 0x7)
  5980. if wireType == 4 {
  5981. return fmt.Errorf("proto: DetailWithMetalResp: wiretype end group for non-group")
  5982. }
  5983. if fieldNum <= 0 {
  5984. return fmt.Errorf("proto: DetailWithMetalResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5985. }
  5986. switch fieldNum {
  5987. case 1:
  5988. if wireType != 2 {
  5989. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  5990. }
  5991. var stringLen uint64
  5992. for shift := uint(0); ; shift += 7 {
  5993. if shift >= 64 {
  5994. return ErrIntOverflowWallet
  5995. }
  5996. if iNdEx >= l {
  5997. return io.ErrUnexpectedEOF
  5998. }
  5999. b := dAtA[iNdEx]
  6000. iNdEx++
  6001. stringLen |= (uint64(b) & 0x7F) << shift
  6002. if b < 0x80 {
  6003. break
  6004. }
  6005. }
  6006. intStringLen := int(stringLen)
  6007. if intStringLen < 0 {
  6008. return ErrInvalidLengthWallet
  6009. }
  6010. postIndex := iNdEx + intStringLen
  6011. if postIndex > l {
  6012. return io.ErrUnexpectedEOF
  6013. }
  6014. m.Gold = string(dAtA[iNdEx:postIndex])
  6015. iNdEx = postIndex
  6016. case 2:
  6017. if wireType != 2 {
  6018. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  6019. }
  6020. var stringLen uint64
  6021. for shift := uint(0); ; shift += 7 {
  6022. if shift >= 64 {
  6023. return ErrIntOverflowWallet
  6024. }
  6025. if iNdEx >= l {
  6026. return io.ErrUnexpectedEOF
  6027. }
  6028. b := dAtA[iNdEx]
  6029. iNdEx++
  6030. stringLen |= (uint64(b) & 0x7F) << shift
  6031. if b < 0x80 {
  6032. break
  6033. }
  6034. }
  6035. intStringLen := int(stringLen)
  6036. if intStringLen < 0 {
  6037. return ErrInvalidLengthWallet
  6038. }
  6039. postIndex := iNdEx + intStringLen
  6040. if postIndex > l {
  6041. return io.ErrUnexpectedEOF
  6042. }
  6043. m.Silver = string(dAtA[iNdEx:postIndex])
  6044. iNdEx = postIndex
  6045. case 5:
  6046. if wireType != 2 {
  6047. return fmt.Errorf("proto: wrong wireType = %d for field GoldRechargeCnt", wireType)
  6048. }
  6049. var stringLen uint64
  6050. for shift := uint(0); ; shift += 7 {
  6051. if shift >= 64 {
  6052. return ErrIntOverflowWallet
  6053. }
  6054. if iNdEx >= l {
  6055. return io.ErrUnexpectedEOF
  6056. }
  6057. b := dAtA[iNdEx]
  6058. iNdEx++
  6059. stringLen |= (uint64(b) & 0x7F) << shift
  6060. if b < 0x80 {
  6061. break
  6062. }
  6063. }
  6064. intStringLen := int(stringLen)
  6065. if intStringLen < 0 {
  6066. return ErrInvalidLengthWallet
  6067. }
  6068. postIndex := iNdEx + intStringLen
  6069. if postIndex > l {
  6070. return io.ErrUnexpectedEOF
  6071. }
  6072. m.GoldRechargeCnt = string(dAtA[iNdEx:postIndex])
  6073. iNdEx = postIndex
  6074. case 6:
  6075. if wireType != 2 {
  6076. return fmt.Errorf("proto: wrong wireType = %d for field GoldPayCnt", wireType)
  6077. }
  6078. var stringLen uint64
  6079. for shift := uint(0); ; shift += 7 {
  6080. if shift >= 64 {
  6081. return ErrIntOverflowWallet
  6082. }
  6083. if iNdEx >= l {
  6084. return io.ErrUnexpectedEOF
  6085. }
  6086. b := dAtA[iNdEx]
  6087. iNdEx++
  6088. stringLen |= (uint64(b) & 0x7F) << shift
  6089. if b < 0x80 {
  6090. break
  6091. }
  6092. }
  6093. intStringLen := int(stringLen)
  6094. if intStringLen < 0 {
  6095. return ErrInvalidLengthWallet
  6096. }
  6097. postIndex := iNdEx + intStringLen
  6098. if postIndex > l {
  6099. return io.ErrUnexpectedEOF
  6100. }
  6101. m.GoldPayCnt = string(dAtA[iNdEx:postIndex])
  6102. iNdEx = postIndex
  6103. case 7:
  6104. if wireType != 2 {
  6105. return fmt.Errorf("proto: wrong wireType = %d for field SilverPayCnt", wireType)
  6106. }
  6107. var stringLen uint64
  6108. for shift := uint(0); ; shift += 7 {
  6109. if shift >= 64 {
  6110. return ErrIntOverflowWallet
  6111. }
  6112. if iNdEx >= l {
  6113. return io.ErrUnexpectedEOF
  6114. }
  6115. b := dAtA[iNdEx]
  6116. iNdEx++
  6117. stringLen |= (uint64(b) & 0x7F) << shift
  6118. if b < 0x80 {
  6119. break
  6120. }
  6121. }
  6122. intStringLen := int(stringLen)
  6123. if intStringLen < 0 {
  6124. return ErrInvalidLengthWallet
  6125. }
  6126. postIndex := iNdEx + intStringLen
  6127. if postIndex > l {
  6128. return io.ErrUnexpectedEOF
  6129. }
  6130. m.SilverPayCnt = string(dAtA[iNdEx:postIndex])
  6131. iNdEx = postIndex
  6132. case 8:
  6133. if wireType != 2 {
  6134. return fmt.Errorf("proto: wrong wireType = %d for field Metal", wireType)
  6135. }
  6136. var stringLen uint64
  6137. for shift := uint(0); ; shift += 7 {
  6138. if shift >= 64 {
  6139. return ErrIntOverflowWallet
  6140. }
  6141. if iNdEx >= l {
  6142. return io.ErrUnexpectedEOF
  6143. }
  6144. b := dAtA[iNdEx]
  6145. iNdEx++
  6146. stringLen |= (uint64(b) & 0x7F) << shift
  6147. if b < 0x80 {
  6148. break
  6149. }
  6150. }
  6151. intStringLen := int(stringLen)
  6152. if intStringLen < 0 {
  6153. return ErrInvalidLengthWallet
  6154. }
  6155. postIndex := iNdEx + intStringLen
  6156. if postIndex > l {
  6157. return io.ErrUnexpectedEOF
  6158. }
  6159. m.Metal = string(dAtA[iNdEx:postIndex])
  6160. iNdEx = postIndex
  6161. case 9:
  6162. if wireType != 0 {
  6163. return fmt.Errorf("proto: wrong wireType = %d for field CostBase", wireType)
  6164. }
  6165. m.CostBase = 0
  6166. for shift := uint(0); ; shift += 7 {
  6167. if shift >= 64 {
  6168. return ErrIntOverflowWallet
  6169. }
  6170. if iNdEx >= l {
  6171. return io.ErrUnexpectedEOF
  6172. }
  6173. b := dAtA[iNdEx]
  6174. iNdEx++
  6175. m.CostBase |= (int64(b) & 0x7F) << shift
  6176. if b < 0x80 {
  6177. break
  6178. }
  6179. }
  6180. default:
  6181. iNdEx = preIndex
  6182. skippy, err := skipWallet(dAtA[iNdEx:])
  6183. if err != nil {
  6184. return err
  6185. }
  6186. if skippy < 0 {
  6187. return ErrInvalidLengthWallet
  6188. }
  6189. if (iNdEx + skippy) > l {
  6190. return io.ErrUnexpectedEOF
  6191. }
  6192. iNdEx += skippy
  6193. }
  6194. }
  6195. if iNdEx > l {
  6196. return io.ErrUnexpectedEOF
  6197. }
  6198. return nil
  6199. }
  6200. func (m *TidResp) Unmarshal(dAtA []byte) error {
  6201. l := len(dAtA)
  6202. iNdEx := 0
  6203. for iNdEx < l {
  6204. preIndex := iNdEx
  6205. var wire uint64
  6206. for shift := uint(0); ; shift += 7 {
  6207. if shift >= 64 {
  6208. return ErrIntOverflowWallet
  6209. }
  6210. if iNdEx >= l {
  6211. return io.ErrUnexpectedEOF
  6212. }
  6213. b := dAtA[iNdEx]
  6214. iNdEx++
  6215. wire |= (uint64(b) & 0x7F) << shift
  6216. if b < 0x80 {
  6217. break
  6218. }
  6219. }
  6220. fieldNum := int32(wire >> 3)
  6221. wireType := int(wire & 0x7)
  6222. if wireType == 4 {
  6223. return fmt.Errorf("proto: TidResp: wiretype end group for non-group")
  6224. }
  6225. if fieldNum <= 0 {
  6226. return fmt.Errorf("proto: TidResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6227. }
  6228. switch fieldNum {
  6229. case 1:
  6230. if wireType != 2 {
  6231. return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType)
  6232. }
  6233. var stringLen uint64
  6234. for shift := uint(0); ; shift += 7 {
  6235. if shift >= 64 {
  6236. return ErrIntOverflowWallet
  6237. }
  6238. if iNdEx >= l {
  6239. return io.ErrUnexpectedEOF
  6240. }
  6241. b := dAtA[iNdEx]
  6242. iNdEx++
  6243. stringLen |= (uint64(b) & 0x7F) << shift
  6244. if b < 0x80 {
  6245. break
  6246. }
  6247. }
  6248. intStringLen := int(stringLen)
  6249. if intStringLen < 0 {
  6250. return ErrInvalidLengthWallet
  6251. }
  6252. postIndex := iNdEx + intStringLen
  6253. if postIndex > l {
  6254. return io.ErrUnexpectedEOF
  6255. }
  6256. m.TransactionId = string(dAtA[iNdEx:postIndex])
  6257. iNdEx = postIndex
  6258. default:
  6259. iNdEx = preIndex
  6260. skippy, err := skipWallet(dAtA[iNdEx:])
  6261. if err != nil {
  6262. return err
  6263. }
  6264. if skippy < 0 {
  6265. return ErrInvalidLengthWallet
  6266. }
  6267. if (iNdEx + skippy) > l {
  6268. return io.ErrUnexpectedEOF
  6269. }
  6270. iNdEx += skippy
  6271. }
  6272. }
  6273. if iNdEx > l {
  6274. return io.ErrUnexpectedEOF
  6275. }
  6276. return nil
  6277. }
  6278. func (m *QueryResp) Unmarshal(dAtA []byte) error {
  6279. l := len(dAtA)
  6280. iNdEx := 0
  6281. for iNdEx < l {
  6282. preIndex := iNdEx
  6283. var wire uint64
  6284. for shift := uint(0); ; shift += 7 {
  6285. if shift >= 64 {
  6286. return ErrIntOverflowWallet
  6287. }
  6288. if iNdEx >= l {
  6289. return io.ErrUnexpectedEOF
  6290. }
  6291. b := dAtA[iNdEx]
  6292. iNdEx++
  6293. wire |= (uint64(b) & 0x7F) << shift
  6294. if b < 0x80 {
  6295. break
  6296. }
  6297. }
  6298. fieldNum := int32(wire >> 3)
  6299. wireType := int(wire & 0x7)
  6300. if wireType == 4 {
  6301. return fmt.Errorf("proto: QueryResp: wiretype end group for non-group")
  6302. }
  6303. if fieldNum <= 0 {
  6304. return fmt.Errorf("proto: QueryResp: illegal tag %d (wire type %d)", fieldNum, wire)
  6305. }
  6306. switch fieldNum {
  6307. case 1:
  6308. if wireType != 0 {
  6309. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6310. }
  6311. m.Status = 0
  6312. for shift := uint(0); ; shift += 7 {
  6313. if shift >= 64 {
  6314. return ErrIntOverflowWallet
  6315. }
  6316. if iNdEx >= l {
  6317. return io.ErrUnexpectedEOF
  6318. }
  6319. b := dAtA[iNdEx]
  6320. iNdEx++
  6321. m.Status |= (int32(b) & 0x7F) << shift
  6322. if b < 0x80 {
  6323. break
  6324. }
  6325. }
  6326. default:
  6327. iNdEx = preIndex
  6328. skippy, err := skipWallet(dAtA[iNdEx:])
  6329. if err != nil {
  6330. return err
  6331. }
  6332. if skippy < 0 {
  6333. return ErrInvalidLengthWallet
  6334. }
  6335. if (iNdEx + skippy) > l {
  6336. return io.ErrUnexpectedEOF
  6337. }
  6338. iNdEx += skippy
  6339. }
  6340. }
  6341. if iNdEx > l {
  6342. return io.ErrUnexpectedEOF
  6343. }
  6344. return nil
  6345. }
  6346. func (m *MetalData) Unmarshal(dAtA []byte) error {
  6347. l := len(dAtA)
  6348. iNdEx := 0
  6349. for iNdEx < l {
  6350. preIndex := iNdEx
  6351. var wire uint64
  6352. for shift := uint(0); ; shift += 7 {
  6353. if shift >= 64 {
  6354. return ErrIntOverflowWallet
  6355. }
  6356. if iNdEx >= l {
  6357. return io.ErrUnexpectedEOF
  6358. }
  6359. b := dAtA[iNdEx]
  6360. iNdEx++
  6361. wire |= (uint64(b) & 0x7F) << shift
  6362. if b < 0x80 {
  6363. break
  6364. }
  6365. }
  6366. fieldNum := int32(wire >> 3)
  6367. wireType := int(wire & 0x7)
  6368. if wireType == 4 {
  6369. return fmt.Errorf("proto: MetalData: wiretype end group for non-group")
  6370. }
  6371. if fieldNum <= 0 {
  6372. return fmt.Errorf("proto: MetalData: illegal tag %d (wire type %d)", fieldNum, wire)
  6373. }
  6374. switch fieldNum {
  6375. case 1:
  6376. if wireType != 1 {
  6377. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  6378. }
  6379. var v uint64
  6380. if (iNdEx + 8) > l {
  6381. return io.ErrUnexpectedEOF
  6382. }
  6383. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  6384. iNdEx += 8
  6385. m.Count = float64(math.Float64frombits(v))
  6386. default:
  6387. iNdEx = preIndex
  6388. skippy, err := skipWallet(dAtA[iNdEx:])
  6389. if err != nil {
  6390. return err
  6391. }
  6392. if skippy < 0 {
  6393. return ErrInvalidLengthWallet
  6394. }
  6395. if (iNdEx + skippy) > l {
  6396. return io.ErrUnexpectedEOF
  6397. }
  6398. iNdEx += skippy
  6399. }
  6400. }
  6401. if iNdEx > l {
  6402. return io.ErrUnexpectedEOF
  6403. }
  6404. return nil
  6405. }
  6406. func (m *WalletChangeMsg) Unmarshal(dAtA []byte) error {
  6407. l := len(dAtA)
  6408. iNdEx := 0
  6409. for iNdEx < l {
  6410. preIndex := iNdEx
  6411. var wire uint64
  6412. for shift := uint(0); ; shift += 7 {
  6413. if shift >= 64 {
  6414. return ErrIntOverflowWallet
  6415. }
  6416. if iNdEx >= l {
  6417. return io.ErrUnexpectedEOF
  6418. }
  6419. b := dAtA[iNdEx]
  6420. iNdEx++
  6421. wire |= (uint64(b) & 0x7F) << shift
  6422. if b < 0x80 {
  6423. break
  6424. }
  6425. }
  6426. fieldNum := int32(wire >> 3)
  6427. wireType := int(wire & 0x7)
  6428. if wireType == 4 {
  6429. return fmt.Errorf("proto: WalletChangeMsg: wiretype end group for non-group")
  6430. }
  6431. if fieldNum <= 0 {
  6432. return fmt.Errorf("proto: WalletChangeMsg: illegal tag %d (wire type %d)", fieldNum, wire)
  6433. }
  6434. switch fieldNum {
  6435. case 1:
  6436. if wireType != 2 {
  6437. return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  6438. }
  6439. var stringLen uint64
  6440. for shift := uint(0); ; shift += 7 {
  6441. if shift >= 64 {
  6442. return ErrIntOverflowWallet
  6443. }
  6444. if iNdEx >= l {
  6445. return io.ErrUnexpectedEOF
  6446. }
  6447. b := dAtA[iNdEx]
  6448. iNdEx++
  6449. stringLen |= (uint64(b) & 0x7F) << shift
  6450. if b < 0x80 {
  6451. break
  6452. }
  6453. }
  6454. intStringLen := int(stringLen)
  6455. if intStringLen < 0 {
  6456. return ErrInvalidLengthWallet
  6457. }
  6458. postIndex := iNdEx + intStringLen
  6459. if postIndex > l {
  6460. return io.ErrUnexpectedEOF
  6461. }
  6462. m.Action = string(dAtA[iNdEx:postIndex])
  6463. iNdEx = postIndex
  6464. case 2:
  6465. if wireType != 0 {
  6466. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  6467. }
  6468. m.Uid = 0
  6469. for shift := uint(0); ; shift += 7 {
  6470. if shift >= 64 {
  6471. return ErrIntOverflowWallet
  6472. }
  6473. if iNdEx >= l {
  6474. return io.ErrUnexpectedEOF
  6475. }
  6476. b := dAtA[iNdEx]
  6477. iNdEx++
  6478. m.Uid |= (int64(b) & 0x7F) << shift
  6479. if b < 0x80 {
  6480. break
  6481. }
  6482. }
  6483. case 3:
  6484. if wireType != 2 {
  6485. return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
  6486. }
  6487. var stringLen uint64
  6488. for shift := uint(0); ; shift += 7 {
  6489. if shift >= 64 {
  6490. return ErrIntOverflowWallet
  6491. }
  6492. if iNdEx >= l {
  6493. return io.ErrUnexpectedEOF
  6494. }
  6495. b := dAtA[iNdEx]
  6496. iNdEx++
  6497. stringLen |= (uint64(b) & 0x7F) << shift
  6498. if b < 0x80 {
  6499. break
  6500. }
  6501. }
  6502. intStringLen := int(stringLen)
  6503. if intStringLen < 0 {
  6504. return ErrInvalidLengthWallet
  6505. }
  6506. postIndex := iNdEx + intStringLen
  6507. if postIndex > l {
  6508. return io.ErrUnexpectedEOF
  6509. }
  6510. m.CoinType = string(dAtA[iNdEx:postIndex])
  6511. iNdEx = postIndex
  6512. case 4:
  6513. if wireType != 2 {
  6514. return fmt.Errorf("proto: wrong wireType = %d for field Platfrom", wireType)
  6515. }
  6516. var stringLen uint64
  6517. for shift := uint(0); ; shift += 7 {
  6518. if shift >= 64 {
  6519. return ErrIntOverflowWallet
  6520. }
  6521. if iNdEx >= l {
  6522. return io.ErrUnexpectedEOF
  6523. }
  6524. b := dAtA[iNdEx]
  6525. iNdEx++
  6526. stringLen |= (uint64(b) & 0x7F) << shift
  6527. if b < 0x80 {
  6528. break
  6529. }
  6530. }
  6531. intStringLen := int(stringLen)
  6532. if intStringLen < 0 {
  6533. return ErrInvalidLengthWallet
  6534. }
  6535. postIndex := iNdEx + intStringLen
  6536. if postIndex > l {
  6537. return io.ErrUnexpectedEOF
  6538. }
  6539. m.Platfrom = string(dAtA[iNdEx:postIndex])
  6540. iNdEx = postIndex
  6541. case 5:
  6542. if wireType != 0 {
  6543. return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType)
  6544. }
  6545. m.Number = 0
  6546. for shift := uint(0); ; shift += 7 {
  6547. if shift >= 64 {
  6548. return ErrIntOverflowWallet
  6549. }
  6550. if iNdEx >= l {
  6551. return io.ErrUnexpectedEOF
  6552. }
  6553. b := dAtA[iNdEx]
  6554. iNdEx++
  6555. m.Number |= (int64(b) & 0x7F) << shift
  6556. if b < 0x80 {
  6557. break
  6558. }
  6559. }
  6560. case 6:
  6561. if wireType != 0 {
  6562. return fmt.Errorf("proto: wrong wireType = %d for field Gold", wireType)
  6563. }
  6564. m.Gold = 0
  6565. for shift := uint(0); ; shift += 7 {
  6566. if shift >= 64 {
  6567. return ErrIntOverflowWallet
  6568. }
  6569. if iNdEx >= l {
  6570. return io.ErrUnexpectedEOF
  6571. }
  6572. b := dAtA[iNdEx]
  6573. iNdEx++
  6574. m.Gold |= (int64(b) & 0x7F) << shift
  6575. if b < 0x80 {
  6576. break
  6577. }
  6578. }
  6579. case 7:
  6580. if wireType != 0 {
  6581. return fmt.Errorf("proto: wrong wireType = %d for field Silver", wireType)
  6582. }
  6583. m.Silver = 0
  6584. for shift := uint(0); ; shift += 7 {
  6585. if shift >= 64 {
  6586. return ErrIntOverflowWallet
  6587. }
  6588. if iNdEx >= l {
  6589. return io.ErrUnexpectedEOF
  6590. }
  6591. b := dAtA[iNdEx]
  6592. iNdEx++
  6593. m.Silver |= (int64(b) & 0x7F) << shift
  6594. if b < 0x80 {
  6595. break
  6596. }
  6597. }
  6598. case 8:
  6599. if wireType != 0 {
  6600. return fmt.Errorf("proto: wrong wireType = %d for field GoldRechargeCnt", wireType)
  6601. }
  6602. m.GoldRechargeCnt = 0
  6603. for shift := uint(0); ; shift += 7 {
  6604. if shift >= 64 {
  6605. return ErrIntOverflowWallet
  6606. }
  6607. if iNdEx >= l {
  6608. return io.ErrUnexpectedEOF
  6609. }
  6610. b := dAtA[iNdEx]
  6611. iNdEx++
  6612. m.GoldRechargeCnt |= (int64(b) & 0x7F) << shift
  6613. if b < 0x80 {
  6614. break
  6615. }
  6616. }
  6617. case 9:
  6618. if wireType != 0 {
  6619. return fmt.Errorf("proto: wrong wireType = %d for field GoldPayCnt", wireType)
  6620. }
  6621. m.GoldPayCnt = 0
  6622. for shift := uint(0); ; shift += 7 {
  6623. if shift >= 64 {
  6624. return ErrIntOverflowWallet
  6625. }
  6626. if iNdEx >= l {
  6627. return io.ErrUnexpectedEOF
  6628. }
  6629. b := dAtA[iNdEx]
  6630. iNdEx++
  6631. m.GoldPayCnt |= (int64(b) & 0x7F) << shift
  6632. if b < 0x80 {
  6633. break
  6634. }
  6635. }
  6636. case 10:
  6637. if wireType != 0 {
  6638. return fmt.Errorf("proto: wrong wireType = %d for field SilverPayCnt", wireType)
  6639. }
  6640. m.SilverPayCnt = 0
  6641. for shift := uint(0); ; shift += 7 {
  6642. if shift >= 64 {
  6643. return ErrIntOverflowWallet
  6644. }
  6645. if iNdEx >= l {
  6646. return io.ErrUnexpectedEOF
  6647. }
  6648. b := dAtA[iNdEx]
  6649. iNdEx++
  6650. m.SilverPayCnt |= (int64(b) & 0x7F) << shift
  6651. if b < 0x80 {
  6652. break
  6653. }
  6654. }
  6655. case 11:
  6656. if wireType != 2 {
  6657. return fmt.Errorf("proto: wrong wireType = %d for field DestCoinType", wireType)
  6658. }
  6659. var stringLen uint64
  6660. for shift := uint(0); ; shift += 7 {
  6661. if shift >= 64 {
  6662. return ErrIntOverflowWallet
  6663. }
  6664. if iNdEx >= l {
  6665. return io.ErrUnexpectedEOF
  6666. }
  6667. b := dAtA[iNdEx]
  6668. iNdEx++
  6669. stringLen |= (uint64(b) & 0x7F) << shift
  6670. if b < 0x80 {
  6671. break
  6672. }
  6673. }
  6674. intStringLen := int(stringLen)
  6675. if intStringLen < 0 {
  6676. return ErrInvalidLengthWallet
  6677. }
  6678. postIndex := iNdEx + intStringLen
  6679. if postIndex > l {
  6680. return io.ErrUnexpectedEOF
  6681. }
  6682. m.DestCoinType = string(dAtA[iNdEx:postIndex])
  6683. iNdEx = postIndex
  6684. case 12:
  6685. if wireType != 0 {
  6686. return fmt.Errorf("proto: wrong wireType = %d for field DestNumber", wireType)
  6687. }
  6688. m.DestNumber = 0
  6689. for shift := uint(0); ; shift += 7 {
  6690. if shift >= 64 {
  6691. return ErrIntOverflowWallet
  6692. }
  6693. if iNdEx >= l {
  6694. return io.ErrUnexpectedEOF
  6695. }
  6696. b := dAtA[iNdEx]
  6697. iNdEx++
  6698. m.DestNumber |= (int64(b) & 0x7F) << shift
  6699. if b < 0x80 {
  6700. break
  6701. }
  6702. }
  6703. case 13:
  6704. if wireType != 0 {
  6705. return fmt.Errorf("proto: wrong wireType = %d for field CostBase", wireType)
  6706. }
  6707. m.CostBase = 0
  6708. for shift := uint(0); ; shift += 7 {
  6709. if shift >= 64 {
  6710. return ErrIntOverflowWallet
  6711. }
  6712. if iNdEx >= l {
  6713. return io.ErrUnexpectedEOF
  6714. }
  6715. b := dAtA[iNdEx]
  6716. iNdEx++
  6717. m.CostBase |= (int64(b) & 0x7F) << shift
  6718. if b < 0x80 {
  6719. break
  6720. }
  6721. }
  6722. default:
  6723. iNdEx = preIndex
  6724. skippy, err := skipWallet(dAtA[iNdEx:])
  6725. if err != nil {
  6726. return err
  6727. }
  6728. if skippy < 0 {
  6729. return ErrInvalidLengthWallet
  6730. }
  6731. if (iNdEx + skippy) > l {
  6732. return io.ErrUnexpectedEOF
  6733. }
  6734. iNdEx += skippy
  6735. }
  6736. }
  6737. if iNdEx > l {
  6738. return io.ErrUnexpectedEOF
  6739. }
  6740. return nil
  6741. }
  6742. func skipWallet(dAtA []byte) (n int, err error) {
  6743. l := len(dAtA)
  6744. iNdEx := 0
  6745. for iNdEx < l {
  6746. var wire uint64
  6747. for shift := uint(0); ; shift += 7 {
  6748. if shift >= 64 {
  6749. return 0, ErrIntOverflowWallet
  6750. }
  6751. if iNdEx >= l {
  6752. return 0, io.ErrUnexpectedEOF
  6753. }
  6754. b := dAtA[iNdEx]
  6755. iNdEx++
  6756. wire |= (uint64(b) & 0x7F) << shift
  6757. if b < 0x80 {
  6758. break
  6759. }
  6760. }
  6761. wireType := int(wire & 0x7)
  6762. switch wireType {
  6763. case 0:
  6764. for shift := uint(0); ; shift += 7 {
  6765. if shift >= 64 {
  6766. return 0, ErrIntOverflowWallet
  6767. }
  6768. if iNdEx >= l {
  6769. return 0, io.ErrUnexpectedEOF
  6770. }
  6771. iNdEx++
  6772. if dAtA[iNdEx-1] < 0x80 {
  6773. break
  6774. }
  6775. }
  6776. return iNdEx, nil
  6777. case 1:
  6778. iNdEx += 8
  6779. return iNdEx, nil
  6780. case 2:
  6781. var length int
  6782. for shift := uint(0); ; shift += 7 {
  6783. if shift >= 64 {
  6784. return 0, ErrIntOverflowWallet
  6785. }
  6786. if iNdEx >= l {
  6787. return 0, io.ErrUnexpectedEOF
  6788. }
  6789. b := dAtA[iNdEx]
  6790. iNdEx++
  6791. length |= (int(b) & 0x7F) << shift
  6792. if b < 0x80 {
  6793. break
  6794. }
  6795. }
  6796. iNdEx += length
  6797. if length < 0 {
  6798. return 0, ErrInvalidLengthWallet
  6799. }
  6800. return iNdEx, nil
  6801. case 3:
  6802. for {
  6803. var innerWire uint64
  6804. var start int = iNdEx
  6805. for shift := uint(0); ; shift += 7 {
  6806. if shift >= 64 {
  6807. return 0, ErrIntOverflowWallet
  6808. }
  6809. if iNdEx >= l {
  6810. return 0, io.ErrUnexpectedEOF
  6811. }
  6812. b := dAtA[iNdEx]
  6813. iNdEx++
  6814. innerWire |= (uint64(b) & 0x7F) << shift
  6815. if b < 0x80 {
  6816. break
  6817. }
  6818. }
  6819. innerWireType := int(innerWire & 0x7)
  6820. if innerWireType == 4 {
  6821. break
  6822. }
  6823. next, err := skipWallet(dAtA[start:])
  6824. if err != nil {
  6825. return 0, err
  6826. }
  6827. iNdEx = start + next
  6828. }
  6829. return iNdEx, nil
  6830. case 4:
  6831. return iNdEx, nil
  6832. case 5:
  6833. iNdEx += 4
  6834. return iNdEx, nil
  6835. default:
  6836. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  6837. }
  6838. }
  6839. panic("unreachable")
  6840. }
  6841. var (
  6842. ErrInvalidLengthWallet = fmt.Errorf("proto: negative length found during unmarshaling")
  6843. ErrIntOverflowWallet = fmt.Errorf("proto: integer overflow")
  6844. )
  6845. func init() { proto.RegisterFile("wallet.proto", fileDescriptorWallet) }
  6846. var fileDescriptorWallet = []byte{
  6847. // 1592 bytes of a gzipped FileDescriptorProto
  6848. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcf, 0x6e, 0x1c, 0x45,
  6849. 0x13, 0xff, 0xf6, 0xff, 0x4e, 0xaf, 0xd7, 0x76, 0x26, 0xdf, 0xf7, 0x69, 0x41, 0x91, 0x27, 0x1a,
  6850. 0x44, 0x08, 0x22, 0xd8, 0xc4, 0x51, 0x10, 0x12, 0x07, 0x94, 0x75, 0x22, 0x94, 0x83, 0x63, 0xa7,
  6851. 0x6d, 0xc8, 0x71, 0xd5, 0x9e, 0xe9, 0xac, 0x47, 0x9a, 0x7f, 0xea, 0xe9, 0x0d, 0x71, 0x38, 0x73,
  6852. 0xe3, 0xc0, 0x91, 0x07, 0xe0, 0x15, 0x78, 0x07, 0xc4, 0x21, 0x42, 0x5c, 0xb8, 0x8d, 0x50, 0xc2,
  6853. 0x69, 0x1e, 0x81, 0x13, 0xea, 0xea, 0x9e, 0xe9, 0x99, 0x8d, 0xed, 0x1d, 0x3b, 0x8e, 0x04, 0x12,
  6854. 0xb7, 0x99, 0xaa, 0xea, 0xee, 0x9a, 0xea, 0x5f, 0x55, 0xfd, 0x6a, 0xd0, 0xd2, 0x57, 0xc4, 0xf7,
  6855. 0x29, 0x5f, 0x8f, 0x59, 0xc4, 0x23, 0xb3, 0x13, 0x44, 0x2e, 0xf5, 0xdf, 0xfe, 0x70, 0xea, 0xf1,
  6856. 0xc3, 0xd9, 0xc1, 0xba, 0x13, 0x05, 0x1b, 0xd3, 0x68, 0x1a, 0x6d, 0x80, 0xf6, 0x60, 0xf6, 0x18,
  6857. 0xde, 0xe0, 0x05, 0x9e, 0xe4, 0x2a, 0xfb, 0xd7, 0x36, 0x32, 0x31, 0x75, 0x0e, 0x09, 0x9b, 0xd2,
  6858. 0x1d, 0xb6, 0x4b, 0x8e, 0x76, 0x09, 0x23, 0x81, 0xf9, 0x16, 0x6a, 0x7d, 0xe1, 0xb9, 0xa3, 0xc6,
  6859. 0xd5, 0xc6, 0xf5, 0xd6, 0xb8, 0x97, 0xa5, 0x56, 0x6b, 0xe6, 0xb9, 0x58, 0xc8, 0xcc, 0xf7, 0x51,
  6860. 0x7f, 0x2b, 0xf2, 0xc2, 0xfd, 0xa3, 0x98, 0x8e, 0x9a, 0x57, 0x1b, 0xd7, 0x8d, 0xf1, 0x30, 0x4b,
  6861. 0x2d, 0xc3, 0x89, 0xbc, 0x70, 0xc2, 0x8f, 0x62, 0x8a, 0x0b, 0xb5, 0x79, 0x0d, 0xf5, 0xc4, 0xf3,
  6862. 0x83, 0x59, 0x30, 0x6a, 0xc1, 0x4e, 0x4b, 0x59, 0x6a, 0xf5, 0xc1, 0x32, 0x9c, 0x05, 0x38, 0x57,
  6863. 0x9a, 0x37, 0x90, 0x71, 0xef, 0x29, 0xa7, 0xa1, 0xbb, 0xef, 0xb9, 0xa3, 0x36, 0xec, 0xb9, 0x9c,
  6864. 0xa5, 0x16, 0xa2, 0x20, 0x9c, 0x70, 0xcf, 0xc5, 0xda, 0xc0, 0xfc, 0x00, 0x19, 0xfb, 0x5e, 0x40,
  6865. 0x13, 0x4e, 0x82, 0x78, 0xd4, 0x81, 0x7d, 0xc1, 0x03, 0x9e, 0x0b, 0xb1, 0xd6, 0x9b, 0x9f, 0xa0,
  6866. 0xe1, 0x3e, 0x23, 0x61, 0x42, 0x1c, 0xee, 0x45, 0xe1, 0x7d, 0x77, 0xd4, 0x85, 0xed, 0xcd, 0x2c,
  6867. 0xb5, 0x96, 0xb9, 0x56, 0x4c, 0x3c, 0x17, 0x57, 0x0d, 0x85, 0xf3, 0x63, 0xef, 0xd9, 0x56, 0xe4,
  6868. 0xd2, 0x51, 0x0f, 0xd6, 0x80, 0xf3, 0x07, 0xde, 0xb3, 0x89, 0x13, 0xb9, 0x14, 0xe7, 0x4a, 0xf3,
  6869. 0x0a, 0x6a, 0xdf, 0x61, 0x94, 0x8c, 0xfa, 0xe0, 0x49, 0x3f, 0x4b, 0xad, 0x36, 0x61, 0x94, 0x60,
  6870. 0x90, 0x9a, 0x36, 0xea, 0xee, 0x45, 0x33, 0xe6, 0xd0, 0x91, 0x01, 0x9b, 0xa0, 0x2c, 0xb5, 0xba,
  6871. 0x09, 0x48, 0xb0, 0xd2, 0x98, 0xd7, 0x51, 0x7f, 0x9b, 0x72, 0x72, 0x97, 0x70, 0x32, 0x42, 0xfa,
  6872. 0xa8, 0x80, 0x72, 0xe2, 0x12, 0x4e, 0x70, 0xa1, 0x15, 0x81, 0x1a, 0x7b, 0xcf, 0xd4, 0x86, 0x03,
  6873. 0x1d, 0x28, 0xe1, 0x95, 0xda, 0x54, 0x1b, 0x98, 0xd7, 0x50, 0x17, 0x53, 0x92, 0x44, 0xe1, 0x68,
  6874. 0x09, 0x7c, 0x2b, 0x4c, 0x19, 0x48, 0xb1, 0xd2, 0x9a, 0xef, 0xa2, 0xde, 0x97, 0x94, 0x25, 0x5e,
  6875. 0x14, 0x8e, 0x86, 0x60, 0x38, 0xc8, 0x52, 0xab, 0xf7, 0x44, 0x8a, 0x70, 0xae, 0x13, 0x6e, 0xee,
  6876. 0xfa, 0x84, 0x3f, 0x8e, 0x58, 0x30, 0x5a, 0xd6, 0x6e, 0xc6, 0x4a, 0x86, 0x0b, 0xad, 0xfd, 0xbc,
  6877. 0x83, 0x86, 0xf7, 0x9e, 0x3a, 0x87, 0x24, 0x9c, 0xd2, 0x85, 0x78, 0xba, 0x85, 0x06, 0x7b, 0xcc,
  6878. 0x99, 0x83, 0xd4, 0xa5, 0x2c, 0xb5, 0x86, 0x09, 0x73, 0x26, 0x1a, 0x56, 0x65, 0x2b, 0xf3, 0x23,
  6879. 0x84, 0xd4, 0xab, 0x06, 0xd7, 0x6a, 0x96, 0x5a, 0x4b, 0xc5, 0x1a, 0x01, 0xb0, 0x92, 0x8d, 0xf9,
  6880. 0x31, 0x5a, 0xba, 0x4b, 0x13, 0x5e, 0x9c, 0xd3, 0xd6, 0x38, 0x70, 0x69, 0xc2, 0x4b, 0x07, 0x55,
  6881. 0xec, 0x84, 0x7b, 0xf9, 0xbb, 0x38, 0x4a, 0xe2, 0x0d, 0xdc, 0xd3, 0xcb, 0xc4, 0x59, 0x65, 0xab,
  6882. 0x2a, 0xa0, 0xbb, 0x67, 0x02, 0x74, 0xef, 0xac, 0x80, 0xee, 0x9f, 0x03, 0xd0, 0x46, 0x1d, 0x40,
  6883. 0xa3, 0x05, 0x80, 0x1e, 0xd4, 0x02, 0xf4, 0x52, 0x7d, 0x40, 0x0f, 0xeb, 0x03, 0x7a, 0xb9, 0x2e,
  6884. 0xa0, 0x57, 0x6a, 0x02, 0x7a, 0xf5, 0x54, 0x40, 0x7f, 0xd7, 0x40, 0xc6, 0x36, 0xf5, 0xa3, 0x30,
  6885. 0xa1, 0xd4, 0x3d, 0x0d, 0xcc, 0x57, 0x50, 0xfb, 0xf3, 0xc8, 0x77, 0x01, 0xc5, 0x2a, 0x76, 0xd3,
  6886. 0xc8, 0x77, 0x31, 0x48, 0xc5, 0x0d, 0xdc, 0x27, 0x31, 0x18, 0x94, 0xea, 0xa1, 0x47, 0xe2, 0x09,
  6887. 0x18, 0xe5, 0x4a, 0x88, 0xb1, 0xe7, 0x3f, 0xa1, 0x0c, 0x50, 0xda, 0x52, 0x31, 0x06, 0x09, 0x56,
  6888. 0x1a, 0xfb, 0x65, 0x13, 0x75, 0xef, 0x52, 0x4e, 0x3c, 0xff, 0x6f, 0xe1, 0x8f, 0xf9, 0x19, 0x5a,
  6889. 0x11, 0xb6, 0x79, 0x2f, 0xd9, 0x0a, 0xb9, 0xca, 0x95, 0xff, 0x65, 0xa9, 0x75, 0x49, 0xec, 0x37,
  6890. 0x61, 0x4a, 0x37, 0x71, 0x42, 0x8e, 0xe7, 0xad, 0x45, 0x4a, 0x0b, 0xd1, 0x2e, 0x39, 0x12, 0x6b,
  6891. 0xbb, 0x3a, 0xa5, 0x61, 0x6d, 0x4c, 0x8e, 0x60, 0x59, 0xc9, 0x46, 0xa4, 0xb4, 0x3c, 0x5c, 0xad,
  6892. 0x91, 0xa9, 0x03, 0x99, 0x20, 0x9d, 0x2b, 0x56, 0x55, 0xec, 0x64, 0x07, 0x4b, 0xf8, 0x98, 0x24,
  6893. 0x54, 0x55, 0x6d, 0xd5, 0xc1, 0x12, 0x3e, 0x39, 0x20, 0x09, 0x74, 0x30, 0xa9, 0xb6, 0x7f, 0xec,
  6894. 0x20, 0x53, 0x46, 0xf9, 0x91, 0xc7, 0x0f, 0xf7, 0x42, 0x12, 0xef, 0x1d, 0x46, 0xfc, 0xdf, 0x88,
  6895. 0xbf, 0xb1, 0x88, 0x9b, 0xb7, 0xd1, 0x52, 0x1e, 0x66, 0x51, 0xf4, 0x54, 0xa9, 0x92, 0xfd, 0x20,
  6896. 0x24, 0x71, 0x72, 0x18, 0xf1, 0x89, 0x28, 0x8c, 0xb8, 0x62, 0x56, 0x5e, 0x06, 0xd1, 0x45, 0xba,
  6897. 0x4e, 0x17, 0xcb, 0x20, 0xc4, 0x15, 0x33, 0x11, 0xc3, 0xfc, 0x3d, 0xbf, 0x97, 0x81, 0x8e, 0x61,
  6898. 0xb1, 0xb2, 0xb8, 0xa0, 0x79, 0x6b, 0xf3, 0x53, 0xb4, 0x9c, 0x8b, 0xd4, 0x85, 0xc9, 0x5e, 0x7b,
  6899. 0x39, 0x4b, 0xad, 0x95, 0x62, 0xbd, 0xba, 0xb9, 0x39, 0x53, 0x51, 0xf8, 0x31, 0x4d, 0x28, 0x7b,
  6900. 0x42, 0xdd, 0x9b, 0xaa, 0xf5, 0x42, 0x5c, 0x58, 0x2e, 0xc4, 0x5a, 0x5f, 0x36, 0xde, 0x54, 0xfd,
  6901. 0xb7, 0x62, 0xbc, 0xa9, 0x8d, 0x37, 0xed, 0x6f, 0x1a, 0xa8, 0xbf, 0xed, 0xa8, 0xfa, 0x70, 0x33,
  6902. 0xaf, 0x14, 0x00, 0xd8, 0xc1, 0xe6, 0x70, 0x1d, 0xa8, 0xe2, 0xba, 0x14, 0x4a, 0x6c, 0xb9, 0xf0,
  6903. 0x8c, 0xf3, 0x92, 0x62, 0xa1, 0xce, 0xbd, 0xa7, 0x5e, 0xc2, 0x01, 0xc6, 0xfd, 0xb1, 0x91, 0xa5,
  6904. 0x56, 0x87, 0x0a, 0x01, 0x96, 0xf2, 0x72, 0x89, 0x15, 0x40, 0xee, 0x1c, 0x5f, 0x62, 0xed, 0x6f,
  6905. 0xbb, 0x68, 0x55, 0x34, 0xc5, 0x3d, 0xce, 0x28, 0x09, 0x30, 0x75, 0x22, 0x76, 0x6a, 0xfd, 0x7c,
  6906. 0xa5, 0xbb, 0x35, 0xeb, 0x76, 0xb7, 0x4a, 0xcb, 0x6d, 0x2d, 0x6a, 0xb9, 0x65, 0x12, 0xdb, 0x06,
  6907. 0xff, 0x4f, 0x24, 0xb1, 0x40, 0x1c, 0x7c, 0x4e, 0xaa, 0x0c, 0x40, 0x11, 0x07, 0x9f, 0x13, 0x4d,
  6908. 0x01, 0x2a, 0x76, 0x22, 0xbb, 0x76, 0xd8, 0x34, 0x5f, 0x55, 0xca, 0xae, 0x88, 0x4d, 0x4b, 0x14,
  6909. 0x45, 0xdb, 0x08, 0xa7, 0x76, 0x62, 0x4c, 0x93, 0x99, 0x2f, 0x33, 0x4b, 0x39, 0x15, 0xc5, 0x13,
  6910. 0x06, 0x42, 0x5c, 0xa8, 0x73, 0x53, 0xe8, 0x85, 0xfd, 0x39, 0x53, 0x68, 0x85, 0x85, 0xda, 0x7c,
  6911. 0x07, 0x75, 0x77, 0x62, 0xf8, 0x50, 0x43, 0x5f, 0x54, 0x14, 0xcb, 0xcf, 0x54, 0x2a, 0x65, 0x24,
  6912. 0xf2, 0x0d, 0xe9, 0x86, 0x29, 0x8c, 0x44, 0xa6, 0x29, 0x55, 0x99, 0x40, 0x0c, 0x16, 0x10, 0x08,
  6913. 0x41, 0x18, 0x54, 0x26, 0x94, 0x08, 0x04, 0xa9, 0x12, 0x88, 0x61, 0x2d, 0x02, 0xb1, 0x5c, 0x9f,
  6914. 0x40, 0xac, 0x2c, 0x22, 0x10, 0xf3, 0x1d, 0xbf, 0x73, 0x52, 0xc7, 0xaf, 0xa6, 0xe6, 0xa5, 0x05,
  6915. 0xa9, 0xf9, 0x9e, 0x4e, 0x06, 0xf3, 0x55, 0xd3, 0xdb, 0x3a, 0x1d, 0xfe, 0x68, 0x22, 0x53, 0xdc,
  6916. 0x76, 0x4e, 0x8e, 0xdf, 0x64, 0x42, 0x5c, 0x43, 0xbd, 0x3d, 0xe6, 0xc0, 0xc5, 0xb7, 0xf4, 0xa7,
  6917. 0x0a, 0x7e, 0x0c, 0x37, 0x9f, 0x2b, 0xc5, 0xd5, 0xef, 0x31, 0x47, 0x60, 0xb4, 0xad, 0xf1, 0x21,
  6918. 0xcc, 0x04, 0x3c, 0x95, 0x4a, 0xe0, 0x4d, 0xf0, 0x5b, 0xd8, 0xad, 0xa3, 0xf1, 0x06, 0x14, 0x58,
  6919. 0xe6, 0x4b, 0xae, 0x16, 0xe7, 0x8a, 0xe7, 0x1c, 0xf4, 0xea, 0x5c, 0xb0, 0x84, 0xa1, 0x4f, 0x29,
  6920. 0x01, 0x07, 0x9c, 0xf0, 0x59, 0xa2, 0xb0, 0x2e, 0x71, 0x00, 0x12, 0xac, 0x34, 0xa2, 0xaa, 0xe7,
  6921. 0xa1, 0x02, 0x70, 0xf6, 0x75, 0x55, 0xa7, 0x4a, 0xae, 0x9a, 0x41, 0xd9, 0xcc, 0xfe, 0xb3, 0x89,
  6922. 0xfe, 0x2b, 0x43, 0xab, 0x6b, 0xcf, 0x7d, 0x4e, 0x83, 0x57, 0xa3, 0xd9, 0x38, 0x57, 0x79, 0x69,
  6923. 0x9e, 0xa5, 0xbc, 0xb4, 0x6a, 0xcf, 0xc8, 0xed, 0xd3, 0x66, 0xe4, 0xf5, 0x4a, 0x39, 0xe9, 0x68,
  6924. 0xfe, 0xeb, 0xd3, 0xc7, 0x72, 0x0c, 0x49, 0x2a, 0xc5, 0xe4, 0x0a, 0x6a, 0xc3, 0xf1, 0x72, 0xfa,
  6925. 0x80, 0x24, 0x84, 0x93, 0x41, 0x7a, 0xb6, 0x91, 0xe3, 0x46, 0x39, 0x17, 0xfa, 0xc7, 0x32, 0x6f,
  6926. 0x6d, 0x60, 0xff, 0xd6, 0x44, 0x68, 0x4c, 0x12, 0xcf, 0x91, 0x93, 0xdf, 0xf9, 0x43, 0x5e, 0x2a,
  6927. 0x37, 0xcd, 0x3a, 0xe5, 0xa6, 0xb5, 0xa0, 0xdc, 0xb4, 0x6b, 0x95, 0x9b, 0x4e, 0xfd, 0x72, 0xd3,
  6928. 0xad, 0x3f, 0xaf, 0xf4, 0xea, 0xce, 0x2b, 0xfd, 0x93, 0xe7, 0x15, 0xfb, 0x21, 0x1a, 0x16, 0x43,
  6929. 0x08, 0xa6, 0x49, 0x5c, 0x70, 0xcd, 0x86, 0xbe, 0xe3, 0x12, 0xd7, 0xd4, 0x1c, 0xb2, 0x59, 0xfa,
  6930. 0xf2, 0xea, 0x14, 0xf1, 0x35, 0xfa, 0x7f, 0xb1, 0xa5, 0x60, 0xb8, 0xe2, 0x43, 0xfd, 0x8b, 0xd9,
  6931. 0x5b, 0x70, 0x08, 0xd8, 0x4e, 0x65, 0x00, 0x70, 0x88, 0x00, 0xf6, 0x97, 0x72, 0xfb, 0x87, 0x26,
  6932. 0x42, 0x92, 0x6f, 0x5c, 0xd0, 0x89, 0x27, 0x30, 0x62, 0xe3, 0x35, 0x18, 0xb1, 0x71, 0x0e, 0x46,
  6933. 0x6c, 0x5c, 0xec, 0x0c, 0xf2, 0xbc, 0x89, 0x2e, 0xeb, 0x19, 0xe4, 0x22, 0x6f, 0xe8, 0x1f, 0x14,
  6934. 0xaf, 0x02, 0x4c, 0xfd, 0xe3, 0xc1, 0x54, 0x09, 0xa8, 0x71, 0x7a, 0x40, 0xb7, 0x50, 0x6f, 0xdf,
  6935. 0x93, 0x19, 0x74, 0xee, 0xea, 0x64, 0x6f, 0x20, 0xe3, 0xe1, 0x8c, 0xb2, 0x23, 0xd8, 0x46, 0xf7,
  6936. 0xb2, 0xc6, 0x49, 0xbd, 0xcc, 0xbe, 0x81, 0x0c, 0xf0, 0x14, 0xea, 0x88, 0x85, 0x3a, 0x5b, 0xd1,
  6937. 0x2c, 0xe4, 0x60, 0xdf, 0x90, 0x9f, 0xe3, 0x08, 0x01, 0x96, 0x72, 0xfb, 0xe7, 0x36, 0x5a, 0x79,
  6938. 0x04, 0xbf, 0x77, 0xb7, 0xa0, 0xaf, 0x6d, 0x27, 0x53, 0x71, 0xca, 0x1d, 0x38, 0x5e, 0x79, 0x09,
  6939. 0xa7, 0x48, 0x87, 0xb0, 0xd2, 0xe4, 0x54, 0xa2, 0xb9, 0xe0, 0xc7, 0xed, 0x82, 0xa6, 0x94, 0xf3,
  6940. 0x24, 0x16, 0x05, 0xaa, 0x6c, 0x1e, 0xc7, 0x93, 0x58, 0x04, 0x5d, 0xfc, 0xc1, 0x2c, 0x38, 0xa0,
  6941. 0x4c, 0xb5, 0x24, 0xf0, 0x29, 0x04, 0x09, 0x56, 0x9a, 0x02, 0xa8, 0xdd, 0x63, 0x47, 0x62, 0x0d,
  6942. 0xd4, 0xde, 0x59, 0x46, 0xdd, 0xfe, 0x6b, 0x8c, 0xba, 0xc6, 0x39, 0x46, 0x5d, 0x54, 0x73, 0xd4,
  6943. 0x9d, 0xff, 0xcf, 0x38, 0xa8, 0xf9, 0x9f, 0x71, 0x43, 0xd4, 0x42, 0x60, 0x46, 0x07, 0xc5, 0x10,
  6944. 0xb9, 0x92, 0xa5, 0xd6, 0x20, 0x67, 0x4e, 0x22, 0xa2, 0x25, 0x93, 0x0a, 0xe0, 0x87, 0xa7, 0x02,
  6945. 0x7e, 0xbc, 0xfa, 0xd3, 0x8b, 0xb5, 0xc6, 0x2f, 0x2f, 0xd6, 0x1a, 0xbf, 0xbf, 0x58, 0x6b, 0x7c,
  6946. 0xff, 0x72, 0xed, 0x3f, 0x07, 0x5d, 0xf8, 0xfb, 0x7f, 0xeb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff,
  6947. 0x60, 0xa8, 0xba, 0x97, 0x43, 0x18, 0x00, 0x00,
  6948. }