HomePhabricator

[ecash-agora] Partial Agora offers: Add approximation logic

Description

[ecash-agora] Partial Agora offers: Add approximation logic

Summary:
Add AgoraPartial and AgoraPartialParams for offers of fungible tokens, and add (only) the script param approximation logic.

This is rather complex, and is explained in the comments. The corresponding Script can be seen in D16644, which will be added in later diffs.

Test Plan: npm run integration-tests

Reviewers: #bitcoin_abc, bytesofman, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D16735

Details

Provenance
tobias_ruckAuthored on Sep 7 2024, 16:01
teamcityPushed on Sep 11 2024, 13:51
Parents
rSTAGING91adf60e93c8: [ecashaddrjs] Convert to typescript
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/49599, tag: phabricator/base/49589

Event Timeline