text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (elt *Element) StringSlice(defaultValue ...[]string) ([]string, error) {
defValue := func() *[]string {
if len(defaultValue) == 0 {
return nil
}
return &defaultValue[0]
}
def := defValue()
if elt.Value == nil {
if def == nil {
var v []string
return v, NewWrongPathError(elt.Path)
}
return *... | [
-0.7886160016059875,
-0.07067582756280899,
0.5119664072990417,
0.8403840065002441,
0.780337393283844,
-0.36614686250686646,
-0.4819678068161011,
-0.8426381945610046,
-0.4259096384048462,
0.9092954993247986,
-0.09643696993589401,
0.49290624260902405,
-0.7112019658088684,
0.8165037631988525,... |
func (o *IbmsPatchByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewIbmsPatchByIDOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return result, nil
... | [
-0.27804234623908997,
-0.8950865268707275,
0.7337061762809753,
0.5623170137405396,
-0.3901563286781311,
-1.0495630502700806,
0.5946228504180908,
-0.5993272662162781,
0.7379400134086609,
0.2700200080871582,
0.18792901933193207,
-0.44395121932029724,
-1.4913630485534668,
-0.09798889607191086... |
func NewIbmsPatchByIDOK() *IbmsPatchByIDOK {
return &IbmsPatchByIDOK{}
} | [
-0.36155784130096436,
-0.37230798602104187,
0.3805016577243805,
0.2588348984718323,
-0.8931623697280884,
-0.3135033845901489,
0.372906357049942,
-0.8909556269645691,
-0.11647267639636993,
0.22709666192531586,
-0.6198844909667969,
-0.17306219041347504,
-0.9005352854728699,
0.076239816844463... |
func NewIbmsPatchByIDDefault(code int) *IbmsPatchByIDDefault {
return &IbmsPatchByIDDefault{
_statusCode: code,
}
} | [
-0.5166047215461731,
-0.18386977910995483,
0.052363719791173935,
0.14470136165618896,
0.5791251063346863,
-0.13300932943820953,
0.18401670455932617,
-0.3844204545021057,
0.3554501533508301,
0.43410301208496094,
-1.2247436046600342,
-0.19706092774868011,
-1.7124419212341309,
-0.357909828424... |
func (o *IbmsPatchByIDDefault) Code() int {
return o._statusCode
} | [
-0.2058349847793579,
0.25586435198783875,
0.1746438592672348,
1.2956117391586304,
0.5188010334968567,
-0.04590947553515434,
1.0185388326644897,
0.5004040002822876,
0.14685289561748505,
0.21004259586334229,
-0.6675673723220825,
-0.3260287642478943,
-0.9878657460212708,
0.020822985097765923,... |
func init() {
slacker = &Slack{&Notification{
Id: SLACK_ID,
Method: SLACK_METHOD,
Host: "https://webhooksurl.slack.com/***",
Form: []NotificationForm{{
Id: 2,
Type: "text",
Title: "Incoming Webhook Url",
Placeholder: "Insert your Slack webhook URL here.",
DbField: ... | [
0.973857581615448,
0.7599214315414429,
0.7085970640182495,
-0.21546106040477753,
0.8813586235046387,
0.11488799005746841,
-0.1311241090297699,
0.2406928986310959,
-1.0722863674163818,
-0.32521751523017883,
-1.0578491687774658,
1.2151246070861816,
-0.09456746280193329,
1.104148268699646,
... |
func (u *Slack) Run() error {
messageLock.Lock()
slackMessages = uniqueStrings(slackMessages)
for _, msg := range slackMessages {
if u.CanSend() {
utils.Log(1, fmt.Sprintf("Sending JSON to Slack Webhook"))
client := http.Client{Timeout: 15 * time.Second}
_, err := client.Post(u.Host, "application/json", ... | [
0.31388431787490845,
0.5031815767288208,
0.8508309125900269,
-0.08403614908456802,
0.46783560514450073,
-0.11995824426412582,
0.30092358589172363,
-0.15102510154247284,
-0.6896753311157227,
0.44058987498283386,
-0.5747857093811035,
1.2017202377319336,
-0.9270466566085815,
0.929542362689971... |
func SendSlack(temp string, data interface{}) error {
messageLock.Lock()
buf := new(bytes.Buffer)
slackTemp, _ := template.New("slack").Parse(temp)
slackTemp.Execute(buf, data)
slackMessages = append(slackMessages, buf.String())
messageLock.Unlock()
return nil
} | [
0.23062527179718018,
1.0100765228271484,
0.5700716376304626,
0.23108653724193573,
0.4576553702354431,
-0.3198353052139282,
-0.12115801870822906,
-0.8434686660766602,
-0.24345657229423523,
-0.8113865852355957,
-0.5836777091026306,
1.0408581495285034,
-0.5991017818450928,
0.7060486674308777,... |
func (u *Slack) OnFailure(s *types.Service) error {
if u.Enabled {
message := slackMessage{
Service: s,
Time: time.Now().Unix(),
}
SendSlack(FAILING_TEMPLATE, message)
}
return nil
} | [
-0.13575229048728943,
0.2838297188282013,
0.2824149429798126,
-0.3116711378097534,
-0.0804956704378128,
-0.636176347732544,
-0.7748367786407471,
-0.3083896338939667,
-0.15122514963150024,
0.4631797671318054,
-0.13928024470806122,
0.8945624232292175,
-0.4981146454811096,
1.2418372631072998,... |
func (u *Slack) OnSuccess(s *types.Service) error {
if u.Enabled {
//message := slackMessage{
// Service: s,
// Time: time.Now().Unix(),
//}
//SendSlack(SUCCESS_TEMPLATE, message)
}
return nil
} | [
0.25262320041656494,
0.2695606052875519,
0.4720444977283478,
-0.10648813098669052,
-0.5184116363525391,
0.06817162036895752,
-0.6067047119140625,
-0.020452283322811127,
-0.2586575448513031,
0.9557981491088867,
-0.43078145384788513,
1.0247591733932495,
0.06735648214817047,
0.874862313270568... |
func (u *Slack) OnSave() error {
utils.Log(1, fmt.Sprintf("Notification %v is receiving updated information.", u.Method))
// Do updating stuff here
return nil
} | [
0.45734676718711853,
-0.9165979623794556,
0.483028769493103,
-0.21858060359954834,
0.31890714168548584,
-0.6954349279403687,
-0.5559514164924622,
-0.34935855865478516,
-0.7187634110450745,
0.8767386674880981,
-0.6072429418563843,
0.6364453434944153,
-0.31769487261772156,
0.2544959485530853... |
func (u *Slack) Install() error {
inDb, err := slacker.Notification.IsInDatabase()
if !inDb {
newNotifer, err := InsertDatabase(u.Notification)
if err != nil {
utils.Log(3, err)
return err
}
utils.Log(1, fmt.Sprintf("new notifier #%v installed: %v", newNotifer, u.Method))
}
return err
} | [
0.2342931479215622,
0.5951891541481018,
0.7477869391441345,
-0.28234198689460754,
1.3287006616592407,
-0.025512663647532463,
0.023903006687760353,
-0.03745410218834877,
-1.2354859113693237,
1.088409423828125,
-0.7498283982276917,
0.30990085005760193,
-1.0639477968215942,
1.1259053945541382... |
func (ds DiscountRepo) EditDiscountRepo(db *sql.DB, h map[string]string, p map[string]string) (string, error) {
//make a new discounts variable and parse the slice of maps set the value of the new discounts variable
discounts := make([]map[string]string, 0)
json.Unmarshal([]byte(p["discounts"]), &discounts)
ch := ... | [
-0.5757508873939514,
-0.05273215472698212,
0.7462612986564636,
-0.669804573059082,
0.5108914375305176,
-0.16743233799934387,
0.3102748990058899,
0.3516823947429657,
-0.7214295268058777,
0.14125989377498627,
0.034378841519355774,
0.0450088195502758,
-0.3743842840194702,
0.08700890094041824,... |
func NewAllocation() *Allocation {
return initializeZeroAlloc()
} | [
0.5686759948730469,
-0.9287062883377075,
0.13176289200782776,
0.5357531905174255,
-0.8255204558372498,
-0.928505539894104,
1.0920801162719727,
-0.0059285699389874935,
0.9514557123184204,
-0.566556453704834,
0.5964639186859131,
-0.2936301529407501,
0.6439093947410583,
0.3951803743839264,
... |
func (a *Allocation) GetByType(allocationType AllocationType) *Resources {
return a.Value[allocationType]
} | [
0.4613243043422699,
-0.2510063350200653,
0.3885447084903717,
-0.12213680148124695,
-0.18362469971179962,
-0.45358502864837646,
0.35528844594955444,
-1.0086559057235718,
0.9480085968971252,
0.5915932059288025,
1.317072868347168,
0.25739824771881104,
0.6606401801109314,
-0.2733590006828308,
... |
func (a *Allocation) Add(other *Allocation) *Allocation {
result := initializeZeroAlloc()
for t, v := range a.Value {
result.Value[t] = v.Add(other.Value[t])
}
return result
} | [
-0.36184999346733093,
-0.5760864615440369,
0.7706032395362854,
-0.3475967347621918,
-0.30644962191581726,
-0.03616488724946976,
-0.32414382696151733,
-0.29104653000831604,
1.0531439781188965,
0.09383631497621536,
1.1485637426376343,
0.2351686954498291,
0.8020038604736328,
0.167881339788436... |
func (a *Allocation) Subtract(other *Allocation) *Allocation {
result := initializeZeroAlloc()
for t, v := range a.Value {
result.Value[t] = v.Subtract(other.Value[t])
}
return result
} | [
-0.10028375685214996,
-0.23338496685028076,
0.7216590642929077,
-0.5239822864532471,
-0.7900010943412781,
-0.1092308759689331,
0.22357730567455292,
0.0591936819255352,
0.44626766443252563,
-0.16816896200180054,
0.7486999034881592,
-0.056182365864515305,
0.6984080076217651,
-0.0369844995439... |
func initializeZeroAlloc() *Allocation {
alloc := &Allocation{
Value: make(map[AllocationType]*Resources),
}
alloc.Value[TotalAllocation] = ZeroResource
alloc.Value[NonPreemptibleAllocation] = ZeroResource
alloc.Value[ControllerAllocation] = ZeroResource
alloc.Value[PreemptibleAllocation] = ZeroResource
alloc... | [
0.08168412744998932,
-0.5985937714576721,
0.6263949275016785,
-1.2282421588897705,
-0.05198901519179344,
-0.5592584013938904,
0.943551778793335,
-0.17356768250465393,
0.8993926048278809,
-0.7938390970230103,
0.46573686599731445,
-0.1718394160270691,
0.8030820488929749,
0.005603058729320764... |
func GetGangAllocation(gang *resmgrsvc.Gang) *Allocation {
gangAllocation := initializeZeroAlloc()
for _, t := range gang.GetTasks() {
gangAllocation = gangAllocation.Add(GetTaskAllocation(t))
}
return gangAllocation
} | [
-0.24026232957839966,
0.012618942186236382,
0.5571368336677551,
-0.30032312870025635,
-0.1923985779285431,
-0.23676003515720367,
1.4744651317596436,
-0.2738180458545685,
0.35999155044555664,
-0.2971310317516327,
0.4011082053184509,
-0.08912351727485657,
0.5603760480880737,
0.03882687166333... |
func GetTaskAllocation(rmTask *resmgr.Task) *Allocation {
alloc := initializeZeroAlloc()
taskResource := ConvertToResmgrResource(rmTask.Resource)
// check if the task is non-preemptible
if rmTask.GetPreemptible() {
alloc.Value[PreemptibleAllocation] = taskResource
} else {
alloc.Value[NonPreemptibleAllocatio... | [
0.14925968647003174,
-0.32539844512939453,
0.7024421095848083,
-0.40789803862571716,
-0.9492629766464233,
-0.2181619107723236,
1.5539311170578003,
0.13302192091941833,
0.5943697094917297,
0.20904389023780823,
0.3775565028190613,
-0.47354280948638916,
0.945753276348114,
0.23032215237617493,... |
func (r *Resources) GetCPU() float64 {
return r.CPU
} | [
0.7158524990081787,
0.21967796981334686,
0.3386210501194,
0.29219314455986023,
0.3788580596446991,
-0.021716652438044548,
0.9672865271568298,
-0.15678223967552185,
-0.32374072074890137,
-0.860828697681427,
0.6730580925941467,
0.1400994509458542,
-0.6790950298309326,
0.6876590847969055,
0... |
func (r *Resources) GetDisk() float64 {
return r.DISK
} | [
0.8587646484375,
1.1408246755599976,
0.3899463713169098,
1.0931991338729858,
0.41753363609313965,
0.19091033935546875,
1.2426451444625854,
-0.6018513441085815,
-0.3648098409175873,
-1.3786849975585938,
0.6080464720726013,
-0.302069753408432,
-0.22648882865905762,
1.1793583631515503,
0.42... |
func (r *Resources) GetMem() float64 {
return r.MEMORY
} | [
0.7089834809303284,
0.21793551743030548,
0.0073234946466982365,
0.5109764337539673,
0.5467816591262817,
0.3025268614292145,
0.7336192727088928,
-0.6932619214057922,
0.33233094215393066,
-0.6428896188735962,
0.7575206756591797,
-0.14445853233337402,
-0.4925878942012787,
0.5334027409553528,
... |
func (r *Resources) GetGPU() float64 {
return r.GPU
} | [
0.36661598086357117,
0.5350883603096008,
0.36017197370529175,
0.3725496232509613,
0.7108119130134583,
0.18124139308929443,
0.3720373511314392,
-0.423954576253891,
-0.3375946879386902,
-0.9934194684028625,
0.9719851613044739,
-0.030869590118527412,
-0.7005863189697266,
0.35110118985176086,
... |
func (r *Resources) Get(kind string) float64 {
switch kind {
case common.CPU:
return r.GetCPU()
case common.GPU:
return r.GetGPU()
case common.MEMORY:
return r.GetMem()
case common.DISK:
return r.GetDisk()
}
return float64(0)
} | [
-0.7362439036369324,
-0.12165668606758118,
0.5581861138343811,
-0.31931188702583313,
0.3807791769504547,
-0.18256765604019165,
-0.5347655415534973,
-0.8438048958778381,
-1.2826664447784424,
-0.02472047135233879,
0.8769248723983765,
0.7238406538963318,
-0.750931441783905,
0.7316027283668518... |
func (r *Resources) Set(kind string, value float64) {
switch kind {
case common.CPU:
r.CPU = value
case common.GPU:
r.GPU = value
case common.MEMORY:
r.MEMORY = value
case common.DISK:
r.DISK = value
}
} | [
-0.17739561200141907,
-0.0575568750500679,
0.2989092469215393,
-0.7988637685775757,
-0.05494734272360802,
0.3352488875389099,
-0.0863836407661438,
-0.9247118234634399,
-1.7248103618621826,
0.6272811889648438,
0.3376151919364929,
0.44902414083480835,
-0.37358182668685913,
0.9183351993560791... |
func (r *Resources) Add(other *Resources) *Resources {
return &Resources{
CPU: r.CPU + other.CPU,
MEMORY: r.MEMORY + other.MEMORY,
DISK: r.DISK + other.DISK,
GPU: r.GPU + other.GPU,
}
} | [
-0.11803161352872849,
-0.7677226066589355,
0.7611845135688782,
-0.2719309329986572,
-0.39772239327430725,
0.18290653824806213,
-0.4429800510406494,
-0.7245043516159058,
0.4614852964878082,
-0.07047707587480545,
0.4719527065753937,
-0.13366487622261047,
-0.42885303497314453,
0.1062261387705... |
func (r *Resources) LessThanOrEqual(other *Resources) bool {
return lessThanOrEqual(r.CPU, other.CPU) &&
lessThanOrEqual(r.MEMORY, other.MEMORY) &&
lessThanOrEqual(r.DISK, other.DISK) &&
lessThanOrEqual(r.GPU, other.GPU)
} | [
0.29793083667755127,
-0.7759913802146912,
0.6896821856498718,
-0.9658536911010742,
0.04487386345863342,
-0.07511857897043228,
-0.5451124906539917,
-0.8517959117889404,
-0.33760347962379456,
0.17475765943527222,
-0.26574113965034485,
-0.37600329518318176,
-0.420468270778656,
0.9114110469818... |
func (r *Resources) Equal(other *Resources) bool {
return equal(r.CPU, other.CPU) &&
equal(r.MEMORY, other.MEMORY) &&
equal(r.DISK, other.DISK) &&
equal(r.GPU, other.GPU)
} | [
-0.2900545299053192,
-0.04503966122865677,
0.5491965413093567,
-0.40439948439598083,
0.3896726071834564,
0.20638495683670044,
-0.250379741191864,
-0.5721840858459473,
-0.7090228796005249,
0.6296651363372803,
-0.7516906261444092,
-0.24542896449565887,
-0.32260364294052124,
0.633890688419342... |
func ConvertToResmgrResource(resource *task.ResourceConfig) *Resources {
return &Resources{
CPU: resource.GetCpuLimit(),
DISK: resource.GetDiskLimitMb(),
GPU: resource.GetGpuLimit(),
MEMORY: resource.GetMemLimitMb(),
}
} | [
0.08949027955532074,
0.245042622089386,
0.1860133856534958,
-0.050373464822769165,
-0.7515482902526855,
-0.5830559730529785,
0.208371102809906,
-0.03300405666232109,
0.2717646062374115,
0.6371545791625977,
-0.19732096791267395,
-0.3432600796222687,
-0.48210614919662476,
0.6740630269050598,... |
func GetGangResources(gang *resmgrsvc.Gang) *Resources {
if gang == nil {
return nil
}
totalRes := &Resources{}
for _, task := range gang.GetTasks() {
totalRes = totalRes.Add(
ConvertToResmgrResource(task.GetResource()))
}
return totalRes
} | [
-0.3803178668022156,
0.06090809032320976,
0.3986894190311432,
-0.2687663435935974,
-0.1939186304807663,
-0.9847444891929626,
0.41249147057533264,
-0.35930341482162476,
0.19604851305484772,
-0.19465933740139008,
-0.6306459307670593,
-1.2550565004348755,
-0.5776972770690918,
0.40305072069168... |
func Min(r1, r2 *Resources) *Resources {
return &Resources{
CPU: math.Min(r1.GetCPU(), r2.GetCPU()),
MEMORY: math.Min(r1.GetMem(), r2.GetMem()),
DISK: math.Min(r1.GetDisk(), r2.GetDisk()),
GPU: math.Min(r1.GetGPU(), r2.GetGPU()),
}
} | [
0.22676368057727814,
-1.1084861755371094,
0.7194015383720398,
-0.20665283501148224,
-0.7844225168228149,
-0.17722836136817932,
-0.9080950617790222,
-1.0393882989883423,
-0.8964737057685852,
-0.643497109413147,
0.8539655208587646,
0.4110618829727173,
-0.2801133394241333,
-0.2135914713144302... |
func (r *Resources) Subtract(other *Resources) *Resources {
var result Resources
if r.CPU < other.CPU {
log.WithFields(log.Fields{
"from_cpu ": r.CPU,
"value_cpu": other.CPU,
}).Debug("Subtracted Value is Greater")
result.CPU = float64(0)
} else {
result.CPU = r.CPU - other.CPU
if result.CPU < util.R... | [
-0.09419304132461548,
-0.5320654511451721,
0.8664935827255249,
-0.6555197834968567,
-0.2549988925457001,
0.09543231129646301,
0.143703430891037,
-0.49567192792892456,
-0.6393950581550598,
-0.16828081011772156,
0.3431066572666168,
-0.17909479141235352,
0.09867922961711884,
0.634913027286529... |
func (r *Resources) Clone() *Resources {
return &Resources{
CPU: r.CPU,
DISK: r.DISK,
MEMORY: r.MEMORY,
GPU: r.GPU,
}
} | [
0.3763696253299713,
-0.9436867237091064,
0.38163477182388306,
0.19808101654052734,
-0.9977988004684448,
0.6077399253845215,
-0.2793411314487457,
-0.8585910797119141,
0.1312931478023529,
0.20094038546085358,
0.15458810329437256,
-0.19181141257286072,
-0.5318226218223572,
-0.6581788063049316... |
func (r *Resources) Copy(other *Resources) {
r.CPU = other.CPU
r.DISK = other.DISK
r.MEMORY = other.MEMORY
r.GPU = other.GPU
} | [
-0.46532323956489563,
-0.7017609477043152,
0.5695977807044983,
0.22603429853916168,
-0.9641727209091187,
0.9476576447486877,
0.00419419351965189,
-0.821312665939331,
-0.18547238409519196,
0.49561765789985657,
0.05570094287395477,
-0.13649816811084747,
-0.09502247720956802,
0.41361713409423... |
func NewCraftingI(address common.Address, backend bind.ContractBackend) (*CraftingI, error) {
contract, err := bindCraftingI(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &CraftingI{CraftingICaller: CraftingICaller{contract: contract}, CraftingITransactor: CraftingITransactor{contra... | [
-0.3607671856880188,
0.4881887435913086,
0.39983314275741577,
0.5935108065605164,
-1.6041743755340576,
-0.08964140713214874,
0.2769380211830139,
0.13548563420772552,
-0.5369102954864502,
1.5027521848678589,
-0.459474116563797,
0.15241196751594543,
-0.4344164729118347,
-0.07239498943090439,... |
func NewCraftingICaller(address common.Address, caller bind.ContractCaller) (*CraftingICaller, error) {
contract, err := bindCraftingI(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &CraftingICaller{contract: contract}, nil
} | [
-0.4342515170574188,
0.4104965031147003,
0.27275657653808594,
-0.16033422946929932,
-1.479082703590393,
0.5668347477912903,
-0.11082502454519272,
-0.0249436367303133,
-0.7971646189689636,
1.4375370740890503,
-0.5551644563674927,
-0.1309974044561386,
-0.6792409420013428,
0.05950727686285972... |
func NewCraftingITransactor(address common.Address, transactor bind.ContractTransactor) (*CraftingITransactor, error) {
contract, err := bindCraftingI(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &CraftingITransactor{contract: contract}, nil
} | [
-1.0685497522354126,
0.35285133123397827,
0.3794969618320465,
-0.9612108469009399,
-0.8525972962379456,
-0.09104312211275101,
0.9387249946594238,
-0.05342912673950195,
-0.4446201026439667,
1.4382569789886475,
-0.9499523043632507,
0.004368993453681469,
-0.6453206539154053,
-0.80465584993362... |
func NewCraftingIFilterer(address common.Address, filterer bind.ContractFilterer) (*CraftingIFilterer, error) {
contract, err := bindCraftingI(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &CraftingIFilterer{contract: contract}, nil
} | [
-0.356677770614624,
1.0992228984832764,
0.15129023790359497,
0.6387357115745544,
-1.2356921434402466,
0.027276108041405678,
0.25919869542121887,
-0.21411879360675812,
-0.46659615635871887,
1.0492825508117676,
0.14199981093406677,
-0.033487796783447266,
-0.5033004879951477,
0.61174392700195... |
func bindCraftingI(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := abi.JSON(strings.NewReader(CraftingIABI))
if err != nil {
return nil, err
}
return bind.NewBoundContract(address, parsed, caller,... | [
-0.9451249241828918,
-0.1126183345913887,
0.4710880219936371,
0.302628755569458,
-1.0585167407989502,
-0.06071852892637253,
0.23321235179901123,
-0.13694064319133759,
-0.06073358654975891,
0.7842811942100525,
0.07467082887887955,
0.5402215719223022,
-0.37994036078453064,
-0.178768694400787... |
func (_CraftingI *CraftingIRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _CraftingI.Contract.CraftingICaller.contract.Call(opts, result, method, params...)
} | [
-0.9892929792404175,
0.7591643929481506,
0.4167874753475189,
0.3185546100139618,
-0.86021888256073,
0.2930672764778137,
-0.24874623119831085,
-0.8559190630912781,
0.37023675441741943,
0.5129059553146362,
0.4642260670661926,
-0.06037605553865433,
-0.5919355750083923,
-0.22150668501853943,
... |
func (_CraftingI *CraftingIRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _CraftingI.Contract.CraftingITransactor.contract.Transfer(opts)
} | [
-0.7161297798156738,
0.13246765732765198,
0.29117217659950256,
0.16780997812747955,
-0.15253548324108124,
0.24975800514221191,
0.7999244332313538,
-0.6777916550636292,
0.7471740245819092,
-0.15344233810901642,
0.22908928990364075,
0.30820584297180176,
-0.44906073808670044,
-0.9809318184852... |
func (_CraftingI *CraftingIRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _CraftingI.Contract.CraftingITransactor.contract.Transact(opts, method, params...)
} | [
-0.7521324753761292,
0.4489717185497284,
0.42070770263671875,
-0.6429420113563538,
0.3011798858642578,
-0.15863655507564545,
1.2428288459777832,
-0.6326084136962891,
0.2453470677137375,
0.1823597252368927,
0.16135887801647186,
0.49238982796669006,
-0.06884051114320755,
-0.5463674068450928,... |
func (_CraftingI *CraftingICallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _CraftingI.Contract.contract.Call(opts, result, method, params...)
} | [
-0.9427781105041504,
0.8206436634063721,
0.4198673367500305,
0.23126251995563507,
-0.8413500189781189,
0.22849343717098236,
-0.4764191508293152,
-0.6887903213500977,
0.18785473704338074,
0.39557307958602905,
0.19133368134498596,
0.0784907117486,
-0.7462625503540039,
-0.3116547465324402,
... |
func (_CraftingI *CraftingITransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _CraftingI.Contract.contract.Transfer(opts)
} | [
-0.6200953125953674,
0.29933762550354004,
0.24702239036560059,
0.41314825415611267,
-0.2072368711233139,
0.16049662232398987,
0.6791198253631592,
-0.5573568344116211,
0.8584346175193787,
-0.3641732931137085,
-0.05683562904596329,
0.3934062123298645,
-0.4583280384540558,
-0.7906966209411621... |
func (_CraftingI *CraftingITransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _CraftingI.Contract.contract.Transact(opts, method, params...)
} | [
-0.6730234622955322,
0.6708091497421265,
0.38099250197410583,
-0.5087755918502808,
0.15687918663024902,
-0.22059719264507294,
1.0131168365478516,
-0.5231143236160278,
0.30929213762283325,
0.013902937062084675,
-0.05099111050367355,
0.5653758645057678,
-0.04964462295174599,
-0.4427233338356... |
func (_CraftingI *CraftingICaller) SUMMMONERID(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "SUMMMONER_ID")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-1.002516269683838,
0.125329852104187,
0.8037408590316772,
0.1301647275686264,
-0.7697657942771912,
0.3001873791217804,
-0.2175293266773224,
-0.49185696244239807,
0.8863623142242432,
0.5162876844406128,
-0.4715573489665985,
0.6204220652580261,
-1.997768521308899,
0.5002977252006531,
0.43... |
func (_CraftingI *CraftingISession) SUMMMONERID() (*big.Int, error) {
return _CraftingI.Contract.SUMMMONERID(&_CraftingI.CallOpts)
} | [
-0.6851989030838013,
0.516396701335907,
0.5473232269287109,
-0.03891481086611748,
-0.791355311870575,
0.3842277526855469,
0.020353881642222404,
-0.37390628457069397,
1.2049628496170044,
0.26102957129478455,
-0.04758071154356003,
0.5488467812538147,
-2.0546298027038574,
0.4040999114513397,
... |
func (_CraftingI *CraftingICallerSession) SUMMMONERID() (*big.Int, error) {
return _CraftingI.Contract.SUMMMONERID(&_CraftingI.CallOpts)
} | [
-0.6716399192810059,
0.3776322901248932,
0.4943135380744934,
-0.08899451792240143,
-0.7635505199432373,
0.35070207715034485,
-0.10139451175928116,
-0.41119861602783203,
1.2060059309005737,
0.22984082996845245,
-0.23594580590724945,
0.6215850710868835,
-2.1661157608032227,
0.416607111692428... |
func (_CraftingI *CraftingICaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "balanceOf", owner)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out... | [
-0.7534586191177368,
0.6674153208732605,
0.7391963005065918,
0.15398943424224854,
0.06603517383337021,
-0.4969991147518158,
0.05079419165849686,
-1.1414176225662231,
0.8545449376106262,
0.15819385647773743,
0.08010371774435043,
0.4025522470474243,
-0.41791442036628723,
0.20601801574230194,... |
func (_CraftingI *CraftingISession) BalanceOf(owner common.Address) (*big.Int, error) {
return _CraftingI.Contract.BalanceOf(&_CraftingI.CallOpts, owner)
} | [
-0.30231401324272156,
0.8516749739646912,
0.37400487065315247,
-0.0930229052901268,
0.0927094966173172,
-0.42989444732666016,
0.14246883988380432,
-1.2179195880889893,
1.2425072193145752,
0.22455424070358276,
0.35091432929039,
0.24271132051944733,
-0.24946637451648712,
-0.0258659515529871,... |
func (_CraftingI *CraftingICallerSession) BalanceOf(owner common.Address) (*big.Int, error) {
return _CraftingI.Contract.BalanceOf(&_CraftingI.CallOpts, owner)
} | [
-0.28724274039268494,
0.7361258268356323,
0.31685972213745117,
-0.14806769788265228,
0.02260407619178295,
-0.5328890681266785,
0.05117883160710335,
-1.2863290309906006,
1.2355494499206543,
0.18539518117904663,
0.21563619375228882,
0.2946149408817291,
-0.32743796706199646,
-0.06428007781505... |
func (_CraftingI *CraftingICaller) CraftSkillcheck(opts *bind.CallOpts, _summoner *big.Int, _dc *big.Int) (struct {
Crafted bool
Check *big.Int
}, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "craft_skillcheck", _summoner, _dc)
outstruct := new(struct {
Crafted bool
Check *bi... | [
-0.8767526149749756,
0.34019801020622253,
0.7098515629768372,
-0.25730782747268677,
-0.7797792553901672,
-0.0438978411257267,
0.8784079551696777,
-0.4055197834968567,
-0.03837454319000244,
0.6469772458076477,
0.012792673893272877,
1.4196314811706543,
0.006868406198918819,
-0.37503781914711... |
func (_CraftingI *CraftingISession) CraftSkillcheck(_summoner *big.Int, _dc *big.Int) (struct {
Crafted bool
Check *big.Int
}, error) {
return _CraftingI.Contract.CraftSkillcheck(&_CraftingI.CallOpts, _summoner, _dc)
} | [
-0.6452724933624268,
0.8938916325569153,
0.555046796798706,
-0.0611758790910244,
-0.3882068991661072,
-0.08731008321046829,
0.8053785562515259,
-0.4244559407234192,
0.06632934510707855,
0.28308945894241333,
0.03731216490268707,
1.543771505355835,
0.27144598960876465,
-0.7205256819725037,
... |
func (_CraftingI *CraftingICallerSession) CraftSkillcheck(_summoner *big.Int, _dc *big.Int) (struct {
Crafted bool
Check *big.Int
}, error) {
return _CraftingI.Contract.CraftSkillcheck(&_CraftingI.CallOpts, _summoner, _dc)
} | [
-0.7063897848129272,
0.8099076747894287,
0.5064851641654968,
-0.1265924572944641,
-0.42307689785957336,
-0.1392887532711029,
0.8302008509635925,
-0.45716503262519836,
0.10938732326030731,
0.24011853337287903,
0.006470161024481058,
1.513058066368103,
0.16897663474082947,
-0.788254976272583,... |
func (_CraftingI *CraftingICaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "getApproved", tokenId)
if err != nil {
return *new(common.Address), err
}
out0 := *abi.ConvertType(out[0], new(common.Address)).(*co... | [
-0.3963858187198639,
0.7880145907402039,
0.9982802271842957,
-0.21052487194538116,
-0.6470730304718018,
-0.8700315356254578,
-0.5525971055030823,
-1.516110897064209,
0.3073521554470062,
0.026294874027371407,
-0.14713649451732635,
1.5263631343841553,
-0.8428828120231628,
0.09282757341861725... |
func (_CraftingI *CraftingISession) GetApproved(tokenId *big.Int) (common.Address, error) {
return _CraftingI.Contract.GetApproved(&_CraftingI.CallOpts, tokenId)
} | [
-0.0673929825425148,
0.958067774772644,
0.621353268623352,
-0.5215204954147339,
-0.579694926738739,
-1.0232642889022827,
-0.6010724902153015,
-1.4856971502304077,
0.5016252994537354,
0.03646651655435562,
-0.14659519493579865,
1.3731242418289185,
-0.7821553349494934,
-0.3149922490119934,
... |
func (_CraftingI *CraftingICallerSession) GetApproved(tokenId *big.Int) (common.Address, error) {
return _CraftingI.Contract.GetApproved(&_CraftingI.CallOpts, tokenId)
} | [
-0.1056697741150856,
0.867658257484436,
0.5365716218948364,
-0.528100848197937,
-0.6149481534957886,
-1.034249186515808,
-0.7283688187599182,
-1.5330870151519775,
0.46890416741371155,
-0.043537240475416183,
-0.2700078785419464,
1.3357675075531006,
-0.9140335917472839,
-0.3820632994174957,
... |
func (_CraftingI *CraftingICaller) GetArmorDc(opts *bind.CallOpts, _item_id *big.Int) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_armor_dc", _item_id)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return... | [
-0.20378123223781586,
0.45615965127944946,
0.7119840979576111,
-0.4059444069862366,
0.10253838449716568,
-0.6730111241340637,
0.4037987291812897,
-1.1480835676193237,
0.49725040793418884,
-0.020590899512171745,
0.10335681587457657,
1.4726134538650513,
-0.22994166612625122,
0.15856604278087... |
func (_CraftingI *CraftingISession) GetArmorDc(_item_id *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetArmorDc(&_CraftingI.CallOpts, _item_id)
} | [
0.2657614052295685,
0.4859519302845001,
0.4847145676612854,
-0.6717882752418518,
0.2544335126876831,
-0.5626760721206665,
0.06827938556671143,
-0.7431869506835938,
0.5423798561096191,
-0.17314261198043823,
0.5575124025344849,
1.5185855627059937,
-0.052693746984004974,
-0.04247847944498062,... |
func (_CraftingI *CraftingICallerSession) GetArmorDc(_item_id *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetArmorDc(&_CraftingI.CallOpts, _item_id)
} | [
0.2389650195837021,
0.39555075764656067,
0.40466365218162537,
-0.6988906860351562,
0.2859688997268677,
-0.6029330492019653,
0.08269068598747253,
-0.832812488079071,
0.5724039077758789,
-0.2405787706375122,
0.39026376605033875,
1.5020567178726196,
-0.1427813619375229,
-0.11907362192869186,
... |
func (_CraftingI *CraftingICaller) GetDc(opts *bind.CallOpts, _base_type *big.Int, _item_id *big.Int) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_dc", _base_type, _item_id)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)... | [
-0.7642348408699036,
1.0092447996139526,
1.0004119873046875,
0.276408851146698,
0.22860123217105865,
-0.5864969491958618,
0.32218897342681885,
-1.106795310974121,
0.3654574453830719,
-0.1780908703804016,
0.3249615728855133,
1.1049190759658813,
-0.16148892045021057,
-0.1439480185508728,
1... |
func (_CraftingI *CraftingISession) GetDc(_base_type *big.Int, _item_id *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetDc(&_CraftingI.CallOpts, _base_type, _item_id)
} | [
-0.40089431405067444,
1.1205750703811646,
0.618345320224762,
0.3127206563949585,
0.4974115490913391,
-0.10713642090559006,
0.4947976768016815,
-1.0803683996200562,
0.4005626142024994,
-0.42978334426879883,
0.8142790198326111,
1.0737205743789673,
-0.1739184558391571,
-0.4525306224822998,
... |
func (_CraftingI *CraftingICallerSession) GetDc(_base_type *big.Int, _item_id *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetDc(&_CraftingI.CallOpts, _base_type, _item_id)
} | [
-0.44145330786705017,
1.0009607076644897,
0.5396186709403992,
0.2842179238796234,
0.5218961834907532,
-0.1846429705619812,
0.4082410931587219,
-1.1911324262619019,
0.49261197447776794,
-0.44036805629730225,
0.6846587657928467,
1.0399049520492554,
-0.2846969962120056,
-0.5143852233886719,
... |
func (_CraftingI *CraftingICaller) GetGoodsDc(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_goods_dc")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
} | [
-0.876822292804718,
1.4927891492843628,
1.2461819648742676,
-0.021877119317650795,
-0.4186770021915436,
-0.2038574367761612,
0.20981809496879578,
-1.2382169961929321,
0.08093392848968506,
-0.5290762782096863,
-0.03762558475136757,
1.7550913095474243,
-0.15022076666355133,
0.152695313096046... |
func (_CraftingI *CraftingISession) GetGoodsDc() (*big.Int, error) {
return _CraftingI.Contract.GetGoodsDc(&_CraftingI.CallOpts)
} | [
-0.2044254094362259,
1.6899100542068481,
0.8381426930427551,
-0.22487705945968628,
-0.20283901691436768,
-0.22953958809375763,
0.28108006715774536,
-0.841383695602417,
0.45053359866142273,
-0.8955414891242981,
0.08479800820350647,
1.5057014226913452,
-0.04546472057700157,
0.070190355181694... |
func (_CraftingI *CraftingICallerSession) GetGoodsDc() (*big.Int, error) {
return _CraftingI.Contract.GetGoodsDc(&_CraftingI.CallOpts)
} | [
-0.18887200951576233,
1.5202642679214478,
0.7435726523399353,
-0.2562447786331177,
-0.2141425609588623,
-0.2833646237850189,
0.18149106204509735,
-0.8350220918655396,
0.5017901659011841,
-0.9593300819396973,
-0.0586981326341629,
1.4965890645980835,
-0.20288142561912537,
-0.0063869226723909... |
func (_CraftingI *CraftingICaller) GetItemCost(opts *bind.CallOpts, _base_type *big.Int, _item_type *big.Int) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_item_cost", _base_type, _item_type)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[... | [
-0.7581446170806885,
0.4528476595878601,
0.9142740368843079,
0.10395076870918274,
0.160916268825531,
-0.7657923102378845,
-0.4273433983325958,
-0.9007813930511475,
-0.2442774772644043,
0.8504289388656616,
-0.31746557354927063,
0.8237038254737854,
-0.7458958625793457,
-0.6088176965713501,
... |
func (_CraftingI *CraftingISession) GetItemCost(_base_type *big.Int, _item_type *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetItemCost(&_CraftingI.CallOpts, _base_type, _item_type)
} | [
-0.5030118823051453,
0.6555062532424927,
0.6970885992050171,
0.12710383534431458,
0.27201148867607117,
-0.4971083700656891,
-0.41527923941612244,
-0.9454479217529297,
-0.11666155606508255,
0.7238303422927856,
0.10679235309362411,
1.0229674577713013,
-0.63144850730896,
-0.7872462868690491,
... |
func (_CraftingI *CraftingICallerSession) GetItemCost(_base_type *big.Int, _item_type *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetItemCost(&_CraftingI.CallOpts, _base_type, _item_type)
} | [
-0.5221225619316101,
0.5052717328071594,
0.6164236068725586,
0.13704608380794525,
0.296269029378891,
-0.49240151047706604,
-0.44767817854881287,
-1.0184365510940552,
-0.04756225645542145,
0.6710362434387207,
-0.046217385679483414,
0.9781486392021179,
-0.7016156315803528,
-0.873435676097869... |
func (_CraftingI *CraftingICaller) GetTokenUriArmor(opts *bind.CallOpts, _item *big.Int) (string, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_token_uri_armor", _item)
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return ... | [
-1.4531351327896118,
0.7204970717430115,
0.8342068791389465,
-0.24452410638332367,
-0.38248124718666077,
-0.5598134398460388,
-0.2588469982147217,
-0.5703838467597961,
0.7194517850875854,
-0.32927921414375305,
-0.23279251158237457,
0.6184870600700378,
-0.8527406454086304,
-0.67067587375640... |
func (_CraftingI *CraftingISession) GetTokenUriArmor(_item *big.Int) (string, error) {
return _CraftingI.Contract.GetTokenUriArmor(&_CraftingI.CallOpts, _item)
} | [
-1.2624754905700684,
0.9733375906944275,
0.46933677792549133,
-0.563787579536438,
-0.6080313920974731,
-0.8208820819854736,
-0.326492041349411,
-0.28452399373054504,
0.7820308804512024,
-0.6425027847290039,
-0.14120079576969147,
0.21337363123893738,
-0.7432544827461243,
-0.7208636999130249... |
func (_CraftingI *CraftingICallerSession) GetTokenUriArmor(_item *big.Int) (string, error) {
return _CraftingI.Contract.GetTokenUriArmor(&_CraftingI.CallOpts, _item)
} | [
-1.2645516395568848,
0.8457823991775513,
0.39719271659851074,
-0.539881706237793,
-0.598180890083313,
-0.8724910020828247,
-0.3773134648799896,
-0.3299027979373932,
0.7961003184318542,
-0.6941674947738647,
-0.27964162826538086,
0.22798886895179749,
-0.7880182862281799,
-0.764105498790741,
... |
func (_CraftingI *CraftingICaller) GetTokenUriGoods(opts *bind.CallOpts, _item *big.Int) (string, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_token_uri_goods", _item)
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return ... | [
-1.771615743637085,
1.1209826469421387,
0.8732710480690002,
-0.5125068426132202,
-0.41462621092796326,
-0.46572205424308777,
-0.7880959510803223,
-1.3737566471099854,
0.5444085001945496,
-0.062122706323862076,
-0.5062499046325684,
0.9726672768592834,
-0.929726779460907,
-0.6648489832878113... |
func (_CraftingI *CraftingISession) GetTokenUriGoods(_item *big.Int) (string, error) {
return _CraftingI.Contract.GetTokenUriGoods(&_CraftingI.CallOpts, _item)
} | [
-1.4843602180480957,
1.2100601196289062,
0.5809683203697205,
-0.7100425362586975,
-0.32644352316856384,
-0.6213452219963074,
-0.7788334488868713,
-0.9146421551704407,
0.5869506001472473,
-0.46203795075416565,
-0.41949665546417236,
0.8322456479072571,
-0.8777499198913574,
-0.937220275402069... |
func (_CraftingI *CraftingICallerSession) GetTokenUriGoods(_item *big.Int) (string, error) {
return _CraftingI.Contract.GetTokenUriGoods(&_CraftingI.CallOpts, _item)
} | [
-1.5085501670837402,
1.1335151195526123,
0.5150684714317322,
-0.6888561248779297,
-0.3046659231185913,
-0.6713265180587769,
-0.8219163417816162,
-0.9689921140670776,
0.6263253688812256,
-0.4997987151145935,
-0.5507563948631287,
0.8170348405838013,
-0.9206545948982239,
-1.0075594186782837,
... |
func (_CraftingI *CraftingICaller) GetTokenUriWeapon(opts *bind.CallOpts, _item *big.Int) (string, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_token_uri_weapon", _item)
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
retur... | [
-1.4253977537155151,
0.7133256196975708,
0.6371223330497742,
-0.2518881559371948,
-0.2218279093503952,
-0.3769523501396179,
-0.2855098843574524,
-0.9421513676643372,
0.0703398808836937,
-0.17692285776138306,
-0.5860510468482971,
0.8337088823318481,
-0.49489057064056396,
-0.7577730417251587... |
func (_CraftingI *CraftingISession) GetTokenUriWeapon(_item *big.Int) (string, error) {
return _CraftingI.Contract.GetTokenUriWeapon(&_CraftingI.CallOpts, _item)
} | [
-1.3001574277877808,
0.8417662382125854,
0.3594712018966675,
-0.1806362420320511,
-0.17250201106071472,
-0.5152568221092224,
-0.0866929441690445,
-0.5799134969711304,
0.155075803399086,
-0.5403895378112793,
-0.8085656762123108,
0.6496291160583496,
-0.24769088625907898,
-1.1724357604980469,... |
func (_CraftingI *CraftingICallerSession) GetTokenUriWeapon(_item *big.Int) (string, error) {
return _CraftingI.Contract.GetTokenUriWeapon(&_CraftingI.CallOpts, _item)
} | [
-1.3120324611663818,
0.784448504447937,
0.2923857569694519,
-0.16266493499279022,
-0.15318483114242554,
-0.6143164038658142,
-0.11140205711126328,
-0.6376817226409912,
0.2035798579454422,
-0.5835133790969849,
-0.9155339598655701,
0.6838333010673523,
-0.3177255690097809,
-1.267993450164795,... |
func (_CraftingI *CraftingICaller) GetType(opts *bind.CallOpts, _type_id *big.Int) (string, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_type", _type_id)
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return out0, err
} | [
-0.7473869323730469,
1.0494941473007202,
0.897111177444458,
-0.19223074615001678,
0.19408102333545685,
-1.004686951637268,
-0.5301945805549622,
-1.7377769947052002,
0.38599568605422974,
1.1913366317749023,
0.19434623420238495,
0.7107277512550354,
-0.8612371683120728,
0.5822991132736206,
... |
func (_CraftingI *CraftingISession) GetType(_type_id *big.Int) (string, error) {
return _CraftingI.Contract.GetType(&_CraftingI.CallOpts, _type_id)
} | [
-0.6196309328079224,
1.4318277835845947,
0.4540846049785614,
-0.27224647998809814,
0.35085099935531616,
-0.9039548635482788,
-0.2805522680282593,
-1.7027771472930908,
0.8403413891792297,
0.9901554584503174,
0.48295021057128906,
0.45435601472854614,
-0.7195101976394653,
0.49259766936302185,... |
func (_CraftingI *CraftingICallerSession) GetType(_type_id *big.Int) (string, error) {
return _CraftingI.Contract.GetType(&_CraftingI.CallOpts, _type_id)
} | [
-0.6466954946517944,
1.299204707145691,
0.41376006603240967,
-0.307239830493927,
0.2743820548057556,
-0.9716530442237854,
-0.4088847041130066,
-1.7104231119155884,
0.8547691106796265,
0.9673082828521729,
0.2881816029548645,
0.5185821056365967,
-0.8750708699226379,
0.3870927691459656,
1.2... |
func (_CraftingI *CraftingICaller) GetWeaponDc(opts *bind.CallOpts, _item_id *big.Int) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "get_weapon_dc", _item_id)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
retu... | [
-0.3544524610042572,
0.6933778524398804,
0.7114381194114685,
0.3278580605983734,
-0.13657239079475403,
-0.6212631464004517,
0.4774051010608673,
-0.8501813411712646,
-0.3527088165283203,
0.19081608951091766,
-0.06038676202297211,
1.1644960641860962,
-0.35818734765052795,
0.5560687780380249,... |
func (_CraftingI *CraftingISession) GetWeaponDc(_item_id *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetWeaponDc(&_CraftingI.CallOpts, _item_id)
} | [
-0.053834281861782074,
0.6459805369377136,
0.4921935200691223,
0.08317328244447708,
-0.06637831032276154,
-0.632908046245575,
0.3628152310848236,
-0.8681201934814453,
0.041169583797454834,
0.052343063056468964,
0.14128467440605164,
1.2947137355804443,
0.1574096530675888,
0.0336152166128158... |
func (_CraftingI *CraftingICallerSession) GetWeaponDc(_item_id *big.Int) (*big.Int, error) {
return _CraftingI.Contract.GetWeaponDc(&_CraftingI.CallOpts, _item_id)
} | [
-0.056855592876672745,
0.5479087829589844,
0.42130109667778015,
0.04212256148457527,
-0.07088961452245712,
-0.6975257396697998,
0.3278883993625641,
-0.9519278407096863,
0.07069310545921326,
0.015429306775331497,
0.039741694927215576,
1.277284860610962,
0.0975704938173294,
-0.06520335376262... |
func (_CraftingI *CraftingICaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "isApprovedForAll", owner, operator)
if err != nil {
return *new(bool), err
}
out0 := *abi.ConvertType(out[0]... | [
-0.2779251039028168,
0.7307475209236145,
1.055441975593567,
0.5182739496231079,
-1.067773461341858,
-0.25612786412239075,
-1.1672245264053345,
0.2686222493648529,
0.4257791340351105,
0.17902213335037231,
0.473482608795166,
0.8185809254646301,
0.14856235682964325,
0.5675410628318787,
-0.3... |
func (_CraftingI *CraftingISession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error) {
return _CraftingI.Contract.IsApprovedForAll(&_CraftingI.CallOpts, owner, operator)
} | [
0.11841575056314468,
0.9760115146636963,
0.7878760695457458,
0.08169066160917282,
-0.8823638558387756,
-0.34725213050842285,
-1.1373635530471802,
0.1941223442554474,
0.48807796835899353,
0.0006326822331175208,
0.4977859556674957,
0.6651757955551147,
0.428608775138855,
0.38663581013679504,
... |
func (_CraftingI *CraftingICallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error) {
return _CraftingI.Contract.IsApprovedForAll(&_CraftingI.CallOpts, owner, operator)
} | [
0.06802524626255035,
0.8235971331596375,
0.6883746385574341,
0.06197050213813782,
-0.9133621454238892,
-0.44827330112457275,
-1.2569047212600708,
0.17849548161029816,
0.48833978176116943,
-0.0017687312792986631,
0.31146541237831116,
0.7610163688659668,
0.26804640889167786,
0.29723048210144... |
func (_CraftingI *CraftingICaller) IsValid(opts *bind.CallOpts, _base_type *big.Int, _item_type *big.Int) (bool, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "isValid", _base_type, _item_type)
if err != nil {
return *new(bool), err
}
out0 := *abi.ConvertType(out[0], new(bool)).(*b... | [
-1.0121276378631592,
0.2811722457408905,
0.8884055018424988,
0.30858251452445984,
0.21060794591903687,
0.22337482869625092,
-0.5333116054534912,
-0.9303894639015198,
0.574187159538269,
0.48943373560905457,
-0.40541553497314453,
1.1677557229995728,
-0.8633732795715332,
-0.38160914182662964,... |
func (_CraftingI *CraftingISession) IsValid(_base_type *big.Int, _item_type *big.Int) (bool, error) {
return _CraftingI.Contract.IsValid(&_CraftingI.CallOpts, _base_type, _item_type)
} | [
-0.90985107421875,
0.7803070545196533,
0.6750243306159973,
-0.014021924696862698,
0.5623819828033447,
0.10139776021242142,
-0.549803614616394,
-1.2272878885269165,
0.8344781398773193,
0.5240955352783203,
-0.10638310015201569,
1.106977939605713,
-0.6187368631362915,
-0.8449721336364746,
0... |
func (_CraftingI *CraftingICallerSession) IsValid(_base_type *big.Int, _item_type *big.Int) (bool, error) {
return _CraftingI.Contract.IsValid(&_CraftingI.CallOpts, _base_type, _item_type)
} | [
-0.8974552154541016,
0.5616393685340881,
0.588346004486084,
-0.2084677368402481,
0.5449784398078918,
-0.0033404254354536533,
-0.7369391918182373,
-1.3112192153930664,
0.8293025493621826,
0.5319193601608276,
-0.37441685795783997,
1.1318018436431885,
-0.8282986879348755,
-0.9029883742332458,... |
func (_CraftingI *CraftingICaller) Items(opts *bind.CallOpts, arg0 *big.Int) (struct {
BaseType uint8
ItemType uint8
Crafted uint32
Crafter *big.Int
}, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "items", arg0)
outstruct := new(struct {
BaseType uint8
ItemType uint8
Crafte... | [
-1.8256009817123413,
0.6778634190559387,
0.8424088358879089,
-0.9666842222213745,
-0.2556300461292267,
-0.32932573556900024,
0.24505308270454407,
-0.7684134840965271,
0.31435900926589966,
0.2599118947982788,
-0.5767629742622375,
0.7343190908432007,
-0.8920518755912781,
-0.1092543974518776,... |
func (_CraftingI *CraftingISession) Items(arg0 *big.Int) (struct {
BaseType uint8
ItemType uint8
Crafted uint32
Crafter *big.Int
}, error) {
return _CraftingI.Contract.Items(&_CraftingI.CallOpts, arg0)
} | [
-1.6508547067642212,
1.1163250207901,
0.5479004383087158,
-0.9714400768280029,
-0.03484686091542244,
-0.12050443887710571,
0.09457343816757202,
-0.8851901292800903,
0.5237851142883301,
0.1410350501537323,
-0.669683039188385,
0.47814255952835083,
-0.8472486734390259,
-0.2954971194267273,
... |
func (_CraftingI *CraftingICallerSession) Items(arg0 *big.Int) (struct {
BaseType uint8
ItemType uint8
Crafted uint32
Crafter *big.Int
}, error) {
return _CraftingI.Contract.Items(&_CraftingI.CallOpts, arg0)
} | [
-1.6264972686767578,
0.9578216671943665,
0.49735116958618164,
-0.9760090112686157,
-0.03754463419318199,
-0.1351631134748459,
0.05562710762023926,
-0.9256545305252075,
0.6014006733894348,
0.09476069360971451,
-0.771396815776825,
0.4908527433872223,
-0.9693887829780579,
-0.5065445899963379,... |
func (_CraftingI *CraftingICaller) ModifierForAttribute(opts *bind.CallOpts, _attribute *big.Int) (*big.Int, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "modifier_for_attribute", _attribute)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.In... | [
-1.9011985063552856,
0.3436119854450226,
0.2419155389070511,
-1.3086916208267212,
-0.6166608929634094,
-0.624997079372406,
0.3424712121486664,
-0.3054955303668976,
0.14479441940784454,
-0.01715036854147911,
0.0061720446683466434,
0.17710869014263153,
0.4242749810218811,
1.0674059391021729,... |
func (_CraftingI *CraftingISession) ModifierForAttribute(_attribute *big.Int) (*big.Int, error) {
return _CraftingI.Contract.ModifierForAttribute(&_CraftingI.CallOpts, _attribute)
} | [
-1.501773476600647,
0.54473876953125,
-0.07846854627132416,
-1.4408963918685913,
-0.5186718106269836,
-0.696908175945282,
0.28236153721809387,
-0.19304396212100983,
0.5701881051063538,
-0.28037288784980774,
0.2692532241344452,
-0.11411342769861221,
0.5377347469329834,
0.76795893907547,
0... |
func (_CraftingI *CraftingICallerSession) ModifierForAttribute(_attribute *big.Int) (*big.Int, error) {
return _CraftingI.Contract.ModifierForAttribute(&_CraftingI.CallOpts, _attribute)
} | [
-1.5063021183013916,
0.3621178865432739,
-0.12063944339752197,
-1.4280954599380493,
-0.5635051131248474,
-0.7249372601509094,
0.1690928339958191,
-0.21717488765716553,
0.5935925841331482,
-0.32161396741867065,
0.12024836987257004,
-0.14024192094802856,
0.3673890233039856,
0.665190100669860... |
func (_CraftingI *CraftingICaller) Name(opts *bind.CallOpts) (string, error) {
var out []interface{}
err := _CraftingI.contract.Call(opts, &out, "name")
if err != nil {
return *new(string), err
}
out0 := *abi.ConvertType(out[0], new(string)).(*string)
return out0, err
} | [
-0.8435428738594055,
0.2730713188648224,
1.0271642208099365,
0.10045177489519119,
-0.9955540895462036,
-0.15175557136535645,
-0.4368990957736969,
-1.3470836877822876,
-0.09937548637390137,
1.3078726530075073,
-0.15745894610881805,
0.3222748041152954,
-0.8111514449119568,
-0.140035092830657... |
func (_CraftingI *CraftingISession) Name() (string, error) {
return _CraftingI.Contract.Name(&_CraftingI.CallOpts)
} | [
-0.767725944519043,
0.6814991235733032,
0.5814414620399475,
-0.2639490067958832,
-0.885357677936554,
-0.45276015996932983,
0.07859749346971512,
-1.0824410915374756,
0.4665219187736511,
1.6771401166915894,
0.09110870212316513,
0.11003249138593674,
-0.14173199236392975,
-0.7544761300086975,
... |
func (_CraftingI *CraftingICallerSession) Name() (string, error) {
return _CraftingI.Contract.Name(&_CraftingI.CallOpts)
} | [
-0.6564318537712097,
0.2267429381608963,
0.4964683949947357,
-0.3971235454082489,
-0.9024739861488342,
-0.42077282071113586,
-0.22621850669384003,
-1.0281262397766113,
0.451076477766037,
1.523468017578125,
-0.19979961216449738,
0.31885072588920593,
-0.37054792046546936,
-0.9652066826820374... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.