Interface Permission

interface Permission {
    destContract: `0x${string}`;
    functionSelector: `0x${string}`;
    rules: Rule[];
    valueLimit: bigint;
}

Properties

destContract: `0x${string}`

The address of the contract to which the permission applies

functionSelector: `0x${string}`

The function selector of the contract to which the permission applies

rules: Rule[]

The rules that define the conditions under which the permission is granted

valueLimit: bigint

The maximum value that can be transferred in a single transaction