|
virtual EXPORT | ~Token () |
|
EXPORT void | Release_Token () |
|
virtual void | Release () |
|
EXPORT void | ReleasePrototokens () |
|
virtual void | UpdateContents () |
|
void | SetSavePrivateKeys () |
|
EXPORT bool | ReassignOwnership (OTNym_or_SymmetricKey &oldOwner, OTNym_or_SymmetricKey &newOwner) |
|
const OTASCIIArmor & | GetSpendable () const |
|
void | SetSpendable (const OTASCIIArmor &theArmor) |
|
EXPORT bool | GetSpendableString (OTNym_or_SymmetricKey theOwner, OTString &theString) const |
|
Token::tokenState | GetState () const |
|
int32_t | GetSeries () const |
|
void | SetSeriesAndExpiration (int32_t nSeries, time64_t VALID_FROM, time64_t VALID_TO) |
|
virtual EXPORT bool | ProcessToken (const OTPseudonym &theNym, Mint &theMint, Token &theRequest)=0 |
|
EXPORT bool | VerifyToken (OTPseudonym &theNotary, Mint &theMint) |
|
EXPORT bool | IsTokenAlreadySpent (OTString &theCleartextToken) |
|
EXPORT bool | RecordTokenAsSpent (OTString &theCleartextToken) |
|
EXPORT void | SetSignature (const OTASCIIArmor &theSignature, int32_t nTokenIndex) |
|
EXPORT bool | GetSignature (OTASCIIArmor &theSignature) const |
|
int64_t | GetDenomination () const |
|
void | SetDenomination (int64_t lVal) |
|
EXPORT bool | GetPrototoken (OTASCIIArmor &ascPrototoken, int32_t nTokenIndex) |
|
EXPORT bool | GetPrivatePrototoken (OTASCIIArmor &ascPrototoken, int32_t nTokenIndex) |
|
virtual bool | SaveContractWallet (std::ofstream &ofs) const |
|
EXPORT | OTInstrument () |
|
EXPORT | OTInstrument (const OTIdentifier &SERVER_ID, const OTIdentifier &ASSET_ID) |
|
virtual EXPORT | ~OTInstrument () |
|
void | Release_Instrument () |
|
EXPORT bool | VerifyCurrentDate () |
|
EXPORT bool | IsExpired () |
|
time64_t | GetValidFrom () const |
|
time64_t | GetValidTo () const |
|
const OTIdentifier & | GetAssetID () const |
|
const OTIdentifier & | GetServerID () const |
|
void | InitInstrument () |
|
virtual EXPORT void | SetDisplayLabel (const std::string *pstrLabel=nullptr) |
|
int32_t | GetPartyCount () const |
|
int32_t | GetBylawCount () const |
|
virtual EXPORT bool | AddParty (OTParty &theParty) |
|
virtual EXPORT bool | AddBylaw (OTBylaw &theBylaw) |
|
virtual EXPORT bool | ConfirmParty (OTParty &theParty) |
|
EXPORT OTParty * | GetParty (std::string str_party_name) const |
|
EXPORT OTBylaw * | GetBylaw (std::string str_bylaw_name) const |
|
EXPORT OTClause * | GetClause (std::string str_clause_name) const |
|
EXPORT OTParty * | GetPartyByIndex (int32_t nIndex) const |
|
EXPORT OTBylaw * | GetBylawByIndex (int32_t nIndex) const |
|
EXPORT OTParty * | FindPartyBasedOnNymAsAgent (OTPseudonym &theNym, OTAgent **ppAgent=nullptr) const |
|
EXPORT OTParty * | FindPartyBasedOnNymAsAuthAgent (OTPseudonym &theNym, OTAgent **ppAgent=nullptr) const |
|
OTParty * | FindPartyBasedOnAccount (OTAccount &theAccount, OTPartyAccount **ppPartyAccount=nullptr) const |
|
OTParty * | FindPartyBasedOnNymIDAsAgent (const OTIdentifier &theNymID, OTAgent **ppAgent=nullptr) const |
|
OTParty * | FindPartyBasedOnNymIDAsAuthAgent (const OTIdentifier &theNymID, OTAgent **ppAgent=nullptr) const |
|
OTParty * | FindPartyBasedOnAccountID (const OTIdentifier &theAcctID, OTPartyAccount **ppPartyAccount=nullptr) const |
|
OTAgent * | GetAgent (std::string str_agent_name) const |
|
OTPartyAccount * | GetPartyAccount (std::string str_acct_name) const |
|
OTPartyAccount * | GetPartyAccountByID (const OTIdentifier &theAcctID) const |
|
EXPORT int32_t | GetCountTransNumsNeededForAgent (std::string str_agent_name) const |
|
virtual EXPORT bool | VerifyNymAsAgent (OTPseudonym &theNym, OTPseudonym &theSignerNym, mapOfNyms *pmap_ALREADY_LOADED=nullptr) const |
|
virtual EXPORT bool | VerifyNymAsAgentForAccount (OTPseudonym &theNym, OTAccount &theAccount) const |
|
bool | VerifyPartyAuthorization (OTParty &theParty, OTPseudonym &theSignerNym, const OTString &strServerID, mapOfNyms *pmap_ALREADY_LOADED=nullptr, mapOfNyms *pmap_NEWLY_LOADED=nullptr, bool bBurnTransNo=false) |
|
bool | VerifyPartyAcctAuthorization (OTPartyAccount &thePartyAcct, OTPseudonym &theSignerNym, const OTString &strServerID, bool bBurnTransNo=false) |
|
EXPORT bool | VerifyThisAgainstAllPartiesSignedCopies () |
|
EXPORT bool | AllPartiesHaveSupposedlyConfirmed () |
|
void | RetrieveNymPointers (mapOfNyms &map_Nyms_Already_Loaded) |
|
void | ClearTemporaryPointers () |
|
bool | GetHooks (std::string str_HookName, mapOfClauses &theResults) |
|
OTClause * | GetCallback (std::string str_CallbackName) |
|
OTVariable * | GetVariable (std::string str_VarName) |
|
bool | IsDirty () const |
|
bool | IsDirtyImportant () const |
|
void | SetAsClean () |
|
EXPORT bool | SendNoticeToAllParties (bool bSuccessMsg, OTPseudonym &theServerNym, const OTIdentifier &theServerID, const int64_t &lNewTransactionNumber, const OTString &strReference, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr, OTPseudonym *pActualNym=nullptr) const |
|
EXPORT bool | CanExecuteClause (std::string str_party_name, std::string str_clause_name) |
|
bool | ExecuteCallback (OTClause &theCallbackClause, mapOfVariables &theParameters, OTVariable &varReturnVal) |
|
virtual EXPORT void | RegisterOTNativeCallsWithScript (OTScript &theScript) |
|
virtual EXPORT bool | Compare (OTScriptable &rhs) const |
|
| OTScriptable () |
|
virtual | ~OTScriptable () |
|
void | UpdateContentsToString (OTString &strAppend, bool bCalculatingID) const |
|
virtual EXPORT void | CalculateContractID (OTIdentifier &newID) const |
|
void | Release_Scriptable () |
|
const char * | GetHashType () const |
|
void | SetIdentifier (const OTIdentifier &theID) |
|
EXPORT | OTContract () |
|
EXPORT | OTContract (const OTString &name, const OTString &foldername, const OTString &filename, const OTString &strID) |
|
EXPORT | OTContract (const OTString &strID) |
|
EXPORT | OTContract (const OTIdentifier &theID) |
|
void | Initialize () |
|
virtual EXPORT | ~OTContract () |
|
EXPORT void | Release_Contract () |
|
EXPORT void | ReleaseSignatures () |
|
virtual EXPORT bool | CreateContract (const OTString &strContract, const OTPseudonym &theSigner) |
|
EXPORT bool | InsertNym (const OTString &strKeyName, const OTString &strKeyValue) |
|
EXPORT void | GetName (OTString &strName) const |
|
EXPORT void | SetName (const OTString &strName) |
|
virtual EXPORT bool | VerifyContract () |
|
virtual EXPORT void | GetIdentifier (OTIdentifier &theIdentifier) const |
|
virtual EXPORT void | GetIdentifier (OTString &theIdentifier) const |
|
EXPORT void | GetFilename (OTString &strFilename) const |
|
EXPORT void | GetFoldername (OTString &strFoldername) const |
|
virtual EXPORT bool | LoadContract () |
|
EXPORT bool | LoadContract (const char *szFoldername, const char *szFilename) |
|
EXPORT bool | LoadContractFromString (const OTString &theStr) |
|
bool | LoadContractRawFile () |
|
EXPORT bool | ParseRawFile () |
|
EXPORT bool | SaveToContractFolder () |
|
EXPORT bool | SaveContractRaw (OTString &strOutput) const |
|
EXPORT bool | RewriteContract (OTString &strOutput) const |
|
EXPORT bool | SaveContract () |
|
EXPORT bool | SaveContract (const char *szFoldername, const char *szFilename) |
|
virtual EXPORT void | CreateContents () |
|
EXPORT void | CreateInnerContents () |
|
virtual EXPORT bool | SaveContents (std::ofstream &ofs) const |
|
virtual EXPORT bool | SaveContractWallet (OTString &strContents) const |
|
virtual EXPORT bool | DisplayStatistics (OTString &strContents) const |
|
virtual EXPORT bool | SaveContents (OTString &strContents) const |
|
virtual EXPORT bool | SignContract (const OTPseudonym &theNym, const OTPasswordData *pPWData=nullptr) |
|
EXPORT bool | SignContractAuthent (const OTPseudonym &theNym, const OTPasswordData *pPWData=nullptr) |
|
EXPORT bool | SignWithKey (const OTAsymmetricKey &theKey, const OTPasswordData *pPWData=nullptr) |
|
EXPORT bool | SignContract (const OTPseudonym &theNym, OTSignature &theSignature, const OTPasswordData *pPWData=nullptr) |
|
EXPORT bool | SignContractAuthent (const OTPseudonym &theNym, OTSignature &theSignature, const OTPasswordData *pPWData=nullptr) |
|
EXPORT bool | SignContract (const OTAsymmetricKey &theKey, OTSignature &theSignature, const OTString &strHashType, const OTPasswordData *pPWData=nullptr) |
|
EXPORT bool | SignContract (const char *szFoldername, const char *szFilename, OTSignature &theSignature, const OTPasswordData *pPWData=nullptr) |
|
virtual EXPORT bool | VerifyContractID () const |
|
virtual EXPORT bool | VerifySignature (const OTPseudonym &theNym, const OTPasswordData *pPWData=nullptr) const |
|
virtual EXPORT bool | VerifySigAuthent (const OTPseudonym &theNym, const OTPasswordData *pPWData=nullptr) const |
|
EXPORT bool | VerifyWithKey (const OTAsymmetricKey &theKey, const OTPasswordData *pPWData=nullptr) const |
|
EXPORT bool | VerifySignature (const OTPseudonym &theNym, const OTSignature &theSignature, const OTPasswordData *pPWData=nullptr) const |
|
EXPORT bool | VerifySigAuthent (const OTPseudonym &theNym, const OTSignature &theSignature, const OTPasswordData *pPWData=nullptr) const |
|
EXPORT bool | VerifySignature (const OTAsymmetricKey &theKey, const OTSignature &theSignature, const OTString &strHashType, const OTPasswordData *pPWData=nullptr) const |
|
EXPORT bool | VerifySignature (const char *szFoldername, const char *szFilename, const OTSignature &theSignature, const OTPasswordData *pPWData=nullptr) const |
|
EXPORT const OTAsymmetricKey * | GetContractPublicKey () const |
|
EXPORT const OTPseudonym * | GetContractPublicNym () const |
|
|
static EXPORT int32_t | GetMinimumPrototokenCount () |
|
static EXPORT Token * | TokenFactory (OTString strInput) |
|
static EXPORT Token * | TokenFactory (OTString strInput, const Purse &thePurse) |
|
static EXPORT Token * | TokenFactory (OTString strInput, const OTIdentifier &SERVER_ID, const OTIdentifier &ASSET_ID) |
|
static EXPORT Token * | LowLevelInstantiate (const Purse &thePurse) |
|
static EXPORT Token * | LowLevelInstantiate (const OTString &strFirstLine) |
|
static EXPORT Token * | LowLevelInstantiate (const OTString &strFirstLine, const Purse &thePurse) |
|
static EXPORT Token * | LowLevelInstantiate (const OTString &strFirstLine, const OTIdentifier &SERVER_ID, const OTIdentifier &ASSET_ID) |
|
static EXPORT Token * | InstantiateAndGenerateTokenRequest (const Purse &thePurse, const OTPseudonym &theNym, Mint &theMint, int64_t lDenomination, int32_t nTokenCount=Token::GetMinimumPrototokenCount()) |
|
static EXPORT OTScriptable * | InstantiateScriptable (const OTString &strInput) |
|
static bool | ValidateName (std::string str_name) |
|
static std::string | GetTime () |
|
static EXPORT bool | DearmorAndTrim (const OTString &strInput, OTString &strOutput, OTString &strFirstLine) |
|
static bool | AddBookendsAroundContent (OTString &strOutput, const OTString &strContents, const OTString &strContractType, const OTString &strHashType, const listOfSignatures &listSignatures) |
|
static EXPORT bool | LoadEncodedTextField (irr::io::IrrXMLReader *&xml, OTASCIIArmor &ascOutput) |
|
static EXPORT bool | LoadEncodedTextField (irr::io::IrrXMLReader *&xml, OTString &strOutput) |
|
static bool | LoadEncodedTextFieldByName (irr::io::IrrXMLReader *&xml, OTASCIIArmor &ascOutput, const char *&szName, OTString::Map *pmapExtraVars=nullptr) |
|
static bool | LoadEncodedTextFieldByName (irr::io::IrrXMLReader *&xml, OTString &strOutput, const char *&szName, OTString::Map *pmapExtraVars=nullptr) |
|
static bool | SkipToElement (irr::io::IrrXMLReader *&xml) |
|
static bool | SkipToTextField (irr::io::IrrXMLReader *&xml) |
|
static bool | SkipAfterLoadingField (irr::io::IrrXMLReader *&xml) |
|
static EXPORT bool | SignFlatText (OTString &strFlatText, const OTString &strContractType, const OTPseudonym &theSigner, OTString &strOutput) |
|
Definition at line 196 of file Token.hpp.