feat: add admin approval for IRT withdrawals
This commit is contained in:
@@ -29,4 +29,6 @@ service InternalWalletSrv {
|
|||||||
// deactivation/locking so referenced financial history remains intact.
|
// deactivation/locking so referenced financial history remains intact.
|
||||||
rpc AdminUpsertAsset(AdminUpsertAssetReq) returns (AdminAssetMutationRes);
|
rpc AdminUpsertAsset(AdminUpsertAssetReq) returns (AdminAssetMutationRes);
|
||||||
rpc AdminDeactivateAsset(AdminDeactivateAssetReq) returns (base.v1.StatusRes);
|
rpc AdminDeactivateAsset(AdminDeactivateAssetReq) returns (base.v1.StatusRes);
|
||||||
|
|
||||||
|
rpc AdminApproveIRTWithdrawal(AdminApproveIRTWithdrawalReq) returns (base.v1.StatusRes);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -227,6 +227,15 @@ message LockAssetReq {
|
|||||||
optional auth.v1.TFA tfa = 4; // if request is not internal
|
optional auth.v1.TFA tfa = 4; // if request is not internal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Administrative approval is the only transition that may enqueue an IRT
|
||||||
|
// withdrawal for blockchain settlement. The receipt identifies the completed
|
||||||
|
// off-chain bank payment.
|
||||||
|
message AdminApproveIRTWithdrawalReq {
|
||||||
|
uint64 withdraw_log_id = 1;
|
||||||
|
string bank_receipt = 2;
|
||||||
|
int64 actor_user_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
BNPL - not really but close name
|
BNPL - not really but close name
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user