Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dapphub/ds-value
Set and get a value
https://github.com/dapphub/ds-value
dappsys ethereum oracle solidity
Last synced: about 2 months ago
JSON representation
Set and get a value
- Host: GitHub
- URL: https://github.com/dapphub/ds-value
- Owner: dapphub
- License: gpl-3.0
- Created: 2017-04-02T17:27:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T11:23:07.000Z (about 3 years ago)
- Last Synced: 2023-08-12T22:05:10.693Z (over 1 year ago)
- Topics: dappsys, ethereum, oracle, solidity
- Language: Solidity
- Homepage: https://dapp.tools/dappsys/ds-value.html
- Size: 47.9 KB
- Stars: 12
- Watchers: 11
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DSValue
_Set and get a value_
Authorized users can set and unset a value. Anyone can read the value.### Actions
#### `peek`
return the stored value along with boolean `true` if the value is set and false
if not#### `read`
return either the stored value or an exception if not set#### `poke`
set the value (requires auth)#### `void`
unset the value (requires auth)