mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
358 B
18 lines
358 B
contract Test{
|
|
|
|
mapping(uint => mapping(uint => address)) authorized_destination;
|
|
|
|
address destination;
|
|
|
|
function init(){
|
|
authorized_destination[0][0] = msg.sender;
|
|
}
|
|
|
|
function setup(uint idx){
|
|
destination = authorized_destination[0][0];
|
|
}
|
|
|
|
function withdraw(){
|
|
destination.transfer(this.balance);
|
|
}
|
|
}
|
|
|