# Minion Safe AMB
order of operation
## Summon
Dao on xdai
launch cross chain minion ( set some kind of index that it is cross chain)
assume they already have mainnet safe
step 1:
deploy a new minion safe on home chain
step 2:
enter mainnet safe address (avatar) (store in api)
deploys bridge
step 3:
add module on foreign/mainnet (avatar) safe
current safe owners need to sign the new module
(should we remove all eoa signers if you don't want to allow that)
**Santiago
details:
AMB/0x1/<safeAddress>
subgraph update:
look for this pattern and parse into a different type
minionType: 'amb minion'
ambForeignChain: 0x1
mainnetSafeAddress: <foreign safe address>
**Santiago
## vault page
vault with mainnet label
on details you see the mainnet balances
button to enable module on mainnet if not enabled already
query mainnet safe and see if it has module
transfer buttons use mainnet token addresses
**Sam
only track mainnetSafeAddress
**Santiago
all ui
can we show that there are signers on the current safe
## Proposal
create proposal on side chain with mainnet abi from etherscan
- uses foreign chain abi api
craft up tx
the whole tx data will be sent to the amb
instead of sending to the safe - send to the bridge - encoded txs in the 'details' field
submit proposal
goes to vote
## Execution from proposal detail page
execute on sidechain sends data to the amb
step2: switch to mainnet, anyone can execute from amb module
- add in a modal
ask the user to change networks
any user can execute
- after 1st execution we need a 2nds step
- how to tell if been executed on the foreign chain?
- https://docs.tokenbridge.net/about-tokenbridge/components/amb-live-monitoring-application
**Owen
## new things we need
api
- cross chain minion boost that stores the mainnet address
vault page
- disply cross chain minion
- with balances from mainnet
proposal detail page
- 2 part execution flow
- details button needs to use mainnet abis
proposal form
- needs to use abis from mainnet chain
- needs to use multicall to send data for a multicall to AMB bridge in details
# questions:
will this only work xdai->mainnet
- https://docs.tokenbridge.net/
do we need to update the factory to take chain info
guild.xyz
# messaging
- info on why - only cheaper on the voting/processing/governance side - not on the actual actions
- need good tutorials