Skip to content

Instantly share code, notes, and snippets.

View cmaliwal's full-sized avatar
🎯
Focusing

ChiragMaliwal cmaliwal

🎯
Focusing
  • Independent software developer
  • Bhilwara , Rajasthan
  • 12:22 (UTC +05:30)
  • X @chiragmaliwal3
View GitHub Profile
modules:
module DToken {
// This module is responsible for an actual dToken.
// -----------------------------------------------------------------
// Declare the dToken resource, storing an account's total balance.
resource T {
var Ajv = require('ajv');
var ajv = new Ajv({
allErrors: true
});
var schema = {
type: 'object',
properties: {
date: {