tx · BSkGmKZ5MfUWRPDt5TTS3JXi4p8zEbqe2WJnuQaGqeaB
3N35oZeVQmBRZ3xV1tfATFW3tfg1QVSXd43: -0.01000000 Waves
2019.10.10 21:00 [714090] smart account 3N35oZeVQmBRZ3xV1tfATFW3tfg1QVSXd43 > SELF 0.00000000 Waves
{
"type": 13,
"id": "BSkGmKZ5MfUWRPDt5TTS3JXi4p8zEbqe2WJnuQaGqeaB",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1570730237571,
"version": 1,
"sender": "3N35oZeVQmBRZ3xV1tfATFW3tfg1QVSXd43",
"senderPublicKey": "2VtegEGura4mUaNz4VZcnoJQr9XBPkzSGQTTD5hgkBy9",
"proofs": [
"4AiihZz2iZfCdGRbvne73JTqBFJaTXSjH4S4pmWgFsXNStv4Ns59gmuythrsFuiQW1pDZxLUgZMGiF4ejKq17ojV"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAMBAAAACmdldEtleUl0ZW0AAAACAAAACHN1cHBsaWVyAAAAB29yZGVySUQJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAADElOQVJURV9jZXJ0XwUAAAAHb3JkZXJJRAIAAAABXwkAAlgAAAABCQAB9wAAAAEJAAGbAAAAAQUAAAAIc3VwcGxpZXIBAAAADmdldEtleUl0ZW1EYXRhAAAAAQAAAARpdGVtCQABLAAAAAIFAAAABGl0ZW0CAAAABV9kYXRhAQAAABJnZXRLZXlJdGVtU3VwcGxpZXIAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAGX293bmVyAAAAAQAAAAFpAQAAAA5hZGRDZXJ0aWZpY2F0bwAAAAIAAAAHb3JkZXJJRAAAAARkYXRhBAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEaXRlbQkBAAAACmdldEtleUl0ZW0AAAACBQAAAA9zdXBwbGllckFkZHJlc3MFAAAAB29yZGVySUQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGl0ZW0FAAAABGRhdGEFAAAAA25pbAAAAAABTgKc",
"chainId": 84,
"height": 714090,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func a (b,c) = ((("INARTE_cert_" + c) + "_") + toBase58String(sha256(toBytes(b)))) |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | func d (e) = (e + "_data") |
---|
| 8 | + | |
---|
| 9 | + | |
---|
| 10 | + | func f (e) = (e + "_owner") |
---|
| 11 | + | |
---|
| 12 | + | |
---|
| 13 | + | @Callable(g) |
---|
| 14 | + | func addCertificato (c,h) = { |
---|
| 15 | + | let i = toBase58String(g.caller.bytes) |
---|
| 16 | + | let e = a(i, c) |
---|
| 17 | + | WriteSet([DataEntry(e, h)]) |
---|
| 18 | + | } |
---|
| 19 | + | |
---|
| 20 | + | |
---|