Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest improvements #1

Merged
merged 15 commits into from
May 10, 2024
Merged

Suggest improvements #1

merged 15 commits into from
May 10, 2024

Commits on May 5, 2024

  1. Initial draft of structure

    Imported sled database interface from JetRPC
    saefstroem committed May 5, 2024
    Configuration menu
    Copy the full SHA
    a180ae7 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. First untested draft

    - Builtin erc20 abi used Ethereum Binance Pegged Contract.
    - Wrapper struct for erc20 token
    - get_balance for erc20 token
    - refactored sled db interface
    - set gateway callback function to be async
    - drafted poller function (untested)
    - invoice struct
    
    todo: test the poller by using this as external library and also draft test cases to test the poller to the extent possible without involving private keys into the repo
    saefstroem committed May 6, 2024
    Configuration menu
    Copy the full SHA
    b9e1c47 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Changed project structure, docs, mods

    - changed project structure to prevent internal interfaces from being exported to the public API.
    - added custom expiration for invoices
    - added descriptive names for payment gateways
    saefstroem committed May 7, 2024
    Configuration menu
    Copy the full SHA
    a104c0a View commit details
    Browse the repository at this point in the history
  2. Clippy suggestions

    Refactored according to suggestions by clippy.
    saefstroem committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1fa6ea1 View commit details
    Browse the repository at this point in the history
  3. Added initial readme

    saefstroem committed May 7, 2024
    Configuration menu
    Copy the full SHA
    01a0616 View commit details
    Browse the repository at this point in the history
  4. Added description

    Added description of how the library functions
    saefstroem committed May 7, 2024
    Configuration menu
    Copy the full SHA
    4ad607b View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Ported to alloy, deprecate rust-web3, treasury transfer

    - Deprecated rust-web3 in favor of alloy-rs due to rust-web3 being deprecated in the future
    - Replaced eth abi with IERC20 abi.
    - Transfer paid invoice funds to treasury when paid
    
    TODO: in the near future token transfers also need to be included so that it is possible to configure payments via tokens.
    saefstroem committed May 8, 2024
    Configuration menu
    Copy the full SHA
    af0fcdf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90ef51c View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Create rust.yml

    Add basic rust pipeline
    saefstroem authored May 9, 2024
    Configuration menu
    Copy the full SHA
    6ed7e83 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    b798e09 View commit details
    Browse the repository at this point in the history
  2. Fix suggestions

    - use RUST_LOG
    - simplify functions
    - convert sled errors to custom db error
    - deprecate audit module
    - reduce cloning and replace with ref usage
    - add zeroize type for wallet bytes
    saefstroem committed May 10, 2024
    Configuration menu
    Copy the full SHA
    e889da7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0db85a9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2 from biryukovmaxim/make-callback-signature-mute…

    …xless
    
    feat: make callback structure mutexless
    saefstroem authored May 10, 2024
    Configuration menu
    Copy the full SHA
    f784e61 View commit details
    Browse the repository at this point in the history
  5. Shrink get_last_from_tree impl

    Co-Authored-By: Maxim <[email protected]>
    saefstroem and biryukovmaxim committed May 10, 2024
    Configuration menu
    Copy the full SHA
    57bcb64 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    255ef92 View commit details
    Browse the repository at this point in the history