tx · Ft6JYFgnYHeq2p5xYUv36jUt7QCLVycrsmfw1CByV1Lb
3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves
2022.11.16 16:10 [2319713] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{
"type": 13,
"id": "Ft6JYFgnYHeq2p5xYUv36jUt7QCLVycrsmfw1CByV1Lb",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1668603917985,
"version": 2,
"chainId": 84,
"sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo",
"senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V",
"proofs": [
"58zFfi1Vq2Exdrav74vyWmdymEHBiovJp7bMtMKoGX9uULW58bSnSEUMJGgz5qkdXnmEUkyryZF2mDkQDqi9qmyF"
],
"script": "base64:BgIHCAISAwoBAQABAWkBBmJ1eW5mdAEOYW1vdW50Rm9yT3duZXIEDG93bmVyQWRkcmVzcwgFAWkGY2FsbGVyBAVBbGljZQkBB0FkZHJlc3MBARoBVMejzIWEFNigJ38UQ6RDtQYV0QXcRfhnIAkAzAgCCQEMSW50ZWdlckVudHJ5AgIOYW1vdW50Rm9yT3duZXIFDmFtb3VudEZvck93bmVyCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFBUFsaWNlBQ5hbW91bnRGb3JPd25lcgUEdW5pdAUDbmlsAFCSt0c=",
"height": 2319713,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GBHk4J5vx7ssRWeq413B7qWtU9roSorWQadmsVRM1jhM
Next: 4zRFrq8ERgArhCBtYHBXDKBd9FiK7McUdiLQ4USZ9wJc
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func buynft (assetId,nftid,amountForOwner) = { |
---|
| 7 | + | func buynft (amountForOwner) = { |
---|
8 | 8 | | let ownerAddress = i.caller |
---|
9 | 9 | | let Alice = Address(base58'3N87gU3S3GtPPo5S7dzRehArERGGJh1jwFD') |
---|
10 | | - | [IntegerEntry("amountForOwner", amountForOwner), StringEntry("assetid", assetId), StringEntry("nftid", nftid), ScriptTransfer(Alice, amountForOwner, unit)] |
---|
| 10 | + | [IntegerEntry("amountForOwner", amountForOwner), ScriptTransfer(Alice, amountForOwner, unit)] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func buynft (assetId,nftid,amountForOwner) = { |
---|
| 7 | + | func buynft (amountForOwner) = { |
---|
8 | 8 | | let ownerAddress = i.caller |
---|
9 | 9 | | let Alice = Address(base58'3N87gU3S3GtPPo5S7dzRehArERGGJh1jwFD') |
---|
10 | | - | [IntegerEntry("amountForOwner", amountForOwner), StringEntry("assetid", assetId), StringEntry("nftid", nftid), ScriptTransfer(Alice, amountForOwner, unit)] |
---|
| 10 | + | [IntegerEntry("amountForOwner", amountForOwner), ScriptTransfer(Alice, amountForOwner, unit)] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|