Skip to content

Commit 42dd8fc

Browse files
committed
feat: adds noves tx types enums
1 parent 25f66a2 commit 42dd8fc

13 files changed

+139
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
export * from './eth-rpc-method.enum'
2+
export * from './noves-tx-type-cross-chain.enum'
3+
export * from './noves-tx-type-dex.enum'
4+
export * from './noves-tx-type-domain.enum'
5+
export * from './noves-tx-type-governance.enum'
6+
export * from './noves-tx-type-infrastructure.enum'
7+
export * from './noves-tx-type-lending.enum'
8+
export * from './noves-tx-type-miscellaneous.enum'
9+
export * from './noves-tx-type-nft.enum'
10+
export * from './noves-tx-type-special.enum'
11+
export * from './noves-tx-type-token.enum'
12+
export * from './noves-tx-type-yield.enum'
213
export * from './supported-noves-chain.enum'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// https://docs.noves.fi/reference/cross-chain
2+
export enum NovesTxTypeCrossChain {
3+
ReceiveFromBridge = 'receiveFromBridge',
4+
SendToBridge = 'sendToBridge',
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// https://docs.noves.fi/reference/dex-transactions
2+
export enum NovesTxTypeDEX {
3+
AddLiquidity = 'addLiquidity',
4+
CancelOrderTransaction = 'cancelOrderTransaction',
5+
CustodiedRemoveLiquidity = 'custodiedRemoveLiquidity',
6+
DepositToExchange = 'depositToExchange',
7+
FillOrderTransaction = 'fillOrderTransaction',
8+
PlaceOrderTransaction = 'placeOrderTransaction',
9+
Swap = 'swap',
10+
RemoveLiquidity = 'removeLiquidity',
11+
WithdrawFromExchange = 'withdrawFromExchange',
12+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// https://docs.noves.fi/reference/domain-services
2+
export enum NovesTxTypeDomain {
3+
RegisterDomain = 'registerDomain',
4+
RenewDomain = 'renewDomain',
5+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// https://docs.noves.fi/reference/governance
2+
export enum NovesTxTypeGovernance {
3+
Delegate = 'delegate',
4+
SignMultisig = 'signMultisig',
5+
Vote = 'vote',
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// https://docs.noves.fi/reference/infrastructure
2+
export enum NovesTxTypeInfrastructure {
3+
CreateContract = 'createContract',
4+
DeployContract = 'deployContract',
5+
SystemTransaction = 'systemTransaction',
6+
ProtocolTransaction = 'protocolTransaction',
7+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://docs.noves.fi/reference/lending
2+
export enum NovesTxTypeLending {
3+
Borrow = 'borrow',
4+
DepositCollateral = 'depositCollateral',
5+
Liquidate = 'liquidate',
6+
RepayLoan = 'repayLoan',
7+
WithdrawCollateral = 'withdrawCollateral',
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// https://docs.noves.fi/reference/miscellaneous
2+
export enum NovesTxTypeMiscellaneous {
3+
Admin = 'admin',
4+
MEVTransaction = 'MEVTransaction',
5+
GamblingTransaction = 'gamblingTransaction',
6+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// https://docs.noves.fi/reference/nft
2+
export enum NovesTxTypeNFT {
3+
ApproveNFTCollection = 'approveNFTCollection',
4+
ApproveSingleNFT = 'approveSingleNFT',
5+
BurnNFT = 'burnNFT',
6+
BuyNFT = 'buyNFT',
7+
CancelNFTListing = 'cancelNFTListing',
8+
CreateNFTListing = 'createNFTListing',
9+
MintNFT = 'mintNFT',
10+
PlaceNFTBid = 'placeNFTBid',
11+
ReceiveNFT = 'receiveNFT',
12+
SendNFT = 'sendNFT',
13+
ReceiveNFTAirdrop = 'receiveNFTAirdrop',
14+
SendNFTAirdrop = 'sendNFTAirdrop',
15+
ReceiveNFTRoyalty = 'receiveNFTRoyalty',
16+
ReceiveSpamNFT = 'receiveSpamNFT',
17+
RevokeNFTCollectionApproval = 'revokeNFTCollectionApproval',
18+
SellNFT = 'sellNFT',
19+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// https://docs.noves.fi/reference/special-types
2+
export enum NovesTxTypeSpecial {
3+
Composite = 'composite',
4+
Failed = 'failed',
5+
Unclassified = 'unclassified',
6+
UnverifiedContract = 'unverifiedContract',
7+
}

0 commit comments

Comments
 (0)