text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (_Lmc *LmcCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _Lmc.contract.Call(opts, &out, "startBlock")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-0.9916256070137024,
1.168875813484192,
1.0771244764328003,
0.5874701738357544,
-0.1167764663696289,
-0.1745903491973877,
0.557462215423584,
-0.4536118507385254,
0.6576969623565674,
-0.3459629416465759,
-0.6273018717765808,
0.892701268196106,
-1.0517940521240234,
0.2741212248802185,
0.52... |
func (_Lmc *LmcSession) StartBlock() (*big.Int, error) {
return _Lmc.Contract.StartBlock(&_Lmc.CallOpts)
} | [
-0.35445889830589294,
1.72901451587677,
0.623416006565094,
0.19567914307117462,
0.37379753589630127,
-0.2796940207481384,
0.5042051076889038,
-0.1978446990251541,
0.6883437633514404,
-0.5661989450454712,
-0.06439188122749329,
0.6026265621185303,
-1.1327743530273438,
0.13542963564395905,
... |
func (_Lmc *LmcCallerSession) StartBlock() (*big.Int, error) {
return _Lmc.Contract.StartBlock(&_Lmc.CallOpts)
} | [
-0.3586665391921997,
1.7753819227218628,
0.6339235305786133,
0.2493584305047989,
0.26366639137268066,
-0.1612531691789627,
0.4382748603820801,
-0.31544432044029236,
0.7591761946678162,
-0.675159752368927,
-0.039048854261636734,
0.5617133975028992,
-1.0947859287261963,
0.15105405449867249,
... |
func (_Lmc *LmcCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _Lmc.contract.Call(opts, &out, "totalStaked")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-0.273325651884079,
0.44764912128448486,
0.9990842938423157,
-0.34467804431915283,
-0.1160571426153183,
-0.23753222823143005,
0.7234552502632141,
-0.2368970364332199,
0.7793779373168945,
-0.1714780479669571,
-1.20624840259552,
0.6932096481323242,
-0.7813453078269958,
-0.2774088978767395,
... |
func (_Lmc *LmcSession) TotalStaked() (*big.Int, error) {
return _Lmc.Contract.TotalStaked(&_Lmc.CallOpts)
} | [
0.6082336902618408,
0.46074071526527405,
0.5622560381889343,
-0.5347007513046265,
0.2197742462158203,
-0.20288173854351044,
0.6151597499847412,
-0.10072139650583267,
1.0748189687728882,
-0.39309102296829224,
-0.9964979290962219,
0.20559732615947723,
-0.7826694250106812,
-0.215086430311203,... |
func (_Lmc *LmcCallerSession) TotalStaked() (*big.Int, error) {
return _Lmc.Contract.TotalStaked(&_Lmc.CallOpts)
} | [
0.611871600151062,
0.525210976600647,
0.5702712535858154,
-0.43180787563323975,
0.11935088038444519,
-0.08041952550411224,
0.5772488713264465,
-0.2046433389186859,
1.1291216611862183,
-0.4980863630771637,
-1.0463324785232544,
0.16218891739845276,
-0.8060508370399475,
-0.16111436486244202,
... |
func (_Lmc *LmcCaller) UserAccruedRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) {
var out []interface{}
err := _Lmc.contract.Call(opts, &out, "userAccruedRewards", arg0)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0,... | [
-0.0061056711710989475,
0.6005100607872009,
0.7013685703277588,
-0.44351986050605774,
-0.5776399374008179,
-0.3266584873199463,
0.6539084315299988,
-0.7371897101402283,
1.1624507904052734,
-0.15213704109191895,
-0.003610540647059679,
1.3037333488464355,
-0.1736893653869629,
0.2614652216434... |
func (_Lmc *LmcSession) UserAccruedRewards(arg0 common.Address) (*big.Int, error) {
return _Lmc.Contract.UserAccruedRewards(&_Lmc.CallOpts, arg0)
} | [
0.33427053689956665,
0.4433911442756653,
0.40337759256362915,
-0.6134418845176697,
-0.2368626594543457,
-0.09812238812446594,
0.5943220853805542,
-0.5966635942459106,
1.116169810295105,
-0.3292924463748932,
-0.0741882175207138,
0.9913411140441895,
-0.11991384625434875,
0.3717692196369171,
... |
func (_Lmc *LmcCallerSession) UserAccruedRewards(arg0 common.Address) (*big.Int, error) {
return _Lmc.Contract.UserAccruedRewards(&_Lmc.CallOpts, arg0)
} | [
0.33046165108680725,
0.48328256607055664,
0.38455963134765625,
-0.6577726602554321,
-0.29131338000297546,
-0.03984203562140465,
0.46484580636024475,
-0.7241915464401245,
1.1766140460968018,
-0.4081405699253082,
-0.12855210900306702,
0.9455227851867676,
-0.07697735726833344,
0.4378093779087... |
func (_Lmc *LmcCaller) UserInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
FirstStakedBlockNumber *big.Int
AmountStaked *big.Int
}, error) {
var out []interface{}
err := _Lmc.contract.Call(opts, &out, "userInfo", arg0)
outstruct := new(struct {
FirstStakedBlockNumber *big.Int
AmountStaked ... | [
0.2559003531932831,
0.03121035173535347,
0.7551693916320801,
-0.19008229672908783,
-0.7200215458869934,
-0.6592196226119995,
1.0213121175765991,
-0.3155391216278076,
-0.286273330450058,
0.0747186541557312,
-1.0928665399551392,
0.33482325077056885,
-0.09769418835639954,
0.6979293823242188,
... |
func (_Lmc *LmcSession) UserInfo(arg0 common.Address) (struct {
FirstStakedBlockNumber *big.Int
AmountStaked *big.Int
}, error) {
return _Lmc.Contract.UserInfo(&_Lmc.CallOpts, arg0)
} | [
0.7747865915298462,
0.325191855430603,
0.4804482161998749,
-0.2892179489135742,
-0.3528396189212799,
-0.4451296031475067,
1.1314276456832886,
-0.5691412687301636,
-0.17608919739723206,
0.05754150077700615,
-1.1150344610214233,
0.15808726847171783,
-0.03468426316976547,
0.6047610640525818,
... |
func (_Lmc *LmcCallerSession) UserInfo(arg0 common.Address) (struct {
FirstStakedBlockNumber *big.Int
AmountStaked *big.Int
}, error) {
return _Lmc.Contract.UserInfo(&_Lmc.CallOpts, arg0)
} | [
0.771550714969635,
0.32727307081222534,
0.4540964961051941,
-0.3360781967639923,
-0.3792617619037628,
-0.37454742193222046,
1.0441148281097412,
-0.618320107460022,
-0.10655666887760162,
-0.05346554517745972,
-1.1813347339630127,
0.13140608370304108,
-0.018177028745412827,
0.682878553867340... |
func (_Lmc *LmcTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "claim")
} | [
0.26852357387542725,
0.4933028519153595,
0.27245625853538513,
0.5151858329772949,
0.5159672498703003,
-0.23049809038639069,
0.10421722382307053,
-0.35989129543304443,
1.1702407598495483,
-0.2365587204694748,
0.2033146172761917,
0.2932807207107544,
-0.8810606598854065,
-0.5574459433555603,
... |
func (_Lmc *LmcSession) Claim() (*types.Transaction, error) {
return _Lmc.Contract.Claim(&_Lmc.TransactOpts)
} | [
0.8752764463424683,
0.3952389657497406,
0.23560091853141785,
-0.010703271254897118,
0.5724455118179321,
-0.7814850807189941,
-0.11197972297668457,
-0.35235992074012756,
1.0121064186096191,
-0.0785951316356659,
0.2999308705329895,
-0.16610406339168549,
-0.6678469181060791,
-0.45047336816787... |
func (_Lmc *LmcTransactorSession) Claim() (*types.Transaction, error) {
return _Lmc.Contract.Claim(&_Lmc.TransactOpts)
} | [
0.7431871294975281,
0.42186200618743896,
0.2528107166290283,
-0.0022131516598165035,
0.6582373976707458,
-0.6714105010032654,
-0.08806254714727402,
-0.5276497006416321,
0.9432339072227478,
-0.014926811680197716,
0.1489051729440689,
-0.3431057333946228,
-0.5227246880531311,
-0.5876904726028... |
func (_Lmc *LmcTransactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "exit")
} | [
0.1117507815361023,
0.5383506417274475,
0.36527425050735474,
-0.3744930922985077,
0.004877524450421333,
-0.04727261886000633,
0.03170822560787201,
-0.5530708432197571,
0.1744120866060257,
0.35533520579338074,
-0.3557603657245636,
0.15605901181697845,
-0.7199259400367737,
-0.467581778764724... |
func (_Lmc *LmcSession) Exit() (*types.Transaction, error) {
return _Lmc.Contract.Exit(&_Lmc.TransactOpts)
} | [
0.5418861508369446,
0.511233925819397,
0.4216293692588806,
-0.9743340611457825,
0.24485276639461517,
-0.44865766167640686,
0.010896562598645687,
-0.8616170287132263,
0.09573876112699509,
0.6168855428695679,
-0.1440621316432953,
-0.31718793511390686,
-0.6840862035751343,
-0.3709820806980133... |
func (_Lmc *LmcTransactorSession) Exit() (*types.Transaction, error) {
return _Lmc.Contract.Exit(&_Lmc.TransactOpts)
} | [
0.32578253746032715,
0.5920723676681519,
0.38199830055236816,
-1.0203769207000732,
0.38089895248413086,
-0.30001264810562134,
0.051935069262981415,
-1.0147747993469238,
0.01409115269780159,
0.6837722659111023,
-0.2821814715862274,
-0.42470335960388184,
-0.5603023767471313,
-0.5317663550376... |
func (_Lmc *LmcTransactor) ExitAndStake(opts *bind.TransactOpts, _stakePool common.Address) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "exitAndStake", _stakePool)
} | [
-0.69553542137146,
0.41929924488067627,
0.3368454873561859,
-0.35938045382499695,
-0.5613973736763,
-0.6920576691627502,
0.2391359657049179,
-0.8843056559562683,
0.03169029578566551,
0.6540127992630005,
-0.47100868821144104,
0.12258860468864441,
-0.5027139186859131,
0.3981323838233948,
0... |
func (_Lmc *LmcSession) ExitAndStake(_stakePool common.Address) (*types.Transaction, error) {
return _Lmc.Contract.ExitAndStake(&_Lmc.TransactOpts, _stakePool)
} | [
-0.2838099002838135,
0.3560314476490021,
0.2537616789340973,
-0.4163758456707001,
-0.5069723725318909,
-0.8564296364784241,
0.3414607346057892,
-0.7967374324798584,
0.06120910122990608,
0.6413032412528992,
-0.41753315925598145,
-0.16695958375930786,
-0.3855310082435608,
0.4128202795982361,... |
func (_Lmc *LmcTransactorSession) ExitAndStake(_stakePool common.Address) (*types.Transaction, error) {
return _Lmc.Contract.ExitAndStake(&_Lmc.TransactOpts, _stakePool)
} | [
-0.36605802178382874,
0.41013577580451965,
0.2583978474140167,
-0.530883252620697,
-0.4563809633255005,
-0.8298601508140564,
0.33497104048728943,
-0.8941903710365295,
0.03717734292149544,
0.6645222306251526,
-0.4219117760658264,
-0.2705211043357849,
-0.3020116686820984,
0.2736874222755432,... |
func (_Lmc *LmcTransactor) ExitAndTransfer(opts *bind.TransactOpts, transferTo common.Address) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "exitAndTransfer", transferTo)
} | [
-0.9375353455543518,
0.36746346950531006,
0.44193601608276367,
-1.1430721282958984,
-0.25049328804016113,
0.19748236238956451,
-0.21372587978839874,
-0.6143031716346741,
0.16247239708900452,
0.21341544389724731,
-0.8471869230270386,
0.2813543677330017,
-0.08867970108985901,
0.1524823009967... |
func (_Lmc *LmcSession) ExitAndTransfer(transferTo common.Address) (*types.Transaction, error) {
return _Lmc.Contract.ExitAndTransfer(&_Lmc.TransactOpts, transferTo)
} | [
-0.7101763486862183,
0.3186088800430298,
0.44814327359199524,
-1.250854730606079,
-0.21829472482204437,
0.017754998058080673,
-0.07319507747888565,
-0.7358695268630981,
0.27265092730522156,
0.22351208329200745,
-0.6923403739929199,
0.018661774694919586,
0.03389139473438263,
0.1547800600528... |
func (_Lmc *LmcTransactorSession) ExitAndTransfer(transferTo common.Address) (*types.Transaction, error) {
return _Lmc.Contract.ExitAndTransfer(&_Lmc.TransactOpts, transferTo)
} | [
-0.7326279878616333,
0.37007996439933777,
0.4439881443977356,
-1.3542062044143677,
-0.166050523519516,
-0.0012737978249788284,
-0.10761653631925583,
-0.7812267541885376,
0.22880972921848297,
0.2554100751876831,
-0.6950731873512268,
-0.02408944070339203,
0.03407224640250206,
0.0384742319583... |
func (_Lmc *LmcTransactor) ExitAndUnlock(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "exitAndUnlock")
} | [
-1.101530909538269,
0.7649977207183838,
0.2862462103366852,
-1.0271632671356201,
-0.2050260752439499,
-0.4367583394050598,
0.004823646508157253,
-0.02280784398317337,
-0.06921695172786713,
0.368312805891037,
-0.32711103558540344,
-0.08193004131317139,
-0.16196942329406738,
-0.3702679574489... |
func (_Lmc *LmcSession) ExitAndUnlock() (*types.Transaction, error) {
return _Lmc.Contract.ExitAndUnlock(&_Lmc.TransactOpts)
} | [
-0.5609343647956848,
0.6113536953926086,
0.3461379110813141,
-1.2490710020065308,
-0.06655935943126678,
-0.9615426659584045,
0.02808724343776703,
-0.2799769639968872,
0.06439002603292465,
0.36084169149398804,
-0.35476306080818176,
-0.540796160697937,
-0.07052702456712723,
-0.18524859845638... |
func (_Lmc *LmcTransactorSession) ExitAndUnlock() (*types.Transaction, error) {
return _Lmc.Contract.ExitAndUnlock(&_Lmc.TransactOpts)
} | [
-0.6822077631950378,
0.6760849952697754,
0.3324609696865082,
-1.4116111993789673,
0.030365392565727234,
-0.835783064365387,
-0.031158119440078735,
-0.3172585666179657,
0.08739232271909714,
0.4484771490097046,
-0.46107956767082214,
-0.6135431528091431,
-0.011515887454152107,
-0.314293891191... |
func (_Lmc *LmcTransactor) Extend(opts *bind.TransactOpts, _endBlock *big.Int, _rewardsPerBlock []*big.Int, _currentRemainingRewards []*big.Int, _newRemainingRewards []*big.Int) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "extend", _endBlock, _rewardsPerBlock, _currentRemainingRewards, _newRemain... | [
0.2942449152469635,
0.0601976253092289,
0.7221037149429321,
-0.23792444169521332,
-0.21756821870803833,
-0.0024423906579613686,
-0.9092114567756653,
-0.136211097240448,
-0.055938031524419785,
0.3862719237804413,
-0.23050880432128906,
0.17467862367630005,
-0.3648781478404999,
-0.26506868004... |
func (_Lmc *LmcSession) Extend(_endBlock *big.Int, _rewardsPerBlock []*big.Int, _currentRemainingRewards []*big.Int, _newRemainingRewards []*big.Int) (*types.Transaction, error) {
return _Lmc.Contract.Extend(&_Lmc.TransactOpts, _endBlock, _rewardsPerBlock, _currentRemainingRewards, _newRemainingRewards)
} | [
0.40435391664505005,
-0.04950173944234848,
0.6171777844429016,
-0.3850134015083313,
-0.030425293371081352,
-0.15825223922729492,
-1.007140874862671,
-0.11765506118535995,
-0.3309350907802582,
0.634232759475708,
-0.15833154320716858,
0.10449262708425522,
-0.4665620028972626,
-0.047069348394... |
func (_Lmc *LmcTransactorSession) Extend(_endBlock *big.Int, _rewardsPerBlock []*big.Int, _currentRemainingRewards []*big.Int, _newRemainingRewards []*big.Int) (*types.Transaction, error) {
return _Lmc.Contract.Extend(&_Lmc.TransactOpts, _endBlock, _rewardsPerBlock, _currentRemainingRewards, _newRemainingRewards)
} | [
0.326515793800354,
-0.016579899936914444,
0.6119323372840881,
-0.3887729346752167,
0.0417298749089241,
-0.11901229619979858,
-1.0006390810012817,
-0.19357448816299438,
-0.33031216263771057,
0.5979349613189697,
-0.19440284371376038,
0.032048922032117844,
-0.3008916676044464,
-0.154695272445... |
func (_Lmc *LmcTransactor) SetLockSchemes(opts *bind.TransactOpts, _lockSchemes []common.Address) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "setLockSchemes", _lockSchemes)
} | [
-0.8693440556526184,
0.9366543889045715,
0.15576273202896118,
-0.15981268882751465,
0.04545784741640091,
0.14699195325374603,
0.33798032999038696,
-0.8148635625839233,
0.34811440110206604,
0.38554227352142334,
-0.8714038729667664,
-0.3353904187679291,
-0.009411145001649857,
-0.808215796947... |
func (_Lmc *LmcSession) SetLockSchemes(_lockSchemes []common.Address) (*types.Transaction, error) {
return _Lmc.Contract.SetLockSchemes(&_Lmc.TransactOpts, _lockSchemes)
} | [
-0.5276799201965332,
0.8952653408050537,
0.18554863333702087,
-0.09235920011997223,
0.18583178520202637,
-0.056877702474594116,
0.5188533067703247,
-0.8658936619758606,
0.5435780882835388,
0.39787304401397705,
-0.8770421743392944,
-0.33154088258743286,
-0.15949533879756927,
-0.885316789150... |
func (_Lmc *LmcTransactorSession) SetLockSchemes(_lockSchemes []common.Address) (*types.Transaction, error) {
return _Lmc.Contract.SetLockSchemes(&_Lmc.TransactOpts, _lockSchemes)
} | [
-0.41986438632011414,
0.9069697856903076,
0.19634202122688293,
-0.08013278245925903,
0.24241632223129272,
0.0004068411362823099,
0.5104551911354065,
-0.8711958527565002,
0.4518835246562958,
0.41103845834732056,
-0.8817524313926697,
-0.5223889350891113,
-0.009521386586129665,
-0.96606659889... |
func (_Lmc *LmcTransactor) SetReceiverWhitelisted(opts *bind.TransactOpts, receiver common.Address, whitelisted bool) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "setReceiverWhitelisted", receiver, whitelisted)
} | [
-0.6353326439857483,
0.1516706347465515,
0.1632956564426422,
-1.4823967218399048,
0.36729535460472107,
-0.1338445246219635,
0.2941405773162842,
0.1422288566827774,
0.8501003980636597,
0.46674346923828125,
-0.4805244207382202,
0.5424227118492126,
0.13167804479599,
0.16833657026290894,
-1.... |
func (_Lmc *LmcSession) SetReceiverWhitelisted(receiver common.Address, whitelisted bool) (*types.Transaction, error) {
return _Lmc.Contract.SetReceiverWhitelisted(&_Lmc.TransactOpts, receiver, whitelisted)
} | [
-0.5021181106567383,
0.10615632683038712,
0.14010225236415863,
-1.4492899179458618,
0.202243372797966,
-0.36896854639053345,
0.4616232216358185,
0.10183796286582947,
0.8606719374656677,
0.5824745893478394,
-0.5511138439178467,
0.5130352973937988,
0.029773809015750885,
0.2545068562030792,
... |
func (_Lmc *LmcTransactorSession) SetReceiverWhitelisted(receiver common.Address, whitelisted bool) (*types.Transaction, error) {
return _Lmc.Contract.SetReceiverWhitelisted(&_Lmc.TransactOpts, receiver, whitelisted)
} | [
-0.5188137888908386,
0.10042904317378998,
0.13082511723041534,
-1.473346471786499,
0.2373073846101761,
-0.3369821012020111,
0.3706967234611511,
0.10089567303657532,
0.8623536229133606,
0.5522579550743103,
-0.5887965559959412,
0.415381520986557,
0.11534196883440018,
0.09724817425012589,
-... |
func (_Lmc *LmcTransactor) Stake(opts *bind.TransactOpts, _tokenAmount *big.Int) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "stake", _tokenAmount)
} | [
-0.2163640856742859,
0.7170023918151855,
0.24120084941387177,
-1.299396276473999,
0.053256869316101074,
-0.7822543382644653,
-0.22324024140834808,
-0.8422711491584778,
-0.3176002502441406,
0.03378282114863396,
-0.8100402355194092,
0.237067312002182,
-0.6730030179023743,
-0.8777962327003479... |
func (_Lmc *LmcSession) Stake(_tokenAmount *big.Int) (*types.Transaction, error) {
return _Lmc.Contract.Stake(&_Lmc.TransactOpts, _tokenAmount)
} | [
-0.025633156299591064,
0.6513623595237732,
0.18849216401576996,
-1.3655706644058228,
0.1417148858308792,
-1.1394635438919067,
-0.28716814517974854,
-1.0936182737350464,
-0.3538826107978821,
0.0017288473900407553,
-0.707410991191864,
-0.05228348821401596,
-0.787449061870575,
-0.717815041542... |
func (_Lmc *LmcTransactorSession) Stake(_tokenAmount *big.Int) (*types.Transaction, error) {
return _Lmc.Contract.Stake(&_Lmc.TransactOpts, _tokenAmount)
} | [
-0.05413210019469261,
0.7349843382835388,
0.23491080105304718,
-1.3627873659133911,
0.16883036494255066,
-1.1212098598480225,
-0.2786868214607239,
-1.1768662929534912,
-0.3207475543022156,
0.0036409504245966673,
-0.7452082633972168,
-0.1052248403429985,
-0.654143214225769,
-0.8255931138992... |
func (_Lmc *LmcTransactor) StakeAndLock(opts *bind.TransactOpts, _tokenAmount *big.Int, _lockScheme common.Address) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "stakeAndLock", _tokenAmount, _lockScheme)
} | [
-0.2743165194988251,
0.6264702677726746,
0.409109890460968,
-0.6442357897758484,
0.08281916379928589,
-0.5921359658241272,
-0.11974973231554031,
-0.5558639168739319,
-0.25044187903404236,
0.5726961493492126,
-0.528784990310669,
0.3506677448749542,
-0.12244713306427002,
-0.11116430163383484... |
func (_Lmc *LmcSession) StakeAndLock(_tokenAmount *big.Int, _lockScheme common.Address) (*types.Transaction, error) {
return _Lmc.Contract.StakeAndLock(&_Lmc.TransactOpts, _tokenAmount, _lockScheme)
} | [
-0.1809949427843094,
0.5078768134117126,
0.40307459235191345,
-0.5433799028396606,
0.2003006637096405,
-0.8038302063941956,
-0.15320856869220734,
-0.7537520527839661,
-0.12833049893379211,
0.5742142200469971,
-0.4115840196609497,
0.2314063161611557,
-0.32700997591018677,
-0.095768854022026... |
func (_Lmc *LmcTransactorSession) StakeAndLock(_tokenAmount *big.Int, _lockScheme common.Address) (*types.Transaction, error) {
return _Lmc.Contract.StakeAndLock(&_Lmc.TransactOpts, _tokenAmount, _lockScheme)
} | [
-0.19401511549949646,
0.6040418148040771,
0.4128517806529999,
-0.590743899345398,
0.21616889536380768,
-0.7982007265090942,
-0.1733332723379135,
-0.7993773818016052,
-0.14766784012317657,
0.6134335994720459,
-0.43424978852272034,
0.12365605682134628,
-0.1909840852022171,
-0.198526710271835... |
func (_Lmc *LmcTransactor) UpdateRewardMultipliers(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "updateRewardMultipliers")
} | [
-1.196612000465393,
-0.6707020401954651,
0.19803842902183533,
-0.28493383526802063,
-0.047618843615055084,
-0.3645569682121277,
-0.4058745503425598,
-0.3772731125354767,
0.3686899244785309,
1.0785537958145142,
-0.7427476048469543,
0.656249463558197,
-0.8526982069015503,
-0.2864538133144378... |
func (_Lmc *LmcSession) UpdateRewardMultipliers() (*types.Transaction, error) {
return _Lmc.Contract.UpdateRewardMultipliers(&_Lmc.TransactOpts)
} | [
-1.0542820692062378,
-0.7091420888900757,
0.138225257396698,
-0.4191948175430298,
0.09388502687215805,
-0.6812170743942261,
-0.5211419463157654,
-0.29743102192878723,
0.44218313694000244,
1.0686877965927124,
-0.7116146683692932,
0.560100793838501,
-0.950481653213501,
0.10891042649745941,
... |
func (_Lmc *LmcTransactorSession) UpdateRewardMultipliers() (*types.Transaction, error) {
return _Lmc.Contract.UpdateRewardMultipliers(&_Lmc.TransactOpts)
} | [
-0.902682363986969,
-0.732673168182373,
0.2011149525642395,
-0.3524765968322754,
0.12142354995012283,
-0.6214815974235535,
-0.528713583946228,
-0.3847820460796356,
0.5246070623397827,
1.074924349784851,
-0.7459437251091003,
0.39026668667793274,
-0.6886690258979797,
-0.10746092349290848,
... |
func (_Lmc *LmcTransactor) Withdraw(opts *bind.TransactOpts, _tokenAmount *big.Int) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "withdraw", _tokenAmount)
} | [
-0.6337647438049316,
0.5703475475311279,
0.18097175657749176,
-1.2627758979797363,
-0.4744654893875122,
-0.7232503890991211,
-0.15691691637039185,
-0.7844630479812622,
0.10557052493095398,
-0.3247271776199341,
-0.5306248068809509,
0.602180004119873,
-0.40329381823539734,
-0.787048578262329... |
func (_Lmc *LmcSession) Withdraw(_tokenAmount *big.Int) (*types.Transaction, error) {
return _Lmc.Contract.Withdraw(&_Lmc.TransactOpts, _tokenAmount)
} | [
-0.500942051410675,
0.5353277325630188,
0.1609608381986618,
-1.3951419591903687,
-0.30489784479141235,
-1.088355541229248,
-0.17280390858650208,
-1.0294159650802612,
-0.04951649531722069,
-0.19804291427135468,
-0.41130346059799194,
0.30033230781555176,
-0.5746954083442688,
-0.5709128379821... |
func (_Lmc *LmcTransactorSession) Withdraw(_tokenAmount *big.Int) (*types.Transaction, error) {
return _Lmc.Contract.Withdraw(&_Lmc.TransactOpts, _tokenAmount)
} | [
-0.5215552449226379,
0.6183441877365112,
0.19323158264160156,
-1.296897530555725,
-0.27049019932746887,
-1.0681195259094238,
-0.12593229115009308,
-1.1967694759368896,
-0.04184746742248535,
-0.15314806997776031,
-0.4724378287792206,
0.20502407848834991,
-0.4081135094165802,
-0.705630421638... |
func (_Lmc *LmcTransactor) WithdrawLPRewards(opts *bind.TransactOpts, recipient common.Address, lpTokenContract common.Address) (*types.Transaction, error) {
return _Lmc.contract.Transact(opts, "withdrawLPRewards", recipient, lpTokenContract)
} | [
0.5735482573509216,
0.6516954898834229,
0.32362478971481323,
-1.4202195405960083,
-0.4136655330657959,
-0.22436274588108063,
-0.9127894639968872,
-0.22637949883937836,
0.5098403096199036,
-0.11133936792612076,
-0.18093504011631012,
-0.40640974044799805,
-1.3124476671218872,
-0.232709690928... |
func (_Lmc *LmcSession) WithdrawLPRewards(recipient common.Address, lpTokenContract common.Address) (*types.Transaction, error) {
return _Lmc.Contract.WithdrawLPRewards(&_Lmc.TransactOpts, recipient, lpTokenContract)
} | [
0.579411506652832,
0.6164067387580872,
0.3190171718597412,
-1.4365135431289673,
-0.2891414165496826,
-0.35580992698669434,
-0.7968180775642395,
-0.10324877500534058,
0.5813272595405579,
0.10207466781139374,
-0.18874593079090118,
-0.3455287516117096,
-1.385541319847107,
-0.31489500403404236... |
func (_Lmc *LmcTransactorSession) WithdrawLPRewards(recipient common.Address, lpTokenContract common.Address) (*types.Transaction, error) {
return _Lmc.Contract.WithdrawLPRewards(&_Lmc.TransactOpts, recipient, lpTokenContract)
} | [
0.5957490801811218,
0.6524358987808228,
0.3189609944820404,
-1.3977969884872437,
-0.3559790253639221,
-0.32593971490859985,
-0.8092501163482666,
-0.22728198766708374,
0.5424153804779053,
0.0570959597826004,
-0.2174421101808548,
-0.3982193171977997,
-1.338698387145996,
-0.36132025718688965,... |
func (it *LmcBonusTransferredIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.879050076007843,
0.08930447697639465,
0.23872807621955872,
-1.110748529434204,
-0.3919673562049866,
0.7708527445793152,
-0.40454331040382385,
-0.20271798968315125,
-1.358827829360962,
-0.8366535305976868,
0.6750076413154602,
0.48370176553726196,
-1.3626912832260132,
0.8060550689697266,
... |
func (_Lmc *LmcFilterer) FilterBonusTransferred(opts *bind.FilterOpts, _userAddress []common.Address) (*LmcBonusTransferredIterator, error) {
var _userAddressRule []interface{}
for _, _userAddressItem := range _userAddress {
_userAddressRule = append(_userAddressRule, _userAddressItem)
}
logs, sub, err := _Lmc.... | [
0.4938810169696808,
0.44295990467071533,
0.4463062882423401,
-0.5003602504730225,
-0.4172600209712982,
0.4505305290222168,
0.3744931221008301,
0.6844561100006104,
0.3467932641506195,
0.0678558200597763,
-0.1957327127456665,
1.4732465744018555,
-0.6664119362831116,
0.1968120038509369,
0.1... |
func (_Lmc *LmcFilterer) WatchBonusTransferred(opts *bind.WatchOpts, sink chan<- *LmcBonusTransferred, _userAddress []common.Address) (event.Subscription, error) {
var _userAddressRule []interface{}
for _, _userAddressItem := range _userAddress {
_userAddressRule = append(_userAddressRule, _userAddressItem)
}
l... | [
1.045783281326294,
0.010628285817801952,
0.7155948877334595,
-0.8084660768508911,
-0.2781965732574463,
0.09938666224479675,
0.49141716957092285,
0.009002681821584702,
-0.15423592925071716,
-0.5170567631721497,
-0.3258528709411621,
1.7897543907165527,
-0.2039659321308136,
0.4179098606109619... |
func (_Lmc *LmcFilterer) ParseBonusTransferred(log types.Log) (*LmcBonusTransferred, error) {
event := new(LmcBonusTransferred)
if err := _Lmc.contract.UnpackLog(event, "BonusTransferred", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.6742777228355408,
0.2237301915884018,
0.343418687582016,
-1.2887822389602661,
-0.39419761300086975,
-0.10442772507667542,
-0.05248954892158508,
0.3271785378456116,
-0.07141534984111786,
-0.49306392669677734,
-1.1354038715362549,
0.7257834672927856,
0.0016149994917213917,
-0.0896803364157... |
func (it *LmcClaimedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
1.0265114307403564,
-0.2687513828277588,
0.29049021005630493,
-0.5387234091758728,
-0.8804739713668823,
0.9936056137084961,
-0.35780853033065796,
-0.15544480085372925,
-0.6642671227455139,
-0.711184561252594,
1.0488932132720947,
1.3338271379470825,
-0.515335738658905,
0.49322956800460815,
... |
func (_Lmc *LmcFilterer) FilterClaimed(opts *bind.FilterOpts, user []common.Address) (*LmcClaimedIterator, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.FilterLogs(opts, "Claimed", userRule)
if err != nil {
return n... | [
0.8816297650337219,
-0.31470105051994324,
0.49608585238456726,
0.3878105580806732,
-0.5558418035507202,
0.3418416976928711,
0.5443500876426697,
-0.127997487783432,
0.451514333486557,
0.1539430171251297,
0.2778867185115814,
1.4847655296325684,
-0.44282761216163635,
0.3556061089038849,
-0.... |
func (_Lmc *LmcFilterer) WatchClaimed(opts *bind.WatchOpts, sink chan<- *LmcClaimed, user []common.Address) (event.Subscription, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.WatchLogs(opts, "Claimed", userRule)
if er... | [
1.3238804340362549,
-0.635795533657074,
0.8240339159965515,
-0.31660062074661255,
0.014961766079068184,
-0.0790509507060051,
0.6536089181900024,
-0.48596030473709106,
0.0027558214496821165,
-0.34179043769836426,
-0.15046295523643494,
1.5508850812911987,
0.04404589906334877,
0.4833638966083... |
func (_Lmc *LmcFilterer) ParseClaimed(log types.Log) (*LmcClaimed, error) {
event := new(LmcClaimed)
if err := _Lmc.contract.UnpackLog(event, "Claimed", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
1.0974406003952026,
-0.04438716173171997,
0.606716513633728,
-0.6069830060005188,
-0.27194944024086,
-0.5765169262886047,
0.3657028079032898,
-0.4390604794025421,
1.1172553300857544,
-0.7818846106529236,
-0.8347214460372925,
0.41069185733795166,
0.4641651511192322,
-0.23385952413082123,
... |
func (it *LmcExitedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.45215052366256714,
0.339116632938385,
0.15342257916927338,
-0.17689640820026398,
-0.7998311519622803,
0.8011670708656311,
-0.2542926073074341,
0.17904075980186462,
-0.8353723287582397,
-0.07571574300527573,
0.7168359160423279,
0.7562083005905151,
-1.0454132556915283,
0.7386717796325684,
... |
func (_Lmc *LmcFilterer) FilterExited(opts *bind.FilterOpts, user []common.Address) (*LmcExitedIterator, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.FilterLogs(opts, "Exited", userRule)
if err != nil {
return nil,... | [
-0.1737452745437622,
0.03834882006049156,
0.4556877613067627,
0.7312440872192383,
-0.7831620573997498,
0.7480705976486206,
0.3722783625125885,
0.2659400999546051,
-0.3531544804573059,
0.602124810218811,
0.15227946639060974,
1.1037966012954712,
-0.6876590251922607,
0.4232904613018036,
0.4... |
func (_Lmc *LmcFilterer) WatchExited(opts *bind.WatchOpts, sink chan<- *LmcExited, user []common.Address) (event.Subscription, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.WatchLogs(opts, "Exited", userRule)
if err !... | [
0.6091293096542358,
-0.21894140541553497,
0.6493169069290161,
0.02573366090655327,
-0.25156667828559875,
0.11058879643678665,
0.39444470405578613,
-0.28499695658683777,
-0.456515908241272,
-0.27944445610046387,
-0.0026565787848085165,
1.1920384168624878,
-0.17476710677146912,
0.65628451108... |
func (_Lmc *LmcFilterer) ParseExited(log types.Log) (*LmcExited, error) {
event := new(LmcExited)
if err := _Lmc.contract.UnpackLog(event, "Exited", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.6265493631362915,
0.23345103859901428,
0.44177159667015076,
-0.8672921657562256,
-0.46837326884269714,
-0.21467658877372742,
0.03992666304111481,
-0.5027806758880615,
0.3743831515312195,
-0.40743306279182434,
-1.0460021495819092,
0.07504735141992569,
0.14988653361797333,
-0.0472990535199... |
func (it *LmcExitedAndUnlockedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.3050273358821869,
0.07961238920688629,
0.262713223695755,
-0.08164677768945694,
-0.6214016675949097,
0.6875193119049072,
-0.18386442959308624,
-0.028917985036969185,
-0.7095819115638733,
-0.18110734224319458,
0.852458119392395,
0.8407567143440247,
-1.2396372556686401,
0.6361247301101685,... |
func (_Lmc *LmcFilterer) FilterExitedAndUnlocked(opts *bind.FilterOpts, _userAddress []common.Address) (*LmcExitedAndUnlockedIterator, error) {
var _userAddressRule []interface{}
for _, _userAddressItem := range _userAddress {
_userAddressRule = append(_userAddressRule, _userAddressItem)
}
logs, sub, err := _Lm... | [
-0.5942089557647705,
0.3083341419696808,
0.3993418514728546,
-0.13213768601417542,
-0.6255154609680176,
-0.19446124136447906,
0.8569520711898804,
0.3556811511516571,
0.527197003364563,
0.8019401431083679,
0.6664710640907288,
1.0428029298782349,
-0.5354123711585999,
0.09675119072198868,
0... |
func (_Lmc *LmcFilterer) WatchExitedAndUnlocked(opts *bind.WatchOpts, sink chan<- *LmcExitedAndUnlocked, _userAddress []common.Address) (event.Subscription, error) {
var _userAddressRule []interface{}
for _, _userAddressItem := range _userAddress {
_userAddressRule = append(_userAddressRule, _userAddressItem)
}
... | [
0.3793768286705017,
-0.08509001135826111,
0.530694305896759,
-0.6345956921577454,
-0.36693230271339417,
-0.3590761125087738,
0.9247375130653381,
0.06271175295114517,
0.11755014955997467,
-0.12700313329696655,
0.1199524849653244,
1.3750364780426025,
-0.08125602453947067,
0.3605261743068695,... |
func (_Lmc *LmcFilterer) ParseExitedAndUnlocked(log types.Log) (*LmcExitedAndUnlocked, error) {
event := new(LmcExitedAndUnlocked)
if err := _Lmc.contract.UnpackLog(event, "ExitedAndUnlocked", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
-0.11947296559810638,
0.30137911438941956,
0.48039698600769043,
-1.0958517789840698,
-0.5866351127624512,
-0.5357277393341064,
0.1636742353439331,
0.18994465470314026,
0.07769256085157394,
0.21078553795814514,
-0.419215589761734,
0.027585919946432114,
0.09978906065225601,
-0.20418226718902... |
func (it *LmcExtendedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.9127563834190369,
0.29325902462005615,
0.3666931986808777,
-0.49563369154930115,
-1.4925819635391235,
0.8831122517585754,
-0.5689671635627747,
-0.219233438372612,
-0.9078400135040283,
-0.2540975511074066,
0.4965740740299225,
0.9987631440162659,
-0.7007300853729248,
0.6372660994529724,
... |
func (_Lmc *LmcFilterer) FilterExtended(opts *bind.FilterOpts) (*LmcExtendedIterator, error) {
logs, sub, err := _Lmc.contract.FilterLogs(opts, "Extended")
if err != nil {
return nil, err
}
return &LmcExtendedIterator{contract: _Lmc.contract, event: "Extended", logs: logs, sub: sub}, nil
} | [
0.7225711941719055,
0.11501384526491165,
0.6509775519371033,
0.3174293041229248,
-1.1866661310195923,
0.515803873538971,
-0.530139148235321,
-0.11293618381023407,
0.7278544902801514,
0.3867364823818207,
-0.12502580881118774,
1.628419280052185,
-0.6402378082275391,
-0.0922480896115303,
0.... |
func (_Lmc *LmcFilterer) WatchExtended(opts *bind.WatchOpts, sink chan<- *LmcExtended) (event.Subscription, error) {
logs, sub, err := _Lmc.contract.WatchLogs(opts, "Extended")
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-chan struct{}) error {
defer sub.Unsubscribe()
for {
s... | [
1.1576735973358154,
-0.11853513866662979,
0.8233471512794495,
-0.5505228042602539,
-0.6426278948783875,
0.10020024329423904,
-0.3153687119483948,
-0.5330865383148193,
0.2574654221534729,
-0.39609357714653015,
-0.5874602794647217,
1.8587902784347534,
-0.16043952107429504,
0.2241110503673553... |
func (_Lmc *LmcFilterer) ParseExtended(log types.Log) (*LmcExtended, error) {
event := new(LmcExtended)
if err := _Lmc.contract.UnpackLog(event, "Extended", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.8527857661247253,
0.6358476281166077,
0.6417855620384216,
-0.8863407969474792,
-1.0538908243179321,
0.01457751914858818,
-0.8043653964996338,
-0.400066614151001,
0.5141290426254272,
-0.20096705853939056,
-1.371711254119873,
0.5896091461181641,
0.21818630397319794,
0.14402902126312256,
... |
func (it *LmcStakedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.9947907328605652,
0.20650915801525116,
0.23292596638202667,
-0.15071791410446167,
-0.8827158212661743,
0.5237857699394226,
0.2539239823818207,
-0.6096774935722351,
-1.3724782466888428,
-0.05512743443250656,
0.6232706308364868,
0.3624718189239502,
-0.9446076154708862,
1.3413398265838623,
... |
func (_Lmc *LmcFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*LmcStakedIterator, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.FilterLogs(opts, "Staked", userRule)
if err != nil {
return nil,... | [
0.5813894271850586,
0.04575663432478905,
0.49388039112091064,
0.5095380544662476,
-0.8625485301017761,
0.44736018776893616,
1.0960878133773804,
-0.4289736747741699,
-0.5620735287666321,
0.5495975613594055,
0.21592126786708832,
1.2303093671798706,
-0.6770806908607483,
0.7302311062812805,
... |
func (_Lmc *LmcFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *LmcStaked, user []common.Address) (event.Subscription, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.WatchLogs(opts, "Staked", userRule)
if err !... | [
1.0442628860473633,
-0.24610763788223267,
0.7899734973907471,
-0.16095571219921112,
-0.23608171939849854,
-0.21379534900188446,
0.8133981227874756,
-0.7345068454742432,
-0.6128010153770447,
0.17501266300678253,
-0.17449656128883362,
1.357474684715271,
-0.1849949061870575,
0.587548553943634... |
func (_Lmc *LmcFilterer) ParseStaked(log types.Log) (*LmcStaked, error) {
event := new(LmcStaked)
if err := _Lmc.contract.UnpackLog(event, "Staked", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.8767412900924683,
-0.010580576956272125,
0.4495791494846344,
-0.5751861333847046,
-0.6213090419769287,
-0.4442024528980255,
0.5528162717819214,
-0.5681264400482178,
0.019344186410307884,
-0.145256906747818,
-1.1593948602676392,
0.4736880958080292,
0.22158372402191162,
0.2188778668642044,... |
func (it *LmcStakedAndLockedIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.8170191049575806,
0.028347771614789963,
0.33357930183410645,
0.022720156237483025,
-0.7624763250350952,
0.5384284853935242,
0.13453803956508636,
-0.5624450445175171,
-1.150235652923584,
-0.1570536345243454,
0.7160972356796265,
0.45598945021629333,
-0.9775586724281311,
1.1468520164489746,... |
func (_Lmc *LmcFilterer) FilterStakedAndLocked(opts *bind.FilterOpts, _userAddress []common.Address) (*LmcStakedAndLockedIterator, error) {
var _userAddressRule []interface{}
for _, _userAddressItem := range _userAddress {
_userAddressRule = append(_userAddressRule, _userAddressItem)
}
logs, sub, err := _Lmc.co... | [
0.31860941648483276,
0.04531104862689972,
0.5296646952629089,
-0.10129474848508835,
-1.0380785465240479,
-0.3359147906303406,
1.1682599782943726,
0.04834068566560745,
0.6607797145843506,
0.7037362456321716,
0.12378080934286118,
1.1548558473587036,
-0.28216564655303955,
0.4551655352115631,
... |
func (_Lmc *LmcFilterer) WatchStakedAndLocked(opts *bind.WatchOpts, sink chan<- *LmcStakedAndLocked, _userAddress []common.Address) (event.Subscription, error) {
var _userAddressRule []interface{}
for _, _userAddressItem := range _userAddress {
_userAddressRule = append(_userAddressRule, _userAddressItem)
}
log... | [
0.8843181729316711,
-0.2711716294288635,
0.6930484771728516,
-0.10465892404317856,
-0.4474473297595978,
-0.33336904644966125,
1.0173190832138062,
-0.6937281489372253,
-0.12870344519615173,
-0.018020043149590492,
-0.06280505657196045,
1.409264087677002,
0.02766384743154049,
0.60696119070053... |
func (_Lmc *LmcFilterer) ParseStakedAndLocked(log types.Log) (*LmcStakedAndLocked, error) {
event := new(LmcStakedAndLocked)
if err := _Lmc.contract.UnpackLog(event, "StakedAndLocked", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.46496742963790894,
0.0036426682490855455,
0.4682282507419586,
-0.5600738525390625,
-0.9641175270080566,
-0.48136359453201294,
0.5703461170196533,
-0.06974057853221893,
0.048771198838949203,
0.23933807015419006,
-1.076953649520874,
0.43583229184150696,
0.30594202876091003,
0.3579589128494... |
func (it *LmcWithdrawLPRewardsIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.8471102714538574,
0.259244829416275,
0.30600929260253906,
-0.9446262717247009,
-1.0248527526855469,
0.8424065113067627,
-0.22875915467739105,
-0.594454824924469,
-0.3970527648925781,
-1.1491385698318481,
1.0882205963134766,
0.5426732301712036,
-0.5077541470527649,
1.3033716678619385,
0... |
func (_Lmc *LmcFilterer) FilterWithdrawLPRewards(opts *bind.FilterOpts, rewardsAmount []*big.Int, recipient []common.Address) (*LmcWithdrawLPRewardsIterator, error) {
var rewardsAmountRule []interface{}
for _, rewardsAmountItem := range rewardsAmount {
rewardsAmountRule = append(rewardsAmountRule, rewardsAmountIte... | [
0.3619495630264282,
0.6067538261413574,
0.6433835625648499,
-1.1299244165420532,
-1.2478001117706299,
0.29341110587120056,
-0.466328501701355,
-0.16843801736831665,
0.5984654426574707,
0.3101077675819397,
0.9492119550704956,
0.408257395029068,
-0.4987955391407013,
-0.17251542210578918,
-... |
func (_Lmc *LmcFilterer) WatchWithdrawLPRewards(opts *bind.WatchOpts, sink chan<- *LmcWithdrawLPRewards, rewardsAmount []*big.Int, recipient []common.Address) (event.Subscription, error) {
var rewardsAmountRule []interface{}
for _, rewardsAmountItem := range rewardsAmount {
rewardsAmountRule = append(rewardsAmount... | [
1.1161298751831055,
0.3696099817752838,
0.7986012101173401,
-0.8899154663085938,
-0.5597418546676636,
-0.036861907690763474,
-0.10786063224077225,
-0.707205593585968,
0.3965838849544525,
-0.46463051438331604,
0.48653581738471985,
1.1334002017974854,
0.01140262559056282,
0.16301681101322174... |
func (_Lmc *LmcFilterer) ParseWithdrawLPRewards(log types.Log) (*LmcWithdrawLPRewards, error) {
event := new(LmcWithdrawLPRewards)
if err := _Lmc.contract.UnpackLog(event, "WithdrawLPRewards", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.7739290595054626,
0.6979705095291138,
0.6663792729377747,
-1.505791187286377,
-0.9460865259170532,
-0.27679651975631714,
-0.3742176294326782,
-0.22676287591457367,
0.9686317443847656,
-0.20658397674560547,
-0.1282581239938736,
-0.24142517149448395,
0.07841149717569351,
0.0716030076146125... |
func (it *LmcWithdrawnIterator) Close() error {
it.sub.Unsubscribe()
return nil
} | [
0.8884187936782837,
-0.01874244585633278,
0.271558552980423,
-0.9875678420066833,
-1.0617817640304565,
1.1481536626815796,
-0.30779480934143066,
-0.6267734169960022,
-0.6895361542701721,
-0.9741206765174866,
0.9836334586143494,
0.7151764631271362,
-0.6233447194099426,
1.1966687440872192,
... |
func (_Lmc *LmcFilterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*LmcWithdrawnIterator, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.FilterLogs(opts, "Withdrawn", userRule)
if err != nil {
re... | [
0.13513192534446716,
-0.4663912057876587,
0.6378320455551147,
0.011810013093054295,
-1.1075016260147095,
0.661356508731842,
0.3362988233566284,
-0.407813161611557,
0.14344291388988495,
-0.11340104788541794,
0.020403597503900528,
0.9948668479919434,
-0.43962937593460083,
0.5191351175308228,... |
func (_Lmc *LmcFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *LmcWithdrawn, user []common.Address) (event.Subscription, error) {
var userRule []interface{}
for _, userItem := range user {
userRule = append(userRule, userItem)
}
logs, sub, err := _Lmc.contract.WatchLogs(opts, "Withdrawn", userRule)
... | [
0.8146229386329651,
-0.42735931277275085,
0.9467910528182983,
-0.18746207654476166,
-0.6709489226341248,
0.12190845608711243,
0.3421443998813629,
-0.8582257032394409,
-0.11415161192417145,
-0.6576275825500488,
-0.15989451110363007,
1.4160881042480469,
0.0013705446617677808,
0.7123124003410... |
func (_Lmc *LmcFilterer) ParseWithdrawn(log types.Log) (*LmcWithdrawn, error) {
event := new(LmcWithdrawn)
if err := _Lmc.contract.UnpackLog(event, "Withdrawn", log); err != nil {
return nil, err
}
event.Raw = log
return event, nil
} | [
0.6437174081802368,
-0.4604795277118683,
0.6927375793457031,
-1.2283432483673096,
-0.9194714426994324,
-0.13479486107826233,
-0.16773417592048645,
-0.5894834399223328,
0.4754936099052429,
-0.9670525193214417,
-0.9075115919113159,
0.03278837725520134,
0.31477198004722595,
0.0128615936264395... |
func Videos(videos []fs.Video) html.Node {
divs := make([]html.Node, 0, len(videos))
divs = append(divs, html.Style().Text(VideoCSS().String()))
for _, video := range videos {
divs = append(divs, Video(video))
}
if len(videos) == 0 {
divs = append(divs, CenterByBoxes(html.H2().Text("No videos")))
}
page... | [
-0.46183139085769653,
0.733876645565033,
0.4679677486419678,
0.14264453947544098,
-0.2803615629673004,
-0.002362714149057865,
0.39251309633255005,
0.02527255192399025,
1.0386929512023926,
-0.6834756731987,
0.9897078275680542,
-0.45499303936958313,
0.5128559470176697,
0.4925783574581146,
... |
func NewSQLProductRepo(Conn *sql.DB) repo.ProductRepo {
return &mysqlProductRepo{
Conn: Conn,
}
} | [
0.3132523000240326,
-0.4670172929763794,
0.19027967751026154,
-0.3998371362686157,
-0.529748797416687,
-0.4333946704864502,
-1.4737401008605957,
-0.4120171070098877,
0.25179973244667053,
-0.07901857048273087,
-0.8223499059677124,
-0.12507016956806183,
0.11640092730522156,
-0.92555385828018... |
func NewElasticLogger(l *L) *ElasticLogger {
return &ElasticLogger{l: l}
} | [
0.4478291869163513,
-0.14597125351428986,
0.17353011667728424,
-0.816827118396759,
-1.129768967628479,
-0.7467891573905945,
-1.50997793674469,
0.6598610877990723,
0.7400012612342834,
0.3273542523384094,
-0.5301580429077148,
0.34574997425079346,
-0.29918161034584045,
1.1272523403167725,
0... |
func (el *ElasticLogger) Printf(format string, v ...interface{}) {
// The ES library logs lots of stuff with newlines and other junk...this escapes
// all that so it's a single line with the message
el.l.Debug(fmt.Sprintf("%q", fmt.Sprintf(format, v...)))
} | [
0.3108066916465759,
-0.32541608810424805,
0.6276029348373413,
-0.05471862107515335,
0.8435797095298767,
-0.2470518946647644,
-0.9119927883148193,
0.06229531019926071,
-0.21873199939727783,
-0.7370375990867615,
0.6098504662513733,
0.38859665393829346,
0.2537071108818054,
0.8084187507629395,... |
func (s *service) Create(ctx context.Context, buyer string) (*Basket, error) {
//TODO validation?
basket := &Basket{
Id: GenerateId(),
BuyerId: buyer,
Items: nil,
CreatedAt: time.Now(),
}
err := s.repo.Create(ctx, basket)
if err != nil {
return nil, errors.Wrap(err, "Service:Failed to crea... | [
-0.15247541666030884,
0.57774418592453,
0.250705361366272,
1.183720588684082,
0.3569934070110321,
0.8565912246704102,
-0.4182857275009155,
-0.7413995265960693,
0.017979156225919724,
-0.3260033130645752,
-0.6250154376029968,
0.5836202502250671,
-0.5545499324798584,
1.3068337440490723,
-0.... |
func (s *service) Delete(ctx context.Context, id string) (*Basket, error) {
basket, err := s.Get(ctx, id)
if err != nil {
return nil, err
}
if basket ==nil{
return nil,errors.New("Service: Basket not found")
}
if err = s.repo.Delete(ctx, id); err != nil {
return nil, errors.Wrap(err, "Service:Failed to dele... | [
0.7712271809577942,
0.6652629375457764,
0.5281574726104736,
0.4488382041454315,
0.13812346756458282,
0.3770889937877655,
-0.05139511078596115,
-0.6813079118728638,
1.147130012512207,
0.41985535621643066,
-0.4352620840072632,
1.2151833772659302,
-1.0200092792510986,
0.6923485398292542,
0.... |
func newService(repo Repository) Service {
if repo == nil {
return nil
}
return &service{repo}
} | [
0.6920992732048035,
0.481656014919281,
0.051004279404878616,
0.47804638743400574,
-0.3984837830066681,
-0.4546123743057251,
-0.6291741728782654,
-0.5802050828933716,
0.48400643467903137,
0.07376913726329803,
-0.4257993698120117,
0.6884516477584839,
-0.36657607555389404,
1.0602359771728516,... |
func setupFlags() commandOptions {
// Usage text
flag.Usage = asshUsage
// Flags
sshKey := flag.String("i", "${HOME}/.ssh/id-rsa.pem", "your ssh key")
user := flag.String("u", "ec2-user", "ssh user name")
flag.Parse()
// Required arguments
if len(flag.Args()) < 1 {
fmt.Println("Auto Scaling Group name is r... | [
-0.33966225385665894,
0.07503923773765564,
0.4415057897567749,
-0.48481133580207825,
-0.043975625187158585,
-0.030525345355272293,
-0.6592063307762146,
-0.16894851624965668,
-0.9606874585151672,
-0.11006169021129608,
-0.04569822922348976,
0.17275755107402802,
-0.6569861769676208,
1.1769094... |
func TestID(t *testing.T) {
tcs := []struct {
testcase string
value string
sanitisedValue string
validationError error
expectedID ID
}{
{
testcase: "ForAnEmptyValue",
value: "",
sanitisedValue: "",
validationError: nil,
expectedID: ID{},
},
... | [
-0.35274168848991394,
-0.3202575445175171,
0.4016773998737335,
0.24387279152870178,
0.6253454089164734,
0.7334167957305908,
0.40160873532295227,
-0.05543362721800804,
0.5408031344413757,
-0.6219239830970764,
-0.5651338696479797,
-0.37001651525497437,
0.2952694594860077,
0.6370694041252136,... |
func New(c *config.AliyunSmsConfig, t *template.Template, l log.Logger) (*Notifier, error) {
client, err := dysmsapi.NewClientWithAccessKey("cn-hangzhou", c.AccessKeyId, c.AccessSecret)
if err != nil {
return nil, err
}
return &Notifier{conf: c, tmpl: t, logger: l, client: client}, nil
} | [
0.2766858637332916,
-0.45370134711265564,
0.2370711714029312,
-0.25256475806236267,
-0.21347518265247345,
-0.21782554686069489,
0.3735244870185852,
0.28606170415878296,
-0.7249414324760437,
-0.07241961359977722,
-0.7513139843940735,
-0.21242395043373108,
0.012012310326099396,
0.63482403755... |
func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error) {
key, err := notify.ExtractGroupKey(ctx)
if err != nil {
return false, err
}
level.Debug(n.logger).Log("incident", key)
data := notify.GetTemplateData(ctx, n.tmpl, as, n.logger)
tmpl := notify.TmplText(n.tmpl, data, &err)
if e... | [
-0.6737830638885498,
0.4337514340877533,
0.8875729441642761,
0.4189058542251587,
-0.056581754237413406,
-0.03354213386774063,
0.4422450363636017,
-0.19239148497581482,
-0.5684630274772644,
0.20701275765895844,
-1.033044695854187,
0.5777447819709778,
-1.0321567058563232,
0.2880079746246338,... |
func CreateChainedProxy(name string,
logTrace *log.Logger,
logDebug *log.Logger,
logInfo *log.Logger,
logWarn *log.Logger,
logError *log.Logger,
Transport http.RoundTripper, middlewares ...Middleware) http.RoundTripper {
if Transport == nil {
Transport = http.DefaultTransport
}
proxy := &chainedProxy{
Na... | [
-0.08822225034236908,
-0.7066295146942139,
0.8603748679161072,
-0.32952988147735596,
-0.105557382106781,
-0.13294142484664917,
-0.5621757507324219,
-0.7265549898147583,
0.05511840805411339,
-0.5882962942123413,
-0.47269687056541443,
0.36451342701911926,
-1.1459475755691528,
0.4672465324401... |
func (this *chainedProxy) RoundTrip(request *http.Request) (*http.Response, error) {
this.LogInfo.Println(this.Name, request.Method, request.URL.Path)
this.LogTrace.Println(this.Name, request.Method, request.URL.Path, request.Header, request.RequestURI)
var response *http.Response
var err error
defer func() {
... | [
-0.6249935030937195,
-0.8549740314483643,
0.8446937799453735,
-0.39207160472869873,
0.23531004786491394,
-0.48783883452415466,
0.2629736661911011,
-0.9467741847038269,
0.3738512396812439,
-0.7219774723052979,
0.6588030457496643,
-0.3568328619003296,
-0.9818542003631592,
-0.392204225063324,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.