tx · 9GnA8sqHhmiaJEyJiAkzkk9xkGi6kfXDTncZoA4htmug

3N3giqcqo68bVfkcJt2q7zaaWE7iAJAcKcb:  -0.01000010 Waves

2021.07.08 12:51 [1604466] smart account 3N3giqcqo68bVfkcJt2q7zaaWE7iAJAcKcb > SELF 0.00000000 Waves

{ "type": 13, "id": "9GnA8sqHhmiaJEyJiAkzkk9xkGi6kfXDTncZoA4htmug", "fee": 1000010, "feeAssetId": null, "timestamp": 1625737995982, "version": 2, "chainId": 84, "sender": "3N3giqcqo68bVfkcJt2q7zaaWE7iAJAcKcb", "senderPublicKey": "DjiSdNEMrwCK2ABBPRVSzf8xNRsUAy1if8qvaRtPrWkJ", "proofs": [ "5P1wCQpteHHvb4K2dWeZPC3izNyPv4RDB7rG7sndetX7aZAzJLTBeyVdswCUS1DVLzFfXwbDHWoNfnuFmGM5NbZx" ], "script": "base64:AAIFAAAAAAAAAIcIAhIAEgMKAQEaCgoCYTESBHdFVVIaBwoCYTISAWkaCQoCYTMSA3BtdBoQCgJhNBIKY3VycmVudEtleRoTCgJhNRINY3VycmVudEFtb3VudBoNCgJhNhIHJG1hdGNoMBoHCgJhNxIBYRoPCgJhOBIJbmV3QW1vdW50GgwKAmE5EgZhbW91bnQAAAABAAAAAAJhMQEAAAAgUYDNpePZyi43x72koNnu5jkWsoz2abdYReRwz6rJw9oAAAACAAAAAmEyAQAAAAdkZXBvc2l0AAAAAAQAAAACYTMJAAGRAAAAAggFAAAAAmEyAAAACHBheW1lbnRzAAAAAAAAAAAAAwkBAAAAAiE9AAAAAggFAAAAAmEzAAAAB2Fzc2V0SWQFAAAAAmExCQAAAgAAAAECAAAANXdFVVIgLSAnNlY5d1BxQjNnTVRxYTgyOVhWa3hqcFJueHJNR1pNaHhSNDQxSkMya21maDMnBAAAAAJhNAkAAlgAAAABCAgFAAAAAmEyAAAABmNhbGxlcgAAAAVieXRlcwQAAAACYTUEAAAAAmE2CQAEGgAAAAIFAAAABHRoaXMFAAAAAmE0AwkAAAEAAAACBQAAAAJhNgIAAAADSW50BAAAAAJhNwUAAAACYTYFAAAAAmE3AAAAAAAAAAAABAAAAAJhOAkAAGQAAAACBQAAAAJhNQgFAAAAAmEzAAAABmFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAACYTQFAAAAAmE4BQAAAANuaWwAAAACYTIBAAAAB3dpdGRyYXcAAAABAAAAAmE5BAAAAAJhNAkAAlgAAAABCAgFAAAAAmEyAAAABmNhbGxlcgAAAAVieXRlcwQAAAACYTUEAAAAAmE2CQAEGgAAAAIFAAAABHRoaXMFAAAAAmE0AwkAAAEAAAACBQAAAAJhNgIAAAADSW50BAAAAAJhNwUAAAACYTYFAAAAAmE3AAAAAAAAAAAABAAAAAJhOAkAAGUAAAACBQAAAAJhNQUAAAACYTkDCQAAZgAAAAIAAAAAAAAAAAAFAAAAAmE5CQAAAgAAAAECAAAAH2Nhbid0IHdpdGhkcmF3IG5lZ2F0aXZlcyBhbW91bnQDCQAAZgAAAAIAAAAAAAAAAAAFAAAAAmE4CQAAAgAAAAECAAAAEk5vdCBlbm91Z2ggYmFsYW5jZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAACYTQFAAAAAmE4CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAJhMgAAAAZjYWxsZXIFAAAAAmE5BQAAAAJhMQUAAAADbmlsAAAAAEcXQVY=", "height": 1604466, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B9MWNUY4PTgmhdW6ChmkVyto11f7Z4GtZ7njTUP8Tsi1 Next: 2ZLXqE1ZV21dnEHHndv2SgBGHd66Ug49BdeS3U2ZfSwn Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'86EuRkRc6CPRCGmsREcmDw9MmnfMp9ZcKsczHg2Nwtoi'
4+let a = base58'6V9wPqB3gMTqa829XVkxjpRnxrMGZMhxR441JC2kmfh3'
55
66 @Callable(b)
77 func deposit () = {
88 let c = b.payments[0]
99 if ((c.assetId != a))
10- then throw("wEUR - '86EuRkRc6CPRCGmsREcmDw9MmnfMp9ZcKsczHg2Nwtoi'")
10+ then throw("wEUR - '6V9wPqB3gMTqa829XVkxjpRnxrMGZMhxR441JC2kmfh3'")
1111 else {
1212 let d = toBase58String(b.caller.bytes)
1313 let e = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'86EuRkRc6CPRCGmsREcmDw9MmnfMp9ZcKsczHg2Nwtoi'
4+let a = base58'6V9wPqB3gMTqa829XVkxjpRnxrMGZMhxR441JC2kmfh3'
55
66 @Callable(b)
77 func deposit () = {
88 let c = b.payments[0]
99 if ((c.assetId != a))
10- then throw("wEUR - '86EuRkRc6CPRCGmsREcmDw9MmnfMp9ZcKsczHg2Nwtoi'")
10+ then throw("wEUR - '6V9wPqB3gMTqa829XVkxjpRnxrMGZMhxR441JC2kmfh3'")
1111 else {
1212 let d = toBase58String(b.caller.bytes)
1313 let e = {
1414 let f = getInteger(this, d)
1515 if ($isInstanceOf(f, "Int"))
1616 then {
1717 let g = f
1818 g
1919 }
2020 else 0
2121 }
2222 let h = (e + c.amount)
2323 [IntegerEntry(d, h)]
2424 }
2525 }
2626
2727
2828
2929 @Callable(b)
3030 func witdraw (i) = {
3131 let d = toBase58String(b.caller.bytes)
3232 let e = {
3333 let f = getInteger(this, d)
3434 if ($isInstanceOf(f, "Int"))
3535 then {
3636 let g = f
3737 g
3838 }
3939 else 0
4040 }
4141 let h = (e - i)
4242 if ((0 > i))
4343 then throw("can't withdraw negatives amount")
4444 else if ((0 > h))
4545 then throw("Not enough balance")
4646 else [IntegerEntry(d, h), ScriptTransfer(b.caller, i, a)]
4747 }
4848
4949

github/deemru/w8io/169f3d6 
36.07 ms