tx · 3KS2C8NRqbmSTTA9VXLGWpSStstvnPwXqKTML9sqajpX

3MwoWxBwFKxjUKK53Rxbnwrs8m2MsVMPPa7:  -0.01000000 Waves

2023.11.28 18:31 [2863439] smart account 3MwoWxBwFKxjUKK53Rxbnwrs8m2MsVMPPa7 > SELF 0.00000000 Waves

{ "type": 13, "id": "3KS2C8NRqbmSTTA9VXLGWpSStstvnPwXqKTML9sqajpX", "fee": 1000000, "feeAssetId": null, "timestamp": 1701185494948, "version": 2, "chainId": 84, "sender": "3MwoWxBwFKxjUKK53Rxbnwrs8m2MsVMPPa7", "senderPublicKey": "6oay51Q6zPcFP9bSwUC4Potx2KGyD4AUjpL5uLR4QeRN", "proofs": [ "GTkhSvwh8ioXehRktDXG3PA9fXUuVQrhEFmXiTB5Qe1JVGzg7Hh1ZFz1apaxFdRqdVBYZsgYwtKnYqVk1SBgoy4" ], "script": "base64:AAIFAAAAAAAAABIIAhIOCgwIAQEBCAgBAQEIAQEAAAADAAAAABF1c2VyX2JhbGFuY2VfZGFwcAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM04xczJ3NE5IZ2JyWHhOWlhIOVJ0YVZUOXB0SFJKY2dTcDIAAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AQAAACDI7Zjahu5VNVhgxzyW6CpbYvUiMMUf5OyBUQlo584acwAAAAARd2hpdGVsaXN0X2FkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAAFERhcHBfQWRkcmVzc19wdWJfa2V5AAAAAQAAAAFpAQAAABVQbGFjZU9yZGVyV2l0aFZvdWNoZXIAAAAMAAAADEZ1bmN0aW9uTmFtZQAAAA5Wb3VjaGVyX0Ftb3VudAAAAAZBbW91bnQAAAAPT3B0aW9uQ291bnRlcklEAAAAB1VzZXJfSUQAAAAMVXNlcl9BZGRyZXNzAAAABVByaWNlAAAAC0NhbGxfTGltaXRzAAAAClB1dF9MaW1pdHMAAAANT3JhY2xlX1N0YXR1cwAAABVTdGFydF9PcmRlcl9UaW1lc3RhbXAAAAATRW5kX09yZGVyX1RpbWVzdGFtcAQAAAABeQkAA/wAAAAEBQAAABF1c2VyX2JhbGFuY2VfZGFwcAUAAAAMRnVuY3Rpb25OYW1lCQAETAAAAAIFAAAABkFtb3VudAkABEwAAAACBQAAAA9PcHRpb25Db3VudGVySUQJAARMAAAAAgUAAAAHVXNlcl9JRAkABEwAAAACBQAAAAxVc2VyX0FkZHJlc3MJAARMAAAAAgUAAAAFUHJpY2UJAARMAAAAAgUAAAALQ2FsbF9MaW1pdHMJAARMAAAAAgUAAAAKUHV0X0xpbWl0cwkABEwAAAACBQAAAA1PcmFjbGVfU3RhdHVzCQAETAAAAAIFAAAAFVN0YXJ0X09yZGVyX1RpbWVzdGFtcAkABEwAAAACBQAAABNFbmRfT3JkZXJfVGltZXN0YW1wBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAABeQUAAAABeQMJAQAAAAIhPQAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAARd2hpdGVsaXN0X2FkZHJlc3MJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAJVRoaXMgQWRkcmVzcyBpcyBub3QgQXV0aG9yaXplZC4gT25seSAJAAQlAAAAAQUAAAARd2hpdGVsaXN0X2FkZHJlc3MCAAAAIiBpcyBBdXRob3JpemVkIEFkZHJlc3MgdG8gU2lnbiBpdC4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAKRDJEX1N0YXR1cwIAAAAGUGFzc2VkBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAEOSlYU=", "height": 2863439, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5AMGjU5cusckgeRz3EPKhSuMwvGyCgnQsCCMqxhKuZZA Next: none Diff:
OldNewDifferences
99
1010 @Callable(i)
1111 func PlaceOrderWithVoucher (FunctionName,Voucher_Amount,Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
12- let x = invoke(user_balance_dapp, "Issue_Vouchers", [Voucher_Amount, User_ID, User_Address], nil)
13- if ((x == x))
14- then {
15- let y = invoke(user_balance_dapp, FunctionName, [Amount, OptionCounterID, User_ID, User_Address, Price, Call_Limits, Put_Limits, Oracle_Status, Start_Order_Timestamp, End_Order_Timestamp], nil)
16- if ((y == y))
17- then if ((i.caller != whitelist_address))
18- then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
19- else [StringEntry("D2D_Status", "Passed")]
20- else throw("Strict value is not equal to itself.")
21- }
12+ let y = invoke(user_balance_dapp, FunctionName, [Amount, OptionCounterID, User_ID, User_Address, Price, Call_Limits, Put_Limits, Oracle_Status, Start_Order_Timestamp, End_Order_Timestamp], nil)
13+ if ((y == y))
14+ then if ((i.caller != whitelist_address))
15+ then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
16+ else [StringEntry("D2D_Status", "Passed")]
2217 else throw("Strict value is not equal to itself.")
2318 }
2419
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let user_balance_dapp = addressFromStringValue("3N1s2w4NHgbrXxNZXH9RtaVT9ptHRJcgSp2")
55
66 let Dapp_Address_pub_key = base58'EXLfxKmqhQPiProBaoPatTentUSZX5Dd8A8bYDcmfNwt'
77
88 let whitelist_address = addressFromPublicKey(Dapp_Address_pub_key)
99
1010 @Callable(i)
1111 func PlaceOrderWithVoucher (FunctionName,Voucher_Amount,Amount,OptionCounterID,User_ID,User_Address,Price,Call_Limits,Put_Limits,Oracle_Status,Start_Order_Timestamp,End_Order_Timestamp) = {
12- let x = invoke(user_balance_dapp, "Issue_Vouchers", [Voucher_Amount, User_ID, User_Address], nil)
13- if ((x == x))
14- then {
15- let y = invoke(user_balance_dapp, FunctionName, [Amount, OptionCounterID, User_ID, User_Address, Price, Call_Limits, Put_Limits, Oracle_Status, Start_Order_Timestamp, End_Order_Timestamp], nil)
16- if ((y == y))
17- then if ((i.caller != whitelist_address))
18- then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
19- else [StringEntry("D2D_Status", "Passed")]
20- else throw("Strict value is not equal to itself.")
21- }
12+ let y = invoke(user_balance_dapp, FunctionName, [Amount, OptionCounterID, User_ID, User_Address, Price, Call_Limits, Put_Limits, Oracle_Status, Start_Order_Timestamp, End_Order_Timestamp], nil)
13+ if ((y == y))
14+ then if ((i.caller != whitelist_address))
15+ then throw((("This Address is not Authorized. Only " + toString(whitelist_address)) + " is Authorized Address to Sign it."))
16+ else [StringEntry("D2D_Status", "Passed")]
2217 else throw("Strict value is not equal to itself.")
2318 }
2419
2520

github/deemru/w8io/026f985 
23.24 ms