tx · GEFAAerTfWuZn22qp74qfpubVBzmzfbe57ok4oosmGaF 3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD: -0.01000000 Waves 2023.07.26 18:01 [2682986] smart account 3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD > SELF 0.00000000 Waves
{ "type": 13, "id": "GEFAAerTfWuZn22qp74qfpubVBzmzfbe57ok4oosmGaF", "fee": 1000000, "feeAssetId": null, "timestamp": 1690383760509, "version": 2, "chainId": 84, "sender": "3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD", "senderPublicKey": "G6PnkMn8MpXBkNwsQKMn1o1V7EKMgZyHCJRdFMQuouBC", "proofs": [ "2bvChJ1WxmMLxoY56nBHNhJW6aYfzcS1G9Ne3s1FJfKytH7jQ2jZqbHTq4EathA7qW2JicEbsLu7Vi99ZcqBjzzd" ], "script": "base64:BgIGCAISABIAAQAIa2Fzc2V0SWQCB0Fzc2V0SUQCAWkBDXRva2VuSXNzdWFuY2UABARuYW1lAgpCZWJyYVRva2VuBA5sZW5kZXNjcmlwdGlvbgIPQmVicmEgYnkgS3JpbmdlBAhxdWFudGl0eQCgjQYECGRlY2ltYWxzAAMECmlzc3VlQmVicmEJAMIIBQUEbmFtZQUObGVuZGVzY3JpcHRpb24FCHF1YW50aXR5BQhkZWNpbWFscwYEB2Fzc2V0SWQJALgIAQUKaXNzdWVCZWJyYQQJa25ld1Rva2VuAgVUb2tlbgQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQJAMwIAgUKaXNzdWVCZWJyYQkAzAgCCQELQmluYXJ5RW50cnkCBQhrYXNzZXRJZAUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBQlrbmV3VG9rZW4IBQppc3N1ZUJlYnJhBG5hbWUFA25pbAFpAQtzZW5kZXJUb2tlbgAEB2Fzc2V0SUQJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwUIa2Fzc2V0SWQCBWVycm9yCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFBHRoaXMAAgUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAFAUHYXNzZXRJRAUDbmlsAGSHpyA=", "height": 2682986, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 8bMpxVUQvN9LSkm2RqU7vRZQHEVn1SEN74cuvtiXfDzm Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "AssetID" | |
5 | + | ||
6 | + | @Callable(b) | |
7 | + | func tokenIssuance () = { | |
8 | + | let c = "BebraToken" | |
9 | + | let d = "Bebra by Kringe" | |
10 | + | let e = 100000 | |
11 | + | let f = 3 | |
12 | + | let g = Issue(c, d, e, f, true) | |
13 | + | let h = calculateAssetId(g) | |
14 | + | let i = "Token" | |
15 | + | let j = valueOrErrorMessage(getString(this, i), "BebraToken is not defined") | |
16 | + | [g, BinaryEntry(a, h), StringEntry(i, g.name)] | |
17 | + | } | |
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | @Callable(b) | |
22 | + | func senderToken () = { | |
23 | + | let k = valueOrErrorMessage(getBinaryValue(this, a), "error") | |
24 | + | [ScriptTransfer(this, 2, unit), ScriptTransfer(b.caller, 20, k)] | |
25 | + | } | |
26 | + | ||
27 | + |
github/deemru/w8io/169f3d6 14.91 ms ◑