From 6b0c5bbeef4f659eb51d299febf039889a65277f Mon Sep 17 00:00:00 2001 From: Olivier van den Biggelaar Date: Fri, 5 Oct 2018 13:25:49 +0100 Subject: [PATCH] Adding Argent Specs --- DEMOS/Demo-meta-tx-format.md | 1 + DEMOS/argent.im.md | 41 ++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 DEMOS/argent.im.md diff --git a/DEMOS/Demo-meta-tx-format.md b/DEMOS/Demo-meta-tx-format.md index 8ae5eab..0155fcb 100644 --- a/DEMOS/Demo-meta-tx-format.md +++ b/DEMOS/Demo-meta-tx-format.md @@ -19,6 +19,7 @@ For now, join us on telegram for the discussion -> Found in the agenda above ^^^ [Gnosis Safe](safe.gnosis.io.md) +[Argent Wallet](https://github.com/Meta-tx/Harbour-MVP/blob/master/DEMOS/argent.im.md) ## Important problems to solve diff --git a/DEMOS/argent.im.md b/DEMOS/argent.im.md new file mode 100644 index 0000000..75ae87a --- /dev/null +++ b/DEMOS/argent.im.md @@ -0,0 +1,41 @@ +# Argent + +**Project Name**: + +- Argent Wallet + +**Links**: + +- https://www.argent.im +- https://medium.com/argenthq/decentralised-and-seedless-wallet-recovery-5fcf7dddd78d + +### Meta-tx format +``` +{ + address module, // the address of the wallet module that the relayer needs to call + address wallet, // the address of the wallet on behalf of which the call is made + bytes data, // the data of the call + uint256 nonce, // a nonce to prevent replayability of the transaction + bytes signature // the concatenated signatures of the agents authorizing the transaction + uint256 gasPrice, // the gasPrice to use to refund the relayer (0 if no refund required) +} +``` + +### Contract interface + Execution function +``` +contract RelayerModule { + function execute( + address _wallet, + bytes _data, + uint256 _nonce, + bytes _signatures, + uint256 _gasPrice + ) + external + returns (bool success); +} + +contract SomeWalletModule is RelayerModule { + +} +```