mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Moved cpp code to src/cpp and js code to src/js.
This commit is contained in:
30
src/cpp/ripple/Contract.h
Normal file
30
src/cpp/ripple/Contract.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef __CONTRACT__
|
||||
#define __CONTRACT__
|
||||
|
||||
#include "SerializedLedger.h"
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include "ScriptData.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
|
||||
Reference in New Issue
Block a user