tx · CSQ5CdouS811kjkQ2TSe67nAfHFguYNCUp91VvStf7rB

3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq:  -0.01000000 Waves

2023.05.22 10:48 [2588895] smart account 3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq > SELF 0.00000000 Waves

{ "type": 13, "id": "CSQ5CdouS811kjkQ2TSe67nAfHFguYNCUp91VvStf7rB", "fee": 1000000, "feeAssetId": null, "timestamp": 1684741767378, "version": 2, "chainId": 84, "sender": "3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq", "senderPublicKey": "57SkjQUEwC1ayCqLbXLuzBqifK6B6SR6rfxtGsbAo3zW", "proofs": [ "9muZEPeQuuhhGh4MkDKEj2jEaBsMYVfoNjnLtTs7TeihvR76ZQjBuLUDYj2W79j6Ci5Z6KUahdfgLgi6v97j7x4" ], "script": "base64:BgIECAISAAEBDnVwZGF0ZUludGVybmFsAAQOc2V0dGVyQ29udHJhY3QJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNNdTVrYXNaODVWWTV4VUNwUFlvV3I2ZkJ6aDZlR1p3Y250BAJubgoAAUAJAPwHBAUOc2V0dGVyQ29udHJhY3QCBmdldE51bQUDbmlsBQNuaWwDCQABAgUBQAIDSW50BQFACQACAQkArAICCQADAQUBQAIYIGNvdWxkbid0IGJlIGNhc3QgdG8gSW50CQCUCgIJAMwIAgkBDEludGVnZXJFbnRyeQICCUNvcHlWYWx1ZQkAZAIJARFAZXh0ck5hdGl2ZSgxMDUwKQIFDnNldHRlckNvbnRyYWN0AghudW1WYWx1ZQUCbm4FA25pbAUEdW5pdAEBaQEGdXBkYXRlAAkBDnVwZGF0ZUludGVybmFsAAAFKOi1", "height": 2588895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8CD9LzoD8WKNBga824BVcjDCqZhCF6UTqgaH8YBFhz12 Next: GEAmUSPSdbA6jcRtyGUL26pQsScaZfjVTMSN6pYwQchv Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func updateInternal () = {
55 let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt")
66 let nn = {
77 let @ = invoke(setterContract, "getNum", nil, nil)
88 if ($isInstanceOf(@, "Int"))
99 then @
1010 else throw(($getType(@) + " couldn't be cast to Int"))
1111 }
1212 $Tuple2([IntegerEntry("CopyValue", (getIntegerValue(setterContract, "numValue") + nn))], unit)
1313 }
1414
1515
1616 @Callable(i)
1717 func update () = updateInternal()
1818
1919

github/deemru/w8io/169f3d6 
23.70 ms