Skip to content

[Core] Read fee values from kvstore in the escrow contract #3811

@portuu3

Description

@portuu3

Description
Update Core contracts and SDKs to support oracle fee retrieval from KVStore (key: fee) during escrow setup, instead of passing fee values directly in setup and createFundAndSetupEscrow.

Motivation
Fee configuration should be managed by oracle operators on-chain via KVStore, preventing caller-side fee mismatches.

Implementation details
Update Escrow.setup(...) to remove fee arguments and fetch per-oracle fee from KVStore.get(oracle, "fee").
Update SDK

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions