Modifier and Type | Class and Description |
---|---|
static class |
CommercialPaper.Companion |
static class |
CommercialPaper.State |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CP_PROGRAM_ID |
static CommercialPaper.Companion |
Companion |
Constructor and Description |
---|
CommercialPaper() |
Modifier and Type | Method and Description |
---|---|
void |
verify(LedgerTransaction tx)
Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense.
Must throw an exception if there's a problem that should prevent state transition. Takes a single object
rather than an argument so that additional data can be added without breaking binary compatibility with
existing contract code.
|
public static java.lang.String CP_PROGRAM_ID
public static CommercialPaper.Companion Companion
public void verify(LedgerTransaction tx)
Takes an object that represents a state transition, and ensures the inputs/outputs/commands make sense. Must throw an exception if there's a problem that should prevent state transition. Takes a single object rather than an argument so that additional data can be added without breaking binary compatibility with existing contract code.