tx · 3VJ8ArHoc7QGDyqZ3WCjKJFoCj6fF7qg6xvcVrT9SxYw

3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw:  -0.01000000 Waves

2023.02.09 13:58 [2442002] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves

{ "type": 13, "id": "3VJ8ArHoc7QGDyqZ3WCjKJFoCj6fF7qg6xvcVrT9SxYw", "fee": 1000000, "feeAssetId": null, "timestamp": 1675940455830, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "2vc2pTWebyWc5Dq64j6fWMnPzk394MxLKz498QF1CEvgsWq2fwb4pWGK3rL5xS2THAC1ZAWWTAPVMjCjrXUhmajS" ], "script": "base64:BgIHCAISAwoBCAABAWkBB21pbnROZnQBDWlwZnNJbWFnZUhhc2gECXJlY2lwaWVudAgFAWkGY2FsbGVyBAZhc3NldDEJAMIIBQIGYWFhYWJhAgdzd3Nkc2RzAAEAAAcECGFzc2V0SWQxCQC4CAEFBmFzc2V0MQQGYXNzZXQyCQDCCAUCBmJiYmNiYgINc2RmZHNmZHNmZHNmZAABAAAHBAhhc3NldElkMgkAuAgBBQZhc3NldDIJAMwIAgUGYXNzZXQxCQDMCAIFBmFzc2V0MgkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUIYXNzZXRJZDECBV9pcGZzBQ1pcGZzSW1hZ2VIYXNoCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQhhc3NldElkMgIFX2lwZnMFDWlwZnNJbWFnZUhhc2gJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50AAEFCGFzc2V0SWQxCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudAABBQhhc3NldElkMgUDbmlsAIwV8xg=", "height": 2442002, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9vCXgQVCJt3XRxQGbt4dchuf5BckHTUMxPiygnRatLuY Next: 4jc1RHkFmqwuHXujzNABj8vs2a35X9kMfs7eTbB1bJLC Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
5-
6-let b = base58''
7-
8-@Callable(c)
9-func AcceptRequest (d,e) = {
10- let f = c.caller.bytes
11- let g = fromBase58String(d)
12- let h = c.payments[0].amount
13- if ((c.payments[0].assetId == a))
14- then [IntegerEntry((toBase58String(f) + "_transfer"), h), StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), h, a)]
15- else nil
16- }
174
185
19-
20-@Callable(c)
21-func sendRequest (d,h,e) = {
22- let f = c.caller.bytes
23- let g = fromBase58String(d)
24-[StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), h, unit)]
6+@Callable(a)
7+func mintNft (b) = {
8+ let c = a.caller
9+ let d = Issue("aaaaba", "swsdsds", 1, 0, false)
10+ let e = calculateAssetId(d)
11+ let f = Issue("bbbcbb", "sdfdsfdsfdsfd", 1, 0, false)
12+ let g = calculateAssetId(f)
13+[d, f, StringEntry((toBase58String(e) + "_ipfs"), b), StringEntry((toBase58String(g) + "_ipfs"), b), ScriptTransfer(c, 1, e), ScriptTransfer(c, 1, g)]
2514 }
2615
2716

github/deemru/w8io/169f3d6 
31.76 ms