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.7 years ago
Creator
…qgv26xst (1414481)
// Raffle Function Raffle() Uint64 10 dim deposit_count,winner as Uint64 20 LET deposit_count = LOAD("deposit_count")+1 25 IF DEROVALUE() == 0 THEN GOTO 110 30 STORE("depositor_address" …
Length
2 086
Date
2.7 years ago
Creator
…qgv26xst (1414481)
// SendBack Function InitializePrivate() Uint64 10 IF SIGNER() == address_raw("dero1qyd2vnxncqch4jknxzmfkf4jrvck9vakklx0xcufv9apptqx8qlu6qgv26xst") THEN GOTO 30 20 RETURN 0 30 version("1.2.3") 40…
Length
1 859
Date
2.7 years ago
Creator
…qgv26xst (1414481)
// Lottery Function Lottery() Uint64 10 dim deposit_count,winner as Uint64 20 LET deposit_count = LOAD("deposit_count")+1 25 IF DEROVALUE() == 0 THEN GOTO 110 30 STORE("depositor_addres…
Length
2 254
Date
2.7 years ago
Creator
…qgv26xst (1414481)
/* 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 lot…
Length
3 881
Date
2.7 years ago
Creator
…qgv26xst (1414481)
/* 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 lot…
Length
3 881
Date
2.7 years ago
Creator
…qgv26xst (1414481)
/* 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 lot…
Length
3 881
Date
2.7 years ago
Creator
…qgv26xst (1414481)
/* 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 lot…
Length
3 880
Date
2.7 years ago
Creator
…qgv26xst (1414481)
/contracts/@lottery.bas
Length
23
Date
2.8 years ago
Creator
…qgv26xst (1414481)
// Lottery 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 LET …
Length
3 564
Date
2.8 years ago
Creator
…qgv26xst (1414481)
// 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 …
Length
2 387