tx · 8bMpxVUQvN9LSkm2RqU7vRZQHEVn1SEN74cuvtiXfDzm
3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD: -0.01000000 Waves
2023.07.26 18:47 [2683024] smart account 3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD > SELF 0.00000000 Waves
{
"type": 13,
"id": "8bMpxVUQvN9LSkm2RqU7vRZQHEVn1SEN74cuvtiXfDzm",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1690386432443,
"version": 2,
"chainId": 84,
"sender": "3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD",
"senderPublicKey": "G6PnkMn8MpXBkNwsQKMn1o1V7EKMgZyHCJRdFMQuouBC",
"proofs": [
"3rSsmHX1EDfVCMeUEMGuXCgcUMvn2xm93bSfUFKBiojkmiGfYUrvwmim2FYF9sB9p45nn7uaX9NzpQjTr4um9L8A"
],
"script": "base64:BgIGCAISABIAAQAIa2Fzc2V0SWQCB0Fzc2V0SUQCAWkBDXRva2VuSXNzdWFuY2UABARuYW1lAgpCZWJyYVRva2VuBAtkZXNjcmlwdGlvbgIPQmVicmEgYnkgS3JpbmdlBAhxdWFudGl0eQCAreIEBAhkZWNpbWFscwADBAppc3N1ZUJlYnJhCQDCCAUFBG5hbWUFC2Rlc2NyaXB0aW9uBQhxdWFudGl0eQUIZGVjaW1hbHMGBAdhc3NldElkCQC4CAEFCmlzc3VlQmVicmEECWtuZXdUb2tlbgIFVG9rZW4EC2dldE5ld1Rva2VuCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUEdGhpcwUJa25ld1Rva2VuAhlCZWJyYVRva2VuIGlzIG5vdCBkZWZpbmVkCQDMCAIFCmlzc3VlQmVicmEJAMwIAgkBC0JpbmFyeUVudHJ5AgUIa2Fzc2V0SWQFB2Fzc2V0SWQJAMwIAgkBC1N0cmluZ0VudHJ5AgUJa25ld1Rva2VuCAUKaXNzdWVCZWJyYQRuYW1lBQNuaWwBaQELc2VuZGVyVG9rZW4ABAdhc3NldElECQETdmFsdWVPckVycm9yTWVzc2FnZQIJARFAZXh0ck5hdGl2ZSgxMDUyKQIFBHRoaXMFCGthc3NldElkAgVlcnJvcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQR0aGlzAAEFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyABQFB2Fzc2V0SUQFA25pbADYkSU0",
"height": 2683024,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GEFAAerTfWuZn22qp74qfpubVBzmzfbe57ok4oosmGaF
Next: 64oE3vsFjQoY15ntpn8HHjWx7tkXq2y7mspnhp7PC31d
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func tokenIssuance () = { |
---|
8 | 8 | | let name = "BebraToken" |
---|
9 | | - | let lendescription = "Bebra by Kringe" |
---|
10 | | - | let quantity = 100000 |
---|
| 9 | + | let description = "Bebra by Kringe" |
---|
| 10 | + | let quantity = 10000000 |
---|
11 | 11 | | let decimals = 3 |
---|
12 | | - | let issueBebra = Issue(name, lendescription, quantity, decimals, true) |
---|
| 12 | + | let issueBebra = Issue(name, description, quantity, decimals, true) |
---|
13 | 13 | | let assetId = calculateAssetId(issueBebra) |
---|
14 | 14 | | let knewToken = "Token" |
---|
15 | 15 | | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") |
---|
|
21 | 21 | | @Callable(i) |
---|
22 | 22 | | func senderToken () = { |
---|
23 | 23 | | let assetID = valueOrErrorMessage(getBinaryValue(this, kassetId), "error") |
---|
24 | | - | [ScriptTransfer(this, 2, unit), ScriptTransfer(i.caller, 20, assetID)] |
---|
| 24 | + | [ScriptTransfer(this, 1, unit), ScriptTransfer(i.caller, 20, assetID)] |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|
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 | | - | let lendescription = "Bebra by Kringe" |
---|
10 | | - | let quantity = 100000 |
---|
| 9 | + | let description = "Bebra by Kringe" |
---|
| 10 | + | let quantity = 10000000 |
---|
11 | 11 | | let decimals = 3 |
---|
12 | | - | let issueBebra = Issue(name, lendescription, quantity, decimals, true) |
---|
| 12 | + | let issueBebra = Issue(name, description, quantity, decimals, true) |
---|
13 | 13 | | let assetId = calculateAssetId(issueBebra) |
---|
14 | 14 | | let knewToken = "Token" |
---|
15 | 15 | | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") |
---|
16 | 16 | | [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)] |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | @Callable(i) |
---|
22 | 22 | | func senderToken () = { |
---|
23 | 23 | | let assetID = valueOrErrorMessage(getBinaryValue(this, kassetId), "error") |
---|
24 | | - | [ScriptTransfer(this, 2, unit), ScriptTransfer(i.caller, 20, assetID)] |
---|
| 24 | + | [ScriptTransfer(this, 1, unit), ScriptTransfer(i.caller, 20, assetID)] |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|