import { ProofId } from '@polyaztec/barretenberg/client_proofs';
export var UserDefiInteractionResultState;
(function (UserDefiInteractionResultState) {
    UserDefiInteractionResultState["PENDING"] = "PENDING";
    UserDefiInteractionResultState["AWAITING_FINALISATION"] = "AWAITING_FINALISATION";
    UserDefiInteractionResultState["AWAITING_SETTLEMENT"] = "AWAITING_SETTLEMENT";
    UserDefiInteractionResultState["SETTLED"] = "SETTLED";
})(UserDefiInteractionResultState = UserDefiInteractionResultState || (UserDefiInteractionResultState = {}));
export class UserDefiTx {
    constructor(txId, userId, bridgeCallData, depositValue, fee, created, settled, interactionResult) {
        this.txId = txId;
        this.userId = userId;
        this.bridgeCallData = bridgeCallData;
        this.depositValue = depositValue;
        this.fee = fee;
        this.created = created;
        this.settled = settled;
        this.interactionResult = interactionResult;
        this.proofId = ProofId.DEFI_DEPOSIT;
    }
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlcl9kZWZpX3R4LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3VzZXJfdHgvdXNlcl9kZWZpX3R4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUdoRSxNQUFNLENBQU4sSUFBWSw4QkFLWDtBQUxELFdBQVksOEJBQThCO0lBQ3hDLHFEQUFtQixDQUFBO0lBQ25CLGlGQUErQyxDQUFBO0lBQy9DLDZFQUEyQyxDQUFBO0lBQzNDLHFEQUFtQixDQUFBO0FBQ3JCLENBQUMsRUFMVyw4QkFBOEIsR0FBOUIsOEJBQThCLEtBQTlCLDhCQUE4QixRQUt6QztBQWFELE1BQU0sT0FBTyxVQUFVO0lBR3JCLFlBQ2tCLElBQVUsRUFDVixNQUF1QixFQUN2QixjQUE4QixFQUM5QixZQUF3QixFQUN4QixHQUFlLEVBQ2YsT0FBYSxFQUNiLE9BQXlCLEVBQ3pCLGlCQUE0QztRQVA1QyxTQUFJLEdBQUosSUFBSSxDQUFNO1FBQ1YsV0FBTSxHQUFOLE1BQU0sQ0FBaUI7UUFDdkIsbUJBQWMsR0FBZCxjQUFjLENBQWdCO1FBQzlCLGlCQUFZLEdBQVosWUFBWSxDQUFZO1FBQ3hCLFFBQUcsR0FBSCxHQUFHLENBQVk7UUFDZixZQUFPLEdBQVAsT0FBTyxDQUFNO1FBQ2IsWUFBTyxHQUFQLE9BQU8sQ0FBa0I7UUFDekIsc0JBQWlCLEdBQWpCLGlCQUFpQixDQUEyQjtRQVY5QyxZQUFPLEdBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQztJQVc1QyxDQUFDO0NBQ0wifQ==