text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func Parser(r io.Reader) osm.Parser {
return &Pbf{r}
} | [
0.4932019114494324,
-0.699113130569458,
0.16315071284770966,
0.02301337942481041,
-0.5291440486907959,
1.0122431516647339,
0.08434981107711792,
-0.5689849853515625,
0.45102164149284363,
-1.7276886701583862,
0.5139199495315552,
-1.0397230386734009,
-0.825624942779541,
0.5685980319976807,
... |
func (p *Pbf) Parse(handler osm.OSMReader) (o *osm.OSM, err error) {
//tagsToKeep := []string{"maxspeed", "highway"}
d := osmpbf.NewDecoder(p.r)
//err = d.Start(runtime.GOMAXPROCS(-1))
err = d.Start(runtime.GOMAXPROCS(1))
if err != nil {
return
}
o = osm.NewOSM(handler)
o.Users = make(map[uint3... | [
0.013805361464619637,
0.01273167971521616,
0.7685659527778625,
0.5282036662101746,
-0.2140016257762909,
0.17911095917224884,
0.03154191002249718,
-0.6637172102928162,
-0.8904231786727905,
-0.6490025520324707,
-0.01615552417933941,
-0.4092877507209778,
-0.7829508781433105,
0.510496199131012... |
func Init() (err error) {
var isAdminEnable *bool = config.GetConfig().Admin.Enable
if isAdminEnable != nil && *isAdminEnable == false {
lager.Logger.Infof("admin api are not enable")
return nil
}
errCh := make(chan error)
metrics.Init()
adminServerURI := config.GetConfig().Admin.ServerURI
if adminServer... | [
-0.18224023282527924,
-0.17331165075302124,
0.9618791341781616,
-0.5428245067596436,
0.3023776113986969,
1.1284672021865845,
-0.09257695823907852,
-0.5480228662490845,
-0.09723501652479172,
0.7893775701522827,
0.122344970703125,
1.903491497039795,
-0.44700729846954346,
1.3943525552749634,
... |
func validatePrivileges(ctx *sql.Context, a *Analyzer, n sql.Node, scope *plan.Scope, sel RuleSelector) (sql.Node, transform.TreeIdentity, error) {
mysqlDb := a.Catalog.MySQLDb
switch n.(type) {
case *plan.CreateUser, *plan.DropUser, *plan.RenameUser, *plan.CreateRole, *plan.DropRole,
*plan.Grant, *plan.GrantRole... | [
-0.5006959438323975,
0.1727706491947174,
0.8114704489707947,
0.4109041392803192,
0.05548752844333649,
-0.08329688757658005,
0.47184494137763977,
-0.6030865907669067,
0.5700404644012451,
-0.22497712075710297,
0.5392076969146729,
0.10934791713953018,
-0.37623634934425354,
0.5200783014297485,... |
func AttributeMismatchError(raw_error string, message string) ApiError {
return ApiError{Status: http.StatusUnprocessableEntity, Type: "ATTRIBUTE_MISMATCH_ERROR", Message: message, RawError: raw_error}
} | [
-0.8269658088684082,
-1.311058759689331,
0.3671890199184418,
-0.3403961658477783,
-0.7756078839302063,
0.2311714142560959,
-0.35047149658203125,
0.7623714208602905,
-0.09606663882732391,
1.0153666734695435,
0.25472381711006165,
0.05314401164650917,
0.33022812008857727,
0.10629767924547195,... |
func (ua UserAgent) Validate() error {
appNameMatch := createInputRegex.MatchString(ua.Name)
if !appNameMatch {
return fmt.Errorf("error validating %q: %w", ua.Name, ErrNameInvalid)
}
versionMatch := createInputRegex.MatchString(ua.Version)
if !versionMatch {
return fmt.Errorf("error validating %q: %w", ua.Ver... | [
-0.06477221101522446,
-0.6230529546737671,
0.512708842754364,
0.5516640543937683,
0.20962706208229065,
0.7918487787246704,
0.39222100377082825,
-0.4791385233402252,
0.44278645515441895,
-0.505202054977417,
0.36886757612228394,
-0.040074318647384644,
0.08974087983369827,
0.10672686249017715... |
func (req *LoginRequest) Marshal() ([]byte, error) {
return xml.Marshal(req)
} | [
-0.8223915100097656,
-0.18342721462249756,
0.47708258032798767,
0.4660107493400574,
-0.5136457085609436,
0.6870811581611633,
-1.2572275400161743,
0.25150731205940247,
0.8176616430282593,
-1.1543676853179932,
0.6299424171447754,
1.225640058517456,
-0.5951747298240662,
0.4423641860485077,
... |
func (req *LogoutRequest) Marshal() ([]byte, error) {
return xml.Marshal(req)
} | [
-0.5864503383636475,
-0.13494502007961273,
0.3014116585254669,
-0.37337061762809753,
-0.7956419587135315,
0.3273674547672272,
-1.3173925876617432,
0.21595385670661926,
0.7880334258079529,
-0.6317769885063171,
1.0090739727020264,
1.2213759422302246,
-0.19836275279521942,
0.06086929142475128... |
func NewLoginResponse(data []byte) (*LoginResponse, error) {
res := &LoginResponse{}
err := xml.Unmarshal(data, res)
return res, err
} | [
-0.29717689752578735,
-1.295148253440857,
0.009606759995222092,
-0.10918309539556503,
-1.1052801609039307,
-0.8645156025886536,
-0.5518946051597595,
-0.22632937133312225,
1.434449315071106,
0.2885734736919403,
-0.9341607689857483,
-0.7807334661483765,
-1.6387189626693726,
-0.79634726047515... |
func (d *discoverer) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
// notice that Prometheus discovery.Discoverer abstraction doesn't allow failures,
// so we must ensure that xDS client is up-and-running all the time.
for streamID := uint64(1); ; streamID++ {
errCh := make(chan error, 1)
go func(er... | [
-0.42878177762031555,
-0.13407117128372192,
0.8776482343673706,
-0.38848501443862915,
0.1153789609670639,
-0.33732935786247253,
0.19500035047531128,
-0.801287829875946,
-0.49576812982559204,
0.07311157137155533,
-0.286653995513916,
1.0741355419158936,
-0.4525456428527832,
0.790981888771057... |
func (*ToggleSupergroupUsernameIsActiveRequest) TypeID() uint32 {
return ToggleSupergroupUsernameIsActiveRequestTypeID
} | [
0.41082146763801575,
-0.4556463360786438,
0.41264608502388,
1.1469473838806152,
-0.4648541212081909,
0.6612114310264587,
0.8993771076202393,
-0.1917048692703247,
0.5386472940444946,
0.21001094579696655,
-0.4584822952747345,
0.7120037078857422,
-1.4121789932250977,
0.23641784489154816,
0.... |
func (*ToggleSupergroupUsernameIsActiveRequest) TypeName() string {
return "toggleSupergroupUsernameIsActive"
} | [
-0.12154828757047653,
-0.3369327783584595,
0.45003554224967957,
1.1601130962371826,
-0.3045118749141693,
-0.1702088713645935,
1.0564857721328735,
0.05852939188480377,
0.0005726541858166456,
0.4686690866947174,
-0.48004111647605896,
0.3277812600135803,
-0.830633282661438,
-0.76502925157547,... |
func (t *ToggleSupergroupUsernameIsActiveRequest) TypeInfo() tdp.Type {
typ := tdp.Type{
Name: "toggleSupergroupUsernameIsActive",
ID: ToggleSupergroupUsernameIsActiveRequestTypeID,
}
if t == nil {
typ.Null = true
return typ
}
typ.Fields = []tdp.Field{
{
Name: "SupergroupID",
SchemaName: "s... | [
0.5038332343101501,
0.06356574594974518,
0.34761860966682434,
0.0931214839220047,
-0.09581470489501953,
0.18581697344779968,
0.8990824222564697,
-0.37961724400520325,
-0.589307427406311,
0.5077123045921326,
-0.4233554005622864,
0.031163683161139488,
-0.515568196773529,
-0.21995864808559418... |
func (t *ToggleSupergroupUsernameIsActiveRequest) GetSupergroupID() (value int64) {
if t == nil {
return
}
return t.SupergroupID
} | [
1.148581862449646,
0.7234992980957031,
0.08356834948062897,
1.1630851030349731,
-0.7258615493774414,
0.4422299563884735,
0.47562968730926514,
0.9116976261138916,
0.48225054144859314,
-0.5825709700584412,
-0.6276814341545105,
0.6940825581550598,
-0.8274300694465637,
0.7522362470626831,
0.... |
func (t *ToggleSupergroupUsernameIsActiveRequest) GetUsername() (value string) {
if t == nil {
return
}
return t.Username
} | [
-0.005958270747214556,
0.6740766167640686,
0.2018253207206726,
1.356313943862915,
-0.3877669870853424,
-0.2090356945991516,
0.7905264496803284,
0.030849993228912354,
0.06692285090684891,
0.02903684601187706,
-0.013848762027919292,
-0.8149667382240295,
-0.8009095191955566,
-0.00370057439431... |
func (t *ToggleSupergroupUsernameIsActiveRequest) GetIsActive() (value bool) {
if t == nil {
return
}
return t.IsActive
} | [
-0.02882632613182068,
0.4197394847869873,
0.46968644857406616,
0.8897168040275574,
-0.1536681205034256,
0.2888076603412628,
0.3323124349117279,
0.31266021728515625,
-0.16294458508491516,
-0.46097302436828613,
-0.746000349521637,
-0.10892534255981445,
-0.8962104320526123,
-0.858147382736206... |
func (c *Client) ToggleSupergroupUsernameIsActive(ctx context.Context, request *ToggleSupergroupUsernameIsActiveRequest) error {
var ok Ok
if err := c.rpc.Invoke(ctx, request, &ok); err != nil {
return err
}
return nil
} | [
-0.21490950882434845,
-0.09668472409248352,
0.17343957722187042,
0.6319282054901123,
-0.28629299998283386,
-0.26966944336891174,
0.7335736155509949,
-0.17592112720012665,
-0.3913114666938782,
0.39194193482398987,
-1.102305293083191,
0.7915235161781311,
-0.9009453058242798,
-0.4771049618721... |
func LoadFromFile(name string) (*ConfigFactory, error) {
if name == "" {
return nil, errors.New(fmt.Sprintf("invalid config filename : %s", name))
}
configFactory := &ConfigFactory{cfg: &Config{
Orderers: make(map[string]OrdererConfig),
Peers: make(map[string]PeerConfig),
}}
v := newViper(envRootPrefix)... | [
0.061010509729385376,
-0.17809142172336578,
0.5964427590370178,
0.5911603569984436,
-1.2885773181915283,
-0.10801130533218384,
0.08602064102888107,
-0.04330046474933624,
-0.5681813955307007,
0.20996233820915222,
-0.5712417960166931,
-0.22776611149311066,
-0.17279435694217682,
0.32094612717... |
func (o *Object) ID() string {
return o.BucketName + "/" + o.Name
} | [
0.15029704570770264,
-1.6777188777923584,
0.5433962941169739,
0.08555812388658524,
-0.13875094056129456,
1.4385443925857544,
0.23983505368232727,
-0.5733833312988281,
1.2258630990982056,
0.058787751942873,
-1.1579357385635376,
-0.19143052399158478,
0.5041455626487732,
-0.3078826367855072,
... |
func (context *Context) Print() error {
// fmt.Println("==> context: ", context)
b, err := json.Marshal(context)
if err != nil {
return err
}
os.Stdout.Write(b)
return nil
} | [
0.29564082622528076,
-0.13803192973136902,
0.6407827138900757,
-0.5163141489028931,
0.4053844213485718,
0.29477086663246155,
-0.5358403921127319,
-0.8100298643112183,
0.32692185044288635,
-0.4551442861557007,
0.06895455718040466,
1.0892775058746338,
-0.3380969762802124,
0.08314310014247894... |
func Pattern(query string) []byte {
tokenizer := sqlparser.NewStringTokenizer(query)
buf := bytes.Buffer{}
l := make([]byte, 4)
for {
typ, val := tokenizer.Scan()
switch typ {
case sqlparser.ID: //table, database, variable & ... names
buf.Write(val)
case 0: //End of query
return buf.Bytes()
default:... | [
-1.1481682062149048,
0.8364484310150146,
0.3517792820930481,
-0.1803612858057022,
-0.4787497818470001,
0.3653427064418793,
-0.9102204442024231,
-0.9412829875946045,
0.16898272931575775,
-0.0018544674385339022,
-0.434239000082016,
-0.3233899176120758,
-0.6998613476753235,
0.4064924120903015... |
func NewServer() *negroni.Negroni {
formatter := render.New(render.Options{
IndentJSON: true,
})
n := negroni.Classic()
mx := mux.NewRouter().StrictSlash(true)
initRoutes(mx, formatter)
n.UseHandler(mx)
return n
} | [
-0.6162223815917969,
-0.8547258377075195,
0.5581046938896179,
0.7128472328186035,
-0.7061704993247986,
-0.005318107083439827,
-0.3050769865512848,
0.7431384921073914,
-0.2569924294948578,
-1.0995982885360718,
-0.762981653213501,
0.49275946617126465,
-0.05941355228424072,
0.5948283672332764... |
func init() {
// db, err := sql.Open("mysql", mysql_connect)
// if err != nil {
// log.Fatal(err)
// } else {
// log.Println("Successfully connected to mysql database")
// }
// defer db.Close()
} | [
0.08076325803995132,
-0.6765079498291016,
0.632779598236084,
-0.00030843642889522016,
-0.4283152222633362,
0.9925723075866699,
-0.5277103185653687,
0.5973623394966125,
-0.5888454914093018,
-0.18729408085346222,
0.0017030226299539208,
0.4522171914577484,
-0.15647263824939728,
0.793212592601... |
func TrashTaskFunc(w http.ResponseWriter, r *http.Request) {
//for best UX we want the user to be returned to the page making
//the delete transaction, we use the r.Referer() function to get the link
redirectURL := utils.GetRedirectUrl(r.Referer())
if r.Method != "GET" {
http.Redirect(w, r, "/", http.StatusBadRe... | [
0.44169744849205017,
0.24521446228027344,
0.6281436681747437,
0.9475064277648926,
0.5577002763748169,
0.04044799879193306,
1.615437388420105,
0.7628128528594971,
0.6216681003570557,
-0.30564525723457336,
-0.07464952766895294,
0.43040889501571655,
1.0494074821472168,
0.4167701005935669,
-... |
func RestoreTaskFunc(w http.ResponseWriter, r *http.Request) {
if r.Method != "GET" {
http.Redirect(w, r, "/", http.StatusBadRequest)
return
}
id, err := strconv.Atoi(r.URL.Path[len("/restore/"):])
if err != nil {
log.Println(err)
http.Redirect(w, r, "/deleted", http.StatusBadRequest)
} else {
username ... | [
0.27551934123039246,
-0.20888639986515045,
0.6824198961257935,
0.9835637807846069,
0.4265548884868622,
-0.15591810643672943,
1.116666316986084,
1.0023802518844604,
0.6074128746986389,
-0.17715619504451752,
-0.02524479292333126,
0.32239100337028503,
0.17243580520153046,
-0.27501749992370605... |
func DeleteTaskFunc(w http.ResponseWriter, r *http.Request) {
username := sessions.GetCurrentUserName(r)
if r.Method != "GET" {
http.Redirect(w, r, "/", http.StatusBadRequest)
return
}
id := r.URL.Path[len("/delete/"):]
if id == "all" {
err := db.DeleteAll(username)
if err != nil {
message = "Error del... | [
0.07231993228197098,
0.046501439064741135,
0.6506351232528687,
1.379810094833374,
0.3324836194515228,
0.45757538080215454,
1.2945051193237305,
0.6350868344306946,
0.42956626415252686,
-0.24001117050647736,
-0.08707871288061142,
0.29975926876068115,
1.0016080141067505,
0.9931801557540894,
... |
func RestoreFromCompleteFunc(w http.ResponseWriter, r *http.Request) {
if r.Method != "GET" {
http.Redirect(w, r, "/", http.StatusBadRequest)
return
}
id, err := strconv.Atoi(r.URL.Path[len("/incomplete/"):])
if err != nil {
log.Println(err)
http.Redirect(w, r, "/completed", http.StatusBadRequest)
} else ... | [
0.15807212889194489,
-0.22015433013439178,
0.6387042999267578,
0.4763270616531372,
-0.35338741540908813,
-0.017333952710032463,
1.439545750617981,
0.7748515605926514,
0.42016997933387756,
0.06701527535915375,
-0.2018488347530365,
-0.46191835403442383,
-0.17283356189727783,
-0.1894386708736... |
func DeleteCategoryFunc(w http.ResponseWriter, r *http.Request) {
if r.Method != "GET" {
http.Redirect(w, r, "/", http.StatusBadRequest)
return
}
categoryName := r.URL.Path[len("/del-category/"):]
username := sessions.GetCurrentUserName(r)
err := db.DeleteCategoryByName(username, categoryName)
if err != nil ... | [
0.15398076176643372,
0.026301024481654167,
0.46796751022338867,
0.8093995451927185,
-0.03679917752742767,
0.16746442019939423,
1.0124058723449707,
0.640886127948761,
0.4917534589767456,
-0.7079395651817322,
0.6636931896209717,
0.6301448345184326,
0.8979873061180115,
0.7330415844917297,
-... |
func DeleteCommentFunc(w http.ResponseWriter, r *http.Request) {
if r.Method != "GET" {
http.Redirect(w, r, "/", http.StatusBadRequest)
return
}
id := r.URL.Path[len("/del-comment/"):]
commentID, err := strconv.Atoi(id)
if err != nil {
http.Redirect(w, r, "/", http.StatusBadRequest)
return
}
username :=... | [
0.14355236291885376,
-0.5997628569602966,
0.5101925730705261,
0.6210097074508667,
0.7355228662490845,
0.22044120728969574,
1.2392113208770752,
0.4943421185016632,
0.6133560538291931,
-0.2564370632171631,
0.13595350086688995,
0.2522410750389099,
0.5267189145088196,
0.4352478086948395,
-0.... |
func (c *Checker) Check(
matcher matchers.TodoMatcher, comment, filename string, lines []string, linecnt int,
) (*checkererrors.TODO, error) {
if matcher == nil {
return nil, errors.New("matcher is nil")
}
if !matcher.IsMatch(comment) {
return nil, nil
}
if !matcher.IsValid(comment) {
return checkererrors... | [
0.4241081774234772,
-0.07388992607593536,
0.49772557616233826,
0.031176159158349037,
0.3675388693809509,
0.22039374709129333,
0.23198096454143524,
0.37200307846069336,
-0.3363167643547058,
0.082630954682827,
0.3305404484272003,
-0.26549646258354187,
0.5544567108154297,
0.7414920926094055,
... |
func (n *Node) Prev() *Node {
if n.list != nil && n.prev != &n.list.root {
return n.prev
}
return nil
} | [
0.16451184451580048,
1.0159085988998413,
0.8097095489501953,
0.872819721698761,
0.5282649993896484,
-0.36635392904281616,
0.4745998680591583,
0.2740403711795807,
0.6293525695800781,
0.12401079386472702,
-0.34677743911743164,
0.3626295030117035,
-1.1187691688537598,
0.8348366618156433,
-0... |
func (n *Node) Next() *Node {
// return nil when root element is hit
if n.list != nil && n.next != &n.list.root {
return n.next
}
return nil
} | [
-0.26573824882507324,
0.34557753801345825,
0.44245466589927673,
1.573904275894165,
-0.48355773091316223,
0.10565832257270813,
-0.3604115843772888,
0.05648421496152878,
1.1172912120819092,
-0.2962797284126282,
-0.321532279253006,
0.9025797247886658,
-1.0061309337615967,
1.1031311750411987,
... |
func New() *List {
// new returns a pointer to a List with all variables set to 0 value
return new(List).Init()
} | [
-0.39856085181236267,
-1.4751614332199097,
0.1725701093673706,
0.4573329985141754,
-0.0840589627623558,
-0.20256684720516205,
-0.6474685072898865,
0.9489081501960754,
0.4059809446334839,
-0.7928497195243835,
-1.1203683614730835,
-0.1648455709218979,
0.361016184091568,
1.470090627670288,
... |
func (l *List) Init() *List {
l.root.next = &l.root
l.root.prev = &l.root
l.Size = 0
return l
} | [
-0.26890984177589417,
-0.516436755657196,
0.30980828404426575,
-0.3579299747943878,
-0.4311895966529846,
0.23609024286270142,
0.03052402101457119,
1.398604154586792,
0.9535538554191589,
0.0863046944141388,
-0.9025368094444275,
0.43842190504074097,
-0.41038942337036133,
1.1346821784973145,
... |
func (l *List) Head() *Node {
// when the size is 0 return nil because the next node of the root
// node is itself
if l.Size == 0 {
return nil
}
return l.root.next
} | [
-0.257155179977417,
0.23335398733615875,
0.7054278254508972,
0.8336345553398132,
0.002095922827720642,
0.27076420187950134,
0.11616285145282745,
0.45932579040527344,
1.1903051137924194,
0.1526239663362503,
-0.4451354444026947,
0.5283417105674744,
-1.0154149532318115,
0.4023629426956177,
... |
func (l *List) Tail() *Node {
// when the size is 0 return nil because the next node of the root
// code is itself
if l.Size == 0 {
return nil
}
return l.root.prev
} | [
-0.2267206609249115,
0.15138398110866547,
0.6691112518310547,
0.11592106521129608,
0.2006976306438446,
-0.3590957522392273,
0.36137667298316956,
-0.11041844636201859,
0.8177666664123535,
-0.43165555596351624,
-0.6460186839103699,
0.9721218943595886,
-1.0684279203414917,
0.7928133606910706,... |
func (l *List) AddToBack(d interface{}) *Node {
// lazyInit just in case
// this will guarantee that the next and prev nodes of root are not nil
l.lazyInit()
// insert the node to the end of the list
return l.insertData(d, l.root.prev)
} | [
-0.591449499130249,
1.1740612983703613,
1.1297911405563354,
-0.5648447275161743,
0.2643227279186249,
-0.4176816940307617,
0.12246742099523544,
0.470689982175827,
1.278894066810608,
0.5603342056274414,
0.22718703746795654,
0.6821028590202332,
-0.8150320053100586,
0.06084522232413292,
-0.5... |
func (l *List) AddToFront(d interface{}) *Node {
l.lazyInit()
return l.insertData(d, &l.root)
} | [
-0.8317536115646362,
1.0431034564971924,
0.5014770030975342,
-1.1208748817443848,
-0.37446779012680054,
-0.06028101220726967,
-0.4459078013896942,
-0.19373296201229095,
1.361679196357727,
-0.5272056460380554,
-0.9298129081726074,
1.3608016967773438,
0.5359168648719788,
0.9862759709358215,
... |
func (l *List) AddBefore(d interface{}, at *Node) *Node {
l.lazyInit()
return l.insertData(d, at.prev)
} | [
-0.7306997179985046,
1.7158873081207275,
0.7056844830513,
-0.7085204124450684,
0.04510090872645378,
-0.37502169609069824,
-0.9362426400184631,
-0.26562944054603577,
0.4097115099430084,
-0.16816015541553497,
-0.5425477027893066,
0.12836499512195587,
0.3875572383403778,
0.38097190856933594,
... |
func (l *List) AddAfter(d interface{}, at *Node) *Node {
l.lazyInit()
return l.insertData(d, at)
} | [
-0.5991820693016052,
0.7987251281738281,
0.46443042159080505,
-0.6772056818008423,
-0.9328362941741943,
0.389826238155365,
-1.430619716644287,
0.21636724472045898,
0.6815734505653381,
-1.2107985019683838,
-0.9842641949653625,
-0.01435253769159317,
0.9238572120666504,
0.46642351150512695,
... |
func (l *List) insertData(d interface{}, at *Node) *Node {
l.lazyInit()
return l.insert(&Node{Data: d}, at)
} | [
-0.9938125610351562,
1.755297303199768,
0.3456880748271942,
-1.0369232892990112,
-0.06285874545574188,
0.6204550266265869,
-0.43996596336364746,
0.5465897917747498,
0.4344252645969391,
-0.8623256087303162,
-1.1694563627243042,
0.44688680768013,
0.40671631693840027,
0.6319097280502319,
-1... |
func (l *List) insert(n, at *Node) *Node {
n.prev = at
n.next = at.next
n.prev.next = n
n.next.prev = n
n.list = l
l.Size++
return n
} | [
-1.0733222961425781,
1.4587814807891846,
0.44135260581970215,
-1.608347773551941,
-0.04360315203666687,
-0.4233609735965729,
-0.01557981688529253,
0.390475332736969,
0.3138003945350647,
-0.23074790835380554,
-1.540531039237976,
0.04344191029667854,
-0.5755648016929626,
0.4773854911327362,
... |
func (l *List) Delete(n *Node) interface{} {
if n.list == l {
l.remove(n)
}
return n.Data
} | [
-0.5412036180496216,
0.6553763747215271,
0.4262067973613739,
0.299923300743103,
-0.335048109292984,
-0.15395034849643707,
-1.077326774597168,
-0.06057305261492729,
1.5606305599212646,
0.4773276448249817,
-1.417792558670044,
0.003911909181624651,
-0.6721788644790649,
0.8472763895988464,
-... |
func (l *List) remove(n *Node) {
n.prev.next = n.next
n.next.prev = n.prev
n.next = nil
n.prev = nil
n.list = nil
l.Size--
} | [
-0.8528628349304199,
1.036628007888794,
0.3587411046028137,
-1.1170988082885742,
-0.33071184158325195,
-0.670669436454773,
0.3278783857822418,
1.5976283550262451,
1.0604658126831055,
0.2818678617477417,
-1.8105441331863403,
-0.18003074824810028,
-0.7801749110221863,
1.184852957725525,
0.... |
func DeployErc777(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string, defaultOperators_ []common.Address) (common.Address, *types.Transaction, *Erc777, error) {
parsed, err := abi.JSON(strings.NewReader(Erc777ABI))
if err != nil {
return common.Address{}, nil, nil, err
}
address,... | [
-0.2412077933549881,
-0.4330395460128784,
0.9241759181022644,
-0.5346015095710754,
-0.2382577359676361,
-0.6316158175468445,
0.2670169174671173,
-0.05935147404670715,
-0.09861341118812561,
1.294259786605835,
0.09516049921512604,
-0.2300523966550827,
-0.2875179350376129,
0.25411471724510193... |
func NewErc777(address common.Address, backend bind.ContractBackend) (*Erc777, error) {
contract, err := bindErc777(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &Erc777{Erc777Caller: Erc777Caller{contract: contract}, Erc777Transactor: Erc777Transactor{contract: contract}, Erc777Fil... | [
0.1414072960615158,
-0.6617399454116821,
0.5788823366165161,
-0.39049655199050903,
-0.828792154788971,
-0.6389418244361877,
-0.29045355319976807,
-0.254852294921875,
0.275543749332428,
0.49786245822906494,
0.521710216999054,
-0.08398886770009995,
1.021316647529602,
0.5596976280212402,
0.... |
func NewErc777Caller(address common.Address, caller bind.ContractCaller) (*Erc777Caller, error) {
contract, err := bindErc777(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &Erc777Caller{contract: contract}, nil
} | [
-0.47246402502059937,
-0.5825283527374268,
0.2548600435256958,
-0.10111980885267258,
-1.2646393775939941,
0.02683527022600174,
-0.9367994666099548,
-0.4288118779659271,
0.3109811246395111,
0.4261590540409088,
0.35894575715065,
-0.3030461072921753,
0.4387669563293457,
1.1242626905441284,
... |
func NewErc777Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc777Transactor, error) {
contract, err := bindErc777(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &Erc777Transactor{contract: contract}, nil
} | [
-0.3959069848060608,
-0.49682581424713135,
0.2835100293159485,
-0.5240216851234436,
-1.4886728525161743,
-0.5665032863616943,
-0.3600800335407257,
0.09594232589006424,
0.23965394496917725,
0.5695807337760925,
-0.6074929237365723,
-0.3563300669193268,
0.8354760408401489,
0.5909521579742432,... |
func NewErc777Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc777Filterer, error) {
contract, err := bindErc777(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &Erc777Filterer{contract: contract}, nil
} | [
-0.35206446051597595,
-0.5861987471580505,
0.26840484142303467,
0.06035838648676872,
-1.3670157194137573,
-0.41743093729019165,
-0.4563584327697754,
0.050011441111564636,
0.009557710960507393,
0.3518370985984802,
0.48322081565856934,
-0.05979837477207184,
0.5729645490646362,
1.185034751892... |
func bindErc777(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := abi.JSON(strings.NewReader(Erc777ABI))
if err != nil {
return nil, err
}
return bind.NewBoundContract(address, parsed, caller, trans... | [
-0.17829421162605286,
-0.6200330853462219,
0.5818224549293518,
-0.23992864787578583,
-0.6201950907707214,
-0.08089008927345276,
-0.40872764587402344,
-0.17498381435871124,
0.40637123584747314,
0.5547594428062439,
0.40511447191238403,
0.6757849454879761,
0.19378140568733215,
0.4539105594158... |
func (_Erc777 *Erc777Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _Erc777.Contract.Erc777Caller.contract.Call(opts, result, method, params...)
} | [
-1.0497820377349854,
0.7507603168487549,
0.7521421313285828,
0.7269752621650696,
-0.4911569058895111,
0.31078988313674927,
-0.2545720338821411,
-0.867496907711029,
0.6531646251678467,
0.35588502883911133,
0.3797057569026947,
0.015165349468588829,
-0.6114862561225891,
-0.10355667769908905,
... |
func (_Erc777 *Erc777Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Erc777.Contract.Erc777Transactor.contract.Transfer(opts)
} | [
-0.3883960247039795,
0.17707602679729462,
0.6907408237457275,
0.48209187388420105,
-0.1083574891090393,
0.3333703577518463,
0.5841546058654785,
-0.7909980416297913,
0.9819021224975586,
-0.1905791312456131,
0.15531539916992188,
0.26470527052879333,
-0.46818631887435913,
-0.6525914072990417,... |
func (_Erc777 *Erc777Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _Erc777.Contract.Erc777Transactor.contract.Transact(opts, method, params...)
} | [
-0.3554665148258209,
0.4682062566280365,
0.8149458765983582,
-0.2281796932220459,
0.2737301290035248,
-0.09827041625976562,
0.8759500980377197,
-0.741206169128418,
0.5641281008720398,
0.19729569554328918,
0.09210731089115143,
0.44589006900787354,
-0.08299759030342102,
-0.22347590327262878,... |
func (_Erc777 *Erc777CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _Erc777.Contract.contract.Call(opts, result, method, params...)
} | [
-1.094541311264038,
0.8470152020454407,
0.7085810899734497,
0.7544214725494385,
-0.6098237037658691,
0.3473028838634491,
-0.16780966520309448,
-0.903371274471283,
0.6439974904060364,
0.07993600517511368,
0.13734573125839233,
0.057797931134700775,
-0.604848325252533,
-0.11831747740507126,
... |
func (_Erc777 *Erc777TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _Erc777.Contract.contract.Transfer(opts)
} | [
-0.2926773130893707,
0.1792522817850113,
0.4905420243740082,
0.4821245074272156,
-0.061353787779808044,
0.3111775815486908,
0.8315607905387878,
-0.9743577241897583,
1.0947637557983398,
-0.2630065977573395,
0.3415457010269165,
0.22989824414253235,
-0.4090863764286041,
-0.5356950759887695,
... |
func (_Erc777 *Erc777TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _Erc777.Contract.contract.Transact(opts, method, params...)
} | [
-0.33923301100730896,
0.4479217231273651,
0.6705808639526367,
-0.21574294567108154,
0.1867288500070572,
-0.09373092651367188,
0.9597294926643372,
-1.0252021551132202,
0.5791158676147461,
0.09153451770544052,
0.1792300045490265,
0.3904998004436493,
0.09348241239786148,
-0.30948665738105774,... |
func (_Erc777 *Erc777Caller) Allowance(opts *bind.CallOpts, holder common.Address, spender common.Address) (*big.Int, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "allowance", holder, spender)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)... | [
-0.6410523056983948,
0.2521474063396454,
0.8452281951904297,
-0.05005005747079849,
-0.6935465335845947,
0.2996077239513397,
0.012084159068763256,
-0.21927838027477264,
0.9845722913742065,
1.3458967208862305,
0.7117987871170044,
0.9433466196060181,
-1.2349205017089844,
0.10555410385131836,
... |
func (_Erc777 *Erc777Session) Allowance(holder common.Address, spender common.Address) (*big.Int, error) {
return _Erc777.Contract.Allowance(&_Erc777.CallOpts, holder, spender)
} | [
-0.6403777599334717,
0.38957372307777405,
0.5351350903511047,
0.26434293389320374,
-0.5919927954673767,
0.3905148506164551,
0.28727853298187256,
-0.032376084476709366,
1.1776546239852905,
1.2616461515426636,
0.9830399751663208,
0.6286668181419373,
-1.1761199235916138,
0.27445492148399353,
... |
func (_Erc777 *Erc777CallerSession) Allowance(holder common.Address, spender common.Address) (*big.Int, error) {
return _Erc777.Contract.Allowance(&_Erc777.CallOpts, holder, spender)
} | [
-0.626889169216156,
0.562181830406189,
0.5825440287590027,
0.32176780700683594,
-0.6259498596191406,
0.48027515411376953,
0.13820643723011017,
-0.19599449634552002,
1.2461344003677368,
1.103346347808838,
0.9490143656730652,
0.624060332775116,
-1.1612480878829956,
0.37989896535873413,
2.1... |
func (_Erc777 *Erc777Caller) BalanceOf(opts *bind.CallOpts, tokenHolder common.Address) (*big.Int, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "balanceOf", tokenHolder)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return ... | [
-0.34182053804397583,
0.6813300848007202,
0.6356545090675354,
-0.4025948941707611,
-0.5326970815658569,
-0.4305475652217865,
-0.4198112487792969,
-1.6566349267959595,
0.48555251955986023,
0.2891837954521179,
-0.06285931915044785,
0.5046478509902954,
-0.6620490550994873,
0.365050345659256,
... |
func (_Erc777 *Erc777Session) BalanceOf(tokenHolder common.Address) (*big.Int, error) {
return _Erc777.Contract.BalanceOf(&_Erc777.CallOpts, tokenHolder)
} | [
0.19199973344802856,
0.6854602694511414,
0.24802181124687195,
-0.7609255313873291,
-0.5028348565101624,
-0.472953200340271,
-0.31337428092956543,
-1.7752023935317993,
0.6598095893859863,
0.2941722571849823,
0.21378062665462494,
0.2230728417634964,
-0.6796019077301025,
0.3455328047275543,
... |
func (_Erc777 *Erc777CallerSession) BalanceOf(tokenHolder common.Address) (*big.Int, error) {
return _Erc777.Contract.BalanceOf(&_Erc777.CallOpts, tokenHolder)
} | [
0.20275133848190308,
0.7465949654579163,
0.279524564743042,
-0.7113481163978577,
-0.46684616804122925,
-0.41406258940696716,
-0.4561940133571625,
-1.8357644081115723,
0.684281587600708,
0.1856401264667511,
0.2202776074409485,
0.18550138175487518,
-0.6991130113601685,
0.3723132312297821,
... |
func (_Erc777 *Erc777Caller) Decimals(opts *bind.CallOpts) (uint8, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "decimals")
if err != nil {
return *new(uint8), err
}
out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8)
return out0, err
} | [
-0.4991651773452759,
0.559640645980835,
0.8911963701248169,
0.6111576557159424,
0.2857693135738373,
-0.2502438724040985,
-0.37907302379608154,
-1.1250759363174438,
0.7767562866210938,
-0.146325021982193,
0.14632916450500488,
0.8217728137969971,
-0.47246894240379333,
-0.39003047347068787,
... |
func (_Erc777 *Erc777Session) Decimals() (uint8, error) {
return _Erc777.Contract.Decimals(&_Erc777.CallOpts)
} | [
-0.040263619273900986,
0.8325806260108948,
0.7624872326850891,
0.004791723098605871,
0.25657352805137634,
-0.3633628785610199,
-0.11131419986486435,
-1.2084364891052246,
1.057814598083496,
-0.2853047251701355,
0.030534666031599045,
0.4866209328174591,
-0.8053561449050903,
-0.40180879831314... |
func (_Erc777 *Erc777CallerSession) Decimals() (uint8, error) {
return _Erc777.Contract.Decimals(&_Erc777.CallOpts)
} | [
-0.10746925324201584,
0.9380324482917786,
0.7260642051696777,
0.05605286359786987,
0.16336514055728912,
-0.22514112293720245,
-0.29611602425575256,
-1.3631378412246704,
1.0824253559112549,
-0.37078654766082764,
-0.06664096564054489,
0.4892858862876892,
-0.7859184145927429,
-0.2947075664997... |
func (_Erc777 *Erc777Caller) DefaultOperators(opts *bind.CallOpts) ([]common.Address, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "defaultOperators")
if err != nil {
return *new([]common.Address), err
}
out0 := *abi.ConvertType(out[0], new([]common.Address)).(*[]common.Address)
re... | [
-1.5733964443206787,
1.0824228525161743,
1.0791641473770142,
0.8755896687507629,
0.7480865120887756,
-0.10001199692487717,
0.0927126407623291,
-0.9807219505310059,
0.9337899088859558,
0.3110426962375641,
-0.19811204075813293,
-0.4142099618911743,
-1.6109466552734375,
0.2257618010044098,
... |
func (_Erc777 *Erc777Session) DefaultOperators() ([]common.Address, error) {
return _Erc777.Contract.DefaultOperators(&_Erc777.CallOpts)
} | [
-1.013240098953247,
1.0998252630233765,
0.4907001852989197,
0.37618961930274963,
0.755569577217102,
0.07698958367109299,
0.2088557928800583,
-0.7870096564292908,
1.2867308855056763,
0.04733358323574066,
0.1146702766418457,
-0.9696457386016846,
-1.9846333265304565,
0.25048553943634033,
-0... |
func (_Erc777 *Erc777CallerSession) DefaultOperators() ([]common.Address, error) {
return _Erc777.Contract.DefaultOperators(&_Erc777.CallOpts)
} | [
-0.9171538949012756,
1.1565399169921875,
0.5584627985954285,
0.45100730657577515,
0.8442532420158386,
0.1290353387594223,
0.08400307595729828,
-0.8579936623573303,
1.4185317754745483,
-0.044885050505399704,
0.03076525777578354,
-1.032849669456482,
-1.819642186164856,
0.17708584666252136,
... |
func (_Erc777 *Erc777Caller) Granularity(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "granularity")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-0.8669295907020569,
1.043946623802185,
1.0090100765228271,
0.7460527420043945,
0.4724750816822052,
-0.31226861476898193,
0.573695182800293,
-0.7740272283554077,
0.8793113827705383,
0.6988294124603271,
0.08626163750886917,
0.8303177952766418,
-1.033462405204773,
-0.05239269137382507,
0.6... |
func (_Erc777 *Erc777Session) Granularity() (*big.Int, error) {
return _Erc777.Contract.Granularity(&_Erc777.CallOpts)
} | [
-0.4960753321647644,
1.339387059211731,
0.75566565990448,
0.5573641657829285,
0.842538595199585,
-0.1823112964630127,
0.9271360039710999,
-0.7514317631721497,
1.4936074018478394,
0.601489782333374,
0.4644962251186371,
0.37631821632385254,
-1.0985867977142334,
-0.16797040402889252,
1.1057... |
func (_Erc777 *Erc777CallerSession) Granularity() (*big.Int, error) {
return _Erc777.Contract.Granularity(&_Erc777.CallOpts)
} | [
-0.5858060717582703,
1.4378619194030762,
0.7562853693962097,
0.51800537109375,
0.7855919599533081,
-0.0319385901093483,
0.6851469874382019,
-0.8397672772407532,
1.4799156188964844,
0.48209577798843384,
0.36940300464630127,
0.37010639905929565,
-1.1045697927474976,
-0.04582797735929489,
1... |
func (_Erc777 *Erc777Caller) IsOperatorFor(opts *bind.CallOpts, operator common.Address, tokenHolder common.Address) (bool, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "isOperatorFor", operator, tokenHolder)
if err != nil {
return *new(bool), err
}
out0 := *abi.ConvertType(out[0], n... | [
-1.0898230075836182,
0.7851791381835938,
0.6998924612998962,
-0.41228824853897095,
-1.2050312757492065,
-0.09780444204807281,
-0.6371882557868958,
-0.7573425769805908,
0.194268599152565,
0.2680239975452423,
0.0764707699418068,
-0.019064711406826973,
-0.4002879559993744,
-0.2795909345149994... |
func (_Erc777 *Erc777Session) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error) {
return _Erc777.Contract.IsOperatorFor(&_Erc777.CallOpts, operator, tokenHolder)
} | [
-0.7166516184806824,
0.6432448029518127,
0.47640135884284973,
-1.0663484334945679,
-1.0317316055297852,
-0.2642625570297241,
-0.3921956717967987,
-0.8759402632713318,
0.10805491358041763,
0.2364753633737564,
0.3378262519836426,
-0.43751734495162964,
-0.4866830110549927,
-0.0538702607154846... |
func (_Erc777 *Erc777CallerSession) IsOperatorFor(operator common.Address, tokenHolder common.Address) (bool, error) {
return _Erc777.Contract.IsOperatorFor(&_Erc777.CallOpts, operator, tokenHolder)
} | [
-0.7303720712661743,
0.6859237551689148,
0.5496397018432617,
-0.9677571654319763,
-1.0575529336929321,
-0.20377880334854126,
-0.49342596530914307,
-1.0119582414627075,
0.27517393231391907,
0.16099250316619873,
0.2783570885658264,
-0.4738287627696991,
-0.42557862401008606,
-0.05205114185810... |
func (_Erc777 *Erc777Caller) Name(opts *bind.CallOpts) (string, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "name")
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return out0, err
} | [
-0.5570747256278992,
0.06748733669519424,
1.1868976354599,
0.48789182305336,
-0.9087504744529724,
-0.14049585163593292,
-0.2933444082736969,
-1.5327204465866089,
0.42342808842658997,
1.171416997909546,
-0.11345961689949036,
0.23571376502513885,
-0.6435300707817078,
-0.04248252883553505,
... |
func (_Erc777 *Erc777Session) Name() (string, error) {
return _Erc777.Contract.Name(&_Erc777.CallOpts)
} | [
-0.17303797602653503,
0.24216164648532867,
0.8055581450462341,
-0.0014421939849853516,
-0.636994481086731,
-0.10044623911380768,
0.22105617821216583,
-1.4594188928604126,
1.115874171257019,
1.38271164894104,
0.029686741530895233,
0.006161481142044067,
-0.4899138808250427,
-0.27741894125938... |
func (_Erc777 *Erc777CallerSession) Name() (string, error) {
return _Erc777.Contract.Name(&_Erc777.CallOpts)
} | [
-0.37116488814353943,
0.19626399874687195,
0.7086008191108704,
-0.015995284542441368,
-0.6248060464859009,
0.11682766675949097,
-0.0932140201330185,
-1.4954413175582886,
0.8939394950866699,
1.1000950336456299,
-0.08102759718894958,
-0.07308954000473022,
-0.6081683039665222,
-0.032408002763... |
func (_Erc777 *Erc777Caller) Symbol(opts *bind.CallOpts) (string, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "symbol")
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return out0, err
} | [
-1.2033073902130127,
0.7829798460006714,
0.6472769379615784,
0.5253094434738159,
-0.12798450887203217,
-0.39037251472473145,
0.4251532554626465,
-1.0953569412231445,
0.8655068278312683,
0.375294953584671,
-0.017193995416164398,
0.9472376704216003,
-0.17077603936195374,
-0.3187166452407837,... |
func (_Erc777 *Erc777Session) Symbol() (string, error) {
return _Erc777.Contract.Symbol(&_Erc777.CallOpts)
} | [
-0.7462821006774902,
0.9101679921150208,
0.3659456968307495,
-0.02400060184299946,
0.2398417890071869,
0.017163772135972977,
0.8272300362586975,
-0.9233052730560303,
1.4185091257095337,
0.25256168842315674,
0.03577849268913269,
0.6415935158729553,
-0.12289402633905411,
-0.8198511004447937,... |
func (_Erc777 *Erc777CallerSession) Symbol() (string, error) {
return _Erc777.Contract.Symbol(&_Erc777.CallOpts)
} | [
-0.8605886697769165,
0.9319202303886414,
0.3408282995223999,
-0.03302193060517311,
0.1383899748325348,
0.18528783321380615,
0.5928423404693604,
-1.0321379899978638,
1.358827829360962,
0.16024014353752136,
-0.019218793138861656,
0.5974239706993103,
-0.14046041667461395,
-0.705683171749115,
... |
func (_Erc777 *Erc777Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _Erc777.contract.Call(opts, &out, "totalSupply")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-1.2132847309112549,
0.8407814502716064,
1.2569905519485474,
-0.3208186626434326,
-0.2777871787548065,
-0.32887738943099976,
0.6021746397018433,
-1.125602126121521,
1.3211350440979004,
0.2824397087097168,
-0.6978514790534973,
0.06490129977464676,
-1.0579365491867065,
-0.5546036958694458,
... |
func (_Erc777 *Erc777Session) TotalSupply() (*big.Int, error) {
return _Erc777.Contract.TotalSupply(&_Erc777.CallOpts)
} | [
-0.8402999639511108,
1.0580493211746216,
0.9096130728721619,
-0.41304364800453186,
-0.09787305444478989,
-0.160621777176857,
0.91379714012146,
-1.0693018436431885,
1.6957180500030518,
0.18011169135570526,
-0.5340732932090759,
-0.6610726714134216,
-1.313401222229004,
-0.6580610275268555,
... |
func (_Erc777 *Erc777CallerSession) TotalSupply() (*big.Int, error) {
return _Erc777.Contract.TotalSupply(&_Erc777.CallOpts)
} | [
-0.8170991539955139,
1.1526364088058472,
0.9344829320907593,
-0.3712792992591858,
-0.18520881235599518,
-0.04756775125861168,
0.7778881788253784,
-1.079860806465149,
1.7440577745437622,
0.08368991315364838,
-0.5907288789749146,
-0.6947208046913147,
-1.2919458150863647,
-0.6263068318367004,... |
func (_Erc777 *Erc777Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error) {
return _Erc777.contract.Transact(opts, "approve", spender, value)
} | [
-0.8097012639045715,
0.597047746181488,
0.5690207481384277,
-0.5615461468696594,
-1.1418001651763916,
-0.44219884276390076,
0.4676301181316376,
-1.241780161857605,
0.34384581446647644,
0.9990248084068298,
-0.08340578526258469,
-0.004457710776478052,
-1.0479810237884521,
0.03395868465304375... |
func (_Erc777 *Erc777Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) {
return _Erc777.Contract.Approve(&_Erc777.TransactOpts, spender, value)
} | [
-0.7366737723350525,
0.4930204451084137,
0.6163643002510071,
-0.404026061296463,
-1.1176477670669556,
-0.7389705777168274,
0.7318795323371887,
-1.5770905017852783,
0.4476143419742584,
1.1881359815597534,
-0.17275696992874146,
-0.18207012116909027,
-1.1113123893737793,
0.027950691059231758,... |
func (_Erc777 *Erc777TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) {
return _Erc777.Contract.Approve(&_Erc777.TransactOpts, spender, value)
} | [
-0.7745313048362732,
0.5079425573348999,
0.598997175693512,
-0.5015864968299866,
-1.0835729837417603,
-0.7203320860862732,
0.7174364924430847,
-1.5535539388656616,
0.45174700021743774,
1.2345200777053833,
-0.1680677980184555,
-0.25095662474632263,
-1.015208125114441,
-0.07038217782974243,
... |
func (_Erc777 *Erc777Transactor) AuthorizeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error) {
return _Erc777.contract.Transact(opts, "authorizeOperator", operator)
} | [
-0.7775969505310059,
0.8233364820480347,
0.4931774139404297,
-0.38348662853240967,
-1.385559320449829,
-0.5742073059082031,
0.8504268527030945,
-0.2351367473602295,
1.1079416275024414,
0.33818385004997253,
0.09423545747995377,
-0.11238844692707062,
-0.27135416865348816,
-0.1438908725976944... |
func (_Erc777 *Erc777Session) AuthorizeOperator(operator common.Address) (*types.Transaction, error) {
return _Erc777.Contract.AuthorizeOperator(&_Erc777.TransactOpts, operator)
} | [
-0.6058750152587891,
0.8285084962844849,
0.6609320640563965,
-0.44410836696624756,
-1.3624076843261719,
-1.097901701927185,
1.0625391006469727,
-0.39142200350761414,
1.0994750261306763,
0.5573025941848755,
-0.023248599842190742,
-0.1903645396232605,
-0.15531674027442932,
-0.090723469853401... |
func (_Erc777 *Erc777TransactorSession) AuthorizeOperator(operator common.Address) (*types.Transaction, error) {
return _Erc777.Contract.AuthorizeOperator(&_Erc777.TransactOpts, operator)
} | [
-0.6381287574768066,
0.8485022783279419,
0.7068207263946533,
-0.5043814182281494,
-1.2317339181900024,
-1.0005773305892944,
0.9948117136955261,
-0.42859163880348206,
1.1100468635559082,
0.5976930260658264,
-0.052807629108428955,
-0.3517707288265228,
-0.008085131645202637,
-0.22819900512695... |
func (_Erc777 *Erc777Transactor) Burn(opts *bind.TransactOpts, amount *big.Int, data []byte) (*types.Transaction, error) {
return _Erc777.contract.Transact(opts, "burn", amount, data)
} | [
-0.2762593924999237,
0.4992443323135376,
0.4135982096195221,
0.04675857350230217,
-0.44529446959495544,
-0.3607407212257385,
-0.061405155807733536,
-0.3997119069099426,
0.8737809062004089,
-0.22154299914836884,
-0.3891439735889435,
0.4393402636051178,
-0.42367327213287354,
-0.4744825959205... |
func (_Erc777 *Erc777Session) Burn(amount *big.Int, data []byte) (*types.Transaction, error) {
return _Erc777.Contract.Burn(&_Erc777.TransactOpts, amount, data)
} | [
-0.27070313692092896,
0.40538668632507324,
0.538571298122406,
0.1277514398097992,
-0.5874589085578918,
-0.701904296875,
0.11730078607797623,
-0.5928138494491577,
0.8093019723892212,
0.06199667975306511,
-0.3632384240627289,
0.06476324051618576,
-0.513415515422821,
-0.4643371105194092,
0.... |
func (_Erc777 *Erc777TransactorSession) Burn(amount *big.Int, data []byte) (*types.Transaction, error) {
return _Erc777.Contract.Burn(&_Erc777.TransactOpts, amount, data)
} | [
-0.30154454708099365,
0.5152861475944519,
0.48943030834198,
0.0828733816742897,
-0.49598386883735657,
-0.5992023944854736,
0.03928488492965698,
-0.649702787399292,
0.8079701066017151,
0.07072269171476364,
-0.3586321771144867,
0.0857064425945282,
-0.37863731384277344,
-0.544999361038208,
... |
func (_Erc777 *Erc777Transactor) OperatorBurn(opts *bind.TransactOpts, account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error) {
return _Erc777.contract.Transact(opts, "operatorBurn", account, amount, data, operatorData)
} | [
-0.14581738412380219,
0.6008231043815613,
0.19742092490196228,
-0.14829236268997192,
-0.9636834263801575,
-0.4311525523662567,
0.5446634292602539,
-0.5138089060783386,
0.7409533858299255,
0.057138845324516296,
0.0076057882979512215,
0.7296826839447021,
-0.27584192156791687,
-0.619010031223... |
func (_Erc777 *Erc777Session) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error) {
return _Erc777.Contract.OperatorBurn(&_Erc777.TransactOpts, account, amount, data, operatorData)
} | [
-0.14664480090141296,
0.48407578468322754,
0.2032388150691986,
-0.07732495665550232,
-1.188430666923523,
-0.8217178583145142,
0.6325046420097351,
-0.7707551717758179,
0.7287585735321045,
0.1439272165298462,
0.026081452146172523,
0.6050041317939758,
-0.4263995289802551,
-0.570288360118866,
... |
func (_Erc777 *Erc777TransactorSession) OperatorBurn(account common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error) {
return _Erc777.Contract.OperatorBurn(&_Erc777.TransactOpts, account, amount, data, operatorData)
} | [
-0.17729425430297852,
0.4793495535850525,
0.1930629163980484,
-0.12881086766719818,
-1.1428965330123901,
-0.7329221367835999,
0.6316988468170166,
-0.6972478032112122,
0.7627332806587219,
0.19520148634910583,
-0.01595955342054367,
0.5291299223899841,
-0.284479022026062,
-0.6566624641418457,... |
func (_Erc777 *Erc777Transactor) OperatorSend(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error) {
return _Erc777.contract.Transact(opts, "operatorSend", sender, recipient, amount, data, operatorData)
} | [
-0.24270232021808624,
0.43291419744491577,
0.29034852981567383,
-0.6305051445960999,
-1.0032413005828857,
-0.1766418218612671,
-0.1757935732603073,
-0.48065194487571716,
-0.1694885492324829,
0.5675077438354492,
-0.34906673431396484,
0.6187064051628113,
-0.21274380385875702,
-0.154096171259... |
func (_Erc777 *Erc777Session) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error) {
return _Erc777.Contract.OperatorSend(&_Erc777.TransactOpts, sender, recipient, amount, data, operatorData)
} | [
-0.1452101171016693,
0.2769579589366913,
0.2880023717880249,
-0.6905398964881897,
-1.0441899299621582,
-0.42786523699760437,
0.05909283086657524,
-0.6950238347053528,
-0.28152793645858765,
0.7435023784637451,
-0.28423625230789185,
0.43395596742630005,
-0.2392747849225998,
-0.05864769592881... |
func (_Erc777 *Erc777TransactorSession) OperatorSend(sender common.Address, recipient common.Address, amount *big.Int, data []byte, operatorData []byte) (*types.Transaction, error) {
return _Erc777.Contract.OperatorSend(&_Erc777.TransactOpts, sender, recipient, amount, data, operatorData)
} | [
-0.1269485205411911,
0.325496107339859,
0.27146756649017334,
-0.7451210618019104,
-0.9380946755409241,
-0.3640921115875244,
-0.010664173401892185,
-0.6561827659606934,
-0.2677616775035858,
0.7517691850662231,
-0.3450927436351776,
0.3750952184200287,
-0.18216650187969208,
-0.190240785479545... |
func (_Erc777 *Erc777Transactor) RevokeOperator(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error) {
return _Erc777.contract.Transact(opts, "revokeOperator", operator)
} | [
-0.329681396484375,
0.45209208130836487,
0.4773242771625519,
-0.5257121920585632,
-1.345765471458435,
-0.8219477534294128,
0.5901367664337158,
0.40508347749710083,
1.0983912944793701,
0.18493643403053284,
-0.20151498913764954,
-0.6015294194221497,
-0.07043791562318802,
-0.5837721824645996,... |
func (_Erc777 *Erc777Session) RevokeOperator(operator common.Address) (*types.Transaction, error) {
return _Erc777.Contract.RevokeOperator(&_Erc777.TransactOpts, operator)
} | [
-0.08950180560350418,
0.5658979415893555,
0.6255831718444824,
-0.6093353033065796,
-1.325183391571045,
-1.3065390586853027,
0.7948822975158691,
0.3402380645275116,
1.0746381282806396,
0.3800255358219147,
-0.2441408485174179,
-0.665640652179718,
0.03923780471086502,
-0.485020250082016,
0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.