20#ifndef RIPPLE_TEST_JTX_ATTESTER_H_INCLUDED
21#define RIPPLE_TEST_JTX_ATTESTER_H_INCLUDED
23#include <xrpl/basics/Buffer.h>
24#include <xrpl/protocol/AccountID.h>
43 STXChainBridge
const&
bridge,
45 STAmount
const& sendingAmount,
47 bool wasLockingChainSend,
55 STXChainBridge
const&
bridge,
57 STAmount
const& sendingAmount,
58 STAmount
const& rewardAmount,
60 bool wasLockingChainSend,
Json::Value bridge(Account const &lockingChainDoor, Issue const &lockingChainIssue, Account const &issuingChainDoor, Issue const &issuingChainIssue)
Buffer sign_claim_attestation(PublicKey const &pk, SecretKey const &sk, STXChainBridge const &bridge, AccountID const &sendingAccount, STAmount const &sendingAmount, AccountID const &rewardAccount, bool wasLockingChainSend, std::uint64_t claimID, std::optional< AccountID > const &dst)
Buffer sign_create_account_attestation(PublicKey const &pk, SecretKey const &sk, STXChainBridge const &bridge, AccountID const &sendingAccount, STAmount const &sendingAmount, STAmount const &rewardAmount, AccountID const &rewardAccount, bool wasLockingChainSend, std::uint64_t createCount, AccountID const &dst)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.