Add libray_api (#5304)

Simple move-based payment api
This commit is contained in:
sakridge
2019-07-27 12:11:51 -07:00
committed by GitHub
parent b8835312bb
commit c209718a6f
9 changed files with 430 additions and 7 deletions

View File

@ -61,11 +61,11 @@ pub const GENESIS_INDEX: usize = 1;
#[derive(Default, Debug, Serialize, Deserialize)]
pub struct InvokeInfo {
/// Sender of the "transaction", the "sender" who is calling this program
sender_address: AccountAddress,
pub sender_address: AccountAddress,
/// Name of the function to call
function_name: String,
pub function_name: String,
/// Arguments to pass to the program being invoked
args: Vec<TransactionArgument>,
pub args: Vec<TransactionArgument>,
}
pub struct MoveProcessor {}