-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding participants to audience keys * stashing * initial pass working * minor cleanup * more cleanup * Update README.md * misc fixes * Update service/src/main/kotlin/io/provenance/api/domain/usecase/provenance/contracts/fees/GetFeesForAsset.kt Co-authored-by: Ravi Patel <[email protected]> * Update service/src/main/kotlin/io/provenance/api/frameworks/web/external/provenance/ProvenanceApi.kt Co-authored-by: Ravi Patel <[email protected]> * PR comments * build fixes from merge Co-authored-by: Ravi Patel <[email protected]>
- Loading branch information
1 parent
8934197
commit 9e53c75
Showing
59 changed files
with
802 additions
and
128 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
2 changes: 1 addition & 1 deletion
2
.../api/models/cee/ApproveContractRequest.kt → ...els/cee/approve/ApproveContractRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...i/models/cee/ContractExecutionResponse.kt → .../cee/execute/ContractExecutionResponse.kt
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
3 changes: 2 additions & 1 deletion
3
...e/api/models/cee/ExecuteContractConfig.kt → ...dels/cee/execute/ExecuteContractConfig.kt
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
2 changes: 1 addition & 1 deletion
2
.../api/models/cee/ExecuteContractRequest.kt → ...els/cee/execute/ExecuteContractRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...e/api/models/cee/RejectContractRequest.kt → ...odels/cee/reject/RejectContractRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...e/SubmitContractExecutionResultRequest.kt → ...t/SubmitContractExecutionResultRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...ovenance/api/models/eos/GetFileRequest.kt → ...ance/api/models/eos/get/GetFileRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...venance/api/models/eos/GetProtoRequest.kt → ...nce/api/models/eos/get/GetProtoRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...nance/api/models/eos/StoreProtoRequest.kt → ...api/models/eos/store/StoreProtoRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...ance/api/models/eos/StoreProtoResponse.kt → ...pi/models/eos/store/StoreProtoResponse.kt
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
10 changes: 10 additions & 0 deletions
10
models/src/main/kotlin/io/provenance/api/models/p8e/contracts/ClassifyAssetRequest.kt
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 io.provenance.api.models.p8e.contracts | ||
|
||
import io.provenance.api.models.account.AccountInfo | ||
import io.provenance.api.models.p8e.ProvenanceConfig | ||
|
||
data class ClassifyAssetRequest( | ||
val provenanceConfig: ProvenanceConfig, | ||
val contractConfig: SmartContractConfig, | ||
val account: AccountInfo = AccountInfo(), | ||
) |
12 changes: 12 additions & 0 deletions
12
models/src/main/kotlin/io/provenance/api/models/p8e/contracts/SmartContractConfig.kt
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 @@ | ||
package io.provenance.api.models.p8e.contracts | ||
|
||
import io.provenance.classification.asset.client.domain.model.AccessRoute | ||
import java.util.UUID | ||
|
||
data class SmartContractConfig( | ||
val contractName: String, | ||
val assetUuid: UUID, | ||
val assetType: String = "", | ||
val verifierAddress: String, | ||
val accessRoutes: List<AccessRoute> = emptyList() | ||
) |
12 changes: 12 additions & 0 deletions
12
models/src/main/kotlin/io/provenance/api/models/p8e/contracts/VerifyAssetRequest.kt
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 @@ | ||
package io.provenance.api.models.p8e.contracts | ||
|
||
import io.provenance.api.models.account.AccountInfo | ||
import io.provenance.api.models.p8e.ProvenanceConfig | ||
|
||
data class VerifyAssetRequest( | ||
val provenanceConfig: ProvenanceConfig, | ||
val contractConfig: SmartContractConfig, | ||
val account: AccountInfo = AccountInfo(), | ||
val message: String, | ||
val success: Boolean | ||
) |
13 changes: 13 additions & 0 deletions
13
models/src/main/kotlin/io/provenance/api/models/p8e/query/QueryScopeRequest.kt
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,13 @@ | ||
package io.provenance.api.models.p8e.query | ||
|
||
import java.util.UUID | ||
|
||
data class QueryScopeRequest( | ||
val uuid: UUID, | ||
val scopeUuid: UUID, | ||
val chainId: String, | ||
val nodeEndpoint: String, | ||
val objectStoreUrl: String, | ||
val height: Long? = null, | ||
val hydrate: Boolean = false, | ||
) |
3 changes: 2 additions & 1 deletion
3
...venance/api/models/p8e/CreateTxRequest.kt → ...ance/api/models/p8e/tx/CreateTxRequest.kt
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
3 changes: 2 additions & 1 deletion
3
...enance/api/models/p8e/ExecuteTxRequest.kt → ...nce/api/models/p8e/tx/ExecuteTxRequest.kt
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,29 @@ | ||
[ | ||
{ | ||
"asset_type": "mortgage", | ||
"scope_spec_identifier": { | ||
"type": "uuid", | ||
"value": "c370d852-0f3b-4f70-85e6-25983ac07c0f" | ||
}, | ||
"verifiers": [ | ||
{ | ||
"address": "tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc", | ||
"onboarding_cost": "243857142857", | ||
"onboarding_denom": "nhash", | ||
"fee_destinations": [ | ||
{ | ||
"address": "tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc", | ||
"fee_amount": "1000000000" | ||
} | ||
], | ||
"entity_detail": { | ||
"name": "Figure Mortgage Verifier", | ||
"description": "Validates onboarded Mortgage Assets", | ||
"home_url": "https://www.figure.com", | ||
"source_url": "https://github.com/FigureTechnologies/asset-classification-verifier" | ||
} | ||
} | ||
], | ||
"enabled": true | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.