tx · Cmnhk6hVRGhZbnRHB8ixYNbtU32h8XfynuBeBgHYnfgA
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.28 14:59 [2597790] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "Cmnhk6hVRGhZbnRHB8ixYNbtU32h8XfynuBeBgHYnfgA",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685275152520,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"4ehvp5viVRWYaXfFrBWvXWcC9rrdqKnScsFT1nGS9K41T67GR9295RdokdSHT928KLvYmUfePxTbaKP3AWP3kAG1"
],
"script": "base64:BgIJCAISABIDCgEBAAIBaQENdG9rZW5Jc3N1YW5jZQAEBG5hbWUCCkJlYnJhVG9rZW4EDmxlbmRlc2NyaXB0aW9uAg9CZWJyYSBieSBLcmluZ2UECHF1YW50aXR5AJBOBAhkZWNpbWFscwAABAxpc1JlaXNzdWFibGUGBAppc3N1ZUJlYnJhCQDDCAcFBG5hbWUFDmxlbmRlc2NyaXB0aW9uBQhxdWFudGl0eQUIZGVjaW1hbHMFDGlzUmVpc3N1YWJsZQUEdW5pdAAABAdhc3NldElkCQC4CAEFCmlzc3VlQmVicmEECWtuZXdUb2tlbgIFVG9rZW4EC2dldE5ld1Rva2VuCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUEdGhpcwUJa25ld1Rva2VuAhlCZWJyYVRva2VuIGlzIG5vdCBkZWZpbmVkBAlyZWNpcGllbnQIBQFpBmNhbGxlcgkAzAgCBQppc3N1ZUJlYnJhCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudADQDwUHYXNzZXRJZAUDbmlsAWkBDXRva2VuVHJhbnNmZXIBBmFtb3VudAQJcmVjaXBpZW50CQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXlgy3kA",
"height": 2597790,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8ynsf8TJY22koQMP3obUDcmtMZEg37jUKzdJ4foLg8bb
Next: CQZ8Ei8MXm9ViMwuy4hDfdW9yUVqN5DL5xPXcNBYmGj
Diff:
Old | New | | Differences |
---|
7 | 7 | | func tokenIssuance () = { |
---|
8 | 8 | | let name = "BebraToken" |
---|
9 | 9 | | let lendescription = "Bebra by Kringe" |
---|
10 | | - | let quantity = 10000000 |
---|
| 10 | + | let quantity = 10000 |
---|
11 | 11 | | let decimals = 0 |
---|
12 | 12 | | let isReissuable = true |
---|
13 | 13 | | let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func tokenIssuance () = { |
---|
8 | 8 | | let name = "BebraToken" |
---|
9 | 9 | | let lendescription = "Bebra by Kringe" |
---|
10 | | - | let quantity = 10000000 |
---|
| 10 | + | let quantity = 10000 |
---|
11 | 11 | | let decimals = 0 |
---|
12 | 12 | | let isReissuable = true |
---|
13 | 13 | | let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0) |
---|
14 | 14 | | let assetId = calculateAssetId(issueBebra) |
---|
15 | 15 | | let knewToken = "Token" |
---|
16 | 16 | | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") |
---|
17 | 17 | | let recipient = i.caller |
---|
18 | 18 | | [issueBebra, ScriptTransfer(recipient, 2000, assetId)] |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | @Callable(i) |
---|
24 | 24 | | func tokenTransfer (amount) = { |
---|
25 | 25 | | let recipient = toBase58String(i.caller.bytes) |
---|
26 | 26 | | nil |
---|
27 | 27 | | } |
---|
28 | 28 | | |
---|
29 | 29 | | |
---|
30 | 30 | | @Verifier(tx) |
---|
31 | 31 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
32 | 32 | | |
---|