mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 20:15:51 +00:00
36 lines
647 B
C++
36 lines
647 B
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#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
|