Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Free functions

test_selector
test_address
mock_callMocks contract call to a function_selector of a contract at the given address, for n_times first calls that are made to the contract. A call to function function_selector
start_mock_callMocks contract call to a function of a contract at the given address, indefinitely. See mock_call for comprehensive definition of how it can be used….
stop_mock_callCancels the mock_call / start_mock_call for the function with given name and contract address….
replace_bytecodeReplaces class for given contract address. The new_class hash has to be declared in order for the replacement class to execute the code, when interacting with the contract….