tx · JzDNyQLQs3wLPNRKCzX9wftmBAEcr7CYuRspvM7KTWi
3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves
2022.12.20 08:56 [2368215] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{
"type": 13,
"id": "JzDNyQLQs3wLPNRKCzX9wftmBAEcr7CYuRspvM7KTWi",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671515890929,
"version": 2,
"chainId": 84,
"sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F",
"senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R",
"proofs": [
"z8UM96GeLaRxrXhq8YG4BRFGzy1pFoN8cbibkRnoMJ9mSfLtxm7xQ8Bdk2p3Xe2BnsTBmgXxmjoRuQ1e9L3saK4"
],
"script": "base64:BgIECAISAAABAWkBBXRva2VuAAQFYXNzZXQJAMIIBQIEc2h1YgIZVGhpcyBpcyBhbiBvcmRpbmFyeSB0b2tlbgCAreIEAAIGBAdhc3NldElkCQC4CAEFBWFzc2V0BAVBbGljZQkBB0FkZHJlc3MBARoBVPvdLTABo9Q+QkAylsp39nATsJ7dxL+FRAkAzAgCBQVhc3NldAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQVBbGljZQBkBQdhc3NldElkBQNuaWwBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5GgJApw==",
"height": 2368215,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7BNDUAVheRTEfxyLzxyNbqUHwpNGjnwAi7DsbXZfqGSd
Next: 5nBAzzXNkS3udrtmL8fWCRBN5dGh3KJkbkA17sMh5UVr
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func token () = { |
---|
8 | | - | let asset = Issue("shub", "This is an ordinary token", 1000000, 2, true) |
---|
| 8 | + | let asset = Issue("shub", "This is an ordinary token", 10000000, 2, true) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | | - | [asset] |
---|
| 10 | + | let Alice = Address(base58'3NCspLgbmcyQ76ZL6Jw4gFZLmbhwdKKXUQs') |
---|
| 11 | + | [asset, ScriptTransfer(Alice, 100, assetId)] |
---|
11 | 12 | | } |
---|
12 | 13 | | |
---|
13 | 14 | | |
---|
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 token () = { |
---|
8 | | - | let asset = Issue("shub", "This is an ordinary token", 1000000, 2, true) |
---|
| 8 | + | let asset = Issue("shub", "This is an ordinary token", 10000000, 2, true) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | | - | [asset] |
---|
| 10 | + | let Alice = Address(base58'3NCspLgbmcyQ76ZL6Jw4gFZLmbhwdKKXUQs') |
---|
| 11 | + | [asset, ScriptTransfer(Alice, 100, assetId)] |
---|
11 | 12 | | } |
---|
12 | 13 | | |
---|
13 | 14 | | |
---|
14 | 15 | | @Verifier(tx) |
---|
15 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 17 | | |
---|