tx · G81Negw5bsf5CZgTiZpVPj8PqAxCAe3yDjykmPDGc6iT
3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe: -0.01400000 Waves
2021.02.19 01:02 [1404154] smart account 3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe > SELF 0.00000000 Waves
{
"type": 13,
"id": "G81Negw5bsf5CZgTiZpVPj8PqAxCAe3yDjykmPDGc6iT",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1613685830376,
"version": 2,
"chainId": 84,
"sender": "3MuMiS4jTTcuf13zMuonyb8JBE1jJkQ5JNe",
"senderPublicKey": "8QFH4kvTaVWhAPErMqKKRzRhYtv7egJFn1UpMdj8pMf3",
"proofs": [
"5yeDaiUTfdWonzpRzEj5vG9c7ZkXdy1cNYVHNFFh8Cwr5VN2PEMtkkWHPYNtCiHTtGNCCcRTiZCCJKayPd1QVYX9"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAANUmVnaXN0ZXJFbWFpbAAAAAEAAAAJWW91ckVtYWlsBAAAAAdhc3NldGlkAQAAACC6vVI7UxTCnVRWGLR3ztyYkk4CUUFVVlvuen2G1r3cOwQAAAADcG10AwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAHEF0dGFjaGVkIHBheW1lbnQgaXMgcmVxdWlyZWQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAB2Fzc2V0aWQJAAACAAAAAQIAAAA/WW91IG5lZWQgdG8gY2hvb3NlIGV4YWN0IDAuNSBVU0RUIHRvIFNpZ24gVHhuIG5vdCBvdGhlciBhc3NldHMuBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAACWZpbmRlbWFpbAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAAJWW91ckVtYWlsAwkAAAAAAAACBQAAAAlmaW5kZW1haWwFAAAACVlvdXJFbWFpbAkAAAIAAAABAgAAABlVc2VyIEFscmVhZHkgUmVnaXN0ZXJ0ZWQuCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAACmN1cnJlbnRLZXkFAAAACVlvdXJFbWFpbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAClN0YXR1c19PZl8FAAAACVlvdXJFbWFpbAIAAAAKVW52ZXJpZmllZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5hbJ63g==",
"height": 1404154,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 97NtUAuPG8k7B8QWaiZchVTfx6fdu4jNxYp4ibvM9kij
Next: 3Y6YLr8afP17zFb2RQb7gegQgwKj12N9BxUX6QBCWRN5
Diff:
Old | New | | Differences |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.") |
---|
14 | 14 | | else { |
---|
15 | 15 | | let e = toBase58String(a.caller.bytes) |
---|
16 | | - | let f = value(getString(this, b)) |
---|
| 16 | + | let f = getStringValue(this, b) |
---|
17 | 17 | | if ((f == b)) |
---|
18 | 18 | | then throw("User Already Registerted.") |
---|
19 | 19 | | else [StringEntry(e, b), StringEntry(("Status_Of_" + b), "Unverified")] |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func RegisterEmail (b) = { |
---|
8 | 8 | | let c = base58'DZxGZzacrhMS93EHK8LrCeYCrVWJaF76UpPcyHuaH9mL' |
---|
9 | 9 | | let d = if ((size(a.payments) == 1)) |
---|
10 | 10 | | then a.payments[0] |
---|
11 | 11 | | else throw("Attached payment is required") |
---|
12 | 12 | | if ((d.assetId != c)) |
---|
13 | 13 | | then throw("You need to choose exact 0.5 USDT to Sign Txn not other assets.") |
---|
14 | 14 | | else { |
---|
15 | 15 | | let e = toBase58String(a.caller.bytes) |
---|
16 | | - | let f = value(getString(this, b)) |
---|
| 16 | + | let f = getStringValue(this, b) |
---|
17 | 17 | | if ((f == b)) |
---|
18 | 18 | | then throw("User Already Registerted.") |
---|
19 | 19 | | else [StringEntry(e, b), StringEntry(("Status_Of_" + b), "Unverified")] |
---|
20 | 20 | | } |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | @Verifier(g) |
---|
25 | 25 | | func h () = { |
---|
26 | 26 | | let i = g |
---|
27 | 27 | | sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
28 | 28 | | } |
---|
29 | 29 | | |
---|