Cosign docs

Cosign is an app for Safe multisigs on Elysium. It creates Safes with the canonical Safe 1.4.1 contracts, keeps the queue of proposed transactions on chain, and adds a spending-limit module.

Overview

A Safe is a contract wallet with several owners and a threshold: a transaction leaves it only after that many owners approved it. Safe's contracts are deployed on Elysium at their usual addresses, but Safe's own app doesn't list Elysium. Cosign is the app for them.

Everything Cosign shows comes from the chain: the Safe's owners, threshold, nonce and approvals, the board's proposals, and the module's allowances. There is no server or database.

Creating a Safe

Enter the owners and how many approvals a transaction needs. Cosign calls createSafe on the board, which deploys a standard SafeL2 1.4.1 proxy through the canonical factory, with the compatibility fallback handler, no modules and no payment. The new Safe is yours from the first block; the board keeps no role in it.

Any existing Safe on Elysium opens by address, including ones not made with Cosign.

Proposals, approvals, execution

  1. Propose. An owner calls propose(safe, to, value, data, operation, nonce, note). The board checks isOwner, computes the Safe's own transaction hash and emits it with the full transaction. Cosign then asks the proposer to approve it too.
  2. Approve. Each owner calls approveHash(hash) on the Safe itself. This is Safe's native on-chain signature.
  3. Execute. Once enough owners approved, anyone calls execTransaction with those approvals as signatures. An owner who executes counts as an approval without a separate transaction.

A Safe executes strictly by nonce: transaction #3 waits for #2. An owner can drop a proposal from the queue; that only hides it in the app and changes nothing in the Safe. To cancel for real, execute a different transaction with the same nonce.

Allowances

The allowance module lets a Safe give one address a limit in HYPE or one token: for example 50 HYPE a day for payroll, or 2,000 KNTQ a week for a trading agent. The delegate spends with spend(safe, token, to, amount, note), without collecting signatures, and never past what's left in the current period.

Fees

WhatFee
Creating a Safe through Cosign0.1 HYPE, sent to the treasury in the same transaction
Proposals, approvals, executionnone, only Elysium gas
Allowances and spendsnone
Fee cap1 HYPE, written in the board contract

The board's owner can change the creation fee within the cap and the treasury address, nothing else.

Safety and risks

Contracts

Elysium mainnet, chain 99901.

ContractAddressWhat it does
Cosign boarddeployed at launchCreates Safes, records proposals. Holds no funds.
Cosign allowance moduledeployed at launchSafe module for spending limits. No owner.
SafeL2 1.4.10x29fcB43b…00C762The Safe logic every Cosign Safe points to.
SafeProxyFactory 1.4.10x4e1DCf7A…20ec67Deploys Safe proxies.
CompatibilityFallbackHandler0xfd0732Dc…59Ec99Set as each new Safe's fallback handler.

Token

$COSGN. Every fee the contracts collect goes to the treasury, which buys $COSGN back and burns it.