text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (in *WeeklyList) DeepCopy() *WeeklyList { if in == nil { return nil } out := new(WeeklyList) in.DeepCopyInto(out) return out }
[ -0.788138210773468, 0.34635621309280396, -0.12159179896116257, 0.49588853120803833, -0.8446502685546875, 0.05303528904914856, -0.4826759994029999, 0.46454232931137085, 1.1845566034317017, 0.39635786414146423, -1.3623262643814087, 0.6793606877326965, -0.5941291451454163, -0.5353198051452637...
func (in *WeeklyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil }
[ -0.6071207523345947, 0.05272352695465088, 0.39284464716911316, -0.17391076683998108, -0.9250190258026123, 0.4601393938064575, 0.3085382878780365, 0.396206796169281, 0.5162835717201233, -0.30790188908576965, -0.7975524067878723, 0.42661505937576294, -0.05007365718483925, -0.4433242976665497...
func (in *WeeklySpec) DeepCopyInto(out *WeeklySpec) { *out = *in if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]string, len(*in)) copy(*out, *in) } if in.Articles != nil { in, out := &in.Articles, &out.Articles *out = make([]ArticleSpec, len(*in)) copy(*out, *in) } return }
[ 0.5055655241012573, 0.054245173931121826, 0.5166548490524292, -1.0121253728866577, -0.769070565700531, -0.06010471284389496, -0.550616979598999, 0.2798372805118561, -0.8195961117744446, -0.06216564029455185, -0.3877764344215393, 0.8923269510269165, 0.2536067068576813, -0.7057887315750122, ...
func (in *WeeklySpec) DeepCopy() *WeeklySpec { if in == nil { return nil } out := new(WeeklySpec) in.DeepCopyInto(out) return out }
[ 0.05266508087515831, 0.15111888945102692, 0.022751430049538612, -0.3599638342857361, -0.5815838575363159, 0.07733242958784103, -0.0862295925617218, -0.15340912342071533, 0.5520001649856567, 0.05239492282271385, -0.742932140827179, 0.4834735095500946, -0.11088164150714874, -0.77464026212692...
func (in *WeeklyStatus) DeepCopyInto(out *WeeklyStatus) { *out = *in return }
[ 0.7369157075881958, 0.17459315061569214, 0.15992677211761475, -0.3992512822151184, -1.2508506774902344, 0.32491907477378845, -0.7783234715461731, 0.4426850378513336, -0.12687495350837708, -0.5633321404457092, -0.9579838514328003, 1.1515699625015259, 0.46762141585350037, -1.0764778852462769...
func (in *WeeklyStatus) DeepCopy() *WeeklyStatus { if in == nil { return nil } out := new(WeeklyStatus) in.DeepCopyInto(out) return out }
[ -0.020986629649996758, 0.171635702252388, -0.44839146733283997, -0.12519297003746033, -0.84952712059021, -0.29375869035720825, -0.38604775071144104, -0.34808585047721863, 0.8142889738082886, -0.7137552499771118, -0.9682654142379761, 0.48497462272644043, -0.07146922498941422, -1.16296231746...
func NewTraceWeb(ts *TraceServer, tt *TestTracker) *TraceWeb { return &TraceWeb{ ts: ts, tt: tt, } }
[ 0.6350149512290955, -0.4180569648742676, 0.30124709010124207, 1.2600935697555542, -0.20640087127685547, 0.3961934745311737, -0.1301700472831726, -1.2201862335205078, -0.3432941138744354, 0.04482976719737053, -0.7947904467582703, 0.7505273818969727, -0.029532283544540405, 0.5951537489891052...
func (tw *TraceWeb) TraceHandler(r http.ResponseWriter, req *http.Request) { r.Header().Add("Content-Type", "application/json") r.Write(tw.ts.Traces()) }
[ 0.3350105881690979, -0.26818564534187317, 0.6015983819961548, -0.002093489281833172, 0.25241729617118835, 0.1948939561843872, 0.878583550453186, -0.15894466638565063, 0.3977547585964203, 0.39898133277893066, -0.19823935627937317, -0.6249856352806091, -0.4943631887435913, 0.4947145879268646...
func (tw *TraceWeb) ListenAndServe(addr string) error { http.HandleFunc("/traces", tw.TraceHandler) http.HandleFunc("/cont", tw.Cont) http.HandleFunc("/RainsdConfs", tw.RainsdConfs) http.HandleFunc("/ZoneFiles", tw.ZoneFiles) http.HandleFunc("/VerifyOutput", tw.VerifyOutput) http.Handle("/", http.FileServer(http....
[ 0.3913065195083618, -0.9634757041931152, 0.4360296428203583, 0.23070645332336426, 0.40545645356178284, 0.12852047383785248, 0.783576250076294, 0.10705452412366867, 0.2501998841762543, -0.3239724338054657, -0.43997225165367126, -0.6861120462417603, -0.20639662444591522, 0.7413643598556519, ...
func From(file string) configData { return values[file] }
[ -0.1833917796611786, -0.47730982303619385, 0.1247420534491539, -0.3264942169189453, -1.083821177482605, 1.4927555322647095, -0.4818251430988312, 0.2725334167480469, -1.156693458557129, -0.18743188679218292, 0.08007573336362839, 0.27606236934661865, 0.8606981039047241, 0.3050398826599121, ...
func climbStairs(n int) int { if n < 2 { return 1 } tmp := []int{1, 2} for i := 2; i < n; i++ { tmp = append(tmp, tmp[i-1]+tmp[i-2]) } return tmp[n-1] }
[ -1.1134934425354004, 0.44241172075271606, 0.5057677030563354, 0.2887318730354309, 0.014826248399913311, -0.4570326805114746, 1.19558846950531, -0.39189964532852173, -0.836050808429718, 0.29613229632377625, -1.0716683864593506, -0.2762805223464966, -0.6935493350028992, 0.9642707705497742, ...
func ElasticDump(opt Options) (err error) { if opt.Debug { logger.Level = logrus.DebugLevel } inputElasticURL, inputElasticIndexName, isInputFile, err := parseElasticURL(opt.InputElasticURL) if err != nil { return } if isInputFile { return fmt.Errorf(`file input not suported`) } inputClient, err := elast...
[ -0.12471188604831696, 0.3735068142414093, 1.107175350189209, 0.05877378210425377, 0.2562457025051117, 0.5672459602355957, 0.9978775978088379, -0.3331771194934845, -0.3947036564350128, 0.31685468554496765, 0.3781599700450897, 0.3253253698348999, -0.3190402388572693, -0.2510228455066681, 1...
func (p *PoliciesDirProvider) SetOnNewPoliciesReadyCb(cb func()) { p.onNewPoliciesReadyCb = cb }
[ -0.07695745676755905, -0.6569870710372925, 0.2947712242603302, -0.24259436130523682, 0.1267545074224472, 0.7129096984863281, 0.10532591491937637, -0.8110945820808411, 0.9949510097503662, 0.9814187288284302, -0.7695032954216003, 0.12175489962100983, 0.47773388028144836, 0.3599661588668823, ...
func (p *PoliciesDirProvider) Start() {}
[ 0.05973581597208977, -0.6231160759925842, 0.13056010007858276, 0.22697603702545166, 0.0085788294672966, 0.8963536024093628, 0.26266810297966003, 1.06235671043396, 1.1321306228637695, 0.410643070936203, -0.07149514555931091, 0.583476185798645, -0.24608691036701202, -0.4659913182258606, -0...
func (p *PoliciesDirProvider) LoadPolicies(macroFilters []MacroFilter, ruleFilters []RuleFilter) ([]*Policy, *multierror.Error) { var errs *multierror.Error var policies []*Policy policyFiles, err := p.getPolicyFiles() if err != nil { errs = multierror.Append(errs, err) } // remove oldest watched files if p...
[ -0.08890502899885178, -0.03512346372008324, 0.5108335018157959, -0.17168715596199036, -0.009561972692608833, 0.3565084636211395, -0.20785367488861084, -0.11277838796377182, 0.3306512236595154, 0.46159785985946655, 0.8950757384300232, 0.06394927948713303, -0.5987120866775513, 1.046646475791...
func (p *PoliciesDirProvider) Close() error { if p.cancelFnc != nil { p.cancelFnc() } if p.watcher != nil { p.watcher.Close() } return nil }
[ 0.9013709425926208, 0.05000738427042961, 0.2789159417152405, -0.122482068836689, -0.1348361074924469, 1.0867940187454224, 0.018919222056865692, 0.16726376116275787, 0.209633007645607, 0.11765877902507782, 0.9085401296615601, -0.14267507195472717, -0.44180598855018616, 0.43477195501327515, ...
func NewPoliciesDirProvider(policiesDir string, watch bool) (*PoliciesDirProvider, error) { p := &PoliciesDirProvider{ PoliciesDir: policiesDir, } if watch { var err error if p.watcher, err = fsnotify.NewWatcher(); err != nil { return nil, err } if err := p.watcher.Add(policiesDir); err != nil { p....
[ 0.3507942259311676, -0.182829812169075, 0.24369904398918152, -0.20254990458488464, -1.3989800214767456, 0.4585377871990204, -0.2192060500383377, -0.5360857248306274, 1.027348279953003, 0.2678314447402954, 0.7467125058174133, -0.37830182909965515, -0.09451520442962646, -0.024573935195803642...
func NewGetReposOwnerRepoIssuesNumberCommentsOK() *GetReposOwnerRepoIssuesNumberCommentsOK { return &GetReposOwnerRepoIssuesNumberCommentsOK{} }
[ 1.0633150339126587, -0.37929654121398926, 0.7188348174095154, 0.31983157992362976, 0.300655722618103, -1.292671799659729, 1.2422196865081787, -0.34500277042388916, 0.03658080846071243, -0.2511596083641052, -0.41573843359947205, -1.2117629051208496, -0.09041126072406769, -0.8330491185188293...
func (o *GetReposOwnerRepoIssuesNumberCommentsOK) WithPayload(payload models.IssuesComments) *GetReposOwnerRepoIssuesNumberCommentsOK { o.Payload = payload return o }
[ 0.7665769457817078, -0.032010119408369064, 0.366507351398468, -0.22572661936283112, -0.0967722088098526, -1.4603095054626465, 0.9110291004180908, -0.6811608076095581, 0.42446625232696533, -0.18427540361881256, -0.06318748742341995, -1.4883031845092773, 0.025583874434232712, -0.785461425781...
func (o *GetReposOwnerRepoIssuesNumberCommentsOK) SetPayload(payload models.IssuesComments) { o.Payload = payload }
[ 0.7608964443206787, 0.18867364525794983, 0.20001034438610077, -0.36986055970191956, -0.037740398198366165, -0.9722447395324707, 0.8450668454170227, -1.003047227859497, 0.10538353025913239, -0.16152404248714447, -0.25722986459732056, -1.0254076719284058, -0.20999561250209808, -0.28668153285...
func (o *GetReposOwnerRepoIssuesNumberCommentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.WriteHeader(200) payload := o.Payload if payload == nil { payload = make(models.IssuesComments, 0, 50) } if err := producer.Produce(rw, payload); err != nil { panic(err) // let the recovery...
[ 0.12103287875652313, -0.5346789956092834, 0.39323991537094116, -0.13462354242801666, 0.5700714588165283, -1.1657217741012573, 0.9660298228263855, -0.7894790172576904, 0.30611804127693176, 0.21879145503044128, -0.07529409974813461, -1.246975302696228, -0.6406064033508301, -0.133495673537254...
func NewGetReposOwnerRepoIssuesNumberCommentsForbidden() *GetReposOwnerRepoIssuesNumberCommentsForbidden { return &GetReposOwnerRepoIssuesNumberCommentsForbidden{} }
[ 0.7335658073425293, 0.20937003195285797, 0.7072011828422546, 0.46423864364624023, -0.02297035977244377, -0.49473199248313904, 0.8775302767753601, -0.8464348316192627, 0.24702775478363037, -0.9753908514976501, -0.07430749386548996, -0.5258558988571167, -0.3608556389808655, -1.27884089946746...
func (o *GetReposOwnerRepoIssuesNumberCommentsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses rw.WriteHeader(403) }
[ 0.4101407825946808, -0.26495829224586487, 0.4441196918487549, -0.14082591235637665, 0.7402240037918091, -0.6843204498291016, 1.0075479745864868, -1.1051251888275146, 0.11478664726018906, -0.20259521901607513, 0.3537692725658417, -0.6224039793014526, -1.12900972366333, -0.6921334266662598, ...
func TestAWS(t *testing.T) { logger = runner.NewLogger("aws_test") logger.Info("TestAWS completed") }
[ 0.7715497612953186, -0.14644591510295868, 0.3877934515476227, -0.8777456879615784, -0.1739538013935089, 1.0833996534347534, 0.743553876876831, -0.2600495517253876, 0.8820322155952454, -0.21388483047485352, -0.15190108120441437, 0.8812056183815002, 1.0616474151611328, -0.06970252096652985, ...
func (Sodium) GetPeriod() string { var p periodType = thirdPeriod return p.get() }
[ 1.136717677116394, 0.36000895500183105, 0.31522858142852783, 0.4570373594760895, 0.26861095428466797, 1.3496017456054688, -0.31965479254722595, -0.5939368009567261, 1.4931074380874634, 0.6182129979133606, 0.7049634456634521, 0.8260570764541626, -0.7130967974662781, -0.46790510416030884, ...
func (Sodium) GetGroup() string { var g groupType = a1 return g.get() }
[ -0.04397580027580261, 1.811151385307312, 0.24786965548992157, 0.8781994581222534, 0.5764412879943848, 0.47935694456100464, 0.45347917079925537, -0.9564083814620972, -0.06049147993326187, 0.15013013780117035, 0.4048103094100952, 1.0886354446411133, -0.1642807424068451, 0.7901730537414551, ...
func (Sodium) GetCategory() string { var c categoryType = alkaliMetal return c.get() }
[ 0.5602563619613647, 0.748462438583374, 0.31167012453079224, 0.671494722366333, 0.5708541870117188, 0.21527180075645447, -0.33379462361335754, -0.5989221930503845, -0.004038884770125151, 0.49389398097991943, 1.052108645439148, 0.7933716177940369, 0.5474299788475037, 0.7667784094810486, 0....
func (Sodium) GetName() string { return "Sodium" }
[ 0.3602190613746643, -0.03981950879096985, 0.6157873868942261, 0.4603704810142517, -0.14891113340854645, 0.6396874189376831, -0.688663125038147, -0.0795547366142273, 0.5723072290420532, 1.0368012189865112, -0.6974713802337646, 0.860630989074707, 0.5914839506149292, 0.27916115522384644, -0...
func (Sodium) GetSimbol() string { return "Na" }
[ 0.23813435435295105, 0.7151651382446289, 0.3754917085170746, 0.2220315933227539, 0.16334456205368042, 0.4231542944908142, -0.055398136377334595, 0.06641001999378204, 0.8470863699913025, -0.3726916015148163, -1.217004656791687, 0.7636656165122986, 0.6309217810630798, -0.23687416315078735, ...
func (Sodium) GetAtomicNumber() int { return 11 }
[ 0.323666512966156, 0.10908520966768265, 0.44158637523651123, 0.35308513045310974, 0.036409616470336914, -0.09314630180597305, -0.44255930185317993, 0.7896721959114075, -0.27297016978263855, -0.15921242535114288, -0.504719614982605, 1.2179079055786133, 0.7061102390289307, -0.313952267169952...
func (Sodium) GetAtomicWeight() float32 { return 22.990 }
[ 1.5514698028564453, 0.31455811858177185, 0.41983720660209656, 0.41322165727615356, -0.41911306977272034, 0.35482844710350037, -0.8656887412071228, 0.10935349762439728, -0.884387195110321, 0.6658254265785217, 0.10200152546167374, 0.996180534362793, 0.41263818740844727, -0.030399203300476074...
func DefaultInteractiveBrowserCredentialOptions() InteractiveBrowserCredentialOptions { return InteractiveBrowserCredentialOptions{ TenantID: organizationsTenantID, ClientID: developerSignOnClientID, Retry: azcore.DefaultRetryOptions(), Telemetry: azcore.DefaultTelemetryOptions(), } }
[ 0.8505661487579346, -0.896570086479187, 0.32454803586006165, 0.8989635109901428, 1.1580692529678345, 0.6834949254989624, -0.15435059368610382, -0.17376303672790527, 0.3698193430900574, 0.22853125631809235, -0.17514729499816895, -0.00256640138104558, -1.2085756063461304, -0.2965769171714782...
func NewInteractiveBrowserCredential(options *InteractiveBrowserCredentialOptions) (*InteractiveBrowserCredential, error) { if options == nil { temp := DefaultInteractiveBrowserCredentialOptions() options = &temp } if !validTenantID(options.TenantID) { return nil, &CredentialUnavailableError{credentialType: "I...
[ 0.6094594597816467, -1.179855227470398, 0.44966045022010803, 0.5328689813613892, -0.2803097665309906, 0.34959515929222107, 0.35758721828460693, 0.06566224992275238, 0.06694817543029785, 0.6832905411720276, -0.001094070845283568, 0.7864025831222534, -1.105539083480835, -0.44435447454452515,...
func (c *InteractiveBrowserCredential) GetToken(ctx context.Context, opts azcore.TokenRequestOptions) (*azcore.AccessToken, error) { tk, err := c.client.authenticateInteractiveBrowser(ctx, c.options.TenantID, c.options.ClientID, c.options.ClientSecret, c.options.RedirectURL, opts.Scopes) if err != nil { addGetToken...
[ -0.10733215510845184, -0.10691989213228226, 0.7208770513534546, 0.8209871649742126, 0.519334077835083, -0.07487127184867859, 0.8308107256889343, 0.07016989588737488, 0.9336073994636536, -0.32726213335990906, 0.5558543801307678, 1.4693784713745117, -0.22679618000984192, -0.7568833827972412,...
func (c *InteractiveBrowserCredential) AuthenticationPolicy(options azcore.AuthenticationPolicyOptions) azcore.Policy { return newBearerTokenPolicy(c, options) }
[ 1.0925501585006714, -0.2772660553455353, 0.35793378949165344, 0.4634413421154022, -0.011684600263834, 0.8451092839241028, 0.3262910544872284, -0.39186567068099976, 0.8180509209632874, -0.2787127196788788, 0.37600061297416687, 0.5903445482254028, -0.6144639849662781, -0.07952047884464264, ...
func interactiveBrowserLogin(authorityHost string, tenantID string, clientID string, redirectURL string, scopes []string) (*interactiveConfig, error) { const authURLFormat = "%s/%s/oauth2/v2.0/authorize?response_type=code&response_mode=query&client_id=%s&redirect_uri=%s&state=%s&scope=%s&prompt=select_account" state ...
[ 0.1030879020690918, -0.6401102542877197, 0.8438226580619812, -0.43570569157600403, -1.1724754571914673, -0.0494198240339756, -0.12123926728963852, 0.1816030591726303, 0.9313941597938538, 0.05542060732841492, 0.11216791719198227, 0.6219335794448853, -0.2854767441749573, -0.3022254407405853,...
func (r ExplanationOfBenefit) MarshalJSON() ([]byte, error) { return json.Marshal(struct { OtherExplanationOfBenefit ResourceType string `json:"resourceType"` }{ OtherExplanationOfBenefit: OtherExplanationOfBenefit(r), ResourceType: "ExplanationOfBenefit", }) }
[ 0.2664795219898224, 0.1378251612186432, 0.34765559434890747, -0.5415588021278381, 0.8276596665382385, -0.8164114952087402, 0.39130303263664246, -0.05325569212436676, 0.6570591330528259, 0.726158857345581, -0.3947921693325043, 0.8859989643096924, 0.21102415025234222, 1.1399562358856201, 1...
func UnmarshalExplanationOfBenefit(b []byte) (ExplanationOfBenefit, error) { var explanationOfBenefit ExplanationOfBenefit if err := json.Unmarshal(b, &explanationOfBenefit); err != nil { return explanationOfBenefit, err } return explanationOfBenefit, nil }
[ -0.09077434986829758, 0.5609726905822754, 0.623304545879364, -0.5958115458488464, -0.13120345771312714, -1.0916591882705688, -0.04005315899848938, 0.8618766069412231, 0.33291417360305786, 0.9610316753387451, 0.017381034791469574, 0.5876331925392151, -0.31633105874061584, 0.2349586933851242...
func TestHashParams (t *testing.T) { // Given want := ParamsTracker { IpAddress: "111.111.111.111", FirstInt: 3, SecondInt: 5, Limit: 100, FirstString: "fizz", SecondString: "buzz", ParamsHash: "56e6c4a0ed1e2c6cd9f330aa576235be", } // When got := ParamsTracker { IpAddress: ...
[ 0.24935102462768555, 0.11218328028917313, 0.6230531930923462, 0.11426541954278946, 1.1089072227478027, 0.7591759562492371, -0.12052427232265472, -0.049806587398052216, -0.5982021689414978, -0.5334407687187195, -0.5259125828742981, 0.2721520960330963, -0.519332766532898, 0.354160338640213, ...
func TestGetMetrics(t *testing.T) { // Creating mock request with custom params // and checking for error request, err := http.NewRequest("GET", "/fizzbuzz-metrics", nil) if err != nil { t.Errorf("GetMetrics() failed because of bad request: %v", err) } // Creating a HTTP recorder for the test recorder := ...
[ 0.3885737657546997, 1.074121356010437, 0.9044122695922852, 0.14988315105438232, 1.1520212888717651, 0.5650007724761963, 0.2615542411804199, -0.22061946988105774, -0.3731079697608948, -0.3928402066230774, 0.3138118386268616, 1.2684820890426636, -1.1609963178634644, 0.18548759818077087, -0...
func NewHost(conf Config, middlewares ...Middleware) (host *Host) { host = &Host{ handlers: map[string]*endpoint{}, conf: conf, basepath: "", mstack: middlewares, } if !conf.DisableAutoReport { os.Stdout.WriteString("Registration Info:\r\n") } host.initCheck() return }
[ 0.6822991371154785, 0.0066912430338561535, 0.22914981842041016, 1.7144430875778198, -0.05504130199551582, 0.11564872413873672, 0.5094578266143799, 0.8387694954872131, -0.4102551341056824, 0.24333584308624268, -0.4193369746208191, 0.11205021291971207, -0.5130147933959961, -0.077367357909679...
func (host *Host) ServeHTTP(w http.ResponseWriter, r *http.Request) { if host.ErrorHandler == nil { host.ErrorHandler = func(err error) interface{} { return err.Error() } } if r.Body != nil { defer r.Body.Close() } collection := host.handlers[strings.ToUpper(r.Method)] if collection == nil { w.WriteHea...
[ -0.19890566170215607, -0.32080453634262085, 0.7011489868164062, 0.5074344277381897, -0.45679208636283875, 0.3549499809741974, 0.3004189431667328, -0.06589086353778839, -0.6793497800827026, 0.26030778884887695, 0.22252747416496277, -0.11625693738460541, -0.0516740046441555, -0.0939591974020...
func (host *Host) Use(middlewares ...Middleware) *Host { if host.mstack == nil { host.mstack = middlewares } else { host.mstack = append(host.mstack, middlewares...) } return host }
[ -0.018333517014980316, 0.7422890663146973, 0.6995226740837097, 0.9051135778427124, 0.018422331660985947, -0.27495789527893066, 0.18809765577316284, -0.0026693071704357862, 0.039506856352090836, -0.2888101637363434, 0.060597486793994904, -0.0733894482254982, -1.2990634441375732, 0.556780874...
func (host *Host) Group(basepath string, register func(), middlewares ...Middleware) { { if host.mstack == nil { host.mstack = make([]Middleware, 0) } orginalBasepath, orginalStack := host.basepath, host.mstack defer func() { //还原栈 host.mstack, host.basepath = orginalStack, orginalBasepath }() } /...
[ -0.1481563299894333, 1.2614604234695435, 0.573361337184906, 1.1540772914886475, 0.038675349205732346, 0.22737278044223785, 1.4073939323425293, 0.2840040624141693, -0.5678892731666565, -0.20960700511932373, -0.36551913619041443, 0.2723998725414276, -0.5328053832054138, 1.2275519371032715, ...
func (host *Host) Register(basePath string, controller Controller, middlewares ...Middleware) (err error) { { host.initCheck() basePath = host.basepath + solveBasePath(basePath) defer func() { if err != nil { host.errList = append(host.errList, err) } }() } val := reflect.ValueOf(controller) typ :...
[ -0.6922356486320496, 0.034745145589113235, 1.0046520233154297, 0.706649661064148, 0.3084341287612915, -0.1057332456111908, 0.5963818430900574, -0.08266591280698776, -0.5573479533195496, 0.16566917300224304, 0.08932755887508392, 0.4709078073501587, -0.26105839014053345, 0.9328954815864563, ...
func (host *Host) AddEndpoint(method string, path string, handler HTTPHandler, middlewares ...Middleware) (err error) { { host.initCheck() path = host.basepath + solveBasePath(path) defer func() { if err != nil { host.errList = append(host.errList, err) } }() } if _, existed := host.handlers[method...
[ -0.167814239859581, 0.014819810166954994, 0.9082377552986145, 0.868110716342926, 0.06993982940912247, 0.3774629831314087, 0.48034432530403137, 0.4673679769039154, -0.7367498278617859, -0.3213905990123749, 0.43543413281440735, -0.022727731615304947, -0.7676228880882263, 0.49758946895599365,...
func pipeline(handler httpHandler, middlewares ...Middleware) httpHandler { if len(middlewares) == 0 { return handler } middleware := middlewares[len(middlewares)-1] middlewares = middlewares[:len(middlewares)-1] complexHandler := func(ctx *Context, args ...string) { //create a composite pipeline using middlew...
[ -0.25303804874420166, 0.21779756247997284, 0.4463483393192291, 0.19646833837032318, -0.919106662273407, 0.14973250031471252, -0.36465415358543396, 0.5728676319122314, 0.06982897967100143, -0.6061859130859375, -0.3299965560436249, -0.061895497143268585, -0.39049848914146423, -0.021986125037...
func NewMsgSend(fromAddr, toAddr sdk.CUAddress, amount sdk.Coins) MsgSend { return MsgSend{FromAddress: fromAddr, ToAddress: toAddr, Amount: amount} }
[ 0.691496729850769, 0.026506880298256874, 0.30820026993751526, -0.36242783069610596, -0.8470015525817871, -0.6545068025588989, -1.2149441242218018, -0.6280026435852051, -0.5016508102416992, 0.7526168823242188, -0.16669480502605438, 0.25752413272857666, -0.5022618770599365, 0.517678260803222...
func NewMsgMultiSend(in []Input, out []Output, maxHeight uint64) MsgMultiSend { return MsgMultiSend{Inputs: in, Outputs: out, MaxHeight: maxHeight} }
[ -0.42639270424842834, 0.12352611124515533, 0.3799181878566742, 0.467087984085083, -0.8053209185600281, -0.13648872077465057, -0.8863513469696045, -0.08128576725721359, -0.3251967430114746, 0.2356392741203308, -0.5311363935470581, 0.17271175980567932, -0.7902663350105286, 1.687849521636963,...
func (in Input) ValidateBasic() sdk.Error { if len(in.Address) == 0 { return sdk.ErrInvalidAddress(in.Address.String()) } if !in.Coins.IsValid() { return sdk.ErrInvalidCoins(in.Coins.String()) } if !in.Coins.IsAllPositive() { return sdk.ErrInvalidCoins(in.Coins.String()) } return nil }
[ -0.5333021879196167, -0.06260982155799866, 0.4798392653465271, -0.2655293643474579, -0.2587971091270447, 0.6572535634040833, -0.5877953171730042, -0.7752970457077026, -0.864154040813446, -0.26746436953544617, -0.010279380716383457, 0.2443682849407196, -0.09189177304506302, -0.1152419000864...
func NewInput(addr sdk.CUAddress, coins sdk.Coins) Input { return Input{ Address: addr, Coins: coins, } }
[ 0.44909948110580444, -0.17524272203445435, 0.305751770734787, -0.44171231985092163, -1.175206184387207, 0.036212675273418427, 0.1369999498128891, 0.18849356472492218, 0.41180089116096497, 0.17633387446403503, 0.5840030312538147, 0.7542478442192078, -0.25692567229270935, -0.6011629700660706...
func (out Output) ValidateBasic() sdk.Error { if len(out.Address) == 0 { return sdk.ErrInvalidAddress(out.Address.String()) } if !out.Coins.IsValid() { return sdk.ErrInvalidCoins(out.Coins.String()) } if !out.Coins.IsAllPositive() { return sdk.ErrInvalidCoins(out.Coins.String()) } return nil }
[ -0.14084632694721222, -0.2505275309085846, 0.3415277600288391, -0.2055106908082962, -0.5226106643676758, -0.0995522141456604, -0.3909260630607605, -0.9712380170822144, -0.9871320724487305, -0.43284860253334045, 0.31946560740470886, 0.14698432385921478, 0.24667459726333618, -0.1585037261247...
func NewOutput(addr sdk.CUAddress, coins sdk.Coins) Output { return Output{ Address: addr, Coins: coins, } }
[ 0.7979411482810974, -0.4185422658920288, 0.044370707124471664, -0.2745485007762909, -1.318526029586792, -1.3387285470962524, 0.027666687965393066, -0.16552194952964783, -0.12330937385559082, 0.4739602208137512, 0.6423313617706299, 0.45214301347732544, -0.22841548919677734, -0.2645704448223...
func ValidateInputsOutputs(inputs []Input, outputs []Output) sdk.Error { var totalIn, totalOut sdk.Coins for _, in := range inputs { if err := in.ValidateBasic(); err != nil { return err.TraceSDK("") } totalIn = totalIn.Add(in.Coins) } for _, out := range outputs { if err := out.ValidateBasic(); err !=...
[ -0.051038194447755814, -0.4936687648296356, 0.435619980096817, 0.16018202900886536, -0.07682201266288757, -0.08268308639526367, 0.5814021825790405, -0.8674632906913757, -0.4341000020503998, -0.29421183466911316, 0.6934540271759033, -0.6967390179634094, -0.2642889618873596, 0.11158771067857...
func (msg MsgDeposit) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees return []sdk.CUAddress{msg.FromCU} }
[ -0.2662499248981476, -0.0022940291091799736, 0.46670660376548767, -0.04476219788193703, 0.9856247901916504, -0.7356691956520081, -0.22289730608463287, 0.8788361549377441, 0.4446050822734833, -0.6265996694564819, 0.2786611020565033, 0.23391972482204437, -1.16096031665802, 1.130051851272583,...
func (msg MsgDeposit) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.5394089221954346, 0.7483783960342407, 0.3645414412021637, -0.2741497755050659, 0.00047278855345211923, -0.6853072047233582, 0.3475584387779236, -0.21712471544742584, 0.11595791578292847, 0.09039878100156784, -0.7156320214271545, 0.1527528315782547, -1.3809232711791992, 1.087080717086792...
func (msg MsgConfirmedDeposit) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees return []sdk.CUAddress{msg.From} }
[ -0.15374413132667542, 0.15144960582256317, 0.44303473830223083, -0.014396664686501026, 1.0891677141189575, -0.7093704342842102, -0.12054402381181717, 0.9425671696662903, 0.46370071172714233, -0.6990106105804443, 0.30032482743263245, 0.24951057136058807, -0.7914905548095703, 1.1431069374084...
func (msg MsgConfirmedDeposit) GetSignBytes() []byte { // TODO: check whether it can be deleted if len(msg.ValidOrderIDs) <= 0 { msg.ValidOrderIDs = []string{} } if len(msg.InvalidOrderIDs) <= 0 { msg.InvalidOrderIDs = []string{} } bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.453288197517395, 0.636917233467102, 0.4391634464263916, 0.023830106481909752, 0.05114158242940903, -0.8019803762435913, 0.2923908233642578, -0.014076233841478825, 0.19514843821525574, 0.09580673277378082, -0.44313040375709534, 0.4941977262496948, -1.4338836669921875, 1.1772081851959229,...
func (msg MsgCollectWaitSign) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.39671918749809265, -0.18184815347194672, 0.4309556782245636, 0.5489087700843811, 0.9485252499580383, -0.6702578663825989, 0.02024567872285843, 0.9701094627380371, 0.32858189940452576, -0.20559003949165344, 0.34468725323677063, 0.25738105177879333, -0.8951280117034912, 1.0645582675933838...
func (msg MsgCollectWaitSign) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.5322924852371216, 0.540522038936615, 0.3276778757572174, 0.10245038568973541, -0.03947657719254494, -0.2840760350227356, 0.6378538608551025, -0.28987663984298706, -0.35483452677726746, 0.4929083287715912, -0.7599818110466003, -0.2800081968307495, -1.1220847368240356, 1.0613048076629639,...
func (msg MsgCollectSignFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.18981458246707916, -0.3596188724040985, 0.3877555727958679, 0.5244407057762146, 1.1151981353759766, -0.7550206184387207, -0.0793038010597229, 0.6207718849182129, 0.25268223881721497, -0.07234476506710052, 0.23011179268360138, 0.33459794521331787, -1.1051104068756104, 1.3150838613510132,...
func (msg MsgCollectSignFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.23697704076766968, 0.46946120262145996, 0.30733123421669006, 0.004919143859297037, 0.07953022420406342, -0.4004597067832947, 0.4780794084072113, -0.7258500456809998, -0.43996483087539673, 0.5782794952392578, -0.988828182220459, -0.028515325859189034, -1.408791422843933, 1.31742942333221...
func (msg MsgCollectFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.19781874120235443, -0.3632679581642151, 0.40715107321739197, 0.39027008414268494, 1.1222151517868042, -0.724660336971283, -0.05039691925048828, 0.5767130851745605, 0.12953871488571167, -0.03419172018766403, 0.32869189977645874, 0.45218971371650696, -1.1836304664611816, 1.232727408409118...
func (msg MsgCollectFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.30229586362838745, 0.4266522526741028, 0.30051159858703613, -0.156864196062088, 0.15475323796272278, -0.4305770993232727, 0.5350115895271301, -0.819504976272583, -0.4882318675518036, 0.5937461853027344, -0.8622792363166809, 0.165518119931221, -1.4519517421722412, 1.3703577518463135, 0...
func (msg MsgWithdrawal) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.FromCU) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.46576738357543945, 0.04472682252526283, 0.5845319628715515, 0.24803055822849274, 0.6676275730133057, -0.8344710469245911, -0.281806081533432, 1.081338882446289, 0.7713635563850403, -0.5334050059318542, 0.31226956844329834, 0.6338253021240234, -1.0679128170013428, 0.9936122894287109, 0...
func (msg MsgWithdrawal) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.351667582988739, 0.9261255264282227, 0.44462984800338745, -0.2158821076154709, -0.2143927365541458, -0.6631032228469849, -0.014878961257636547, -0.45896250009536743, 0.3894897997379303, -0.18468888103961945, -0.737795352935791, 0.19519953429698944, -1.1116546392440796, 1.489294290542602...
func (msg MsgWithdrawalConfirm) GetSigners() []sdk.CUAddress { addr, err := sdk.CUAddressFromBase58(msg.FromCU) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.3864668011665344, 0.09202942997217178, 0.4220694303512573, 0.46347492933273315, 0.4633916914463043, -0.7120252251625061, -0.1289663165807724, 0.9516041278839111, 0.40995514392852783, -0.23209233582019806, -0.06412872672080994, 0.6009864211082458, -1.189378261566162, 0.6553568243980408, ...
func (msg MsgWithdrawalConfirm) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.2216191589832306, 0.9644790291786194, 0.43014684319496155, 0.0633738562464714, -0.21185922622680664, -0.410745769739151, 0.13685177266597748, -0.3039270341396332, -0.022320402786135674, 0.11377513408660889, -0.814946174621582, 0.40610653162002563, -1.0427007675170898, 1.4996695518493652...
func (msg MsgWithdrawalWaitSign) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.6216483116149902, -0.0007622310658916831, 0.46627500653266907, 0.527810275554657, 0.6944860816001892, -0.8114592432975769, -0.13599462807178497, 1.1572749614715576, 0.6588706970214844, -0.6325302124023438, 0.3017434775829315, 0.3934518098831177, -0.8881757259368896, 1.1809399127960205, ...
func (msg MsgWithdrawalWaitSign) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.6707116961479187, 0.8103988170623779, 0.4416544437408447, -0.0335422120988369, -0.32746678590774536, -0.4382885694503784, 0.21195045113563538, -0.23973898589611053, 0.036569323390722275, -0.06220708787441254, -0.8392159342765808, -0.14469480514526367, -0.9768589735031128, 1.261635422706...
func (msg MsgWithdrawalSignFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.49959462881088257, -0.07566855102777481, 0.41144025325775146, 0.5246631503105164, 0.7818335890769958, -0.8962693214416504, -0.2465459406375885, 0.9424885511398315, 0.5060452222824097, -0.38358455896377563, 0.18958289921283722, 0.3998434841632843, -1.1147053241729736, 1.3150818347930908,...
func (msg MsgWithdrawalSignFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.4508163034915924, 0.8476280570030212, 0.39142072200775146, -0.1096109077334404, -0.215506911277771, -0.5506499409675598, 0.08652931451797485, -0.47650179266929626, -0.10601869970560074, 0.16523213684558868, -1.0256294012069702, -0.019259775057435036, -1.233350157737732, 1.44339048862457...
func (msg MsgWithdrawalFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.47360602021217346, -0.14498615264892578, 0.4295124411582947, 0.48390746116638184, 0.758497416973114, -0.908201277256012, -0.24041272699832916, 0.9771226644515991, 0.5653635859489441, -0.43124663829803467, 0.33038944005966187, 0.3951603174209595, -1.0423752069473267, 1.2861698865890503, ...
func (msg MsgWithdrawalFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.4175153374671936, 0.7836166024208069, 0.38090312480926514, -0.1591167151927948, -0.22489573061466217, -0.6117730140686035, 0.14101137220859528, -0.4530384838581085, -0.08049923181533813, 0.07983437925577164, -0.9002090096473694, 0.028365839272737503, -1.18910551071167, 1.516258239746093...
func (msg MsgSysTransfer) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.5018729567527771, -0.08636356145143509, 0.4628686308860779, 0.47338876128196716, 0.7520332932472229, -1.1344270706176758, -0.1580391526222229, 0.9934015274047852, 0.5984388589859009, -0.17478489875793457, 0.031089402735233307, 0.4080877900123596, -1.3573877811431885, 1.2139798402786255,...
func (msg MsgSysTransfer) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.6501789689064026, 0.7510406970977783, 0.37934601306915283, -0.08515015244483948, -0.16954952478408813, -0.8311590552330017, 0.5351508855819702, -0.5070854425430298, -0.05538482591509819, 0.2767007350921631, -1.1045653820037842, 0.12085962295532227, -1.4357293844223022, 1.648400545120239...
func (msg MsgSysTransferWaitSign) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.7014543414115906, -0.04060497507452965, 0.44499897956848145, 0.5033713579177856, 0.724872887134552, -0.9556808471679688, -0.04474719241261482, 1.0960686206817627, 0.4223144054412842, -0.16740010678768158, 0.01046039443463087, 0.10285164415836334, -1.1565356254577637, 1.0931915044784546,...
func (msg MsgSysTransferWaitSign) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.89581298828125, 0.7120119333267212, 0.38602301478385925, 0.005211374256759882, -0.2179996371269226, -0.5471872687339783, 0.5378588438034058, -0.2232336699962616, -0.32060670852661133, 0.43671566247940063, -1.0544968843460083, -0.4503321051597595, -1.2978521585464478, 1.2200130224227905,...
func (msg MsgSysTransferSignFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.5215994715690613, -0.057315826416015625, 0.3923603296279907, 0.45142340660095215, 0.7305282354354858, -1.1508206129074097, -0.10014690458774567, 0.8392448425292969, 0.25033214688301086, 0.0268210731446743, -0.04706238582730293, 0.20971208810806274, -1.2992579936981201, 1.392970085144043...
func (msg MsgSysTransferSignFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.6906837224960327, 0.7779028415679932, 0.33948397636413574, -0.10155625641345978, -0.24653060734272003, -0.825849711894989, 0.5048259496688843, -0.5488215088844299, -0.448892742395401, 0.5511264801025391, -1.1667871475219727, -0.1898602843284607, -1.4646735191345215, 1.5201252698898315, ...
func (msg MsgSysTransferFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.5595853328704834, -0.22677212953567505, 0.421732097864151, 0.4582441449165344, 0.7268201112747192, -1.0558860301971436, -0.08720538020133972, 0.7793596982955933, 0.2323957234621048, 0.05824784189462662, 0.016918513923883438, 0.3031999170780182, -1.4005165100097656, 1.330045461654663, ...
func (msg MsgSysTransferFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.7230831384658813, 0.6363833546638489, 0.3446970283985138, -0.116364486515522, -0.2266785353422165, -0.7493196725845337, 0.5509008169174194, -0.6238089799880981, -0.4718339443206787, 0.48595085740089417, -1.1550289392471313, -0.03255818411707878, -1.5708136558532715, 1.6170613765716553, ...
func (msg MsgOpcuAssetTransfer) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.FromCU) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.5951967239379883, 0.05588145554065704, 0.4460485279560089, 0.031707290560007095, 0.6448673605918884, -0.5895149111747742, -0.03460206091403961, 0.9865509867668152, 0.29850730299949646, -0.11343985050916672, 0.035208169370889664, 0.4737475514411926, -1.4087351560592651, 0.601727604866027...
func (msg MsgOpcuAssetTransfer) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.8071628212928772, 0.8335774540901184, 0.22484555840492249, -0.3562769293785095, -0.16482342779636383, -0.25940099358558655, 0.6102300882339478, -0.30352315306663513, -0.2671049237251282, 0.10683862864971161, -1.006585955619812, -0.16025985777378082, -1.5340040922164917, 0.87895321846008...
func (msg MsgOpcuAssetTransferWaitSign) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.8348416090011597, -0.0026753100100904703, 0.3647000193595886, 0.28459352254867554, 0.6837383508682251, -0.6132311820983887, -0.050413988530635834, 1.019368052482605, 0.32458752393722534, -0.30222129821777344, 0.05441292002797127, 0.08092562854290009, -1.1467078924179077, 0.7278314828872...
func (msg MsgOpcuAssetTransferWaitSign) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.9826537370681763, 0.8118365406990051, 0.2456442266702652, -0.28137096762657166, -0.21617253124713898, -0.17271114885807037, 0.5097421407699585, -0.15378263592720032, -0.4806305170059204, 0.2523137032985687, -1.0247429609298706, -0.5873417258262634, -1.2750412225723267, 0.667420804500579...
func (msg MsgOpcuAssetTransferSignFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.6520460844039917, -0.06005376949906349, 0.3090766966342926, 0.19503825902938843, 0.6142817139625549, -0.7598105072975159, -0.09114126861095428, 0.7698558568954468, 0.1324424147605896, -0.11488833278417587, 0.004255094565451145, 0.16383680701255798, -1.256028652191162, 0.9635797739028931...
func (msg MsgOpcuAssetTransferSignFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.7590430378913879, 0.835853636264801, 0.18822026252746582, -0.3972957134246826, -0.32277148962020874, -0.3930398225784302, 0.5189611315727234, -0.44092243909835815, -0.6430380344390869, 0.3221193253993988, -1.1048800945281982, -0.4454841613769531, -1.4356563091278076, 0.9522360563278198,...
func (msg MsgOpcuAssetTransferFinish) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.Validator) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.6734631657600403, -0.2109193056821823, 0.3374679386615753, 0.2372714877128601, 0.6485669016838074, -0.6347156167030334, -0.062380097806453705, 0.7348533868789673, 0.12340088933706284, -0.06970483064651489, 0.03993811458349228, 0.24794109165668488, -1.3600941896438599, 0.8968530893325806...
func (msg MsgOpcuAssetTransferFinish) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.8177021145820618, 0.7102231979370117, 0.20517230033874512, -0.33617135882377625, -0.2257683277130127, -0.25320640206336975, 0.5705411434173584, -0.49277031421661377, -0.6275243163108826, 0.25732338428497314, -1.0935028791427612, -0.2431134432554245, -1.582824945449829, 1.024171710014343...
func (msg MsgOrderRetry) GetSigners() []sdk.CUAddress { // delegator is first signer so delegator pays fees addr, err := sdk.CUAddressFromBase58(msg.From) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.2742612957954407, -0.14170429110527039, 0.5372719764709473, 0.24810665845870972, 0.8422228097915649, -1.1263689994812012, -0.3541649878025055, 1.2547869682312012, 0.6879023313522339, 0.005939082708209753, 0.2880096435546875, 0.8493493795394897, -1.2516117095947266, 0.6943978071212769, ...
func (msg MsgOrderRetry) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.4130922853946686, 0.6818326711654663, 0.34212905168533325, -0.10587780922651291, -0.02419876679778099, -0.8528995513916016, 0.1844482421875, -0.026986632496118546, 0.05218867212533951, 0.4240541458129883, -0.7358850836753845, 0.7223280668258667, -1.647125005722046, 0.9407606720924377, ...
func (msg MsgCancelWithdrawal) GetSigners() []sdk.CUAddress { addr, err := sdk.CUAddressFromBase58(msg.FromCU) if err != nil { return []sdk.CUAddress{} } return []sdk.CUAddress{addr} }
[ -0.33951467275619507, -0.11695557832717896, 0.5349985957145691, 0.3221052289009094, 0.5019910335540771, -0.6512585878372192, -0.10159310698509216, 0.8767834901809692, 0.5014431476593018, -0.3196510672569275, 0.11025559902191162, 0.4167971611022949, -1.3800534009933472, 0.5613176226615906, ...
func (msg MsgCancelWithdrawal) GetSignBytes() []byte { bz := ModuleCdc.MustMarshalJSON(msg) return sdk.MustSortJSON(bz) }
[ -0.0025630169548094273, 0.8580548167228699, 0.41572442650794983, -0.10327272862195969, -0.17259228229522705, -0.49072957038879395, 0.03827524930238724, -0.49264606833457947, 0.15287384390830994, -0.04457437992095947, -0.6204134225845337, 0.07338603585958481, -1.1866332292556763, 1.25713777...
func streamReader(stream io.Reader, boundary string, output *string, streamName string) error { var buf bytes.Buffer buffer := make([]byte, readSize) marker := []byte(boundary + newline) mi := -1 for { n, err := stream.Read(buffer) if err != nil { return errors.Wrapf(err, "cannot read from %v", streamName)...
[ 0.1656387746334076, -0.9769134521484375, 0.7126918435096741, 0.18618454039096832, -1.217079520225525, -0.15251247584819794, 0.011587417684495449, -0.4211657643318176, -0.24104654788970947, 0.17276081442832947, 0.782121479511261, 0.5212229490280151, -0.5310227274894714, -0.2810802459716797,...
func NewTagModelStore(tag string) *TagModelStore { this := TagModelStore{} this.Tag = tag return &this }
[ -0.09615952521562576, -0.4964449107646942, -0.14191454648971558, 0.4018864333629608, -0.7491670846939087, 0.31548282504081726, -0.35176074504852295, -0.20178015530109406, -1.1077642440795898, -0.6889322400093079, -1.1767953634262085, -0.40288785099983215, -0.31721818447113037, 0.0643082410...
func NewTagModelStoreWithDefaults() *TagModelStore { this := TagModelStore{} return &this }
[ -0.19794030487537384, 0.11436083912849426, -0.20447523891925812, 0.43450090289115906, 0.2547815144062042, -0.5429375767707825, -0.8646565675735474, -0.9635342359542847, -0.5704871416091919, -1.0105851888656616, -1.2578957080841064, -1.0897587537765503, -0.406643271446228, 0.208107650279998...
func (o *TagModelStore) GetTag() string { if o == nil { var ret string return ret } return o.Tag }
[ 0.4168457090854645, 0.18589365482330322, -0.43795138597488403, 0.6874567866325378, 0.6428760290145874, 0.7190296053886414, 0.7010307312011719, -0.054758381098508835, 0.2094240039587021, -0.5307002663612366, -0.3860945403575897, -1.3673126697540283, -0.07484849542379379, -0.1149719655513763...
func (o *TagModelStore) GetTagOk() (*string, bool) { if o == nil { return nil, false } return &o.Tag, true }
[ 0.2998529374599457, 0.5006663203239441, 0.37328076362609863, 0.21718138456344604, 0.27536141872406006, 0.47381338477134705, 0.29961174726486206, 0.6394537091255188, -0.7680127620697021, 0.8751397132873535, -1.5384386777877808, -0.9555509090423584, 0.3535296320915222, 0.33610352873802185, ...
func (o *TagModelStore) SetTag(v string) { o.Tag = v }
[ 0.04522228240966797, 0.012022150680422783, -0.39399218559265137, 0.13015031814575195, 0.09947261214256287, 0.6058800220489502, 0.13885290920734406, 0.7456405162811279, -0.3943636417388916, 0.22841256856918335, -1.2442665100097656, -0.6130496859550476, -0.017713136970996857, 0.1704776585102...