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