• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-core-sdk / 11029255652

25 Sep 2024 08:18AM UTC coverage: 77.534%. Remained the same
11029255652

push

github

dasanra
chore: set release versions

261 of 410 branches covered (63.66%)

Branch coverage included in aggregate %.

978 of 1188 relevant lines covered (82.32%)

3.49 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/packages/api-kit/src/utils/safeOperation.ts
1
import { SafeOperation } from '@safe-global/safe-core-sdk-types'
2

3
export const getAddSafeOperationProps = async (safeOperation: SafeOperation) => {
1✔
4
  const userOperation = safeOperation.toUserOperation()
×
5
  userOperation.signature = safeOperation.encodedSignatures() // Without validity dates
×
6

7
  return {
×
8
    entryPoint: safeOperation.data.entryPoint,
9
    moduleAddress: safeOperation.moduleAddress,
10
    safeAddress: safeOperation.data.safe,
11
    userOperation,
12
    options: {
13
      validAfter: safeOperation.data.validAfter,
14
      validUntil: safeOperation.data.validUntil
15
    }
16
  }
17
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc