tx · FcthmoZJZrqq7ndP1ppeSX3kwJfEfLWjGmSfuxB4FVAn
3NCAHkQMZsVNJh9u15MjBDHjY8efFKNArX8: -0.00500000 Waves
2022.10.04 07:42 [2257127] smart account 3NCAHkQMZsVNJh9u15MjBDHjY8efFKNArX8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FcthmoZJZrqq7ndP1ppeSX3kwJfEfLWjGmSfuxB4FVAn",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1664858646879,
"version": 2,
"chainId": 84,
"sender": "3NCAHkQMZsVNJh9u15MjBDHjY8efFKNArX8",
"senderPublicKey": "83Eyw5Bn6vkLTM9RkbXMAx8DtYNoLRqmeba4WAMvYhzK",
"proofs": [
"67NFsSHj8TCApYJUXVfnToqWVUTucMVVCiFqoFht8SJTD1X1fSSJ3BpCyDkhsJseVd28q2u5KScCEXfDAqehP8GV"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAMAAAAACVJTQVBVQkxJQwIAAAGPYmFzZTY0Ok1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBbGVtcjk1SjFqWlVzN2NKbXJtbWxONHpvN1lWc0JKekllSmRrOExERkdoVUtTSTZ5ZnMyMFp5SmUyMSs2R0p3Tm5LVVUxVXlvYzE3d1NXTUtrclowTU12WUUrWjVBaWlqdkJLNHNTSjNJZ0dqZFU4L05oSThDQkR1MEYreFJNOXEzVEIzTExiRHk1c0JkdWRZZkhmc1VPYytNVHZBRDY5bjI3ZGIyUmg4K3laUU10dWJrdVRRTnA4OXNwaEhRYUxHeVFGYU5sSy9OYTNsRng2b21xemFhMWdqb3BsVXI2cnZZS2dmQUlDVUIzelZtSlNoaUVpN3c3UjBoV2xOUkQzcWNaakNVT05TcEZvNFdiemtuR09henc4NEIrSU1JRm5JcFhXelFMOFJYMHZOY2ZzQnZMRGZNNmsyWmFjcXd5TUthTExxaWdkQmlHZEo3VyswbE9TdE9RSURBUUFCAAAAAAJycAkAAlsAAAABBQAAAAlSU0FQVUJMSUMBAAAAAXIAAAACAAAABHJzYmIAAAAGZ2FtZUlkBAAAAARiZ2lkCQABmwAAAAEFAAAABmdhbWVJZAkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAARiZ2lkBQAAAARiZ2lkBQAAAANuaWwAAAABAAAAAWkBAAAABGNhbGwAAAACAAAAAnJzAAAABmdhbWVJZAQAAAADcnNiCQACWwAAAAEFAAAAAnJzCQEAAAABcgAAAAIFAAAAA3JzYgUAAAAGZ2FtZUlkAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXntyS9s",
"height": 2257127,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: E2foCXy5Hvb8S45j9kkPmvaK4C4V3e8XhSaGQ3phaJdx
Next: ATjm3Cd5aApncRZK2ByaPJJnmvG7V6tUiyWcDoMXQ1Yc
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | let rp = fromBase64String(RSAPUBLIC) |
---|
7 | 7 | | |
---|
8 | | - | func r (rsbb,gameId) = [BinaryEntry("rsbb", rsbb)] |
---|
| 8 | + | func r (rsbb,gameId) = { |
---|
| 9 | + | let bgid = toBytes(gameId) |
---|
| 10 | + | [BinaryEntry("bgid", bgid)] |
---|
| 11 | + | } |
---|
9 | 12 | | |
---|
10 | 13 | | |
---|
11 | 14 | | @Callable(i) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let RSAPUBLIC = "base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB" |
---|
5 | 5 | | |
---|
6 | 6 | | let rp = fromBase64String(RSAPUBLIC) |
---|
7 | 7 | | |
---|
8 | | - | func r (rsbb,gameId) = [BinaryEntry("rsbb", rsbb)] |
---|
| 8 | + | func r (rsbb,gameId) = { |
---|
| 9 | + | let bgid = toBytes(gameId) |
---|
| 10 | + | [BinaryEntry("bgid", bgid)] |
---|
| 11 | + | } |
---|
9 | 12 | | |
---|
10 | 13 | | |
---|
11 | 14 | | @Callable(i) |
---|
12 | 15 | | func call (rs,gameId) = { |
---|
13 | 16 | | let rsb = fromBase64String(rs) |
---|
14 | 17 | | r(rsb, gameId) |
---|
15 | 18 | | } |
---|
16 | 19 | | |
---|
17 | 20 | | |
---|
18 | 21 | | @Verifier(tx) |
---|
19 | 22 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 23 | | |
---|