-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #589 from comdex-official/liquidation-tx
events added in vault, auction, liquidation
- Loading branch information
Showing
11 changed files
with
238 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package types | ||
|
||
const ( | ||
EventTypeSurplusActivatorErr = "surplus_activator_err" | ||
EventTypeDebtActivatorErr = "debt_activator_err" | ||
EventTypeRestartDutchErr = "restart_dutch_err" | ||
EventTypeRestartLendDutchErr = "restart_lend_dutch_err" | ||
EventTypeDutchNewAuction = "dutch_new_auction" | ||
AttributeKeyOwner = "vault_owner" | ||
AttributeKeyCollateral = "collateral_token" | ||
AttributeKeyDebt = "debt_token" | ||
AttributeKeyStartTime = "start_time" | ||
AttributeKeyEndTime = "end_time" | ||
DataAppID = "data_app_id" | ||
DataAssetID = "data_asset_id" | ||
DataAssetOutOraclePrice = "data_asset_out_oracle_price" | ||
DataAssetOutPrice = "data_asset_out_price" | ||
DatIsAuctionActive = "data_is_auction_active" | ||
DataIsDebtAuction = "data_is_debt_auction" | ||
DataIsDistributor = "data_is_distributor" | ||
DataIsSurplusAuction = "data_is_surplus_auction" | ||
KillSwitchParamsBreakerEnabled = "data_is_surplus_auction" | ||
Status = "status" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package types | ||
|
||
const ( | ||
EventTypeLiquidateVaultsErr = "liquidate_vaults_err" | ||
EventTypeLiquidateBorrowsErr = "liquidate_borrows_err" | ||
Error = "error" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package types | ||
|
||
// Event types for the market module. | ||
const ( | ||
EventTypeTwaChange = "twa_change" | ||
|
||
AttributeKeyOldTwa = "old_twa" | ||
AttributeKeyNewTwa = "new_twa" | ||
AttributeKeyAssetID = "assetId" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.