tx · 8LSkf6ZyTbPrQvhv8Dx5pnu24PmhhRbB3LLQk914w7SJ

3Mz29fiz3zgY9JDbiHKANvHsFgQutdfu4Ua:  -0.01400000 Waves

2021.04.01 15:27 [1463375] smart account 3Mz29fiz3zgY9JDbiHKANvHsFgQutdfu4Ua > SELF 0.00000000 Waves

{ "type": 13, "id": "8LSkf6ZyTbPrQvhv8Dx5pnu24PmhhRbB3LLQk914w7SJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1617280070404, "version": 2, "chainId": 84, "sender": "3Mz29fiz3zgY9JDbiHKANvHsFgQutdfu4Ua", "senderPublicKey": "CTyHhnVTxf16Z4CmGGneAK8WB5g2QyT4MB8kUn8vPPcu", "proofs": [ "5dmuLefnpiog9qm5HG6Y7Ms2AV4ZAUUEgo1MuSNmCFvXXZd9LympcQpGgizRQz6qTpAx1Y8Ax34VYUTjM9U99Swp" ], "script": "base64:AAIEAAAAAAAAAA4IAhIDCgEIEgMKAQgSAAAAAAIAAAAACXNlcGFyYXRvcgIAAAADX19fAAAAAAxrZXlQb29sc0xpc3QCAAAAClBPT0xTX0xJU1QAAAADAAAAAWkBAAAAB2FkZFBvb2wAAAABAAAAB2Fzc2V0SWQDCQEAAAACIT0AAAACBQAAAAR0aGlzCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAANQWNjZXNzIGRlbmllZAMJAAAAAAAAAgkBAAAACGNvbnRhaW5zAAAAAgUAAAAHYXNzZXRJZAUAAAAJc2VwYXJhdG9yBgkAAAIAAAABAgAAABlTZXBhcmF0b3IgZm91bmQgaW4gc3RyaW5nBAAAAAlhc3NldERhdGEJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkAA+wAAAABCQACWQAAAAEFAAAAB2Fzc2V0SWQCAAAADVVua25vd24gYXNzZXQEAAAACXBvb2xzTGlzdAkABLUAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAADGtleVBvb2xzTGlzdA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VFbnRyeQAAAAECAAAAClBPT0xTX0xJU1QJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAARU1RBS0lOR19XSElURUxJU1QJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAaVE9LRU5fQ0lSQ1VMQVRJTkdfU1VQUExJRVMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAbVE9LRU5fVE9UQUxfSVNTVUVEX1NVUFBMSUVTCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAAFlRPVEFMX0JVUk5FRF9DT05UUkFDVFMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAWVE9UQUxfSVNTVUVEX0NPTlRSQUNUUwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABAgAAABdUT1RBTF9PTkdPSU5HX0NPTlRSQUNUUwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABAgAAABdzaXplY29udHJhY3REZXNjcmlwdGlvbgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABAgAAAB5zaXpldG9CeXRlc2NvbnRyYWN0RGVzY3JpcHRpb24JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAAAEdGVzdAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnSZ6Vn", "height": 1463375, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FeD28WiBv5pHQ3TpZnavaaLochRHMASqFnQ972Ai6hKM Next: 5KYorTZg5bxCd5joVYfTj1eAz3Qr31fAT9CPxotxC4eY Diff:
OldNewDifferences
3030 }
3131
3232
33+
34+@Callable(i)
35+func init () = [DeleteEntry("ASSET_BURNED_CONTRACTS_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("ASSET_ISSUED_CONTRACTS_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("ASSET_ONGOING_CONTRACTS_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("DAPP_NAME"), DeleteEntry("DAPP_URL"), DeleteEntry("FOKOFF_IssuedSContract_CHDDwQeTnZN9cVKczmpeirLx5jTC9KQz7kGNz3Hv8aF2"), DeleteEntry("FOKOFF_Nonce"), DeleteEntry("FOKOFF_SettingsAddress"), DeleteEntry("FOKOFF_StakingAmount_CHDDwQeTnZN9cVKczmpeirLx5jTC9KQz7kGNz3Hv8aF2"), DeleteEntry("LOCKED_AMOUNT_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("LOCKED_QUANTITY_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("NONCE"), DeleteEntry("NONCE_COUNT"), DeleteEntry("POOLS_LIST"), DeleteEntry("STAKING_WHITELIST"), DeleteEntry("TOKEN_CIRCULATING_SUPPLIES"), DeleteEntry("TOKEN_TOTAL_ISSUED_SUPPLIES"), DeleteEntry("TOTAL_BURNED_CONTRACTS"), DeleteEntry("TOTAL_ISSUED_CONTRACTS"), DeleteEntry("TOTAL_ONGOING_CONTRACTS"), DeleteEntry("sizecontractDescription"), DeleteEntry("sizetoBytescontractDescription"), DeleteEntry("test")]
36+
37+
3338 @Verifier(tx)
3439 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3540
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "___"
55
66 let keyPoolsList = "POOLS_LIST"
77
88 @Callable(i)
99 func addPool (assetId) = if ((this != i.caller))
1010 then throw("Access denied")
1111 else if ((contains(assetId, separator) == true))
1212 then throw("Separator found in string")
1313 else {
1414 let assetData = valueOrErrorMessage(assetInfo(fromBase58String(assetId)), "Unknown asset")
1515 let poolsList = split(valueOrElse(getString(this, keyPoolsList), ""), separator)
1616 let newPoolsList = makeString(assetId :: poolsList, separator)
1717 [StringEntry(keyPoolsList, assetData.name)]
1818 }
1919
2020
2121
2222 @Callable(i)
2323 func removePool (assetId) = if ((this != i.caller))
2424 then throw("Access denied")
2525 else {
2626 let poolsList = split(valueOrErrorMessage(getString(this, keyPoolsList), "No pools"), separator)
2727 let poolIndex = valueOrErrorMessage(indexOf(poolsList, assetId), "No pool for this asset")
2828 let newPoolsList = makeString(removeByIndex(poolsList, poolIndex), separator)
2929 [StringEntry(keyPoolsList, newPoolsList)]
3030 }
3131
3232
33+
34+@Callable(i)
35+func init () = [DeleteEntry("ASSET_BURNED_CONTRACTS_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("ASSET_ISSUED_CONTRACTS_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("ASSET_ONGOING_CONTRACTS_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("DAPP_NAME"), DeleteEntry("DAPP_URL"), DeleteEntry("FOKOFF_IssuedSContract_CHDDwQeTnZN9cVKczmpeirLx5jTC9KQz7kGNz3Hv8aF2"), DeleteEntry("FOKOFF_Nonce"), DeleteEntry("FOKOFF_SettingsAddress"), DeleteEntry("FOKOFF_StakingAmount_CHDDwQeTnZN9cVKczmpeirLx5jTC9KQz7kGNz3Hv8aF2"), DeleteEntry("LOCKED_AMOUNT_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("LOCKED_QUANTITY_CyRPSWqSzLmynv4W4REGjqhEefZVg2ZobVbvTLi71UzN"), DeleteEntry("NONCE"), DeleteEntry("NONCE_COUNT"), DeleteEntry("POOLS_LIST"), DeleteEntry("STAKING_WHITELIST"), DeleteEntry("TOKEN_CIRCULATING_SUPPLIES"), DeleteEntry("TOKEN_TOTAL_ISSUED_SUPPLIES"), DeleteEntry("TOTAL_BURNED_CONTRACTS"), DeleteEntry("TOTAL_ISSUED_CONTRACTS"), DeleteEntry("TOTAL_ONGOING_CONTRACTS"), DeleteEntry("sizecontractDescription"), DeleteEntry("sizetoBytescontractDescription"), DeleteEntry("test")]
36+
37+
3338 @Verifier(tx)
3439 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3540

github/deemru/w8io/169f3d6 
44.42 ms