Files
xahaud/src/cpp/ripple/Contract.h
2013-06-14 08:45:13 -07:00

30 lines
434 B
C++

#ifndef CONTRACT_H
#define CONTRACT_H
/*
Encapsulates the SLE for a Contract
*/
class Contract
{
public:
Contract ();
uint160& getIssuer ();
uint160& getOwner ();
STAmount& getRippleEscrow ();
uint32 getEscrow ();
uint32 getBond ();
Script::Data getData (int index);
void executeCreate ();
void executeRemove ();
void executeFund ();
void executeAccept ();
};
#endif
// vim:ts=4