tx · GZtDbwnK5M36kVHNfr5nWqkSUkNmncckWVZAB1qqzdXb

3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx:  -0.01000000 Waves

2023.05.20 19:26 [2586525] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves

{ "type": 13, "id": "GZtDbwnK5M36kVHNfr5nWqkSUkNmncckWVZAB1qqzdXb", "fee": 1000000, "feeAssetId": null, "timestamp": 1684599969836, "version": 2, "chainId": 84, "sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx", "senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc", "proofs": [ "2sPRe3st3Mavyx76mHTFCjAASnTAqsacmps8TK6fAFxgmgKKP1vL2SXGSw2gE3ZuxZF2WggfGTBHXWFcnJQ578Ms" ], "script": "base64:BgIECAISAAABAWkBCHJvdWxldHRlAAQDYmV0CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQHYXNzZXRJRAgJAJEDAggFAWkIcGF5bWVudHMAAAdhc3NldElkBAFjAgRSaWRlBAdjVG9CeXRlCQCgAwEJAJ4DAQkA2QQBBQFjBAlyYW5kb21OdW0FB2NUb0J5dGUEDndpblByb2JhYmlsaXR5ACgEBmdldE51bQkAmggCBQR0aGlzAg1SYW5kb20gTnVtYmVyCQDMCAIJAQxJbnRlZ2VyRW50cnkCAg9SYW5kb20gTnVtYmVyOiAFCXJhbmRvbU51bQUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleTw8Jr8=", "height": 2586525, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7GZ1wvNFLNKbTYnn814SPyThXvD9VysJPjTrnDSZFG4z Next: 3PPAEPfFQNQqNzdeNPuSKVrb2zAMYXmXqz6qhKRAgKrw Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func roulette () = {
88 let bet = i.payments[0].amount
99 let assetID = i.payments[0].assetId
1010 let c = "Ride"
1111 let cToByte = toInt(toBigInt(fromBase58String(c)))
1212 let randomNum = cToByte
1313 let winProbability = 40
1414 let getNum = getInteger(this, "Random Number")
1515 [IntegerEntry("Random Number: ", randomNum)]
1616 }
1717
1818
1919 @Verifier(tx)
2020 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2121

github/deemru/w8io/026f985 
22.65 ms