Smart Contracts

Help
  • You can enter multiple Creator IDs separated by commas (e.g., 1,2,3).
  • The Code filter requires a minimum of 3 characters.
Reset Filter
Date
2.6 years ago
Creator
Slixe (1442429)
/* Lotter Smart Contract in DVM-BASIC This lottery smart contract will give lottery wins every xth try. */ Function Lottery(value Uint64) Uint64 10 dim deposit_count,winner as Uint64 20 L…
Length
3 249
Date
2.6 years ago
Creator
Slixe (1442429)
Function Initialize() Uint64 01 DIM txid, test owner as String // 02 LET txid = TXID() 03 LET owner = SIGNER() 20 STORE("owner", owner) // Owner excutors the transfers unless custom…
Length
10 115
Date
2.6 years ago
Creator
Slixe (1442429)
/* DEROMultisig Multisig concept implementation on DVM-BASIC by @plrspro Structure: There are three main logical units in this contract wallet, transaction and signer 1. wallet internal ac…
Length
13 561
Date
2.6 years ago
Creator
Slixe (1442429)
/* DEROMultisig Multisig concept implementation on DVM-BASIC by @plrspro Structure: There are three main logical units in this contract wallet, transaction and signer 1. wallet internal ac…
Length
13 563
Date
2.6 years ago
Creator
Slixe (1442429)
Function InitializePrivate() Uint64 10 STORE("owner", SIGNER()) 20 STORE("balance", 0) 30 STORE("depositor", "") 40 STORE("beneficiary", "") 50 STORE("agent", "") 60 STORE("agentFee", 100) // Fe…
Length
3 608
Date
2.6 years ago
Creator
Slixe (1442429)
Function Initialize() Uint64 01 DIM txid, test owner as String // 02 LET txid = TXID() 03 LET owner = SIGNER() 20 STORE("owner", owner) // Owner excutors the transfers unless custom…
Length
10 115
Date
2.6 years ago
Creator
Slixe (1442429)
Function InitializePrivate() Uint64 01 DIM txid, test owner as String // 02 LET txid = TXID() 03 LET owner = SIGNER() 20 STORE("owner", owner) // Owner excutors the transfers unless…
Length
10 117
Date
2.6 years ago
Creator
Slixe (1442429)
Function InitializePrivate() Uint64 01 DIM txid, test owner as String 02 LET txid = TXID() 03 LET owner = SIGNER() 20 STORE(txid, owner) // Owner excutors the transfers unless custo…
Length
10 458
Date
2.6 years ago
Creator
Slixe (1442429)
/* Private Intailized Function. Assign values to the blockchain to the stored privately. */ Function InitializePrivate(c Uint64, m Uint64, c Uint64, a Uint64) Uint64 10 STORE("owner", SIGNER()) 2…
Length
878
Date
2.6 years ago
Creator
Slixe (1442429)
/* Lottery Smart Contract Example in DVM-BASIC. This lottery smart contract will give lottery wins on every second try in following default contract. Make depost transaction to this SCID to play lo…
Length
4 005