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

fix: no op handlers #58

Merged
merged 27 commits into from
Jul 26, 2023
Merged

fix: no op handlers #58

merged 27 commits into from
Jul 26, 2023

Commits on Jun 20, 2023

  1. Configuration menu
    Copy the full SHA
    40ff18b View commit details
    Browse the repository at this point in the history
  2. update dependencies

    jgimeno committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    837c33b View commit details
    Browse the repository at this point in the history
  3. some refactor

    jgimeno committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    2672d63 View commit details
    Browse the repository at this point in the history
  4. some refactor for block time

    jgimeno committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    8f325db View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. dont need to clone

    jgimeno committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    4fb2052 View commit details
    Browse the repository at this point in the history
  2. add new vesting option

    jgimeno committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    08ee933 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac656e5 View commit details
    Browse the repository at this point in the history
  4. add linear vesting with cliff

    jgimeno committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    1ccab49 View commit details
    Browse the repository at this point in the history
  5. now works, starting point

    jgimeno committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    4ea6fcd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f77b82 View commit details
    Browse the repository at this point in the history
  7. refactor times to Uint64 done

    jgimeno committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    11a0a5c View commit details
    Browse the repository at this point in the history
  8. add linear vesting with cliff

    jgimeno committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    3b63ff0 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. refactor: Refactor token vesting contract and dependencies

    - Refactored `VestingSchedule::vested_amount` for better readability
    - Added missing error handling for multiplication and division operations
    - Updated variable names for clarity and consistency
    - Removed unnecessary parentheses in arithmetic expressions
    - Added missing test cases for the `VestingSchedule::LinearVestingWithCliff` variant
    - Updated version number to `0.1.0` and edition to `2021` in `Cargo.toml`
    - Removed `authors` field from `Cargo.toml`
    - Added new dependencies `cw-utils` (`1.0.1`) and `thiserror` (`1.0.23`)
    - Removed `dev-dependencies` section from `Cargo.toml`
    - Updated import statements in `state.rs`
    - Changed `cw20::Denom` to `cosmwasm_std::Denom` in `state.rs`
    - Added `#[cw_serde]` attribute for `VestingAccount` struct in `state.rs`
    - Added `test_denom_to_key` function in `state.rs`
    - Modified `test_denom_to_key` function to use `Uint64` and `Uint128` from `cosmwasm_std`
    - Modified `vesting_amount` value in `test_denom_to_key` function to `Uint128::zero()`
    - Modified `claimed_amount` value in `vesting_account` to `Uint128::zero()`
    jgimeno committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    f424ccb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5baf2bb View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. chore: Remove license field from Cargo.toml

    - Remove the "license" field from the `Cargo.toml` file in `contracts/token-vesting`
    - Omitted other large changes in the file diff summaries
    - High level description: Updated `Cargo.toml` file in `contracts/token-vesting` by removing the "license" field
    jgimeno committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    fe070d8 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. refactor: Refactor and update code, schemas, and artifacts

    - Remove unused imports and unnecessary print statements in `msg.rs`
    - Add additional properties and definitions to JSON schemas in `schema/`
    - Add and update `.wasm` files in `artifacts/`
    - Update the version of `cosmwasm-std` in `Cargo.toml`
    - Change import statement in `state.rs`
    - Modify `.wasm` files in `artifacts/`
    jgimeno committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    2d534b9 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. feat: Refactor token vesting tests and validation

    - Add tests for registering cliff vesting account with native token in `contracts/token-vesting/src/testing.rs`
    - Add tests for proper initialization in `contracts/token-vesting/src/testing.rs`
    - Lower numeric tolerance for test files in `contracts/token-vesting/src/testing.rs`
    - Add validation for `cliff_amount` in `VestingSchedule::LinearVestingWithCliff` in `contracts/token-vesting/src/contract.rs`
    - Add validation for `vesting_amount` in `VestingSchedule::LinearVestingWithCliff` in `contracts/token-vesting/src/contract.rs`
    - Add validation for `cliff_time` in `VestingSchedule::LinearVestingWithCliff` in `contracts/token-vesting/src/contract.rs`
    - Remove `todo!("LinearVestingWithCliff")` in `register_vesting_account` function in `contracts/token-vesting/src/contract.rs`
    jgimeno committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    e03ee8a View commit details
    Browse the repository at this point in the history
  2. feat: Improve validation checks for token vesting contracts

    - Refactor: Create `create_msg` helper function in `testing.rs` to generate `ExecuteMsg` object
    jgimeno committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    7ee72eb View commit details
    Browse the repository at this point in the history
  3. fix: Fix assertion errors in token-vesting contract

    - Fix assertion comparing cliff_time in `register_cliff_vesting_account_with_native_token` test in testing.rs
    - Fix assertions in contract.rs related to cliff_time, end_time, start_time, and cliff_amount
    - Improve code consistency and correctness in token-vesting module
    jgimeno committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    f1523b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

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

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    f83550f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8c4320 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    098962f View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

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

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    25b1c6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    056c546 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4996883 View commit details
    Browse the repository at this point in the history