tx · GBMPv5s5p5PfvrtB7YDMMrnWazeTSxbU4wTwxAFeNFYY
3MqWML2mYsnMjDh5X6Sw5HeFaREfhzftxJz: -0.01000000 Waves
2022.06.03 18:22 [2080336] smart account 3MqWML2mYsnMjDh5X6Sw5HeFaREfhzftxJz > SELF 0.00000000 Waves
{
"type": 13,
"id": "GBMPv5s5p5PfvrtB7YDMMrnWazeTSxbU4wTwxAFeNFYY",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1654269772088,
"version": 2,
"chainId": 84,
"sender": "3MqWML2mYsnMjDh5X6Sw5HeFaREfhzftxJz",
"senderPublicKey": "CyQpXLuED1gNz9U5yVLBhDTK7CEfcS649b97j3kazUys",
"proofs": [
"2L8vMhSaMK8EfzRFDkmF4rmMzpGpP7DtXk5mtvzBjjWyzKySRwh9cCuAP5Zj3Wf1e85e71tEMzk4uDevDi1Yki2c"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAGc3RhdHVzAAAAAQAAAAl0aW1lc3RhbXAEAAAADWNhbGxlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAJcHVibGljS2V5CQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAJcHVibGljS2V5AgAAAAxfc3RhdHVzQ29kZV8FAAAACXRpbWVzdGFtcAIAAAAHc3VjY2VzcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAJcHVibGljS2V5AgAAAAxfc3RhdHVzVGV4dF8FAAAACXRpbWVzdGFtcAIAAAAZQWxsZXMgUm9nZXIgaW4gS2FtYm9kc2NoYQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkvSmQg",
"height": 2080336,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EBpxeUTkVfnNbA6hst66bUQyKGtoVhjfpdTQsuSuXiBK
Next: 3W7ePWZnaK3UMtah4PV17JmozuU6cCPfiJUXJm1anv7B
Diff:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 3 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
|
7 | 7 | | func status (timestamp) = { |
---|
8 | 8 | | let callerAddress = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let publicKey = toBase58String(i.callerPublicKey) |
---|
10 | | - | WriteSet([DataEntry(((publicKey + "_statusCode_") + timestamp), "success"), DataEntry(((publicKey + "_statusText_") + timestamp), "Alles Roger in Kambodscha")]) |
---|
| 10 | + | [StringEntry(((publicKey + "_statusCode_") + timestamp), "success"), StringEntry(((publicKey + "_statusText_") + timestamp), "Alles Roger in Kambodscha")] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 3 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func status (timestamp) = { |
---|
8 | 8 | | let callerAddress = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let publicKey = toBase58String(i.callerPublicKey) |
---|
10 | | - | WriteSet([DataEntry(((publicKey + "_statusCode_") + timestamp), "success"), DataEntry(((publicKey + "_statusText_") + timestamp), "Alles Roger in Kambodscha")]) |
---|
| 10 | + | [StringEntry(((publicKey + "_statusCode_") + timestamp), "success"), StringEntry(((publicKey + "_statusText_") + timestamp), "Alles Roger in Kambodscha")] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | @Verifier(tx) |
---|
15 | 15 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 16 | | |
---|