tx · DPNheDLF9Uwf9D2PL4VGz5fJi31WBddt3rhQRuXEDWqR
3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR: -0.01000000 Waves
2023.05.30 16:46 [2600779] smart account 3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR > SELF 0.00000000 Waves
{
"type": 13,
"id": "DPNheDLF9Uwf9D2PL4VGz5fJi31WBddt3rhQRuXEDWqR",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685454404186,
"version": 2,
"chainId": 84,
"sender": "3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR",
"senderPublicKey": "GP66F4kgVMbC7uyGiB6JeXvJFRco3fTdGeaUFSmf7YbB",
"proofs": [
"3RAmh5Zk6R6kekJoVsbpc5hZLCoxJvyywDiHuqRW7mQTQSvm7wS4JZsc4mjTZ35D8notafFeisKe64AAfKBDgkDp"
],
"script": "base64:BgIGCAISABIAAQAIa2Fzc2V0SWQCB0Fzc2V0SUQCAWkBDXRva2VuSXNzdWFuY2UABARuYW1lAgpCZWJyYVRva2VuBA5sZW5kZXNjcmlwdGlvbgIPQmVicmEgYnkgS3JpbmdlBAhxdWFudGl0eQCgjQYECGRlY2ltYWxzAAMECmlzc3VlQmVicmEJAMIIBQUEbmFtZQUObGVuZGVzY3JpcHRpb24FCHF1YW50aXR5BQhkZWNpbWFscwYEB2Fzc2V0SWQJALgIAQUKaXNzdWVCZWJyYQQJa25ld1Rva2VuAgVUb2tlbgQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQJAMwIAgUKaXNzdWVCZWJyYQkAzAgCCQELQmluYXJ5RW50cnkCBQhrYXNzZXRJZAUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBQlrbmV3VG9rZW4IBQppc3N1ZUJlYnJhBG5hbWUFA25pbAFpAQtzZW5kZXJUb2tlbgAEAWYJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwUIa2Fzc2V0SWQCBWVycm9yCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgAUBQFmBQNuaWwAF6he+Q==",
"height": 2600779,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EeZW34g4ZwfvWo8KUFyqaHnjC3yipgE5HFWWuKQZNghv
Next: 5D8Tp3SoMxSTyPg5xzLTHkh2XTADTHrSY19pTv7wdVt6
Diff:
Old | New | | Differences |
---|
9 | 9 | | let lendescription = "Bebra by Kringe" |
---|
10 | 10 | | let quantity = 100000 |
---|
11 | 11 | | let decimals = 3 |
---|
12 | | - | let isReissuable = true |
---|
13 | | - | let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 1) |
---|
| 12 | + | let issueBebra = Issue(name, lendescription, quantity, decimals, true) |
---|
14 | 13 | | let assetId = calculateAssetId(issueBebra) |
---|
15 | 14 | | let knewToken = "Token" |
---|
16 | 15 | | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let kassetId = "AssetID" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func tokenIssuance () = { |
---|
8 | 8 | | let name = "BebraToken" |
---|
9 | 9 | | let lendescription = "Bebra by Kringe" |
---|
10 | 10 | | let quantity = 100000 |
---|
11 | 11 | | let decimals = 3 |
---|
12 | | - | let isReissuable = true |
---|
13 | | - | let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 1) |
---|
| 12 | + | let issueBebra = Issue(name, lendescription, quantity, decimals, true) |
---|
14 | 13 | | let assetId = calculateAssetId(issueBebra) |
---|
15 | 14 | | let knewToken = "Token" |
---|
16 | 15 | | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") |
---|
17 | 16 | | [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)] |
---|
18 | 17 | | } |
---|
19 | 18 | | |
---|
20 | 19 | | |
---|
21 | 20 | | |
---|
22 | 21 | | @Callable(i) |
---|
23 | 22 | | func senderToken () = { |
---|
24 | 23 | | let f = valueOrErrorMessage(getBinaryValue(this, kassetId), "error") |
---|
25 | 24 | | [ScriptTransfer(i.caller, 20, f)] |
---|
26 | 25 | | } |
---|
27 | 26 | | |
---|
28 | 27 | | |
---|