Skip to content
Docs

Clients

Leaving without the website

The account does not depend on Fillmark's website. The owner wallet can call it directly from any tool that sends a contract call.

The commands below use Foundry's cast. They ask for the owner's private key; any other sender is rejected by the account.

Withdraw USDG

Withdraw USDG
ACCOUNT=0x...        # the client account
TO=0x...             # where the USDG goes
AMOUNT=10000000      # 10 USDG (USDG has 6 decimals)

cast send $ACCOUNT "execute(bytes32,bytes)" \
  0x0000000000000000000000000000000000000000000000000000000000000000 \
  $(cast concat-hex 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 $(cast to-uint256 0) \
    $(cast calldata "transfer(address,uint256)" $TO $AMOUNT)) \
  --rpc-url https://rpc.fillmark.trade/wallet --interactive

To withdraw an asset instead, replace the USDG address with the asset's token address and AMOUNT with an amount in its own decimals.

Remove the permission

Remove the permission
ACCOUNT=0x...        # the client account

cast send $ACCOUNT "uninstallModule(uint256,address,bytes)" \
  2 0xe542a7c8779962b8f819c4352d1436e08bc2d388 0x \
  --rpc-url https://rpc.fillmark.trade/wallet --interactive

Notes

Any Robinhood Chain RPC works in place of https://rpc.fillmark.trade/wallet. The withdraw command is a single call in the account's standard ERC-7579 format: target, value 0, then the token transfer.

Loading the search index…