Created
January 30, 2019 01:08
-
-
Save ben-chain/2c3818f78846289a15be1aa175f35ca5 to your computer and use it in GitHub Desktop.
PG Plasma Transfer Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
const TransferSchema = new Schema({ | |
sender: { | |
type: Address, | |
required: true | |
}, | |
recipient: { | |
type: Address, | |
required: true | |
}, | |
token: { | |
type: Number, | |
length: 4, | |
required: true | |
}, | |
start: { | |
type: Number, | |
length: 12, | |
required: true | |
}, | |
end: { | |
type: Number, | |
length: 12, | |
required: true | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment