Files
opengenesislinkserver/OpenSim/Region/Framework/Interfaces/INexMasterBankPayoutModule.cs
T
OpenGenesis (MPL 2.0) f9ee61580a feat(economy): bank UUID with trusted LSL script payout delegation (#169)
* feat(economy): Master Bank delegated payout policy and opt-in configuration

* feat(economy): verify bank script instance and pay from prefunded master ledger account

* feat(lsl): require operator debit grant and exact script delegation for bank payouts

* test(economy): Master Bank permission, payout and HG wallet regressions with LSL sample
2026-10-11 21:17:10 +02:00

18 lines
659 B
C#

// SPDX-License-Identifier: MPL-2.0
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
/// <summary>
/// Only the server-side script engine can invoke delegated NV$ Master Bank
/// payments. Never expose a capability that accepts object/script IDs from
/// an untrusted viewer or in-world HTTP client.
/// </summary>
public interface INexMasterBankPayoutModule
{
bool IsAuthorizedBankScript(UUID objectId, UUID scriptItemId, UUID ownerId);
bool TryBankPayout(UUID objectId, UUID scriptItemId, UUID ownerId,
UUID residentId, int amount, UUID transactionId, out string reason);
}
}