tx · G4yzJKE2zUy1qDz9Q4Sag3PdjpnJYeoMQCFtRYKUpiBg

3MzrZiKenY9pri9uD2eGp5iCQNA9wTYZ51m:  -0.01400000 Waves

2019.10.08 17:11 [710938] smart account 3MzrZiKenY9pri9uD2eGp5iCQNA9wTYZ51m > SELF 0.00000000 Waves

{ "type": 13, "id": "G4yzJKE2zUy1qDz9Q4Sag3PdjpnJYeoMQCFtRYKUpiBg", "fee": 1400000, "feeAssetId": null, "timestamp": 1570543941958, "version": 1, "sender": "3MzrZiKenY9pri9uD2eGp5iCQNA9wTYZ51m", "senderPublicKey": "HzS33hv2PsQPjknCc13hFanBgwoWYUCA6zWDcrQCVfMN", "proofs": [ "3pGtDKMN2djvEgbLM1WC4RvxxQcXLzayZ7EdsVhrUwhgu2jQvrEAWSxPy6ENs3BfN1YhzCPAEnnaoNsLLFjAy3rF" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAQAAAAAFW93bmVyQWNjb3VudFB1YmxpY0tleQEAAAAg5kSSV6KjzKpfv66bMf3UvZpWdtLUTpx3LKom9Z+OU2IBAAAACmdldEtleUl0ZW0AAAACAAAACHN1cHBsaWVyAAAAB29yZGVySUQJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAADElOQVJURV9jZXJ0XwUAAAAHb3JkZXJJRAIAAAABXwkAAlgAAAABCQAB9wAAAAEJAAGbAAAAAQUAAAAIc3VwcGxpZXIBAAAADmdldEtleUl0ZW1EYXRhAAAAAQAAAARpdGVtCQABLAAAAAIFAAAABGl0ZW0CAAAABV9kYXRhAQAAABJnZXRLZXlJdGVtU3VwcGxpZXIAAAABAAAABGl0ZW0JAAEsAAAAAgUAAAAEaXRlbQIAAAAGX293bmVyAAAAAQAAAAFpAQAAAA5hZGRDZXJ0aWZpY2F0bwAAAAIAAAAHb3JkZXJJRAAAAARkYXRhBAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAEaXRlbQkBAAAACmdldEtleUl0ZW0AAAACBQAAAA9zdXBwbGllckFkZHJlc3MFAAAAB29yZGVySUQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGl0ZW0FAAAABGRhdGEFAAAAA25pbAAAAACOVuZh", "chainId": 84, "height": 710938, "spentComplexity": 0 } View: original | compacted Prev: EsCwNvgaoTuuEukmn2u7SCR6X5bp7hmgLkvxx8CqN6Xe Next: 2SmHTQcFsbkBwyrFAEHbPuXt2tmu3aBcduwzrwEwHEXm Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let ownerAccountPublicKey = base58'HzS33hv2PsQPjknCc13hFanBgwoWYUCA6zWDcrQCVfMN'
4+let ownerAccountPublicKey = base58'GVsR75VQKH14tJzX66X9CAbJ535kUtBchPVEJTtRhXeh'
55
66 func getKeyItem (supplier,orderID) = ((("INARTE_cert_" + orderID) + "_") + toBase58String(sha256(toBytes(supplier))))
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let ownerAccountPublicKey = base58'HzS33hv2PsQPjknCc13hFanBgwoWYUCA6zWDcrQCVfMN'
4+let ownerAccountPublicKey = base58'GVsR75VQKH14tJzX66X9CAbJ535kUtBchPVEJTtRhXeh'
55
66 func getKeyItem (supplier,orderID) = ((("INARTE_cert_" + orderID) + "_") + toBase58String(sha256(toBytes(supplier))))
77
88
99 func getKeyItemData (item) = (item + "_data")
1010
1111
1212 func getKeyItemSupplier (item) = (item + "_owner")
1313
1414
1515 @Callable(i)
1616 func addCertificato (orderID,data) = {
1717 let supplierAddress = toBase58String(i.caller.bytes)
1818 let item = getKeyItem(supplierAddress, orderID)
1919 WriteSet([DataEntry(item, data)])
2020 }
2121
2222

github/deemru/w8io/169f3d6 
49.89 ms