tx · 4FKa6TPbAXppRRhLMt5kBhPHHNLz6jgq5FfL64j9m9NF 3N2vV7RrXT4SsEZNJWZkqsAXrCL5aju9fs1: -0.00100000 Waves 2024.06.02 19:02 [3133285] smart account 3N2vV7RrXT4SsEZNJWZkqsAXrCL5aju9fs1 > SELF 0.00000000 Waves
{ "type": 13, "id": "4FKa6TPbAXppRRhLMt5kBhPHHNLz6jgq5FfL64j9m9NF", "fee": 100000, "feeAssetId": null, "timestamp": 1717344214263, "version": 2, "chainId": 84, "sender": "3N2vV7RrXT4SsEZNJWZkqsAXrCL5aju9fs1", "senderPublicKey": "Ayqd4DWLBhaHafYtWGurdrq9hQxaRTNs3KCcxAQqy2Aj", "proofs": [ "2QsjeCn7Ludiri4daUPFtX1Md43JoiyYJX2wT3a54RHgu9SrPw7aNvNz6oqe13Na6g3p6SmWseiPpUkiQY1nmnw9" ], "script": "base64:BgIQCAISBQoDCAgBEgUKAwgIAQYAA1NFUAICX18AD3JlcHV0YXRpb25Bc3NldAEgUg1F+R7vnQ6CfSKEgzJGvbWdCuhvV8xsHQXE7RP5X/QADHByb3Bvc2FsVGltZQkAaAIJAGgCCQBoAgkAaAIA6AcAPAA8ABgAAwEEam9pbgECYXIJALkJAgUCYXIFA1NFUAEOaXNJbml0aWF0ZWRLZXkACQEEam9pbgEJAMwIAgICJXMJAMwIAgILaXNJbml0aWF0ZWQFA25pbAEOYm9uZEFkZHJlc3NLZXkACQEEam9pbgEJAMwIAgICJXMJAMwIAgILYm9uZEFkZHJlc3MFA25pbAIBaQEEaW5pdAMFdGl0bGULZGVzY3JpcHRpb24IZGVjaW1hbHMEBWlzc3VlCQDCCAUFBXRpdGxlBQtkZXNjcmlwdGlvbgAABQhkZWNpbWFscwYEAmlkCQC4CAEFBWlzc3VlCQDMCAIFBWlzc3VlCQDMCAIJAQtCaW5hcnlFbnRyeQIJAQ5ib25kQWRkcmVzc0tleQAFAmlkBQNuaWwBaQEGcmVkZWVtAwV0aXRsZQtkZXNjcmlwdGlvbghkZWNpbWFscwkAzAgCCQDCCAUFBXRpdGxlBQtkZXNjcmlwdGlvbgAABQhkZWNpbWFscwYFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXn4+il9", "height": 3133285, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let SEP = "__" | |
5 | + | ||
6 | + | let reputationAsset = base58'6XJAscmejGPTLAdKsg12MynB5rNQzNiZz8Yj81SWeFrj' | |
7 | + | ||
8 | + | let proposalTime = ((((1000 * 60) * 60) * 24) * 3) | |
9 | + | ||
10 | + | func join (ar) = makeString(ar, SEP) | |
11 | + | ||
12 | + | ||
13 | + | func isInitiatedKey () = join(["%s", "isInitiated"]) | |
14 | + | ||
15 | + | ||
16 | + | func bondAddressKey () = join(["%s", "bondAddress"]) | |
17 | + | ||
18 | + | ||
19 | + | @Callable(i) | |
20 | + | func init (title,description,decimals) = { | |
21 | + | let issue = Issue(title, description, 0, decimals, true) | |
22 | + | let id = calculateAssetId(issue) | |
23 | + | [issue, BinaryEntry(bondAddressKey(), id)] | |
24 | + | } | |
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | @Callable(i) | |
29 | + | func redeem (title,description,decimals) = [Issue(title, description, 0, decimals, true)] | |
30 | + | ||
31 | + | ||
32 | + | @Verifier(tx) | |
33 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
34 | + |
github/deemru/w8io/169f3d6 13.39 ms ◑