-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25f66a2
commit 42dd8fc
Showing
13 changed files
with
139 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
export * from './eth-rpc-method.enum' | ||
export * from './noves-tx-type-cross-chain.enum' | ||
export * from './noves-tx-type-dex.enum' | ||
export * from './noves-tx-type-domain.enum' | ||
export * from './noves-tx-type-governance.enum' | ||
export * from './noves-tx-type-infrastructure.enum' | ||
export * from './noves-tx-type-lending.enum' | ||
export * from './noves-tx-type-miscellaneous.enum' | ||
export * from './noves-tx-type-nft.enum' | ||
export * from './noves-tx-type-special.enum' | ||
export * from './noves-tx-type-token.enum' | ||
export * from './noves-tx-type-yield.enum' | ||
export * from './supported-noves-chain.enum' |
5 changes: 5 additions & 0 deletions
5
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-cross-chain.enum.ts
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,5 @@ | ||
// https://docs.noves.fi/reference/cross-chain | ||
export enum NovesTxTypeCrossChain { | ||
ReceiveFromBridge = 'receiveFromBridge', | ||
SendToBridge = 'sendToBridge', | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-dex.enum.ts
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,12 @@ | ||
// https://docs.noves.fi/reference/dex-transactions | ||
export enum NovesTxTypeDEX { | ||
AddLiquidity = 'addLiquidity', | ||
CancelOrderTransaction = 'cancelOrderTransaction', | ||
CustodiedRemoveLiquidity = 'custodiedRemoveLiquidity', | ||
DepositToExchange = 'depositToExchange', | ||
FillOrderTransaction = 'fillOrderTransaction', | ||
PlaceOrderTransaction = 'placeOrderTransaction', | ||
Swap = 'swap', | ||
RemoveLiquidity = 'removeLiquidity', | ||
WithdrawFromExchange = 'withdrawFromExchange', | ||
} |
5 changes: 5 additions & 0 deletions
5
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-domain.enum.ts
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,5 @@ | ||
// https://docs.noves.fi/reference/domain-services | ||
export enum NovesTxTypeDomain { | ||
RegisterDomain = 'registerDomain', | ||
RenewDomain = 'renewDomain', | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-governance.enum.ts
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,6 @@ | ||
// https://docs.noves.fi/reference/governance | ||
export enum NovesTxTypeGovernance { | ||
Delegate = 'delegate', | ||
SignMultisig = 'signMultisig', | ||
Vote = 'vote', | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-infrastructure.enum.ts
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 @@ | ||
// https://docs.noves.fi/reference/infrastructure | ||
export enum NovesTxTypeInfrastructure { | ||
CreateContract = 'createContract', | ||
DeployContract = 'deployContract', | ||
SystemTransaction = 'systemTransaction', | ||
ProtocolTransaction = 'protocolTransaction', | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-lending.enum.ts
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,8 @@ | ||
// https://docs.noves.fi/reference/lending | ||
export enum NovesTxTypeLending { | ||
Borrow = 'borrow', | ||
DepositCollateral = 'depositCollateral', | ||
Liquidate = 'liquidate', | ||
RepayLoan = 'repayLoan', | ||
WithdrawCollateral = 'withdrawCollateral', | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-miscellaneous.enum.ts
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,6 @@ | ||
// https://docs.noves.fi/reference/miscellaneous | ||
export enum NovesTxTypeMiscellaneous { | ||
Admin = 'admin', | ||
MEVTransaction = 'MEVTransaction', | ||
GamblingTransaction = 'gamblingTransaction', | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-nft.enum.ts
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,19 @@ | ||
// https://docs.noves.fi/reference/nft | ||
export enum NovesTxTypeNFT { | ||
ApproveNFTCollection = 'approveNFTCollection', | ||
ApproveSingleNFT = 'approveSingleNFT', | ||
BurnNFT = 'burnNFT', | ||
BuyNFT = 'buyNFT', | ||
CancelNFTListing = 'cancelNFTListing', | ||
CreateNFTListing = 'createNFTListing', | ||
MintNFT = 'mintNFT', | ||
PlaceNFTBid = 'placeNFTBid', | ||
ReceiveNFT = 'receiveNFT', | ||
SendNFT = 'sendNFT', | ||
ReceiveNFTAirdrop = 'receiveNFTAirdrop', | ||
SendNFTAirdrop = 'sendNFTAirdrop', | ||
ReceiveNFTRoyalty = 'receiveNFTRoyalty', | ||
ReceiveSpamNFT = 'receiveSpamNFT', | ||
RevokeNFTCollectionApproval = 'revokeNFTCollectionApproval', | ||
SellNFT = 'sellNFT', | ||
} |
7 changes: 7 additions & 0 deletions
7
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-special.enum.ts
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 @@ | ||
// https://docs.noves.fi/reference/special-types | ||
export enum NovesTxTypeSpecial { | ||
Composite = 'composite', | ||
Failed = 'failed', | ||
Unclassified = 'unclassified', | ||
UnverifiedContract = 'unverifiedContract', | ||
} |
15 changes: 15 additions & 0 deletions
15
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-token.enum.ts
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,15 @@ | ||
// https://docs.noves.fi/reference/token | ||
export enum NovesTxTypeToken { | ||
ApproveToken = 'approveToken', | ||
BurnToken = 'burnToken', | ||
MigrateToken = 'migrateToken', | ||
SendToken = 'sendToken', | ||
SendTokenAirdrop = 'sendTokenAirdrop', | ||
ReceiveSpamToken = 'receiveSpamToken', | ||
ReceiveToken = 'receiveToken', | ||
ReceiveTokenAirdrop = 'receiveTokenAirdrop', | ||
Refund = 'refund', | ||
RevokeTokenApproval = 'revokeTokenApproval', | ||
Unwrap = 'unwrap', | ||
Wrap = 'wrap', | ||
} |
12 changes: 12 additions & 0 deletions
12
packages/shared/src/lib/auxiliary/noves/enums/noves-tx-type-yield.enum.ts
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,12 @@ | ||
// https://docs.noves.fi/reference/yield | ||
export enum NovesTxTypeYield { | ||
ClaimRewards = 'claimRewards', | ||
ClaimAndStake = 'claimAndStake', | ||
LeveragedFarming = 'leveragedFarming', | ||
RebalancePosition = 'rebalancePosition', | ||
Lock = 'lock', | ||
StakeNFT = 'stakeNFT', | ||
StakeToken = 'stakeToken', | ||
UnstakeNFT = 'unstakeNFT', | ||
UnstakeToken = 'unstakeToken', | ||
} |
26 changes: 26 additions & 0 deletions
26
packages/shared/src/lib/auxiliary/noves/types/noves-tx-type.type.ts
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,26 @@ | ||
import { | ||
NovesTxTypeCrossChain, | ||
NovesTxTypeDEX, | ||
NovesTxTypeToken, | ||
NovesTxTypeNFT, | ||
NovesTxTypeLending, | ||
NovesTxTypeYield, | ||
NovesTxTypeDomain, | ||
NovesTxTypeGovernance, | ||
NovesTxTypeInfrastructure, | ||
NovesTxTypeSpecial, | ||
NovesTxTypeMiscellaneous, | ||
} from '../enums' | ||
|
||
export type NovesTxType = | ||
| NovesTxTypeCrossChain | ||
| NovesTxTypeDEX | ||
| NovesTxTypeToken | ||
| NovesTxTypeNFT | ||
| NovesTxTypeLending | ||
| NovesTxTypeYield | ||
| NovesTxTypeDomain | ||
| NovesTxTypeGovernance | ||
| NovesTxTypeInfrastructure | ||
| NovesTxTypeSpecial | ||
| NovesTxTypeMiscellaneous |