Skip to content

Conversation

piobab
Copy link
Collaborator

@piobab piobab commented Mar 24, 2023

The Red Bank contract has 6 user-facing functions: deposit, withdraw, borrow, repay, liquidate, and update_asset_collateral_status; amount these, 3 do not expect the user to send any payment.

@piobab piobab force-pushed the MP-2460-reject-unexpected-payment branch from bfe378c to 2ea4539 Compare March 26, 2023 12:16
@piobab piobab changed the base branch from master to MP-2503-release March 28, 2023 16:17
@piobab piobab requested review from grod220 and brimigs March 28, 2023 16:22
@piobab piobab force-pushed the MP-2460-reject-unexpected-payment branch from 2ea4539 to 34506b9 Compare March 28, 2023 17:04
@piobab piobab force-pushed the MP-2460-reject-unexpected-payment branch from 34506b9 to 3578de5 Compare March 28, 2023 17:05
@piobab piobab merged commit d7e2d4e into MP-2503-release Mar 28, 2023
@piobab piobab deleted the MP-2460-reject-unexpected-payment branch March 28, 2023 20:56
piobab added a commit that referenced this pull request May 29, 2023
* reject unexpected payments

* fix a borrow unit test

* add license to package.json

* Update schema.

---------

Co-authored-by: larry <26318510+larry0x@users.noreply.github.com>
piobab added a commit that referenced this pull request Jun 8, 2023
* Mp 2422 emergency role improve (#185)

* Mp 2460 reject unexpected payment (#186)

* Compute utilization rate using internally-tracked parameters (#180)

* Update owner pkg to 1.2.0 (#198)

Co-authored-by: larry <26318510+larry0x@users.noreply.github.com>
Co-authored-by: Gabe Rodriguez <grod220@gmail.com>
pacmanifold pushed a commit that referenced this pull request Jul 18, 2023
* Mp 2422 emergency role improve (#185)

* Mp 2460 reject unexpected payment (#186)

* Compute utilization rate using internally-tracked parameters (#180)

* Update owner pkg to 1.2.0 (#198)

Co-authored-by: larry <26318510+larry0x@users.noreply.github.com>
Co-authored-by: Gabe Rodriguez <grod220@gmail.com>
Signed-off-by: Pacman <pacman@apollo.farm>
larry0x pushed a commit that referenced this pull request Oct 7, 2023
* [HC] enable margin swap when from_coin.amount is 0

* [HC] run fmt

* [HC] update wasm files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants