Functions
createForeignCall
Creates a foreign call and stores it in the contract’s storage. Builds a foreign call structure and maps it to the associated policy ID.
Returns
updateForeignCall
Updates a foreign call in the contract’s storage.
Returns
deleteForeignCall
Deletes a foreign call from the contract’s storage.getAllForeignCalls
Retrieve Foreign Call Set from storage
Returns
getForeignCall
Retrieves a foreign call from the contract’s storage.
Returns
getForeignCallMetadata
retrieves the foreign call metadata
Returns
_storeForeignCall
Stores a foreign call in the contract’s storage. Ensures the foreign call is properly set before storing it._incrementForeignCallIndex
Helper function to increment the foreign call index Ensures the foreign call is properly set before storing it._storeForeignCallData
Helper function to store the foreign call data Ensures the foreign call is properly set before storing it._storeForeignCallMetadata
Helper function to store the foreign call metadata_isForeignCallPermissioned
Checks if the foreign call is permissioned and if the caller is authorized.addAdminToPermissionList
Adds an admin to the permission list for a foreign call. This function can only be called by an existing foreign call admin.updatePermissionList
Updates the permission list for a foreign call. This function can only be called by an existing foreign call admin.getForeignCallPermissionList
Retrieves the permission list for a foreign call.
Returns