tx · DERwapeTxHvquZK9FoRe8xm6VjEaHdGmGeUbJ2pCxH2A

3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq:  -0.01000000 Waves

2023.06.18 15:48 [2628091] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves

{ "type": 13, "id": "DERwapeTxHvquZK9FoRe8xm6VjEaHdGmGeUbJ2pCxH2A", "fee": 1000000, "feeAssetId": null, "timestamp": 1687092541555, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "35E7daXTXLUAAwPW4iP6qw5zEJAX1skebsbX1fae5qXweTPYpJab1acwmB8dpbw8k6CqgwihST65jaqeF97vbPcX" ], "script": "base64:BgIQCAISBAoCCAESABIECgIIAQADAWkBBmJvcnJvdwIKYXNzZXRJZFN0cgthc3NldEFtb3VudAQHYWRkcmVzcwkApQgBCAUBaQZjYWxsZXIEA3JlcwkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNEblZmZm5VeVp0ejJNUmJrNVU3Z2lOMTEyV2VtcE1OZAIGYm9ycm93CQDMCAIFCmFzc2V0SWRTdHIJAMwIAgULYXNzZXRBbW91bnQFA25pbAUDbmlsAwkAAAIFA3JlcwUDcmVzCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJAKwCAgUHYWRkcmVzcwIKX2JvcnJvd2VkXwUKYXNzZXRJZFN0cgULYXNzZXRBbW91bnQFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQdkZXBvc2l0AAQHYWRkcmVzcwkApQgBCAUBaQZjYWxsZXIEA3JlcwkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNEblZmZm5VeVp0ejJNUmJrNVU3Z2lOMTEyV2VtcE1OZAIGc3VwcGx5BQNuaWwJAMwIAgkBD0F0dGFjaGVkUGF5bWVudAIFBHVuaXQAwIQ9BQNuaWwDCQAAAgUDcmVzBQNyZXMJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgUHYWRkcmVzcwIMc3VwcGx5X3dhdmVzAMCEPQUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBCHdpdGhkcmF3Agphc3NldElkU3RyC2Fzc2V0QW1vdW50BAdhZGRyZXNzCQClCAEIBQFpBmNhbGxlcgQDcmVzCQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNOM0RuVmZmblV5WnR6Mk1SYms1VTdnaU4xMTJXZW1wTU5kAgh3aXRoZHJhdwkAzAgCBQphc3NldElkU3RyCQDMCAIFC2Fzc2V0QW1vdW50BQNuaWwFA25pbAMJAAACBQNyZXMFA3JlcwkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQCsAgIFB2FkZHJlc3MCCl93aXRoZHJld18FCmFzc2V0SWRTdHIFC2Fzc2V0QW1vdW50BQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5IOWJMw==", "height": 2628091, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Umqm7EYigmMkCVjQBapMUwNJzHbpQRPhGckcQyxzGjs Next: BaNguZ4Jry6RDgjPixTWCt7dMRzuMeraEcGQ3uoGFVPT Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func borrow (b,c) = {
88 let d = toString(a.caller)
99 let e = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", [b, c], nil)
1010 if ((e == e))
1111 then [IntegerEntry(((d + "_borrowed_") + b), c)]
1212 else throw("Strict value is not equal to itself.")
1313 }
1414
1515
1616
1717 @Callable(a)
1818 func deposit () = {
1919 let d = toString(a.caller)
2020 let e = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, 1000000)])
2121 if ((e == e))
2222 then [IntegerEntry((d + "supply_waves"), 1000000)]
2323 else throw("Strict value is not equal to itself.")
2424 }
2525
2626
2727
2828 @Callable(a)
2929 func withdraw (b,c) = {
3030 let d = toString(a.caller)
3131 let e = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "withdraw", [b, c], nil)
3232 if ((e == e))
3333 then [IntegerEntry(((d + "_withdrew_") + b), c)]
3434 else throw("Strict value is not equal to itself.")
3535 }
3636
3737
3838 @Verifier(f)
3939 func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
4040

github/deemru/w8io/169f3d6 
35.10 ms