From 52f40c6b722548959e08ba57f6f9b86f5f9331fa Mon Sep 17 00:00:00 2001 From: shashkevichfrida Date: Tue, 2 Jan 2024 13:43:05 +0300 Subject: [PATCH] fix: roulette fixed checks --- Craps/config.json | 2 +- Craps/craps.go | 1 - Craps/craps.nef | Bin 630 -> 628 bytes Roulette/Roulette.go | 4 +++- Roulette/config.json | 2 +- Roulette/roulette.nef | Bin 537 -> 725 bytes 6 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Craps/config.json b/Craps/config.json index 8136f25..7e12d09 100755 --- a/Craps/config.json +++ b/Craps/config.json @@ -1 +1 @@ -{"name":"Craps","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"onNEP17Payment","offset":313,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"playCraps","offset":95,"parameters":[{"name":"bet","type":"Integer"},{"name":"firstSum","type":"Integer"},{"name":"secondSum","type":"Integer"}],"returntype":"Void","safe":false}],"events":[{"name":"Crup number","parameters":[{"name":"int","type":"Integer"}]},{"name":"Random number","parameters":[{"name":"int","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":"*"}],"supportedstandards":[],"trusts":[],"extra":null} \ No newline at end of file +{"name":"Craps","abi":{"methods":[{"name":"_deploy","offset":0,"parameters":[{"name":"data","type":"Any"},{"name":"isUpdate","type":"Boolean"}],"returntype":"Void","safe":false},{"name":"onNEP17Payment","offset":311,"parameters":[{"name":"from","type":"Hash160"},{"name":"amount","type":"Integer"},{"name":"data","type":"Any"}],"returntype":"Void","safe":false},{"name":"playCraps","offset":95,"parameters":[{"name":"bet","type":"Integer"},{"name":"firstSum","type":"Integer"},{"name":"secondSum","type":"Integer"}],"returntype":"Void","safe":false}],"events":[{"name":"Crup number","parameters":[{"name":"int","type":"Integer"}]},{"name":"Random number","parameters":[{"name":"int","type":"Integer"}]}]},"features":{},"groups":[],"permissions":[{"contract":"*","methods":"*"}],"supportedstandards":[],"trusts":[],"extra":null} \ No newline at end of file diff --git a/Craps/craps.go b/Craps/craps.go index 8e32b1e..fd2c48e 100644 --- a/Craps/craps.go +++ b/Craps/craps.go @@ -1,7 +1,6 @@ package Craps import ( - "github.com/nspcc-dev/neo-go/pkg/interop" "github.com/nspcc-dev/neo-go/pkg/interop/contract" "github.com/nspcc-dev/neo-go/pkg/interop/runtime" diff --git a/Craps/craps.nef b/Craps/craps.nef index 002cbdbceba35ed2073c9d9625109f3e96b3182f..8f5090dd62daae4bd4306261c6ea4ee7471c192d 100755 GIT binary patch delta 78 zcmeyy@`YuB7o*BV?|L;YMg|5Yo{Y?j*}ROEE|4$*aH9=>J&l% delta 80 zcmeyu@{MJJ7o*xl?|Ka#Mg|5Yo{Y?j*}v6^hiC{!zX#%WcKt>qkVyj9)1NKS=6(da^70;ZU)bzw0g}l<-q|_pX;?$hfu_Giv;K`l`TFcZ#kc{Cz&Y9