Transaction Details
SMART CONTRACT
Transaction Hash
b77b1f5eeff6ed39c8b979c2aeb1c800081fc2ae8f570ad254bedf47bfa977f0
Block Status
Smart Contract State
SCID Reserves
| SCID | Amount (Atomic Units) |
|---|---|
| 0000000000000000000000000000000000000000000000000000000000000000 | 0 |
String Variables
| Key | Value |
|---|---|
| C | 2f2a205072697661746520546f6b656e20536d61727420436f6e7472616374204578616d706c6520696e2044564d2d42415349432e20200a2020204445524f20536d61727420436f6e74726163747320546f6b656e7320707269766163792063616e20626520756e64657273746f6f64206a757374206c696b652062616e6b732068616e646c6520636173682e204f6e63652063617368206973206f75742066726f6d207468652062616e6b2c2062616e6b206973206e6f742061776172652061626f7574206974202877686f206f776e7320776861742076616c7565292c20756e74696c206974206973206465706f7369746564206261636b2e0a202020536d61727420636f6e7472616374206f6e6c79206d61696e7461696e7320737570706c7920616e64206f74686572206e6563657373617279206974656d7320746f206b65657020697420776f726b696e672e0a2020204445524f20546f6b656e732063616e206265207472616e666572656420746f206f746865722077616c6c657473206a757374206c696b65206e6174697665204445524f207769746820486f6d6f6d6f727068696320456e6372797074696f6e20616e6420776974686f757420696e766f6c76656d656e74206f662069737375696e6720536d61727420436f6e7472616374732e0a202020546f6b656e2069737375696e6720536d61727420436f6e74726163742063616e6e6f7420686f6c642f667265657a652f636f6e74726f6c20746865697220746f6b656e73206f6e63652074686579206172652069737375656420616e642073656e7420746f20616e792077616c6c65742e200a2020205468697320746f6b656e20697320507269766174652e205573652046756e6374696f6e20496e697469616c697a655072697661746528292055696e74363420746f206d616b6520616e7920536d61727420436f6e747261637420707269766174652e0a0a2a2f0a0a0a202020202f2f20497373756520746f6b656e73206166746572206465706f736974696e67204445524f2028436f6e76657274204445524f20746f20544f4b454e58290a2020202046756e6374696f6e204973737565544f4b454e5828292055696e743634200a093130202053454e445f41535345545f544f5f41444452455353285349474e455228292c204445524f56414c554528292c534349442829292020202f2f20496e6372656d656e742062616c616e6365206f6620757365722c20776974686f7574206b6e6f77696e67206f726967696e616c2062616c616e63652c207468697320697320646f6e6520686f6d6f6d6f7270686963616c6c790a093230202052455455524e20300a09456e642046756e6374696f6e0a0a202020202f2f20436f6e7665727420544f4b454e5820746f204445524f206166746572206465706f736974696e6720544f4b454e582e20536d61727420436f6e74726163742063616e2067697665204445524f2c204f6e6c79206966204445524f2062616c616e6365206578697374732e0a2020202046756e6374696f6e20436f6e76657274544f4b454e5828292055696e7436340a093130202053454e445f4445524f5f544f5f41444452455353285349474e455228292c415353455456414c55452853434944282929292020202f2f20496e6372656d656e742062616c616e6365206f6620757365722c20776974686f7574206b6e6f77696e67206f726967696e616c2062616c616e63652c207468697320697320646f6e65207573696e6720486f6d6f6d6f727068696320456e6372797074696f6e2e0a093230202052455455524e20300a09456e642046756e6374696f6e0a090a202020202f2f20546869732066756e6374696f6e206973207573656420746f20696e697469616c697a6520706172616d657465727320647572696e6720696e7374616c6c2074696d650a202020202f2f20496e697469616c697a655072697661746520696e697469616c697a6573206120707269766174652053430a0946756e6374696f6e20496e697469616c697a655072697661746528292055696e7436340a093130202053544f524528226f776e6572222c205349474e45522829292020202f2f2053746f726520696e20444220205b226f776e6572225d203d20616464726573730a2020203330202053454e445f41535345545f544f5f41444452455353285349474e455228292c20333230303030302c20534349442829292020202f2f20476976657320696e697469616c20656e637279707465642062616c616e6365206f6620313630303030302e0a093430202052455455524e2030200a09456e642046756e6374696f6e200a0a090a092f2f20546869732066756e6374696f6e206973207573656420746f206368616e6765206f776e6572200a092f2f206f776e657220697320616e20737472696e6720666f726d206f662061646472657373200a0946756e6374696f6e205472616e736665724f776e657273686970286e65776f776e657220537472696e67292055696e743634200a09313020204946204c4f414428226f776e65722229203d3d205349474e45522829205448454e20474f544f203330200a093230202052455455524e20310a093330202053544f52452822746d706f776e6572222c414444524553535f524157286e65776f776e657229290a093430202052455455524e20300a09456e642046756e6374696f6e0a090a092f2f20556e74696c20746865206e6577206f776e657220636c61696d73206f776e6572736869702c206578697374696e67206f776e65722072656d61696e73206f776e65720a202020202020202046756e6374696f6e20436c61696d4f776e65727368697028292055696e743634200a09313020204946204c4f41442822746d706f776e65722229203d3d205349474e45522829205448454e20474f544f203330200a093230202052455455524e20310a093330202053544f524528226f776e6572222c5349474e4552282929202f2f206f776e65727368697020636c61696d207375636365737366756c0a093430202052455455524e20300a09456e642046756e6374696f6e0a090a092f2f206966207369676e6572206973206f776e65722c20776974686472617720616e79207265717565737465642066756e64730a092f2f20696620657665727468696e67206973206f6b61792c20746865792077696c6c2062652073686f77696e6720696e207369676e6572732077616c6c65740a20202046756e6374696f6e2057697468647261772820616d6f756e742055696e743634292055696e743634200a09313020204946204c4f414428226f776e65722229203d3d205349474e45522829205448454e20474f544f203330200a093230202052455455524e20310a093330202053454e445f4445524f5f544f5f41444452455353285349474e455228292c616d6f756e74290a093430202052455455524e20300a09456e642046756e6374696f6e0a090a092f2f206966207369676e6572206973206f776e65722c2070726f766964652068696d2072696768747320746f2075706461746520636f646520616e7974696d650a20202020202020202f2f206d616b6520737572652075706461746520697320616c7761797320617661696c61626c6520746f2053430a202020202020202046756e6374696f6e20557064617465436f64652820636f646520537472696e67292055696e743634200a09313020204946204c4f414428226f776e65722229203d3d205349474e45522829205448454e20474f544f203330200a093230202052455455524e20310a09333020205550444154455f53435f434f444528636f6465290a093430202052455455524e20300a09456e642046756e6374696f6e0a090a090a0a0a0a |
| owner | 0e6ed1113bb6b0404e8eaf2c50c4d46433f69c12723c63d8e0241387c7a05e5201 |
Transaction Information
Root Hash
Built Height
1831
Block
Timestamp
1645962935001
Timestamp (UTC)
2022-02-27 11:55:35
Block Age
1581d 16h ago
Fee
0.04417
TX Size
4.467 kB
Version
1
Confirmations
7250466
Signature Type
DERO_HOMOMORPHIC
DERO Asset
2
Ring Size
0.04417
Fees
0.00000
Deposited
Sender
dero1qy8xa5g38wmtqszw36hjc5xy63jr8a5uzfercc7cuqjp8p785p09yqgw4w5wn
Ring Members (2)
Smart Contract Details
SC Balance
0.00000 DERO
Smart Contract Code
Smart Contract Arguments
| Name | Type | Value |
|---|---|---|
| SC_ACTION | uint64 | 1 |
| SC_CODE | string | "/* Private Token Smart Contract Example in DVM-BASIC. DERO Smart Contracts Tokens privacy can be understood just like banks handle cash. Once cash is out from the bank, bank is not aware about it (who owns what value), until it is deposited back. Smart contract only maintains supply and other necessary items to keep it working. DERO Tokens can be tranfered to other wallets just like native DERO with Homomorphic Encryption and without involvement of issuing Smart Contracts. Token issuing Smart Contract cannot hold/freeze/control their tokens once they are issued and sent to any wallet. This token is Private. Use Function InitializePrivate() Uint64 to make any Smart Contract private. */ // Issue tokens after depositing DERO (Convert DERO to TOKENX) Function IssueTOKENX() Uint64 10 SEND_ASSET_TO_ADDRESS(SIGNER(), DEROVALUE(),SCID()) // Increment balance of user, without knowing original balance, this is done homomorphically 20 RETURN 0 End Function // Convert TOKENX to DERO after depositing TOKENX. Smart Contract can give DERO, Only if DERO balance exists. Function ConvertTOKENX() Uint64 10 SEND_DERO_TO_ADDRESS(SIGNER(),ASSETVALUE(SCID())) // Increment balance of user, without knowing original balance, this is done using Homomorphic Encryption. 20 RETURN 0 End Function // This function is used to initialize parameters during install time // InitializePrivate initializes a private SC Function InitializePrivate() Uint64 10 STORE("owner", SIGNER()) // Store in DB ["owner"] = address 30 SEND_ASSET_TO_ADDRESS(SIGNER(), 3200000, SCID()) // Gives initial encrypted balance of 1600000. 40 RETURN 0 End Function // This function is used to change owner // owner is an string form of address Function TransferOwnership(newowner String) Uint64 10 IF LOAD("owner") == SIGNER() THEN GOTO 30 20 RETURN 1 30 STORE("tmpowner",ADDRESS_RAW(newowner)) 40 RETURN 0 End Function // Until the new owner claims ownership, existing owner remains owner Function ClaimOwnership() Uint64 10 IF LOAD("tmpowner") == SIGNER() THEN GOTO 30 20 RETURN 1 30 STORE("owner",SIGNER()) // ownership claim successful 40 RETURN 0 End Function // if signer is owner, withdraw any requested funds // if everthing is okay, they will be showing in signers wallet Function Withdraw( amount Uint64) Uint64 10 IF LOAD("owner") == SIGNER() THEN GOTO 30 20 RETURN 1 30 SEND_DERO_TO_ADDRESS(SIGNER(),amount) 40 RETURN 0 End Function // if signer is owner, provide him rights to update code anytime // make sure update is always available to SC Function UpdateCode( code String) Uint64 10 IF LOAD("owner") == SIGNER() THEN GOTO 30 20 RETURN 1 30 UPDATE_SC_CODE(code) 40 RETURN 0 End Function " |
Prove Transaction
Prove that you sent DERO in this transaction. Obtain proof using the dero-wallet-cli command or from your wallet statement.
Note: The proof is sent to the server for verification calculations.
Payload proofs are user-provided display proofs; for the strongest verification, confirm with the receiving wallet.