text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (_ChpRegistry *ChpRegistryCaller) StakedCoresCount(opts *bind.CallOpts) (*big.Int, error) {
var (
ret0 = new(*big.Int)
)
out := ret0
err := _ChpRegistry.contract.Call(opts, out, "stakedCoresCount")
return *ret0, err
} | [
-0.618325412273407,
1.052354097366333,
0.9640800952911377,
0.30848124623298645,
0.05199292302131653,
-0.09136881679296494,
1.398838758468628,
-0.5293416380882263,
-0.016060806810855865,
0.401180237531662,
-0.6835231184959412,
0.30092865228652954,
-0.5442235469818115,
0.6168240308761597,
... |
func (_ChpRegistry *ChpRegistrySession) StakedCoresCount() (*big.Int, error) {
return _ChpRegistry.Contract.StakedCoresCount(&_ChpRegistry.CallOpts)
} | [
-0.39706146717071533,
1.2106564044952393,
0.545232355594635,
0.2195608764886856,
0.20669697225093842,
-0.2518327832221985,
1.1643707752227783,
-0.4472293555736542,
0.27561208605766296,
0.23564817011356354,
-0.353583425283432,
0.5215606093406677,
-0.5617172718048096,
0.5547537207603455,
0... |
func (_ChpRegistry *ChpRegistryCallerSession) StakedCoresCount() (*big.Int, error) {
return _ChpRegistry.Contract.StakedCoresCount(&_ChpRegistry.CallOpts)
} | [
-0.40185174345970154,
1.227449655532837,
0.549821138381958,
0.1830870360136032,
0.11060594022274017,
-0.1828400194644928,
1.0213245153427124,
-0.550082802772522,
0.2991830110549927,
0.22909463942050934,
-0.3475506603717804,
0.5045261979103088,
-0.5955302715301514,
0.5521445274353027,
0.4... |
func (_ChpRegistry *ChpRegistryTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "addPauser", account)
} | [
-0.6844161152839661,
0.7632030844688416,
0.45218488574028015,
0.10087712109088898,
-0.8717589378356934,
0.5579080581665039,
1.2396379709243774,
0.1826808750629425,
1.3418588638305664,
-0.15188321471214294,
-0.5370833277702332,
-0.18794798851013184,
-0.12733818590641022,
-0.5600570440292358... |
func (_ChpRegistry *ChpRegistrySession) AddPauser(account common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.AddPauser(&_ChpRegistry.TransactOpts, account)
} | [
-0.6814594864845276,
0.9610810279846191,
0.43380439281463623,
0.079383485019207,
-0.7892765998840332,
0.03999093547463417,
1.3666536808013916,
0.3312177360057831,
1.4068163633346558,
0.03338819369673729,
-0.6180866360664368,
-0.33884409070014954,
-0.059723589569330215,
-0.490875780582428,
... |
func (_ChpRegistry *ChpRegistryTransactorSession) AddPauser(account common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.AddPauser(&_ChpRegistry.TransactOpts, account)
} | [
-0.6764561533927917,
0.9762783050537109,
0.40402621030807495,
-0.05485383793711662,
-0.7039512991905212,
-0.010515251196920872,
1.3317490816116333,
0.26351457834243774,
1.3071550130844116,
0.12347211688756943,
-0.5705496072769165,
-0.38900312781333923,
0.0793900340795517,
-0.65971553325653... |
func (_ChpRegistry *ChpRegistryTransactor) ApproveCoreStaking(opts *bind.TransactOpts, _core common.Address, _coreHash [32]byte, sigs [126][]byte) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "approveCoreStaking", _core, _coreHash, sigs)
} | [
-0.3487399220466614,
1.4120516777038574,
0.29502007365226746,
-0.5963980555534363,
-0.7918164134025574,
-0.3126765489578247,
0.3253832161426544,
-0.7223864793777466,
-0.7163103818893433,
0.8375752568244934,
-0.46325114369392395,
0.14096520841121674,
-1.0549026727676392,
0.5835374593734741,... |
func (_ChpRegistry *ChpRegistrySession) ApproveCoreStaking(_core common.Address, _coreHash [32]byte, sigs [126][]byte) (*types.Transaction, error) {
return _ChpRegistry.Contract.ApproveCoreStaking(&_ChpRegistry.TransactOpts, _core, _coreHash, sigs)
} | [
-0.41191956400871277,
1.2927488088607788,
0.30765393376350403,
-0.4481883645057678,
-0.9694226384162903,
-0.49629104137420654,
0.41907933354377747,
-0.6614406108856201,
-0.9445024728775024,
0.8174425363540649,
-0.6530548334121704,
0.12132792174816132,
-0.9481642246246338,
0.564497888088226... |
func (_ChpRegistry *ChpRegistryTransactorSession) ApproveCoreStaking(_core common.Address, _coreHash [32]byte, sigs [126][]byte) (*types.Transaction, error) {
return _ChpRegistry.Contract.ApproveCoreStaking(&_ChpRegistry.TransactOpts, _core, _coreHash, sigs)
} | [
-0.3791554570198059,
1.293835163116455,
0.2809525728225708,
-0.5221258401870728,
-0.9672937393188477,
-0.4889718294143677,
0.4108878970146179,
-0.7159785032272339,
-0.9714455604553223,
0.873123824596405,
-0.6271239519119263,
0.08248256146907806,
-0.92177414894104,
0.49681007862091064,
0.... |
func (_ChpRegistry *ChpRegistryTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "pause")
} | [
-0.8227730393409729,
0.22686780989170074,
0.16428235173225403,
0.39266952872276306,
0.7010071277618408,
-0.05481787398457527,
0.5344167351722717,
-0.5972345471382141,
0.6177119612693787,
0.32797518372535706,
-0.40347158908843994,
-0.07578327506780624,
-0.9007812738418579,
-1.22229444980621... |
func (_ChpRegistry *ChpRegistrySession) Pause() (*types.Transaction, error) {
return _ChpRegistry.Contract.Pause(&_ChpRegistry.TransactOpts)
} | [
-0.4701150059700012,
0.4504312574863434,
0.1709452122449875,
0.04526757448911667,
0.8830296993255615,
-0.6742619872093201,
0.7684586048126221,
-0.6887367367744446,
0.23404167592525482,
0.3625990152359009,
-0.31331706047058105,
-0.2188643366098404,
-0.5187203884124756,
-1.0355098247528076,
... |
func (_ChpRegistry *ChpRegistryTransactorSession) Pause() (*types.Transaction, error) {
return _ChpRegistry.Contract.Pause(&_ChpRegistry.TransactOpts)
} | [
-0.5925762057304382,
0.5216116309165955,
0.15024302899837494,
0.00567477336153388,
0.928199291229248,
-0.6062691807746887,
0.7508026957511902,
-0.8001276850700378,
0.22744779288768768,
0.43710219860076904,
-0.375118613243103,
-0.3839809000492096,
-0.4401102364063263,
-1.1854742765426636,
... |
func (_ChpRegistry *ChpRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "renounceOwnership")
} | [
-0.6781153678894043,
0.5983522534370422,
-0.041255153715610504,
1.0147191286087036,
0.18670682609081268,
-0.47333234548568726,
0.30874136090278625,
-1.2116421461105347,
0.3226722180843353,
0.5048760771751404,
0.04425663501024246,
-0.33241918683052063,
-0.53715580701828,
-0.7338894009590149... |
func (_ChpRegistry *ChpRegistrySession) RenounceOwnership() (*types.Transaction, error) {
return _ChpRegistry.Contract.RenounceOwnership(&_ChpRegistry.TransactOpts)
} | [
-0.371031254529953,
0.7885807156562805,
0.08505889773368835,
0.773472785949707,
0.24832706153392792,
-0.8618127107620239,
0.671533465385437,
-0.9748376607894897,
0.4458477199077606,
0.3573155403137207,
-0.08751983195543289,
-0.38263481855392456,
-0.2295149564743042,
-0.46442872285842896,
... |
func (_ChpRegistry *ChpRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error) {
return _ChpRegistry.Contract.RenounceOwnership(&_ChpRegistry.TransactOpts)
} | [
-0.4111796021461487,
0.7869726419448853,
0.04151564836502075,
0.739512026309967,
0.25767940282821655,
-0.8107472658157349,
0.5685305595397949,
-1.1069267988204956,
0.3902919292449951,
0.3760126531124115,
-0.09908139705657959,
-0.49307405948638916,
-0.18458694219589233,
-0.6216968894004822,... |
func (_ChpRegistry *ChpRegistryTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "renouncePauser")
} | [
-0.9521347880363464,
0.7996216416358948,
0.08829785883426666,
0.40036749839782715,
-0.8966155648231506,
0.5019349455833435,
0.3074014186859131,
-0.37621253728866577,
0.11862417310476303,
0.06906011700630188,
-0.5790368914604187,
-0.061427462846040726,
-0.9461125135421753,
-0.19903263449668... |
func (_ChpRegistry *ChpRegistrySession) RenouncePauser() (*types.Transaction, error) {
return _ChpRegistry.Contract.RenouncePauser(&_ChpRegistry.TransactOpts)
} | [
-0.5916386842727661,
1.0392471551895142,
0.13700400292873383,
0.3288908302783966,
-0.7049300074577332,
0.08511637151241302,
0.5116713643074036,
-0.32029059529304504,
0.18205073475837708,
0.03311054781079292,
-0.7407326698303223,
-0.14471226930618286,
-0.8454915881156921,
0.0385800190269947... |
func (_ChpRegistry *ChpRegistryTransactorSession) RenouncePauser() (*types.Transaction, error) {
return _ChpRegistry.Contract.RenouncePauser(&_ChpRegistry.TransactOpts)
} | [
-0.6677709221839905,
1.012007236480713,
0.12105540186166763,
0.30469751358032227,
-0.659980833530426,
0.1310012936592102,
0.46619096398353577,
-0.4732109010219574,
0.22117242217063904,
0.06495848298072815,
-0.6550768613815308,
-0.2203768640756607,
-0.7082914113998413,
-0.18557505309581757,... |
func (_ChpRegistry *ChpRegistryTransactor) Stake(opts *bind.TransactOpts, _nodeIp uint32, _rewardsAddr common.Address) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "stake", _nodeIp, _rewardsAddr)
} | [
0.039235394448041916,
0.9682326316833496,
0.2995893657207489,
-1.172215223312378,
0.5771347880363464,
-0.2178412675857544,
-0.046796057373285294,
-0.7530555129051208,
-0.11066850274801254,
-0.05482584983110428,
-0.11964362859725952,
0.037792518734931946,
-0.27320533990859985,
-1.0506101846... |
func (_ChpRegistry *ChpRegistrySession) Stake(_nodeIp uint32, _rewardsAddr common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.Stake(&_ChpRegistry.TransactOpts, _nodeIp, _rewardsAddr)
} | [
-0.066962331533432,
1.1455039978027344,
0.2727060914039612,
-1.1858887672424316,
0.481370747089386,
-0.3745585083961487,
0.06504637002944946,
-0.7690205574035645,
-0.08118610829114914,
0.0021084165200591087,
-0.11310503631830215,
0.2103329300880432,
-0.21539896726608276,
-1.053928852081298... |
func (_ChpRegistry *ChpRegistryTransactorSession) Stake(_nodeIp uint32, _rewardsAddr common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.Stake(&_ChpRegistry.TransactOpts, _nodeIp, _rewardsAddr)
} | [
-0.08673553168773651,
1.1920586824417114,
0.2686183750629425,
-1.239149808883667,
0.4458300471305847,
-0.35924631357192993,
-0.005929215345531702,
-0.8167686462402344,
-0.12031800299882889,
0.06393565237522125,
-0.06539075821638107,
0.09839215129613876,
-0.13367357850074768,
-1.15607249736... |
func (_ChpRegistry *ChpRegistryTransactor) StakeCore(opts *bind.TransactOpts, _coreIp uint32, _coreId []byte) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "stakeCore", _coreIp, _coreId)
} | [
-0.8966931700706482,
0.9638750553131104,
0.46330711245536804,
-0.5187389850616455,
-0.3642978370189667,
-0.8961415886878967,
0.14902405440807343,
-0.9805734157562256,
0.1150270476937294,
1.7010743618011475,
-0.2756340801715851,
-0.17747290432453156,
-1.2279596328735352,
-0.2516759037971496... |
func (_ChpRegistry *ChpRegistrySession) StakeCore(_coreIp uint32, _coreId []byte) (*types.Transaction, error) {
return _ChpRegistry.Contract.StakeCore(&_ChpRegistry.TransactOpts, _coreIp, _coreId)
} | [
-0.9022707343101501,
0.9463163614273071,
0.4212082624435425,
-0.47289958596229553,
-0.25160476565361023,
-1.1148439645767212,
0.2739951014518738,
-0.9690940380096436,
0.15342476963996887,
1.661185383796692,
-0.3781484365463257,
-0.19667719304561615,
-1.1985607147216797,
-0.2826224863529205... |
func (_ChpRegistry *ChpRegistryTransactorSession) StakeCore(_coreIp uint32, _coreId []byte) (*types.Transaction, error) {
return _ChpRegistry.Contract.StakeCore(&_ChpRegistry.TransactOpts, _coreIp, _coreId)
} | [
-0.9015448093414307,
0.9511788487434387,
0.42384618520736694,
-0.542576789855957,
-0.22188599407672882,
-1.1126391887664795,
0.19726359844207764,
-1.0123257637023926,
0.14080852270126343,
1.7238173484802246,
-0.296889990568161,
-0.2431296408176422,
-1.1347891092300415,
-0.4001946747303009,... |
func (_ChpRegistry *ChpRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "transferOwnership", newOwner)
} | [
-0.09825943410396576,
0.09962157160043716,
0.2203938364982605,
1.0279737710952759,
-0.3095446825027466,
-0.2771037220954895,
0.622535765171051,
-0.7798227071762085,
0.32996058464050293,
1.0296269655227661,
-0.04292738065123558,
0.06469970941543579,
-0.16541466116905212,
-0.5719200968742371... |
func (_ChpRegistry *ChpRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.TransferOwnership(&_ChpRegistry.TransactOpts, newOwner)
} | [
-0.24074433743953705,
0.2530677318572998,
0.3780410587787628,
1.082537293434143,
-0.06268332153558731,
-0.5752640962600708,
0.9805605411529541,
-0.697014331817627,
0.5622167587280273,
0.872703492641449,
-0.26454439759254456,
0.09128845483064651,
-0.037290412932634354,
-0.3297217786312103,
... |
func (_ChpRegistry *ChpRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.TransferOwnership(&_ChpRegistry.TransactOpts, newOwner)
} | [
-0.2075105756521225,
0.219162717461586,
0.34087520837783813,
0.9974140524864197,
0.015861624851822853,
-0.5855101346969604,
0.9212933778762817,
-0.6879239678382874,
0.4662538170814514,
0.9506728053092957,
-0.23635292053222656,
-0.0422513484954834,
0.043226223438978195,
-0.4780600965023041,... |
func (_ChpRegistry *ChpRegistryTransactor) UnStake(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "unStake")
} | [
-0.0665959045290947,
0.9267122745513916,
0.2830924689769745,
0.23608176410198212,
0.32351553440093994,
-1.0553998947143555,
0.5543025732040405,
-0.20019389688968658,
-0.48005715012550354,
0.030429162085056305,
-0.4218418300151825,
0.17017407715320587,
-0.7150557637214661,
-0.50339686870574... |
func (_ChpRegistry *ChpRegistrySession) UnStake() (*types.Transaction, error) {
return _ChpRegistry.Contract.UnStake(&_ChpRegistry.TransactOpts)
} | [
0.31843119859695435,
1.2685669660568237,
0.3585456609725952,
-0.11612206697463989,
0.32138699293136597,
-1.4046378135681152,
0.7925767302513123,
-0.13810305297374725,
-0.6071646213531494,
-0.030396755784749985,
-0.4784109890460968,
-0.038710374385118484,
-0.6420055627822876,
-0.20979671180... |
func (_ChpRegistry *ChpRegistryTransactorSession) UnStake() (*types.Transaction, error) {
return _ChpRegistry.Contract.UnStake(&_ChpRegistry.TransactOpts)
} | [
0.2123374342918396,
1.2286179065704346,
0.3275512158870697,
-0.18796662986278534,
0.3997833728790283,
-1.3477331399917603,
0.722217321395874,
-0.29887619614601135,
-0.633837103843689,
0.04330996051430702,
-0.5235823392868042,
-0.17050038278102875,
-0.5359639525413513,
-0.4095950722694397,
... |
func (_ChpRegistry *ChpRegistryTransactor) UnStakeCore(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "unStakeCore")
} | [
-0.21204599738121033,
0.7435398697853088,
0.36245405673980713,
0.22714148461818695,
-0.7033058404922485,
-0.8170213103294373,
0.5685840249061584,
0.03917341306805611,
-0.36627528071403503,
1.1363098621368408,
-0.36882853507995605,
-0.1047196015715599,
-1.1947563886642456,
-0.03225304931402... |
func (_ChpRegistry *ChpRegistrySession) UnStakeCore() (*types.Transaction, error) {
return _ChpRegistry.Contract.UnStakeCore(&_ChpRegistry.TransactOpts)
} | [
0.09301157295703888,
0.9071152806282043,
0.3891820013523102,
-0.012530585750937462,
-0.66718590259552,
-1.0963388681411743,
0.9738227128982544,
0.0018389965407550335,
-0.47030895948410034,
0.8981578350067139,
-0.5554172992706299,
-0.20512504875659943,
-0.9628428816795349,
0.133574828505516... |
func (_ChpRegistry *ChpRegistryTransactorSession) UnStakeCore() (*types.Transaction, error) {
return _ChpRegistry.Contract.UnStakeCore(&_ChpRegistry.TransactOpts)
} | [
0.04826558753848076,
0.8461478352546692,
0.3811854422092438,
-0.15301987528800964,
-0.601409912109375,
-1.0634247064590454,
0.7974445819854736,
-0.12513181567192078,
-0.48286405205726624,
0.9928094744682312,
-0.5573063492774963,
-0.3087686002254486,
-0.8951747417449951,
0.00309039303101599... |
func (_ChpRegistry *ChpRegistryTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "unpause")
} | [
-0.3604592978954315,
0.5376855731010437,
0.3224346935749054,
0.054429300129413605,
0.3185740113258362,
-0.9813286662101746,
0.6965654492378235,
-0.06498102098703384,
0.010678763501346111,
0.45701339840888977,
-0.31455886363983154,
-0.123539999127388,
-1.0527901649475098,
-1.023025274276733... |
func (_ChpRegistry *ChpRegistrySession) Unpause() (*types.Transaction, error) {
return _ChpRegistry.Contract.Unpause(&_ChpRegistry.TransactOpts)
} | [
-0.03615004941821098,
0.7412373423576355,
0.3419030010700226,
-0.19095443189144135,
0.5271121859550476,
-1.375309705734253,
0.9699490666389465,
-0.005572076421231031,
-0.05833234265446663,
0.3365825414657593,
-0.2832857668399811,
-0.1684943288564682,
-0.8893231153488159,
-0.963565886020660... |
func (_ChpRegistry *ChpRegistryTransactorSession) Unpause() (*types.Transaction, error) {
return _ChpRegistry.Contract.Unpause(&_ChpRegistry.TransactOpts)
} | [
-0.13218317925930023,
0.7232138514518738,
0.3086516261100769,
-0.27869823575019836,
0.5790671706199646,
-1.37062668800354,
0.896324098110199,
-0.17061103880405426,
-0.08132749050855637,
0.44791460037231445,
-0.3326655328273773,
-0.29982927441596985,
-0.7700485587120056,
-1.1181541681289673... |
func (_ChpRegistry *ChpRegistryTransactor) UpdateStake(opts *bind.TransactOpts, _nodeIp uint32, _rewardsAddress common.Address) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "updateStake", _nodeIp, _rewardsAddress)
} | [
-0.29103291034698486,
0.07502726465463638,
0.36118271946907043,
-0.7794777154922485,
-0.26305994391441345,
-0.6332611441612244,
-0.11796454340219498,
-0.8339957594871521,
-0.11929550021886826,
0.1108459085226059,
-0.30948972702026367,
0.6667550802230835,
-0.09760628640651703,
-1.0427489280... |
func (_ChpRegistry *ChpRegistrySession) UpdateStake(_nodeIp uint32, _rewardsAddress common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.UpdateStake(&_ChpRegistry.TransactOpts, _nodeIp, _rewardsAddress)
} | [
-0.3228786289691925,
0.12035293132066727,
0.3468291461467743,
-0.6374661326408386,
-0.3899660110473633,
-0.8819128274917603,
0.08809731900691986,
-0.7302271127700806,
-0.11996415257453918,
0.1965612918138504,
-0.31371572613716125,
0.8148342967033386,
-0.1361485719680786,
-0.948666930198669... |
func (_ChpRegistry *ChpRegistryTransactorSession) UpdateStake(_nodeIp uint32, _rewardsAddress common.Address) (*types.Transaction, error) {
return _ChpRegistry.Contract.UpdateStake(&_ChpRegistry.TransactOpts, _nodeIp, _rewardsAddress)
} | [
-0.3036684989929199,
0.15787671506404877,
0.33567509055137634,
-0.721487820148468,
-0.33528292179107666,
-0.885210394859314,
0.025768239051103592,
-0.748966634273529,
-0.12923575937747955,
0.23616665601730347,
-0.27715304493904114,
0.743218719959259,
-0.03758799284696579,
-1.08846890926361... |
func (_ChpRegistry *ChpRegistryTransactor) UpdateStakeCore(opts *bind.TransactOpts, _coreIp uint32) (*types.Transaction, error) {
return _ChpRegistry.contract.Transact(opts, "updateStakeCore", _coreIp)
} | [
-0.7424952983856201,
-0.2141404002904892,
0.35946324467658997,
0.016422221437096596,
-1.2363120317459106,
-0.6780521869659424,
0.515365481376648,
-0.40549519658088684,
0.46507585048675537,
1.6487852334976196,
-0.5988023281097412,
-0.23666438460350037,
-1.3416810035705566,
-0.76272529363632... |
func (_ChpRegistry *ChpRegistrySession) UpdateStakeCore(_coreIp uint32) (*types.Transaction, error) {
return _ChpRegistry.Contract.UpdateStakeCore(&_ChpRegistry.TransactOpts, _coreIp)
} | [
-0.6006689667701721,
-0.1230032816529274,
0.32340022921562195,
-0.0514463372528553,
-1.2270861864089966,
-1.0582302808761597,
0.7130674123764038,
-0.435854971408844,
0.4574264883995056,
1.5723698139190674,
-0.6827109456062317,
-0.3203378915786743,
-1.1709673404693604,
-0.6112591028213501,
... |
func (_ChpRegistry *ChpRegistryTransactorSession) UpdateStakeCore(_coreIp uint32) (*types.Transaction, error) {
return _ChpRegistry.Contract.UpdateStakeCore(&_ChpRegistry.TransactOpts, _coreIp)
} | [
-0.6402548551559448,
-0.172604039311409,
0.3054971396923065,
-0.13618215918540955,
-1.1573359966278076,
-1.0359368324279785,
0.5765892267227173,
-0.48821520805358887,
0.4542491137981415,
1.7008965015411377,
-0.6457068920135498,
-0.40960580110549927,
-1.1163705587387085,
-0.7018021941184998... |
func (it *ChpRegistryCoreApprovalIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.39100509881973267,
0.29029279947280884,
0.2851104140281677,
0.20521505177021027,
-1.4037612676620483,
1.1542812585830688,
-0.2418777495622635,
0.3162784278392792,
-0.41583624482154846,
0.5853520631790161,
1.291664958000183,
1.1397887468338013,
-0.8598061203956604,
1.0982213020324707,
1... |
func (_ChpRegistry *ChpRegistryFilterer) FilterCoreApproval(opts *bind.FilterOpts, _sender []common.Address, _approvedCore []common.Address) (*ChpRegistryCoreApprovalIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
var _approv... | [
-0.5708901882171631,
0.7666031718254089,
0.6597138047218323,
0.00813797302544117,
-1.8865342140197754,
-0.03871435672044754,
0.41994529962539673,
0.14959096908569336,
-0.053731996566057205,
1.9808019399642944,
0.6345531344413757,
0.9529964923858643,
-0.9496996402740479,
0.1315515786409378,... |
func (_ChpRegistry *ChpRegistryFilterer) WatchCoreApproval(opts *bind.WatchOpts, sink chan<- *ChpRegistryCoreApproval, _sender []common.Address, _approvedCore []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _sende... | [
0.34953755140304565,
0.22563685476779938,
0.7692293524742126,
-0.12296156585216522,
-1.4864168167114258,
-0.1201140433549881,
0.40771254897117615,
-0.16029909253120422,
-0.28341928124427795,
1.3139052391052246,
0.3966575860977173,
1.2093333005905151,
-0.3532891273498535,
0.3890392780303955... |
func (it *ChpRegistryCoreStakeUpdatedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.4369351863861084,
0.2886836528778076,
0.265387624502182,
0.4260939955711365,
-0.793130099773407,
0.4857107400894165,
0.302176296710968,
-0.13959164917469025,
-0.9646742939949036,
-0.09796670079231262,
0.2533598840236664,
0.08031914383172989,
-0.85125333070755,
1.0123227834701538,
0.841... |
func (_ChpRegistry *ChpRegistryFilterer) FilterCoreStakeUpdated(opts *bind.FilterOpts, _sender []common.Address) (*ChpRegistryCoreStakeUpdatedIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRegistry.con... | [
0.07871412485837936,
0.038196682929992676,
0.2717132270336151,
0.2586372494697571,
-1.09196937084198,
-0.48509350419044495,
1.100059986114502,
-0.1971750408411026,
-0.15755484998226166,
1.2822283506393433,
-0.6321879029273987,
0.35458627343177795,
-0.6250051259994507,
0.5802512168884277,
... |
func (_ChpRegistry *ChpRegistryFilterer) WatchCoreStakeUpdated(opts *bind.WatchOpts, sink chan<- *ChpRegistryCoreStakeUpdated, _sender []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, e... | [
0.5421974658966064,
-0.30843430757522583,
0.4617292284965515,
-0.03488172963261604,
-0.9113287925720215,
-0.4609755575656891,
0.8025283813476562,
-0.4656534790992737,
-0.35820484161376953,
0.47006189823150635,
-0.7382259368896484,
0.48409736156463623,
-0.13553427159786224,
0.56471127271652... |
func (it *ChpRegistryCoreStakedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.8710212707519531,
0.6868016123771667,
0.25472918152809143,
0.3603467643260956,
-0.7171104550361633,
0.6142105460166931,
0.5622710585594177,
-0.4378206133842468,
-1.1918853521347046,
0.22713562846183777,
0.1876075714826584,
0.26892125606536865,
-0.8833425045013428,
1.4163607358932495,
0... |
func (_ChpRegistry *ChpRegistryFilterer) FilterCoreStaked(opts *bind.FilterOpts, _sender []common.Address) (*ChpRegistryCoreStakedIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRegistry.contract.Filter... | [
0.1074967235326767,
0.9236193895339966,
0.5196115374565125,
0.07991079241037369,
-0.9180763959884644,
-0.3583970069885254,
1.3614246845245361,
-0.5058987140655518,
-0.2918872535228729,
1.3815642595291138,
-0.3712175488471985,
0.7811357975006104,
-0.945527195930481,
0.8497099280357361,
0.... |
func (_ChpRegistry *ChpRegistryFilterer) WatchCoreStaked(opts *bind.WatchOpts, sink chan<- *ChpRegistryCoreStaked, _sender []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRe... | [
0.6659933924674988,
0.290925532579422,
0.7267104387283325,
-0.1454342156648636,
-0.5118586421012878,
-0.6151531338691711,
1.165056586265564,
-0.5640981793403625,
-0.3258134424686432,
0.6320512890815735,
-0.7874912023544312,
0.9250498414039612,
-0.2739591598510742,
0.8427220582962036,
0.4... |
func (it *ChpRegistryCoreUnStakedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.6633073687553406,
0.6711745858192444,
0.2070005089044571,
-0.1705818474292755,
-0.6023703813552856,
0.662882387638092,
0.3812083601951599,
-0.019822146743535995,
-0.9423444867134094,
0.04281935840845108,
0.14397907257080078,
0.6169979572296143,
-0.7860909104347229,
1.307586669921875,
0... |
func (_ChpRegistry *ChpRegistryFilterer) FilterCoreUnStaked(opts *bind.FilterOpts, _sender []common.Address) (*ChpRegistryCoreUnStakedIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRegistry.contract.Fi... | [
-0.4064308702945709,
0.9857614040374756,
0.45577722787857056,
-0.35341891646385193,
-0.799591600894928,
-0.5043048858642578,
1.0714527368545532,
-0.021478330716490746,
-0.2536006569862366,
1.4726756811141968,
-0.23061278462409973,
0.6352379322052002,
-1.0941756963729858,
0.8170580863952637... |
func (_ChpRegistry *ChpRegistryFilterer) WatchCoreUnStaked(opts *bind.WatchOpts, sink chan<- *ChpRegistryCoreUnStaked, _sender []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _C... | [
0.3315488398075104,
0.3668043911457062,
0.65252685546875,
-0.5196914672851562,
-0.4170559048652649,
-0.6634424328804016,
1.1651890277862549,
-0.040520984679460526,
-0.3741527497768402,
0.5901886820793152,
-0.6251267790794373,
0.8836129903793335,
-0.468805730342865,
0.8143076300621033,
0.... |
func (it *ChpRegistryNodeStakeUpdatedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.1701951026916504,
0.29516148567199707,
0.21692588925361633,
-0.25906383991241455,
-0.5617987513542175,
0.29588285088539124,
-0.016662534326314926,
0.14026160538196564,
-0.9467833638191223,
-0.34566402435302734,
0.19825562834739685,
0.5129584074020386,
-0.6748061180114746,
0.8349348902702... |
func (_ChpRegistry *ChpRegistryFilterer) FilterNodeStakeUpdated(opts *bind.FilterOpts, _sender []common.Address) (*ChpRegistryNodeStakeUpdatedIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRegistry.con... | [
-0.5637742280960083,
-0.19189369678497314,
0.11976639926433563,
-0.4318487346172333,
-0.952763020992279,
-0.5967203378677368,
0.64829421043396,
-0.2936801612377167,
-0.5785865783691406,
1.0346041917800903,
-0.6469956636428833,
0.6824170351028442,
-0.07740700989961624,
0.3052193522453308,
... |
func (_ChpRegistry *ChpRegistryFilterer) WatchNodeStakeUpdated(opts *bind.WatchOpts, sink chan<- *ChpRegistryNodeStakeUpdated, _sender []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, e... | [
0.014700951986014843,
-0.42161303758621216,
0.3713938593864441,
-0.6733485460281372,
-0.5299379229545593,
-0.7417272329330444,
0.5751075744628906,
-0.7964034080505371,
-0.6417837738990784,
0.16784319281578064,
-0.5834193825721741,
0.9677822589874268,
0.3876102864742279,
0.422931969165802,
... |
func (it *ChpRegistryNodeStakedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.3060440123081207,
0.5292304158210754,
0.09662291407585144,
-0.19739381968975067,
-0.2673898935317993,
0.061755917966365814,
0.1292053759098053,
0.0064223529770970345,
-1.1970220804214478,
-0.47731813788414,
0.4417376220226288,
0.7485647201538086,
-0.572108805179596,
0.7820929288864136,
... |
func (_ChpRegistry *ChpRegistryFilterer) FilterNodeStaked(opts *bind.FilterOpts, _sender []common.Address) (*ChpRegistryNodeStakedIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRegistry.contract.Filter... | [
-0.2907188832759857,
0.6979302167892456,
0.2577691078186035,
-0.6624401807785034,
-0.517471432685852,
-0.6072419881820679,
1.1022120714187622,
-0.332722932100296,
-0.7248353958129883,
0.7568982243537903,
-0.6634368896484375,
0.8496313691139221,
0.03784185275435448,
0.3345957398414612,
-0... |
func (_ChpRegistry *ChpRegistryFilterer) WatchNodeStaked(opts *bind.WatchOpts, sink chan<- *ChpRegistryNodeStaked, _sender []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRe... | [
0.2881753146648407,
0.16966557502746582,
0.5588666200637817,
-0.7629052996635437,
-0.04867083951830864,
-0.7606930732727051,
0.9656338691711426,
-0.6254605650901794,
-0.6944579482078552,
0.25431716442108154,
-0.7786461710929871,
1.2391788959503174,
0.45609065890312195,
0.48933207988739014,... |
func (it *ChpRegistryNodeUnStakedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.4072476029396057,
0.773350179195404,
0.15044738352298737,
-0.22929422557353973,
-0.3388170301914215,
0.5976245999336243,
0.3212067484855652,
0.08138936012983322,
-1.2003498077392578,
0.051934950053691864,
0.07894870638847351,
0.8951740264892578,
-0.6818874478340149,
1.217803955078125,
... |
func (_ChpRegistry *ChpRegistryFilterer) FilterNodeUnStaked(opts *bind.FilterOpts, _sender []common.Address) (*ChpRegistryNodeUnStakedIterator, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _ChpRegistry.contract.Fi... | [
-0.5955637097358704,
1.0671511888504028,
0.38097521662712097,
-0.6368110775947571,
-0.49195337295532227,
-0.6886526346206665,
0.9309574365615845,
0.0065323407761752605,
-0.7286234498023987,
1.0517327785491943,
-0.04484311863780022,
0.9757565855979919,
-0.5249887108802795,
0.675890564918518... |
func (_ChpRegistry *ChpRegistryFilterer) WatchNodeUnStaked(opts *bind.WatchOpts, sink chan<- *ChpRegistryNodeUnStaked, _sender []common.Address) (event.Subscription, error) {
var _senderRule []interface{}
for _, _senderItem := range _sender {
_senderRule = append(_senderRule, _senderItem)
}
logs, sub, err := _C... | [
0.04633461683988571,
0.43473851680755615,
0.6176090240478516,
-0.8300023674964905,
-0.020387930795550346,
-0.7790929079055786,
0.9644415974617004,
-0.14503955841064453,
-0.6932481527328491,
0.2762297987937927,
-0.36549222469329834,
1.3253968954086304,
0.033670078963041306,
0.63561975955963... |
func (it *ChpRegistryOwnershipTransferredIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.5200015306472778,
0.4198969304561615,
0.27103391289711,
0.017376556992530823,
-0.5257197022438049,
0.9151343703269958,
0.14910653233528137,
-0.6013132929801941,
-0.7105873227119446,
0.19846609234809875,
0.3376660645008087,
0.9174865484237671,
-0.664581835269928,
0.8592482209205627,
0.5... |
func (_ChpRegistry *ChpRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ChpRegistryOwnershipTransferredIterator, error) {
var previousOwnerRule []interface{}
for _, previousOwnerItem := range previousOwner {
previousOwnerRule = append(... | [
0.6136878132820129,
-0.15184655785560608,
0.7799668908119202,
0.8867781162261963,
-0.2864701449871063,
-0.15444955229759216,
0.38519176840782166,
-0.32466205954551697,
-0.1239192932844162,
0.7088755965232849,
0.14591462910175323,
1.1905213594436646,
-0.2638477385044098,
0.12757514417171478... |
func (_ChpRegistry *ChpRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ChpRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
var previousOwnerRule []interface{}
for _, previousOwnerItem := range previousOwner {
previ... | [
1.1707841157913208,
-0.15080614387989044,
0.7928643226623535,
0.4396383464336395,
0.05244037136435509,
-0.1988174468278885,
0.8087328672409058,
-0.6546228528022766,
-0.13085132837295532,
-0.03408117964863777,
-0.30374521017074585,
1.1750006675720215,
0.1798541098833084,
0.3632957637310028,... |
func (it *ChpRegistryPausedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.4888359606266022,
0.4097287058830261,
0.19676104187965393,
0.024115078151226044,
-0.5503884553909302,
1.0315289497375488,
0.2226075530052185,
-0.018955310806632042,
-0.6708476543426514,
0.18810494244098663,
-0.05260852351784706,
0.6263527274131775,
-0.9099578857421875,
0.9312876462936401... |
func (_ChpRegistry *ChpRegistryFilterer) FilterPaused(opts *bind.FilterOpts) (*ChpRegistryPausedIterator, error) {
logs, sub, err := _ChpRegistry.contract.FilterLogs(opts, "Paused")
if err != nil {
return nil, err
}
return &ChpRegistryPausedIterator{contract: _ChpRegistry.contract, event: "Paused", logs: logs, s... | [
-0.21457472443580627,
-0.08995246887207031,
0.5886031985282898,
0.4983454644680023,
-0.31740185618400574,
0.10638730227947235,
0.3831143081188202,
-0.07026175409555435,
0.9456058740615845,
0.42275547981262207,
0.1729200780391693,
1.2868878841400146,
-1.019178867340088,
-0.5249075889587402,... |
func (_ChpRegistry *ChpRegistryFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ChpRegistryPaused) (event.Subscription, error) {
logs, sub, err := _ChpRegistry.contract.WatchLogs(opts, "Paused")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-chan struct{}) error {
defer sub.... | [
0.2853733003139496,
-0.48181626200675964,
0.873104989528656,
-0.2867869734764099,
0.17662066221237183,
-0.20695073902606964,
0.546336829662323,
-0.2678733170032501,
0.635199248790741,
-0.22474634647369385,
-0.16921092569828033,
1.4242756366729736,
-0.4286133050918579,
0.05725182220339775,
... |
func (it *ChpRegistryPauserAddedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.528921365737915,
0.5112691521644592,
0.10681688785552979,
-0.0199087206274271,
-0.9507544040679932,
1.599010705947876,
-0.4676610231399536,
-0.4663340747356415,
-0.3621792793273926,
-0.12182213366031647,
0.0736338272690773,
0.6988027691841125,
-0.8516979217529297,
1.1942917108535767,
0... |
func (_ChpRegistry *ChpRegistryFilterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*ChpRegistryPauserAddedIterator, error) {
var accountRule []interface{}
for _, accountItem := range account {
accountRule = append(accountRule, accountItem)
}
logs, sub, err := _ChpRegistry.contract.Filt... | [
0.15374653041362762,
0.20572640001773834,
0.7164314389228821,
0.40696072578430176,
-0.364011287689209,
0.9168933033943176,
0.613257884979248,
0.0679226890206337,
1.070236086845398,
0.7975910305976868,
0.23535747826099396,
0.8792823553085327,
-0.6195398569107056,
-0.1712593287229538,
-0.2... |
func (_ChpRegistry *ChpRegistryFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *ChpRegistryPauserAdded, account []common.Address) (event.Subscription, error) {
var accountRule []interface{}
for _, accountItem := range account {
accountRule = append(accountRule, accountItem)
}
logs, sub, err := _Chp... | [
0.7977896332740784,
-0.23459507524967194,
0.8659142255783081,
0.06698298454284668,
-0.28606951236724854,
0.5719966292381287,
0.49527788162231445,
-0.23729297518730164,
0.62969970703125,
0.07798130065202713,
-0.17819520831108093,
1.0174925327301025,
0.0792090967297554,
0.17540325224399567,
... |
func (it *ChpRegistryPauserRemovedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.43933746218681335,
0.11142478138208389,
0.18615269660949707,
-0.12700028717517853,
-0.9080644845962524,
0.9546087384223938,
-0.16821448504924774,
0.419958233833313,
-0.561791181564331,
-0.4152655601501465,
0.4216829538345337,
0.3403554856777191,
-0.853721559047699,
0.6375682950019836,
... |
func (_ChpRegistry *ChpRegistryFilterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*ChpRegistryPauserRemovedIterator, error) {
var accountRule []interface{}
for _, accountItem := range account {
accountRule = append(accountRule, accountItem)
}
logs, sub, err := _ChpRegistry.contract.... | [
0.07659892737865448,
-0.1279585212469101,
0.6172261238098145,
0.3027862310409546,
-0.57210373878479,
0.6283934712409973,
1.081266164779663,
0.945183277130127,
1.2679284811019897,
0.441299170255661,
0.06308262050151825,
0.5099915266036987,
-0.6427294015884399,
-0.20346572995185852,
0.0751... |
func (_ChpRegistry *ChpRegistryFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *ChpRegistryPauserRemoved, account []common.Address) (event.Subscription, error) {
var accountRule []interface{}
for _, accountItem := range account {
accountRule = append(accountRule, accountItem)
}
logs, sub, err := ... | [
0.7315854430198669,
-0.40955740213394165,
0.6681119799613953,
-0.0919589102268219,
-0.46216320991516113,
0.39411014318466187,
0.7525710463523865,
0.552028477191925,
0.7929496765136719,
-0.20918524265289307,
-0.30560022592544556,
0.8748846650123596,
-0.12429170310497284,
0.19531388580799103... |
func (it *ChpRegistryUnpausedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.5400940179824829,
0.44528982043266296,
0.20087748765945435,
-0.23123155534267426,
-0.4255697429180145,
0.9796099066734314,
0.15178292989730835,
0.11974847316741943,
-0.9183507561683655,
0.05743066221475601,
-0.02112169936299324,
0.5330722332000732,
-0.9511393904685974,
0.8965096473693848... |
func (_ChpRegistry *ChpRegistryFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ChpRegistryUnpausedIterator, error) {
logs, sub, err := _ChpRegistry.contract.FilterLogs(opts, "Unpaused")
if err != nil {
return nil, err
}
return &ChpRegistryUnpausedIterator{contract: _ChpRegistry.contract, event: "Unpaused", log... | [
0.020819667726755142,
0.030828967690467834,
0.6188511252403259,
-0.02213325724005699,
-0.04262791574001312,
-0.03352823853492737,
0.5041118264198303,
0.09228631854057312,
0.3720974624156952,
0.10400798171758652,
-0.06674600392580032,
0.827936053276062,
-0.9414364695549011,
-0.4680421650409... |
func (_ChpRegistry *ChpRegistryFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ChpRegistryUnpaused) (event.Subscription, error) {
logs, sub, err := _ChpRegistry.contract.WatchLogs(opts, "Unpaused")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-chan struct{}) error {
defe... | [
0.5370303392410278,
-0.27647945284843445,
0.8534420132637024,
-0.6178426146507263,
0.1769881397485733,
-0.5896888971328735,
0.7457410097122192,
-0.25009244680404663,
0.1488092541694641,
-0.8176442980766296,
-0.5927044153213501,
1.2258107662200928,
-0.3052506744861603,
0.2563142776489258,
... |
func GetJoinedChatrooms(argument *GetJoinedChatroomsOptions) (joinedChatrooms *structs.JoinedChatrooms, err error) {
SID := stores.Get("SID")
if SID == nil || SID == "" {
return &structs.JoinedChatrooms{}, errors.New("missing SID in state, try using aminogo.Login() first")
}
endpoint := routes.GetJoinedChatrooms... | [
-0.7815880179405212,
-0.3943047523498535,
0.6434250473976135,
-0.0844990685582161,
0.12126213312149048,
0.07473549246788025,
0.3939872086048126,
-0.5114750266075134,
0.38770386576652527,
0.037657588720321655,
-0.7595754265785217,
0.0012539256131276488,
-0.5879335999488831,
0.54099553823471... |
func (c *Connector) GetNewConnectionIDX() uint64 {
return atomic.AddUint64(&c.conIDX, 1)
} | [
-0.9568670392036438,
-0.18149323761463165,
0.40161266922950745,
0.5805259346961975,
-0.47070950269699097,
-0.24574430286884308,
-0.07654215395450592,
-0.05669562518596649,
-0.05986718833446503,
-0.4059694707393646,
-0.19026987254619598,
-0.4390721619129181,
-0.6701398491859436,
0.138359159... |
func ParseIPHostFromString(addrStr string) (string, uint16, error) {
ip, port, err := net.SplitHostPort(addrStr)
if err != nil {
return "", 0, err
}
portUint, err := strconv.ParseUint(port, 10, 16)
if err != nil {
return "", 0, err
}
return ip, uint16(portUint), nil
} | [
0.19588515162467957,
-0.978368878364563,
0.6272496581077576,
-0.5696931481361389,
-0.1656922549009323,
-0.3722116947174072,
0.2307969480752945,
0.5998218059539795,
0.30986520648002625,
0.369943767786026,
-0.496029794216156,
-0.24287430942058563,
-0.03974247723817825,
-0.303977906703949,
... |
func (c *Connector) AddBrokerToBlackList(brokerData comm_app.BrokerInfoData) error {
if len(brokerData.BrokerName) == 0 {
return errors.New("Can't process entries with empty BrokerName")
}
c.brokersListLock.Lock()
defer c.brokersListLock.Unlock()
// check if broker not in Black list
_, ok := c.brokersBlackLis... | [
-0.46262985467910767,
-0.3267382085323334,
0.6455691456794739,
0.0634676143527031,
0.825609564781189,
0.6074482798576355,
-0.30251386761665344,
0.4030652642250061,
0.19302132725715637,
0.5830196142196655,
-0.7878702282905579,
0.4491203725337982,
-1.1439930200576782,
0.8485209345817566,
0... |
func (c *Connector) FilterBlackListedBrokers(brokersToFilter []comm_app.BrokerInfoData) []comm_app.BrokerInfoData {
c.brokersListLock.Lock()
defer c.brokersListLock.Unlock()
if len(brokersToFilter) == 0 {
return brokersToFilter
}
result := brokersToFilter[:0]
for _, brokerIt := range brokersToFilter {
isBrF... | [
0.024824442341923714,
-1.0048986673355103,
0.7075785398483276,
0.4557555317878723,
0.13129550218582153,
-0.15110109746456146,
0.12830260396003723,
-0.17386794090270996,
0.18759286403656006,
0.8608811497688293,
-0.10213261097669601,
0.9358483552932739,
-1.8643205165863037,
0.996084749698638... |
func (c *Connector) GetBrokersList(desiredApp comm_app.StructuredApplicationName) ([]comm_app.BrokerInfoData, int, error) {
c.brokersListLock.Lock()
defer c.brokersListLock.Unlock()
var desiredConnectionsCount int
var resultBrokerList []comm_app.BrokerInfoData
if c.desiredConnectionsCount > 0 {
desiredConnecti... | [
-1.0037660598754883,
-0.8898072838783264,
0.8041707873344421,
0.22279664874076843,
0.2471533864736557,
-0.15868999063968658,
-0.25864821672439575,
-0.2404412031173706,
-0.5305972099304199,
0.5810088515281677,
-0.029831822961568832,
0.426198810338974,
-0.5992960929870605,
0.7468583583831787... |
func (c *Connector) ConnectToBroker(brokerData comm_app.BrokerInfoData) (*sshConnectionRuntime, error) {
// some sanity checks
err := c.sanityCheckFoundedBroker([]comm_app.BrokerInfoData{brokerData})
if err != nil {
return nil, err
}
brokerConnectionData := config.Endpoint{
Host: brokerData.BrokerIP.String(),... | [
-0.1811915785074234,
-0.510429859161377,
0.8921504616737366,
0.3802465796470642,
0.04937228932976723,
0.06596437096595764,
-0.40550366044044495,
0.21053621172904968,
-0.8689444065093994,
-0.11758983880281448,
-0.9520801305770874,
-0.09322463721036911,
-0.6210481524467468,
1.139010429382324... |
func (c *Connector) ParseConnectorApplications() error {
var err error
// get access token from value struct
accessToken, err := c.config.Frozy.AccessToken.Value()
if err != nil {
return fmt.Errorf("Failed to get access token value : %v", err)
}
if string(accessToken) == "" {
return errors.New("Access token ... | [
-0.26027533411979675,
-0.5082879066467285,
0.9421480894088745,
0.1422242522239685,
-0.2133311927318573,
0.5993713736534119,
0.229615718126297,
0.41770049929618835,
-0.24343039095401764,
0.7499690651893616,
-0.1857333779335022,
-0.5533371567726135,
-0.10980398952960968,
0.8758896589279175,
... |
func BrokersOrderedBy(less ...lessFunc) *multiSorter {
return &multiSorter{
less: less,
}
} | [
0.43909952044487,
0.15005233883857727,
0.279694527387619,
0.44896435737609863,
-0.8270878195762634,
-0.0916391909122467,
0.1659938097000122,
-0.8113207817077637,
-0.36502861976623535,
-1.3776522874832153,
-1.18118417263031,
-0.3437202572822571,
-1.2498987913131714,
1.3023319244384766,
-1... |
func (ms *multiSorter) Len() int {
return len(ms.brokers)
} | [
0.16668245196342468,
0.14986874163150787,
0.2013060599565506,
-0.14407184720039368,
-0.05530231446027756,
-0.42428722977638245,
0.7955330014228821,
0.5503329634666443,
-0.04438917711377144,
-0.6598954796791077,
-0.9449631571769714,
0.03366067260503769,
-0.6727720499038696,
1.10466814041137... |
func (ms *multiSorter) Swap(i, j int) {
ms.brokers[i], ms.brokers[j] = ms.brokers[j], ms.brokers[i]
} | [
-0.9375054240226746,
-0.3788159489631653,
0.3480135500431061,
0.10289914160966873,
-0.35535457730293274,
0.29498210549354553,
0.0401025116443634,
-0.015994638204574585,
-0.4102439284324646,
-0.15259011089801788,
-0.7444191575050354,
0.7321434020996094,
-0.8629937171936035,
0.50775849819183... |
func (ms *multiSorter) Less(i, j int) bool {
p, q := &ms.brokers[i], &ms.brokers[j]
// Try all but the last comparison.
var k int
for k = 0; k < len(ms.less)-1; k++ {
less := ms.less[k]
switch {
case less(p, q):
// p < q, so we have a decision.
return true
case less(q, p):
// p > q, so we have a de... | [
0.2684530019760132,
-0.20021995902061462,
0.6718052625656128,
-0.2635481059551239,
-0.534743070602417,
0.03020523115992546,
-0.3819078505039215,
-1.2175824642181396,
-0.06982145458459854,
-0.4951727092266083,
-0.6858171224594116,
-0.4247106909751892,
-1.274481177330017,
0.9592322707176208,... |
func BrokersListSort(inLst []comm_app.BrokerInfoData) []comm_app.BrokerInfoData {
// Helper functions that orders the BrokerInfoData structure
geoScores := func(c1, c2 *comm_app.BrokerInfoData) bool {
return c1.BrokerGeoScore < c2.BrokerGeoScore
}
loadScores := func(c1, c2 *comm_app.BrokerInfoData) bool {
retur... | [
0.25924721360206604,
-1.2053083181381226,
0.62257319688797,
-0.39525356888771057,
-0.4982435405254364,
0.9891546964645386,
-0.581001341342926,
-0.8090444803237915,
0.27066484093666077,
-0.21547111868858337,
-0.17422738671302795,
0.4573860466480255,
-1.1456218957901,
0.7840814590454102,
-... |
func (c *Connector) brokerListUpdate(brokersAll []comm_app.BrokerInfoData, brokersApps map[string][]comm_app.BrokerInfoData) {
c.brokersListLock.Lock()
defer c.brokersListLock.Unlock()
// do reload generic brokers into cache
for _, brokerIt := range brokersAll {
// set Broker TTL
brokerIt.BrokerTTL = time.Now(... | [
-0.5746031999588013,
-0.9877707362174988,
0.8169053792953491,
-0.036817096173763275,
-0.6040357947349548,
0.29195141792297363,
-0.6928161382675171,
0.4218813180923462,
0.259921669960022,
1.7065765857696533,
-0.19649040699005127,
0.025243453681468964,
-0.22762762010097504,
1.091118216514587... |
func (c *Connector) getIntentsDstAppsList() (map[string]string, error) {
resultMap := make(map[string]string)
// go through all intents and get dst apps with unique filtering
for _, appIt := range c.applications {
if !appIt.appIntentType {
continue
}
encAppName, err := appIt.destinationAppName.EncodeToStr... | [
-0.9532667398452759,
-0.25181064009666443,
0.7861871123313904,
-0.17532473802566528,
-0.8173431158065796,
0.26849350333213806,
0.14044424891471863,
-0.10382744669914246,
0.49009576439857483,
0.9650460481643677,
-0.48837289214134216,
-0.008213703520596027,
0.5873217582702637,
0.207632720470... |
func (c *Connector) brokerDiscovery(appData comm_app.StructuredApplicationName, appAccToken string) ([]comm_app.BrokerInfoData, error) {
var brokers []comm_app.BrokerInfoData
// get access token from value struct
accessToken, err := c.config.Frozy.AccessToken.Value()
if err != nil {
return brokers, fmt.Errorf("F... | [
-0.22356422245502472,
-0.4781271517276764,
0.9266126751899719,
0.6522473692893982,
0.3281818628311157,
0.12730088829994202,
-0.21258358657360077,
0.2404622733592987,
0.06066431850194931,
0.2955189049243927,
0.032356683164834976,
0.36651870608329773,
-0.6164383888244629,
1.2044346332550049,... |
func SetupGlobalSystemLogger(logger *log.Logger) {
globalLogger = logger
} | [
-0.18812872469425201,
-0.1753821074962616,
0.5020056366920471,
-0.17840947210788727,
-0.2481284737586975,
0.385558158159256,
-0.004586318042129278,
0.7513983845710754,
0.32569313049316406,
0.4293409287929535,
-0.36381515860557556,
0.3852763772010803,
-0.8046421408653259,
2.2024898529052734... |
func (o *GetAppsAppIDOperationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewGetAppsAppIDOperationsOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
retu... | [
0.26316434144973755,
-0.35513046383857727,
0.8260276317596436,
0.800116777420044,
-0.2928631901741028,
-1.0171986818313599,
0.3630099594593048,
-0.4476446509361267,
0.6366347074508667,
0.6568328142166138,
0.9709612727165222,
-1.0598556995391846,
-0.20988738536834717,
-0.3416498601436615,
... |
func NewGetAppsAppIDOperationsOK() *GetAppsAppIDOperationsOK {
return &GetAppsAppIDOperationsOK{}
} | [
1.0446935892105103,
0.4329659044742584,
0.41702014207839966,
1.929678201675415,
-0.06305233389139175,
-0.3890191614627838,
0.13202810287475586,
0.25451815128326416,
0.06819488108158112,
0.1756700724363327,
-0.2598832845687866,
-1.0398743152618408,
0.9857616424560547,
-0.989396870136261,
... |
func NewGetAppsAppIDOperationsDefault(code int) *GetAppsAppIDOperationsDefault {
return &GetAppsAppIDOperationsDefault{
_statusCode: code,
}
} | [
1.2067347764968872,
0.17353856563568115,
0.4568153917789459,
0.9858593940734863,
0.42277809977531433,
-0.09923060238361359,
-0.025131726637482643,
0.2725931704044342,
0.390455424785614,
0.509868860244751,
-0.19067029654979706,
-0.7656402587890625,
-0.22960194945335388,
-0.5421366691589355,... |
func (o *GetAppsAppIDOperationsDefault) Code() int {
return o._statusCode
} | [
0.9581373333930969,
0.7832956314086914,
0.3232683837413788,
1.3310261964797974,
0.3345753252506256,
-0.0761747807264328,
0.12045918405056,
0.6032893061637878,
0.26091718673706055,
0.27305522561073303,
0.35955795645713806,
-0.849007248878479,
0.2579840123653412,
0.19160373508930206,
-0.02... |
func (u *User) Authorize(secret string) error {
// convert the HEX-encoded hash from string to []byte
bHash, err := hex.DecodeString(u.HashedSecret)
if err != nil {
return fmt.Errorf("Internal error. Could not convert secret hash from string to binary format. %s", err)
}
err = bcrypt.CompareHashAndPassword(bHa... | [
0.35556045174598694,
0.3300183117389679,
0.6301999688148499,
0.5433546900749207,
0.2166297286748886,
-0.4436553716659546,
-0.34850311279296875,
0.1285882294178009,
0.0849219262599945,
0.17769518494606018,
-0.03458027541637421,
0.3478071093559265,
-0.6703817844390869,
0.27422329783439636,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.