tx · Cru8iLFZfjVH2HCoyqTMXJD1Jf8vY77mPE6LBR5CVGzZ
3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk: -0.01500000 Waves
2020.06.05 19:15 [1030185] smart account 3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk > SELF 0.00000000 Waves
{
"type": 13,
"id": "Cru8iLFZfjVH2HCoyqTMXJD1Jf8vY77mPE6LBR5CVGzZ",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1591373757867,
"version": 1,
"sender": "3N9yCRmNsLK2aPStjLBne3EUiPSKvVHYgKk",
"senderPublicKey": "7nLAwoiRA4fWF4VHd6gRsbwF2UFFmRADXHqRcgy3h27w",
"proofs": [
"5roZgJvQzGtPtJQ2H1DcjjuTTZY2ADYtSTptTszqVgwQf2xR241sxvzsikcAnSzT1jpoowJk9Y6rDmEPQtoNAS2E"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAGZmF1Y2V0AAAAAAQAAAANaXNLbm93bkNhbGxlcgQAAAAHJG1hdGNoMAkABBsAAAACBQAAAAR0aGlzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAABGhpc3QFAAAAByRtYXRjaDAFAAAABGhpc3QHAwkBAAAAASEAAAABBQAAAA1pc0tub3duQ2FsbGVyCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBgUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAABfXhAAUAAAAEdW5pdAUAAAADbmlsCQEAAAAIV3JpdGVTZXQAAAABBQAAAANuaWwAAAAA0/kf1Q==",
"chainId": 84,
"height": 1030185,
"spentComplexity": 0
}
View: original | compacted
Prev: EhEZhawLYAdpgW3YVGQadGGeYvZ97ZJ7tGy1h9fgbtue
Next: 28hbeFhYBq6uir1bbjt2dxbpqxCM2B6GKq4c7zf7AbkX
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func faucet () = { |
---|
8 | 8 | | let b = { |
---|
9 | 9 | | let c = getBoolean(this, toBase58String(a.caller.bytes)) |
---|
10 | 10 | | if ($isInstanceOf(c, "Boolean")) |
---|
11 | 11 | | then { |
---|
12 | 12 | | let d = c |
---|
13 | 13 | | d |
---|
14 | 14 | | } |
---|
15 | 15 | | else false |
---|
16 | 16 | | } |
---|
17 | 17 | | if (!(b)) |
---|
18 | 18 | | then ScriptResult(WriteSet([DataEntry(toBase58String(a.caller.bytes), true)]), TransferSet([ScriptTransfer(a.caller, 100000000, unit)])) |
---|
19 | 19 | | else WriteSet(nil) |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|