> response =
api.getDeployedContracts(
- pageCursor, pageSize, contractAddress, assetId, templateId);
+ pageCursor, pageSize, contractAddress, baseAssetId, templateId);
}
}
diff --git a/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java b/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java
index 49b70a1..3cff3bc 100644
--- a/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java
@@ -15,6 +15,7 @@
import com.fireblocks.sdk.ApiException;
import com.fireblocks.sdk.ApiResponse;
+import com.fireblocks.sdk.model.SmartTransferApproveTerm;
import com.fireblocks.sdk.model.SmartTransferCreateTicket;
import com.fireblocks.sdk.model.SmartTransferCreateTicketTerm;
import com.fireblocks.sdk.model.SmartTransferFundTerm;
@@ -22,6 +23,7 @@
import com.fireblocks.sdk.model.SmartTransferSetTicketExpiration;
import com.fireblocks.sdk.model.SmartTransferSetTicketExternalId;
import com.fireblocks.sdk.model.SmartTransferSetUserGroups;
+import com.fireblocks.sdk.model.SmartTransferStatistic;
import com.fireblocks.sdk.model.SmartTransferSubmitTicket;
import com.fireblocks.sdk.model.SmartTransferTicketFilteredResponse;
import com.fireblocks.sdk.model.SmartTransferTicketResponse;
@@ -41,6 +43,25 @@ public class SmartTransferApiTest {
private final SmartTransferApi api = new SmartTransferApi();
+ /**
+ * Define funding source and give approve to contract to transfer asset
+ *
+ * Set funding source for ticket term and creating approving transaction for contract to
+ * transfer asset
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void approveDvPTicketTermTest() throws ApiException {
+ SmartTransferApproveTerm smartTransferApproveTerm = null;
+ String ticketId = null;
+ String termId = null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.approveDvPTicketTerm(
+ smartTransferApproveTerm, ticketId, termId, idempotencyKey);
+ }
+
/**
* Cancel Ticket
*
@@ -131,6 +152,21 @@ public void fulfillTicketTest() throws ApiException {
api.fulfillTicket(ticketId, idempotencyKey);
}
+ /**
+ * Fund dvp ticket
+ *
+ * Create or fulfill dvp ticket order
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void fundDvpTicketTest() throws ApiException {
+ String ticketId = null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.fundDvpTicket(ticketId, idempotencyKey);
+ }
+
/**
* Define funding source
*
@@ -149,6 +185,19 @@ public void fundTicketTermTest() throws ApiException {
api.fundTicketTerm(smartTransferFundTerm, ticketId, termId, idempotencyKey);
}
+ /**
+ * Get smart transfers statistic
+ *
+ * Get smart transfer statistic
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getSmartTransferStatisticTest() throws ApiException {
+ CompletableFuture> response =
+ api.getSmartTransferStatistic();
+ }
+
/**
* Get user group
*
diff --git a/src/test/java/com/fireblocks/sdk/api/TravelRuleBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/TravelRuleBetaApiTest.java
index 69bfbcc..ec791eb 100644
--- a/src/test/java/com/fireblocks/sdk/api/TravelRuleBetaApiTest.java
+++ b/src/test/java/com/fireblocks/sdk/api/TravelRuleBetaApiTest.java
@@ -21,6 +21,7 @@
import com.fireblocks.sdk.model.TravelRuleValidateFullTransactionRequest;
import com.fireblocks.sdk.model.TravelRuleValidateTransactionRequest;
import com.fireblocks.sdk.model.TravelRuleValidateTransactionResponse;
+import com.fireblocks.sdk.model.TravelRuleVaspForVault;
import java.math.BigDecimal;
import java.util.concurrent.CompletableFuture;
import org.junit.Ignore;
@@ -71,6 +72,37 @@ public void getVASPsTest() throws ApiException {
api.getVASPs(order, perPage, page, fields);
}
+ /**
+ * Get assigned VASP to vault
+ *
+ * Get assigned VASP Did for a specific vault. Returns empty string vaspDid value in response
+ * if none assigned.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getVaspForVaultTest() throws ApiException {
+ String vaultAccountId = null;
+ CompletableFuture> response =
+ api.getVaspForVault(vaultAccountId);
+ }
+
+ /**
+ * Assign VASP to vault
+ *
+ * Sets the VASP Did for a specific vault. Pass empty string to remove existing one.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void setVaspForVaultTest() throws ApiException {
+ TravelRuleVaspForVault travelRuleVaspForVault = null;
+ String vaultAccountId = null;
+ String idempotencyKey = null;
+ CompletableFuture> response =
+ api.setVaspForVault(travelRuleVaspForVault, vaultAccountId, idempotencyKey);
+ }
+
/**
* Add jsonDidKey to VASP details
*
diff --git a/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java b/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java
index f49f34c..97bd994 100644
--- a/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java
@@ -31,10 +31,10 @@ public void contractIdTest() {
// TODO: test contractId
}
- /** Test the property 'constructorParams' */
+ /** Test the property 'deployFunctionParams' */
@Test
- public void constructorParamsTest() {
- // TODO: test constructorParams
+ public void deployFunctionParamsTest() {
+ // TODO: test deployFunctionParams
}
/** Test the property 'symbol' */
diff --git a/src/test/java/com/fireblocks/sdk/model/DelegationDtoTest.java b/src/test/java/com/fireblocks/sdk/model/DelegationDtoTest.java
index ed5099b..3c2b765 100644
--- a/src/test/java/com/fireblocks/sdk/model/DelegationDtoTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/DelegationDtoTest.java
@@ -73,6 +73,12 @@ public void dateCreatedTest() {
// TODO: test dateCreated
}
+ /** Test the property 'dateUpdated' */
+ @Test
+ public void dateUpdatedTest() {
+ // TODO: test dateUpdated
+ }
+
/** Test the property 'status' */
@Test
public void statusTest() {
@@ -120,4 +126,10 @@ public void inProgressTxIdTest() {
public void blockchainPositionInfoTest() {
// TODO: test blockchainPositionInfo
}
+
+ /** Test the property 'relatedRequests' */
+ @Test
+ public void relatedRequestsTest() {
+ // TODO: test relatedRequests
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java b/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java
index c16627c..851b054 100644
--- a/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java
@@ -31,9 +31,9 @@ public void contractIdTest() {
// TODO: test contractId
}
- /** Test the property 'constructorParams' */
+ /** Test the property 'deployFunctionParams' */
@Test
- public void constructorParamsTest() {
- // TODO: test constructorParams
+ public void deployFunctionParamsTest() {
+ // TODO: test deployFunctionParams
}
}
diff --git a/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java
index 7929052..6258239 100644
--- a/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java
@@ -36,4 +36,16 @@ public void nameTest() {
public void inputsTest() {
// TODO: test inputs
}
+
+ /** Test the property 'outputs' */
+ @Test
+ public void outputsTest() {
+ // TODO: test outputs
+ }
+
+ /** Test the property 'stateMutability' */
+ @Test
+ public void stateMutabilityTest() {
+ // TODO: test stateMutability
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/RelatedRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/RelatedRequestDtoTest.java
new file mode 100644
index 0000000..831ca19
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/RelatedRequestDtoTest.java
@@ -0,0 +1,51 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for RelatedRequestDto */
+public class RelatedRequestDtoTest {
+ private final RelatedRequestDto model = new RelatedRequestDto();
+
+ /** Model tests for RelatedRequestDto */
+ @Test
+ public void testRelatedRequestDto() {
+ // TODO: test RelatedRequestDto
+ }
+
+ /** Test the property 'status' */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /** Test the property 'inProgress' */
+ @Test
+ public void inProgressTest() {
+ // TODO: test inProgress
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ public void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'txId' */
+ @Test
+ public void txIdTest() {
+ // TODO: test txId
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/RelatedRequestStatusTypeTest.java b/src/test/java/com/fireblocks/sdk/model/RelatedRequestStatusTypeTest.java
new file mode 100644
index 0000000..9347c8a
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/RelatedRequestStatusTypeTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for RelatedRequestStatusType */
+public class RelatedRequestStatusTypeTest {
+ /** Model tests for RelatedRequestStatusType */
+ @Test
+ public void testRelatedRequestStatusType() {
+ // TODO: test RelatedRequestStatusType
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java
new file mode 100644
index 0000000..d3bd0b3
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java
@@ -0,0 +1,63 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for SmartTransferApproveTerm */
+public class SmartTransferApproveTermTest {
+ private final SmartTransferApproveTerm model = new SmartTransferApproveTerm();
+
+ /** Model tests for SmartTransferApproveTerm */
+ @Test
+ public void testSmartTransferApproveTerm() {
+ // TODO: test SmartTransferApproveTerm
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ public void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ public void amountTest() {
+ // TODO: test amount
+ }
+
+ /** Test the property 'srcId' */
+ @Test
+ public void srcIdTest() {
+ // TODO: test srcId
+ }
+
+ /** Test the property 'fee' */
+ @Test
+ public void feeTest() {
+ // TODO: test fee
+ }
+
+ /** Test the property 'feeLevel' */
+ @Test
+ public void feeLevelTest() {
+ // TODO: test feeLevel
+ }
+
+ /** Test the property 'note' */
+ @Test
+ public void noteTest() {
+ // TODO: test note
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java
new file mode 100644
index 0000000..8acd479
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for SmartTransferCoinStatistic */
+public class SmartTransferCoinStatisticTest {
+ private final SmartTransferCoinStatistic model = new SmartTransferCoinStatistic();
+
+ /** Model tests for SmartTransferCoinStatistic */
+ @Test
+ public void testSmartTransferCoinStatistic() {
+ // TODO: test SmartTransferCoinStatistic
+ }
+
+ /** Test the property 'asset' */
+ @Test
+ public void assetTest() {
+ // TODO: test asset
+ }
+
+ /** Test the property 'amount' */
+ @Test
+ public void amountTest() {
+ // TODO: test amount
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java
new file mode 100644
index 0000000..8a9d3e9
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for SmartTransferStatisticInflow */
+public class SmartTransferStatisticInflowTest {
+ private final SmartTransferStatisticInflow model = new SmartTransferStatisticInflow();
+
+ /** Model tests for SmartTransferStatisticInflow */
+ @Test
+ public void testSmartTransferStatisticInflow() {
+ // TODO: test SmartTransferStatisticInflow
+ }
+
+ /** Test the property 'coins' */
+ @Test
+ public void coinsTest() {
+ // TODO: test coins
+ }
+
+ /** Test the property 'ticketCount' */
+ @Test
+ public void ticketCountTest() {
+ // TODO: test ticketCount
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java
new file mode 100644
index 0000000..b64601a
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for SmartTransferStatisticOutflow */
+public class SmartTransferStatisticOutflowTest {
+ private final SmartTransferStatisticOutflow model = new SmartTransferStatisticOutflow();
+
+ /** Model tests for SmartTransferStatisticOutflow */
+ @Test
+ public void testSmartTransferStatisticOutflow() {
+ // TODO: test SmartTransferStatisticOutflow
+ }
+
+ /** Test the property 'coins' */
+ @Test
+ public void coinsTest() {
+ // TODO: test coins
+ }
+
+ /** Test the property 'ticketCount' */
+ @Test
+ public void ticketCountTest() {
+ // TODO: test ticketCount
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java
new file mode 100644
index 0000000..7857894
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java
@@ -0,0 +1,51 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for SmartTransferStatistic */
+public class SmartTransferStatisticTest {
+ private final SmartTransferStatistic model = new SmartTransferStatistic();
+
+ /** Model tests for SmartTransferStatistic */
+ @Test
+ public void testSmartTransferStatistic() {
+ // TODO: test SmartTransferStatistic
+ }
+
+ /** Test the property 'inflow' */
+ @Test
+ public void inflowTest() {
+ // TODO: test inflow
+ }
+
+ /** Test the property 'outflow' */
+ @Test
+ public void outflowTest() {
+ // TODO: test outflow
+ }
+
+ /** Test the property 'totalActiveTickets' */
+ @Test
+ public void totalActiveTicketsTest() {
+ // TODO: test totalActiveTickets
+ }
+
+ /** Test the property 'totalInactiveTickets' */
+ @Test
+ public void totalInactiveTicketsTest() {
+ // TODO: test totalInactiveTickets
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java
new file mode 100644
index 0000000..4cbf019
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java
@@ -0,0 +1,33 @@
+/*
+ * Fireblocks API
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: support@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.Test;
+
+/** Model tests for TravelRuleVaspForVault */
+public class TravelRuleVaspForVaultTest {
+ private final TravelRuleVaspForVault model = new TravelRuleVaspForVault();
+
+ /** Model tests for TravelRuleVaspForVault */
+ @Test
+ public void testTravelRuleVaspForVault() {
+ // TODO: test TravelRuleVaspForVault
+ }
+
+ /** Test the property 'vaspDid' */
+ @Test
+ public void vaspDidTest() {
+ // TODO: test vaspDid
+ }
+}