PageSourceSearch

https://atlas-docs.pages.dev/assets/js/84f3936b.f421bde0.js

js atlas-docs.pages.dev collected 2026-10-03 06:30:20 UTC 5,327 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1146],{13141:(e,l,t)=>{t.r(l),t.d(l,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>i,metadata:()=>n,toc:()=>s});const n=JSON.parse('{"id":"contracts/technical-reference/v1.2/dapp/ControlTemplate","title":"ControlTemplate","description":"The control template contract","source":"@site/docs/atlas/contracts/technical-reference/v1.2/dapp/ControlTemplate.md","sourceDirName":"contracts/technical-reference/v1.2/dapp","slug":"/contracts/technical-reference/v1.2/dapp/ControlTemplate","permalink":"/atlas/contracts/technical-reference/v1.2/dapp/ControlTemplate","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"title":"ControlTemplate","description":"The control template contract","sidebar_position":1},"sidebar":"atlasSidebar","previous":{"title":"Mimic","permalink":"/atlas/contracts/technical-reference/v1.2/common/Mimic"},"next":{"title":"DAppControl","permalink":"/atlas/contracts/technical-reference/v1.2/dapp/DAppControl"}}');var r=t(74848),a=t(28453);const i={title:"ControlTemplate",description:"The control template contract",sidebar_position:1},o="Solidity API",c={},s=[{value:"DAppControlTemplate",id:"dappcontroltemplate",level:2},{value:"DEFAULT_SOLVER_GAS_LIMIT",id:"default_solver_gas_limit",level:3},{value:"constructor",id:"constructor",level:3},{value:"_preOpsCall",id:"_preopscall",level:3},{value:"_checkUserOperation",id:"_checkuseroperation",level:3},{value:"_allocateValueCall",id:"_allocatevaluecall",level:3},{value:"_preSolverCall",id:"_presolvercall",level:3},{value:"_postSolverCall",id:"_postsolvercall",level:3},{value:"_postOpsCall",id:"_postopscall",level:3},{value:"getBidFormat",id:"getbidformat",level:3},{value:"getBidValue",id:"getbidvalue",level:3},{value:"getSolverGasLimit",id:"getsolvergaslimit",level:3}];function d(e){const l={code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",pre:"pre",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.header,{children:(0,r.jsx)(l.h1,{id:"solidity-api",children:"Solidity API"})}),"\n",(0,r.jsx)(l.h2,{id:"dappcontroltemplate",children:"DAppControlTemplate"}),"\n",(0,r.jsx)(l.h3,{id:"default_solver_gas_limit",children:"DEFAULT_SOLVER_GAS_LIMIT"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"uint32 DEFAULT_SOLVER_GAS_LIMIT\n"})}),"\n",(0,r.jsx)(l.h3,{id:"constructor",children:"constructor"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"constructor() internal\n"})}),"\n",(0,r.jsx)(l.h3,{id:"_preopscall",children:"_preOpsCall"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function _preOpsCall(struct UserOperation) internal virtual returns (bytes)\n"})}),"\n",(0,r.jsx)(l.h3,{id:"_checkuseroperation",children:"_checkUserOperation"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function _checkUserOperation(struct UserOperation) internal virtual\n"})}),"\n",(0,r.jsx)(l.h3,{id:"_allocatevaluecall",children:"_allocateValueCall"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function _allocateValueCall(address bidToken, uint256 bidAmount, bytes data) internal virtual\n"})}),"\n",(0,r.jsx)(l.h3,{id:"_presolvercall",children:"_preSolverCall"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function _preSolverCall(struct SolverOperation, bytes) internal virtual\n"})}),"\n",(0,r.jsx)(l.h3,{id:"_postsolvercall",children:"_postSolverCall"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function _postSolverCall(struct SolverOperation, bytes) internal virtual\n"})}),"\n",(0,r.jsx)(l.h3,{id:"_postopscall",children:"_postOpsCall"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function _postOpsCall(bool, bytes) internal virtual\n"})}),"\n",(0,r.jsx)(l.h3,{id:"getbidformat",children:"getBidFormat"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function getBidFormat(struct UserOperation userOp) public view virtual returns (address bidToken)\n"})}),"\n",(0,r.jsx)(l.h3,{id:"getbidvalue",children:"getBidValue"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function getBidValue(struct SolverOperation solverOp) public view virtual returns (uint256)\n"})}),"\n",(0,r.jsx)(l.h3,{id:"getsolvergaslimit",children:"getSolverGasLim
1it"}),"\n",(0,r.jsx)(l.pre,{children:(0,r.jsx)(l.code,{className:"language-solidity",children:"function getSolverGasLimit() public view virtual returns (uint32)\n"})})]})}function p(e={}){const{wrapper:l}={...(0,a.R)(),...e.components};return l?(0,r.jsx)(l,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},28453:(e,l,t)=>{t.d(l,{R:()=>i,x:()=>o});var n=t(96540);const r={},a=n.createContext(r);function i(e){const l=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(l):{...l,...e}}),[l,e])}function o(e){let l;return l=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),n.createElement(a.Provider,{value:l},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.